1 2014-09-16 Joseph Myers <joseph@codesourcery.com>
4 * Makeconfig (soversions-default-setname): Remove variable.
5 ($(common-objpfx)soversions.i): Don't pass default_setname to
7 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
8 oldest_abi to abi-versions.awk.
9 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
10 * config.make.in (oldest-abi): Remove variable.
11 * configure.ac (--enable-oldest-abi): Remove configure option.
12 * configure: Regenerated.
13 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
15 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
16 * scripts/soversions.awk: Do not handle default_setname variable.
17 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
19 * sysdeps/mach/hurd/configure: Regenerated.
20 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
22 * sysdeps/unix/sysv/linux/configure: Regenerated.
24 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26 * elf/Makefile (CFLAGS-interp.c): Remove.
27 ($(elf-objpfx)runtime-linker.h): Generate header with linker
29 * elf/interp.c: Include generated runtime-linker.h
31 * Makerules (lib%.so): Don't include $(+interp) in
33 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
34 * dlfcn/eval.c: Remove file.
36 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
40 * misc/sys/cdefs.h: Define __extern_always_inline for clang
44 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
46 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
47 Jakub Jelinek <jakub@redhat.com>
50 * libio/stdio.h: Check definition of __fortify_function
51 instead of __extern_always_inline to include bits/stdio2.h.
52 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
53 check if __extern_always_inline is defined.
54 [__USE_MISC || __USE_XOPEN]: Likewise.
55 [__USE_ISOC99] Likewise.
56 * misc/sys/cdefs.h (__fortify_function): Define only if
57 __extern_always_inline is defined.
58 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
59 __extern_always_inline and __extern_inline only for g++-4.3
60 and newer or a compatible gcc.
62 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
65 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
66 last change to handle zero prefix length.
68 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
70 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
73 * posix/getconf.c (vars): Add _POSIX_IPV6 and
76 2014-09-13 Allan McRae <allan@archlinux.org>
78 * po/ru.po: Update Russian translation from translation project.
80 2014-09-12 Roland McGrath <roland@hack.frob.com>
82 * locale/programs/locale.c (show_locale_vars): Inline local function
83 into its sole call site. Clean up some style nits.
84 (print_item): New function, broken out of ...
85 (show_info): ... local function here. Clean up style nits.
87 * locale/programs/ld-ctype.c (set_one_default): New function, broken
89 (set_class_defaults): ... local function set_default here.
90 Define set_default as a macro locally to pass constant parameters.
91 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
92 rather than a shared local.
94 * stdlib/rpmatch.c (try): New function, broken out of ...
95 (rpmatch): ... local function here. Also, prototypify definition.
97 2014-09-12 Joseph Myers <joseph@codesourcery.com>
99 * scripts/soversions.awk: Do not handle configuration names.
100 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
101 vendor and os variables to soversions.awk.
102 * configure.ac: Do not modify gnu-* host_os.
103 * configure: Regenerated
104 * shlib-versions: Remove first column with configuration names.
105 * nptl/shlib-versions: Likewise.
106 * nptl_db/shlib-versions: Likewise.
107 * sysdeps/hppa/shlib-versions: Likewise.
108 * sysdeps/m68k/shlib-versions: Likewise.
109 * sysdeps/mach/hurd/shlib-versions: Likewise.
110 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
111 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
112 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
113 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
114 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
115 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
116 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
117 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
120 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
121 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
122 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
123 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
124 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
125 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
126 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
127 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
130 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
133 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
135 Condition symbol version definitions on [HAVE_ELFV2_ABI].
137 * shlib-versions: Remove OS-specific entries. Moved to files in
139 * sysdeps/mach/hurd/shlib-versions: New file.
140 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
142 * nptl/shlib-versions: Remove architecture-specific entries.
143 Moved to files in sysdeps.
144 * shlib-versions: Likewise.
145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
147 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
148 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
149 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
150 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
152 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
153 (UDP_NO_CHECK6_RX): Likewise.
155 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
157 * sysdeps/posix/sysconf.c (__sysconf): Spell
158 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
160 2014-08-12 Florian Weimer <fweimer@redhat.com>
162 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
164 * iconv/Versions (__gconv_transliterate): Export for use from
166 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
167 (struct __gconv_trans_data, __gconv_trans_fct,
168 __gconv_trans_context_fct, __gconv_trans_query_fct,
169 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
171 (struct __gconv_step_data): Remove __trans member.
172 (__gconv_transliterate): Declaration moved from gconv_int.h. No
173 longer hidden. Remove unused trans_data argument.
174 * iconv/gconv_int.h (struct trans_struct): Remove definition.
175 (__gconv_translit_find): Remove declaration.
176 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
178 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
179 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
180 trans_data argument. Add hidden definition.
181 (__gconv_translit_find): Remove.
182 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
183 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
184 * iconv/skeleton.c: Remove transliteration initialization.
185 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
186 __gconv_step_data initialization.
187 * libio/iofwide.c (__libio_translit_): Remove.
188 (_IO_fwide): Adjust struct __gconv_step_data initialization.
189 * wcsmbs/btowc.c (__btowc): Likewise.
190 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
191 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
192 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
193 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
194 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
195 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
196 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
197 * wcsmbs/wctob.c (wctob): Likewise.
199 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
202 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
203 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
205 * sysdeps/x86/Makefile: Adjust.
207 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
208 Roland McGrath <roland@hack.frob.com>
210 * locale/weight.h: Add include guard.
211 (findidx): Make static rather than auto; take new parameters
212 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
213 * locale/weightwc.h: Likewise.
214 * posix/fnmatch_loop.c
215 (FCT): Change type of EXTRA from int32_t to wint_t.
216 Don't include either header inside the function.
217 Call FINDIDX rather than findidx, and pass new arguments.
218 #undef FINDIDX at the end of the file.
219 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
220 FINDIDX before including fnmatch_loop.c for the non-wide version.
221 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
222 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
223 for the wide version.
224 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
225 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
226 Pass new arguments to findidx.
227 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
228 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
229 Don't #include it inside the function. Pass new arguments to findidx.
230 * posix/regex_internal.h
231 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
232 (re_string_elem_size_at): Don't #include it inside the function.
233 Pass new arguments to findidx.
234 * string/strcoll_l.c: #include WEIGHT_H at top level.
235 (get_next_seq): Don't #include it inside the function.
236 Pass new arguments to findidx.
237 (get_next_seq_nocache): Likewise.
238 * string/strxfrm_l.c: #include WEIGHT_H at top level.
239 (STRXFRM): Don't #include it inside the function.
240 Pass new arguments to findidx.
242 2014-09-11 Florian Weimer <fweimer@redhat.com>
245 * malloc/malloc.c (unlink): Turn asserts into a call to
248 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
251 * libio/wfileops (do_ftell_wide): Free OUT.
253 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
255 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
257 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
260 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
261 group if the current group is empty.
263 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
265 * benchtests/bench-memset.c (test_main): Add more test from size
266 from 32 to 512 bytes.
267 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
268 Add POWER8 memset object.
269 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
270 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
271 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
273 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
275 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
276 multiarch POWER8 memset optimization.
277 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
278 POWER8 memset optimization.
280 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
281 Remove bzero multiarch objects.
282 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
283 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
284 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
285 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
287 [__bzero]: Redefine to specific name.
288 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
289 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
290 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
292 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
293 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
295 2014-09-10 Florian Weimer <fweimer@redhat.com>
297 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
298 warnings into errors.
300 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
301 __cxa_thread_atexit_impl prototype.
303 2014-09-09 Steve Ellcey <sellcey@mips.com>
305 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
306 Fix capitalization of error message.
308 2014-09-09 Steve Ellcey <sellcey@mips.com>
310 * sysdeps/mips/preconfigure: Modify ABI tests.
312 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
314 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
316 2014-09-07 Roland McGrath <roland@hack.frob.com>
317 Carlos O'Donell <carlos@systemhalted.org>
319 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
320 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
321 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
322 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
323 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
324 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
325 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
326 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
327 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
328 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
329 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
330 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
331 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
332 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
333 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
334 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
335 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
336 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
337 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
338 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
339 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
340 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
341 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
342 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
343 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
344 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
345 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
346 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
347 Deconditionalize the code that was previously under [RESET_PID].
348 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
349 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
350 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
351 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
354 2014-09-08 Allan McRae <allan@archlinux.org>
356 * version.h (RELEASE): Set to "development".
357 (VERSION): Set to "2.20.90"
359 2014-09-07 Allan McRae <allan@archlinux.org
361 * version.h (RELEASE): Set to "stable".
362 (VERSION): Set to "2.20"
363 * include/features.h (__GLIBC_MINOR__): Set to 20.
365 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
368 * po/ko.po: Update Korean translation from translation project.
370 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
373 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
374 macro for handling signed relocations.
376 2014-09-03 Florian Weimer <fweimer@redhat.com>
379 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
380 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
382 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
383 * iconvdata/ibm935.c (BODY): Likewise.
384 * iconvdata/ibm937.c (BODY): Likewise.
385 * iconvdata/ibm939.c (BODY): Likewise.
386 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
388 * iconvdata/Makefile (iconv-test.out): Pass module list to test
390 * iconvdata/run-iconv-test.sh: New test loop for checking for
393 2014-09-02 Khem Raj <raj.khem@gmail.com>
395 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
398 2014-09-01 Allan McRae <allan@archlinux.org>
400 * po/eo.po: Update Esperanto translation from translation project.
402 * po/ca.po: Update Catalan translation from translation project.
404 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
406 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
409 2014-08-27 Mark Wielaard <mjw@redhat.com>
412 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
413 to call set_thread_area instead of hand written asm.
414 (__NR_set_thread_area): Removed define.
415 (TLS_FLAG_WRITABLE): Likewise.
416 (__ASSUME_SET_THREAD_AREA): Remove check.
417 (TLS_EBX_ARG): Remove define.
418 (TLS_LOAD_EBX): Likewise.
420 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
422 Simplify atomicity of socket creation in bind.
424 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
425 looking up the name after linking the file.
427 2014-08-27 Allan McRae <allan@archlinux.org>
429 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
431 2014-08-26 Florian Weimer <fweimer@redhat.com>
434 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
435 trans_compare, open_translit, __gconv_translit_find):
436 Remove module loading code.
438 2014-08-26 Allan McRae <allan@archlinux.org>
440 * po/vi.po: Update Vietnamese translation from translation project.
442 * po/uk.po: Update Ukrainian translation from translation project.
444 * po/fr.po: Update French translation from translation project.
446 * po/ru.po: Update Russian translation from translation project.
448 * po/pl.po: Update Polish translation from translation project.
450 * po/cs.po: Update Czech translation from translation project.
452 * po/de.po: Update German translation from translation project.
454 * po/bg.po: Update Bulgarian translation from translation project.
456 * po/sv.po: Update Sweedish translation from translation project.
458 * po/nl.po: Update Dutch translation from translation project.
460 * po/es.po: Update Spanish translation from translation project.
462 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
464 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
466 * catgets/Makefile (CPPFLAGS-gencat): Remove.
467 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
468 (CPPFLAGS-iconvconfig): Likewise.
469 * timezone/Makefile (CPPFLAGS-zic): Likewise.
471 * include/libc-symbols.h: Remove unnecessary check for
473 * nptl/pthreadP.h: Likewise.
474 * sysdeps/aarch64/setjmp.S: Likewise.
475 * sysdeps/alpha/setjmp.S: Likewise.
476 * sysdeps/arm/sysdep.h: Likewise.
477 * sysdeps/i386/setjmp.S: Likewise.
478 * sysdeps/m68k/setjmp.c: Likewise.
479 * sysdeps/posix/getcwd.c: Likewise.
480 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
481 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
482 * sysdeps/s390/s390-32/setjmp.S: Likewise.
483 * sysdeps/s390/s390-64/setjmp.S: Likewise.
484 * sysdeps/sh/sh3/setjmp.S: Likewise.
485 * sysdeps/sh/sh4/setjmp.S: Likewise.
486 * sysdeps/unix/alpha/sysdep.h: Likewise.
487 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
488 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
489 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
490 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
493 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
494 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
495 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
496 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
497 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
498 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
499 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
500 * sysdeps/x86_64/setjmp.S: Likewise.
502 2014-08-13 Joseph Myers <joseph@codesourcery.com>
505 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
507 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
508 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
510 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
512 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
515 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
516 and __x86_64__ when disabling x87 inline functions.
518 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
521 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
522 asm statement with __cpuid_count.
524 2014-08-12 Mike Frysinger <vapier@gentoo.org>
526 * configure.ac: Change __ehdr_start code to dereference the struct.
527 Run readelf on the output to look for relocations.
528 * configure: Regenerated.
530 2014-08-12 Joseph Myers <joseph@codesourcery.com>
533 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
535 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
537 2014-08-12 Roland McGrath <roland@hack.frob.com>
539 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
541 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
544 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
545 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
547 2014-08-12 Sean Anderson <seanga2@gmail.com>
549 * malloc/malloc.c: Fix typo in comment.
551 2014-08-09 Allan McRae <allan@archlinux.org>
553 * Regenerate libc.po.
555 2014-08-08 Mike Frysinger <vapier@gentoo.org>
557 * intl/tst-gettext2.sh: Check every lang file for creation.
559 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
561 * sysdeps/aarch64/fpu/math_private.h
562 (libc_feholdsetround_noex_aarch64_ctx): New function.
564 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
566 * sysdeps/arm/armv6/strcpy.S (strcpy):
567 Fix performance issue in misaligned cases.
569 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
571 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
572 Move definition from termios.h.
573 (struct termio): Likewise.
574 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
575 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
576 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
577 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
579 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
580 Move definition to ioctl-types.h
581 (struct termio): Likewise.
582 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
583 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
584 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
585 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
588 2014-08-05 Richard Henderson <rth@redhat.com>
590 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
592 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
594 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
596 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
597 Protect libm symbols with IS_IN_libm.
599 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
601 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
603 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
605 2014-08-04 Will Newton <will.newton@linaro.org>
607 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
610 2014-08-04 Mike Frysinger <vapier@gentoo.org>
612 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
613 variants for each function.
615 2014-08-04 Roland McGrath <roland@hack.frob.com>
617 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
619 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
620 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
622 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
623 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
624 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
625 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
626 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
627 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
628 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
629 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
630 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
631 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
632 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
633 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
634 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
635 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
636 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
637 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
638 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
639 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
640 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
641 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
642 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
643 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
644 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
645 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
646 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
647 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
648 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
649 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
650 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
651 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
652 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
653 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
654 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
655 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
656 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
657 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
658 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
659 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
660 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
661 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
662 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
663 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
664 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
665 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
666 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
667 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
668 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
669 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
670 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
671 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
672 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
673 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
674 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
676 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
677 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
679 2014-08-04 Roland McGrath <roland@hack.frob.com>
681 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
682 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
683 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
684 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
685 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
686 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
688 2014-08-04 Roland McGrath <roland@hack.frob.com>
690 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
691 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
692 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
693 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
695 2014-08-04 Roland McGrath <roland@hack.frob.com>
697 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
698 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
699 (__libc_vfork): Define function under this name.
700 (__vfork): Define as an alias.
701 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
702 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
704 2014-08-04 Roland McGrath <roland@hack.frob.com>
706 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
707 that was previously under [RESET_PID].
708 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
710 2014-08-04 Andreas Schwab <schwab@suse.de>
712 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
714 2014-08-03 Mike Frysinger <vapier@gentoo.org>
716 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
719 2014-08-01 Roland McGrath <roland@hack.frob.com>
721 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
723 2014-08-01 Richard Henderon <rth@redhat.com>
725 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
726 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
727 typo in exact zero test.
728 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
729 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
730 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
732 2014-08-01 Roland McGrath <roland@hack.frob.com>
734 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
735 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
736 * sysdeps/arm/sysdep.h: ... here.
737 [!__ASSEMBLER__]: Include <stdint.h>.
739 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
741 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
742 (HAVE_WCTYPE_H): Likewise.
743 (HAVE_ISWCTYPE): Likewise.
744 (ENABLE_NLS): Likewise.
745 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
746 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
748 * posix/regex_internal.c: Check if DEBUG is defined and is
751 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
752 (HAVE_MBSRTOWCS): Likewise.
753 * posix/fnmatch.c: Include string.h unconditionally.
755 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
757 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
760 2014-07-31 Roland McGrath <roland@hack.frob.com>
762 * sysdeps/generic/safe-fatal.h: New file.
763 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
764 * nptl/forward.c: Include it.
765 (__pthread_unwind): Use __safe_fatal as default action, rather
766 than a bogus use of INTERNAL_SYSCALL that could never work.
768 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
769 * configure.ac (libc_cv_builtin_trap): New test.
770 * configure: Regenerated.
771 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
772 (ABORT_INSTRUCTION): Define using __builtin_trap.
774 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
775 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
776 * sysdeps/nptl/nptl-signals.h: New file.
777 * nptl/pthreadP.h: Include <nptl-signals.h>.
779 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
781 * sysdeps/s390/s390-64/utf16-utf32-z9.c
782 (ONE_DIRECTION): Define.
783 * sysdeps/s390/s390-64/utf8-utf16-z9.c
784 (ONE_DIRECTION): Define.
785 * sysdeps/s390/s390-64/utf8-utf32-z9.c
786 (ONE_DIRECTION): Define.
788 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
790 * sysdeps/s390/Makefile: Delete file.
791 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
792 * sysdeps/s390/__longjmp.c: Delete file.
793 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
794 Remove fields __flags and __reserved.
795 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
797 * sysdeps/s390/rtld-__longjmp.c: Delete file.
798 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
799 * sysdeps/s390/rtld-setjmp.S: Likewise.
800 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
801 * sysdeps/s390/s390-32/__longjmp.c: ... here.
802 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
803 * sysdeps/s390/s390-32/setjmp.S: ... here.
805 (__sigsetjmp): Remove setting __flags field.
806 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
807 * sysdeps/s390/s390-64/__longjmp.c: ... here.
808 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
809 * sysdeps/s390/s390-64/setjmp.S: ... here.
811 (__sigsetjmp): Remove setting __flags field.
812 * sysdeps/s390/setjmp.S: Delete file.
813 * sysdeps/s390/sigjmp.c: Likewise.
814 * sysdeps/s390/v1-longjmp.c: Likewise.
815 * sysdeps/s390/v1-setjmp.h: Likewise.
816 * sysdeps/s390/v1-sigjmp.c: Likewise.
817 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
818 Remove v1-longjmp_chk.
819 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
820 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
821 Include debug/longjmp_chk.c and add versioning.
822 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
823 Include nptl/pt-longjmp.c and add versioning.
824 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
825 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
827 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
829 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
830 (__getcontext): Remove setting __flags field.
832 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
833 Don't restore upper high grps.
834 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
836 (__swapcontext): Remove setting uc_flags field.
837 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
839 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
841 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
843 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
844 (__getcontext): Remove setting __flags field.
846 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
847 (__swapcontext): Remove setting uc_flags field.
848 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
849 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
850 Remove fields uc_high_gprs and __reserved.
851 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
852 New file with reverted content.
853 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
854 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
856 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
859 2014-07-31 Andreas Schwab <schwab@suse.de>
861 * config.h.in (HAVE_IFUNC): Define to 0.
862 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
865 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
867 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
868 memmove-avx-unaligned, memcpy-avx-unaligned and
869 mempcpy-avx-unaligned.
870 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
871 Add tests for AVX memcpy functions.
872 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
873 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
875 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
876 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
878 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
879 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
881 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
882 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
883 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
885 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
888 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
891 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
894 * manual/llio.texi: Add section about open file description locks.
895 * manual/examples/ofdlocks.c: Example of open file description
897 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
898 F_OFD_SETLK, and F_OFD_SETLKW.
900 2014-07-23 Allan McRae <allan@archlinux.org>
902 * po/es.po: Update Spanish translation from translation project.
904 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
906 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
908 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
911 * sysdeps/arm/dl-machine.h (elf_machine_rela)
912 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
913 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
915 2014-07-17 Joseph Myers <joseph@codesourcery.com>
918 * math/fesetenv.c (__fesetenv)
919 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
920 * math/feupdateenv.c (__feupdateenv)
921 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
923 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
924 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
925 (__ASSUME_SOCKETCALL): Do not define.
927 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
928 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
929 (__ASSUME_SOCKETCALL): Do not define.
930 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
931 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
932 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
933 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
934 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
935 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
936 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
937 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
939 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
940 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
941 (__ASSUME_SOCKETCALL): Do not define.
942 (__ASSUME_IPC64): Define unconditionally.
943 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
944 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
945 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
946 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
947 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
948 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
949 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
952 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
953 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
954 (__ASSUME_SOCKETCALL): Do not define.
955 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
956 (__ASSUME_FUTEX_LOCK_PI): Likewise.
957 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
958 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
959 (__ASSUME_REQUEUE_PI): Define unconditionally.
960 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
961 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
962 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
963 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
964 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
965 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
967 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
968 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
969 (__ASSUME_SOCKETCALL): Do not define.
970 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
971 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
972 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
973 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
974 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
975 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
977 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
978 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
979 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
980 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
981 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
982 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
983 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
984 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
985 (__ASSUME_GETCPU_SYSCALL): Likewise.
987 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
988 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
989 cases for individual architectures.
990 * sysdeps/gnu/configure: Regenerated.
991 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
992 LIBC_SLIBDIR_RTLDDIR.
993 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
994 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
995 LIBC_SLIBDIR_RTLDDIR.
996 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
998 LIBC_SLIBDIR_RTLDDIR.
999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1001 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1002 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1004 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1005 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1007 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1008 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1009 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1010 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1012 * sysdeps/aarch64/shlib-versions: Move to ...
1013 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1014 * sysdeps/alpha/shlib-versions: Move to ...
1015 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1016 * sysdeps/arm/shlib-versions: Move to ...
1017 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1018 * sysdeps/hppa/shlib-versions: Move all contents except for
1019 libgcc_s entry to ...
1020 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
1022 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
1023 * sysdeps/ia64/shlib-versions: Move to ...
1024 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
1026 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
1027 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1028 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1029 * sysdeps/microblaze/shlib-versions: Move to ...
1030 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1031 * sysdeps/mips/shlib-versions: Move to ...
1032 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
1034 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
1035 * sysdeps/tile/shlib-versions: Move to ...
1036 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1037 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1039 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
1040 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1042 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
1044 2014-07-17 Will Newton <will.newton@linaro.org>
1046 * sysdeps/arm/bits/atomic.h
1047 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1048 (__arch_compare_and_exchange_bool_16_int): Likewise.
1049 (__arch_compare_and_exchange_bool_64_int): Likewise.
1051 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1052 into an #else block.
1054 2014-07-16 Roland McGrath <roland@hack.frob.com>
1056 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1057 just Linux configurations. Test empirically that the compiler sets
1058 __ARM_EABI__, rather than using the tuple to decide.
1059 * sysdeps/arm/preconfigure: Regenerated.
1060 * sysdeps/unix/sysv/linux/arm/configure: File removed.
1061 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1062 contents appended ...
1063 * sysdeps/arm/configure.ac: ... here.
1064 * sysdeps/arm/configure: Regenerated.
1066 2014-07-15 Roland McGrath <roland@hack.frob.com>
1068 * nptl/pthread_kill.c: New file.
1069 * nptl/pthread_sigmask.c: New file.
1070 * nptl/pthread_sigqueue.c: New file.
1072 * sysdeps/nptl/lowlevellock.h: New file.
1073 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1074 * sysdeps/nptl/lowlevellock-futex.h: New file.
1076 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1077 Remove dead declarations.
1079 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
1081 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1082 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1084 * sysdeps/x86_64/configure.ac: Likewise.
1085 * sysdeps/i386/configure: Regenerated.
1086 * sysdeps/x86_64/configure: Likewise.
1087 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1088 memset-avx2 only if config-cflags-avx2 is yes.
1089 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1090 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1092 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1093 only if HAVE_AVX2_SUPPORT is defined.
1094 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1096 2014-07-14 Alan Modra <amodra@gmail.com>
1099 * elf/elf.h (DT_PPC64_NUM): Correct value.
1100 * NEWS: Add to fixed bug list.
1102 2014-07-13 Jim Meyering <meyering@fb.com>
1105 regex: don't deref NULL upon heap allocation failure
1106 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1107 failure in one more place.
1108 To trigger the segfault, configure grep -with-included-regex,
1109 build it, and run these commands:
1110 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1112 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
1114 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1116 2014-07-11 Richard Henderson <rth@redhat.com>
1118 * sysdeps/aarch64/libm-test-ulps: Update.
1120 2014-07-10 Florian Weimer <fweimer@redhat.com>
1123 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1124 * nptl/allocatestack.c (__nptl_setxid_error): New function.
1125 (__nptl_setxid): Initialize error member. Call
1126 __nptl_setxid_error.
1127 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1128 * nptl/descr.h (struct xid_command): Add error member.
1129 * nptl/tst-setuid3.c: New file.
1130 * nptl/Makefile (tests): Add it.
1132 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1134 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1136 (__lll_trylock): Use __lll_base_trylock.
1137 (__lll_cond_trylock): Likewise.
1139 2014-07-10 Roland McGrath <roland@hack.frob.com>
1141 * nptl/pthread_create.c (start_thread): Use atomic_or and
1142 lll_futex_wake directly rather than lll_robust_dead.
1143 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1144 (lll_robust_dead): Macro removed.
1145 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1146 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1147 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1148 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1149 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1150 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1151 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1152 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1153 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1154 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1155 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1156 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1157 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1158 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1159 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1161 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1162 Use atomic_compare_and_exchange_val_acq directly rather than
1164 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1165 (__lll_robust_trylock, lll_robust_trylock): Removed.
1166 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1167 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1168 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1169 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1170 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1171 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1172 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1173 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1174 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1175 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1176 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1177 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1178 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1179 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1181 2014-07-02 Florian Weimer <fweimer@redhat.com>
1183 * manual/locale.texi (Locale Names): New section documenting
1184 locale name syntax. Adjust menu and node chaining accordingly.
1185 (Choosing Locale): Reference Locale Names, Locale Categories.
1186 Mention setting LC_ALL=C. Reflect that name syntax is now
1188 (Locale Categories): New section title. Reference Locale Names.
1189 LC_ALL is an environment variable, but not a category.
1190 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1191 description, now in Locale Name. Reference that section. Locale
1192 name syntax is now documented.
1194 2014-07-02 Florian Weimer <fweimer@redhat.com>
1197 * locale/findlocale.c (name_present, valid_locale_name): New
1199 (_nl_find_locale): Use the loc_name variable to store name
1200 candidates. Call name_present and valid_locale_name to check and
1201 validate locale names. Return an error if the locale is invalid.
1203 2014-07-02 Florian Weimer <fweimer@redhat.com>
1205 * locale/setlocale.c (setlocale): Use strdup for allocating
1206 composite name copy.
1208 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1210 Sync up with gnulib.
1211 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1212 [!_LIBC && ENABLE_NLS]: Include gettext.h.
1213 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1214 and _GL_ARG_NONNULL.
1215 [USE_UNLOCKED_IO]: Include unlocked-io.h.
1216 [!_LIBC]: Include code for Windows and Cygwin.
1217 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1218 Include prototype for int strerror_r.
1219 [!_LIBC] (is_open): New function.
1220 (flush_stdout): New function.
1221 (print_errno_message): Use it.
1223 (error_at_line): Likewise.
1224 (error_tail) Add function attribute macros. Use
1227 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1229 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1231 * io/ftw.c: Include sys/param.h unconditionally.
1233 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1236 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1238 (freecache): New function to free CACHE on exit.
1240 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1243 2014-07-09 David S. Miller <davem@davemloft.net>
1245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1247 * sysdeps/sparc/nptl/internaltypes.h: Delete.
1248 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1249 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1250 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1251 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1252 * sysdeps/sparc/nptl/sem_init.c: Likewise.
1253 * sysdeps/sparc/nptl/sem_post.c: Likewise.
1254 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1255 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1256 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1257 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1258 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1259 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1261 2014-07-09 Andreas Schwab <schwab@suse.de>
1263 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1265 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1266 (do_test): Likewise.
1268 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1270 2014-07-09 Will Newton <will.newton@linaro.org>
1272 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1273 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1274 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1275 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1276 * sysdeps/hppa/start.S (_start): Likewise.
1278 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1280 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1282 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1285 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1287 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1288 after checking that it is non-NULL.
1290 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1292 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1294 * sysdeps/powerpc/memmove.c: Remove file.
1295 * sysdeps/powerpc/powerpc32/power4/memcopy.h
1296 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1297 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1298 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1299 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1300 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1301 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1302 string memmove instead of removed powerpc one.
1304 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1305 [weak_alias]: Fix compiler warning due trailing data.
1306 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1307 [weak_alias]: Likewise.
1308 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1309 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1311 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1312 (__libc_ifunc_impl_list): Add memmove functions.
1314 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1316 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1318 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1320 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1322 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1324 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1326 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1328 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1330 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1332 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1334 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1336 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1338 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1340 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1342 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1344 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1346 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1348 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1351 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1353 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1354 to avoid alignment traps in non-cacheable memory.
1355 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1357 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1359 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1360 file: multiarch power7 memmove.
1361 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1362 multiarch default memmove.
1363 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1364 multiarch memove for powerpc32/power4.
1366 * string/bcopy.c: Use full path to include memmove.c.
1367 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1369 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1370 bcopy for powerpc64.
1371 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1372 bcopy for powerpc64.
1373 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1374 and memmove implementations.
1375 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1376 optimized multiarch memmove for POWER7/powerpc64.
1377 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1378 default multiarch memmove for powerpc64.
1379 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1380 multiarch for powerpc64.
1381 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1382 for POWER7/powerpc64.
1383 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1384 memmove for POWER7/powerpc64.
1386 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1389 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1390 __ELF_NATIVE_CLASS equal to 64.
1392 2014-07-07 Roland McGrath <roland@hack.frob.com>
1394 * sysdeps/nptl/lowlevellock.h: File removed.
1396 * NEWS: NPTL is no longer an add-on!
1397 * nptl/internaltypes.h: Moved ...
1398 * sysdeps/nptl/internaltypes.h: ... here.
1399 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1400 * sysdeps/nptl/fork.c: Likewise.
1401 * sysdeps/nptl/gai_misc.h: Likewise.
1402 * sysdeps/nptl/librt-cancellation.c: Likewise.
1403 * sysdeps/nptl/jmp-unwind.c: Likewise.
1404 * sysdeps/nptl/setxid.h: Likewise.
1405 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1406 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1407 * sysdeps/unix/sysv/linux/arm/Implies: New file.
1408 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1409 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1410 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1411 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1412 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1413 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1414 * sysdeps/unix/sysv/linux/mips/Implies: New file.
1415 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1416 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1417 * sysdeps/unix/sysv/linux/sh/Implies: New file.
1418 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1419 * sysdeps/unix/sysv/linux/tile/Implies: New file.
1420 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1421 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1422 * nptl/Makeconfig: Moved ...
1423 * sysdeps/nptl/Makeconfig: ... here.
1424 * nptl/configure: File removed.
1425 * nptl/ANNOUNCE: File removed.
1426 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1427 * sysdeps/unix/sysv/linux/configure: Regenerated.
1429 * nptl/Makefile (routines): Add libc_pthread_init,
1430 libc_multiple_threads, register-atfork and unregister-atfork.
1431 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1432 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1433 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1434 pthread-pi-defines.sym, structsem.sym.
1435 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1436 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1437 [$(subdir) = nptl] (tests): Add tst-setgetname.
1438 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1439 * sysdeps/unix/sysv/linux/sigaction.c: Just include
1440 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1441 [!LIBC_SIGACTION]: Remove aliases.
1442 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1443 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1444 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1445 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1446 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1447 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1448 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1449 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1450 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1451 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1452 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1453 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1454 __libc_allocate_rtsig_private.
1455 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1456 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1457 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1458 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1459 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1460 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1461 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1462 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1463 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1464 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1465 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1466 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1467 * nptl/internaltypes.h: ... here.
1468 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1469 * sysdeps/nptl/jmp-unwind.c: ... here.
1470 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1471 * nptl/libc-lowlevellock.c: ... here.
1472 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1473 * nptl/libc_multiple_threads.c: ... here.
1474 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1475 * nptl/libc_pthread_init.c: ... here.
1476 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1477 * nptl/lowlevelbarrier.sym: ... here.
1478 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1479 * nptl/lowlevelcond.sym: ... here.
1480 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1481 * nptl/lowlevellock.c: ... here.
1482 * nptl/lowlevellock.h: Moved ...
1483 * sysdeps/nptl/lowlevellock.h: ... here.
1484 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1485 * nptl/lowlevelrobustlock.c: ... here.
1486 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1487 * nptl/lowlevelrobustlock.sym: ... here.
1488 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1489 * nptl/lowlevelrwlock.sym: ... here.
1490 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1491 * nptl/pt-fork.c: ... here.
1492 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1493 * nptl/pthread-pi-defines.sym: ... here.
1494 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1495 * nptl/pthread_attr_getaffinity.c: ... here.
1496 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1497 * nptl/pthread_attr_setaffinity.c: ... here.
1498 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1499 * nptl/pthread_mutex_cond_lock.c: ... here.
1500 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1502 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1503 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1504 * nptl/pthread_once.c: ... here, replacing old file.
1505 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1506 * nptl/pthread_yield.c: ... here.
1507 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1508 * nptl/register-atfork.c: ... here.
1509 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1510 * nptl/sem_post.c: ... here.
1511 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1512 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1513 * nptl/sem_timedwait.c: ... here.
1514 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1515 * nptl/sem_trywait.c: ... here.
1516 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1517 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1518 * nptl/sem_wait.c: ... here.
1519 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1520 * nptl/structsem.sym: ... here.
1521 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1522 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1523 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1524 * nptl/unregister-atfork.c: ... here.
1525 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1526 * nptl/unwindbuf.sym: ... here.
1527 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1528 * sysdeps/nptl/fork.c: ... here.
1529 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1530 * sysdeps/nptl/fork.h: ... here.
1531 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1532 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1533 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1534 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1535 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1536 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1537 * sysdeps/unix/sysv/linux/getpid.c: ... here.
1538 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1539 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1540 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1541 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1542 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1543 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1544 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1545 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1546 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1547 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1548 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1549 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1550 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1551 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1552 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1553 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1554 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1555 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1556 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1557 * sysdeps/unix/sysv/linux/raise.c: ... here.
1558 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1559 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1560 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1561 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1562 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1563 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1564 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1565 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1566 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1567 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1568 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1569 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1570 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1571 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1572 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1574 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1576 * sysdeps/generic/memcopy.h: Add comment for
1577 MEMCPY_OK_FOR_FWD_MEMMOVE.
1579 2014-07-04 Will Newton <will.newton@linaro.org>
1581 * string/memchr.c: Merge from gnulib.
1582 [_LIBC]: Remove conditionals.
1583 (__ptr_t): Remove define.
1584 (LONG_MAX_32_BITS): Likewise.
1585 (LONG_MAX): Likewise.
1586 (MEMCHR): Use ANSI prototype and optimize algorithm.
1588 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1590 2014-07-03 Roland McGrath <roland@hack.frob.com>
1592 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1593 (lll_futex_timed_wait_bitset): Fix syscall argument count.
1595 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1596 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1597 in a bare environment with no <stdlib.h> installed.
1598 * sysdeps/nptl/configure: Regenerated.
1600 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1602 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1603 AC_EGREP_CPP for kernel header checks, so they only succeed if
1604 including <linux/version.h> actually works right.
1605 * sysdeps/unix/sysv/linux/configure: Regenerated.
1607 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1608 value so it's not diagnosed as unused.
1610 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1611 thing) with "ifeq ($(subdir),rt)".
1613 2014-07-03 Richard Henderson <rth@redhat.com>
1615 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1616 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1617 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1619 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1620 (math_force_eval): New.
1622 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1623 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1625 * sysdeps/alpha/fpu/s_round.c: Remove file.
1626 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1628 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1629 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1630 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1631 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1632 (_dl_start, print_statistics): Likewise.
1633 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1634 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1636 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1637 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1638 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1639 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1640 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1641 (HP_SMALL_TIMING_AVAIL): Define.
1642 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1643 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1644 (HP_SMALL_TIMING_AVAIL): Define.
1645 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1646 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1648 * sysdeps/aarch64/hp-timing.h: New file.
1650 * sysdeps/generic/hp-timing.h: Remove dead comment.
1651 * sysdeps/generic/hp-timing-common.h: New file.
1652 * sysdeps/alpha/hp-timing.h: Include it.
1653 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1654 * sysdeps/i386/i686/hp-timing.h: Likewise.
1655 * sysdeps/ia64/hp-timing.h: Likewise.
1656 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1657 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1658 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1659 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1660 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1661 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1664 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1665 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1666 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1667 * elf/rtld.c (_dl_start_final): Likewise.
1668 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1669 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1670 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1671 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1672 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1673 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1674 (HP_TIMING_DIFF_INIT): Remove.
1675 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1676 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1677 (HP_TIMING_DIFF_INIT): Remove.
1678 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1679 * sysdeps/i386/i686/hp-timing.c: Remove file.
1680 * sysdeps/x86_64/hp-timing.c: Remove file.
1681 * sysdeps/ia64/hp-timing.c: Remove file.
1682 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1683 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1684 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1685 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1687 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1688 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1689 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1690 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1691 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1692 (HP_TIMING_ACCUM): Remove.
1693 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1694 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1695 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1697 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1698 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1699 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1700 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1701 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1702 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1703 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1704 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1706 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1708 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
1710 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1712 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1714 Sync up with gettext.
1715 * intl/loadmsgcat.c: Define O_BINARY if not defined.
1716 [_MSC_VER]: Include malloc.h
1717 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1718 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1719 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
1720 TEMP_FAILURE_RETRY. Cast return of alloca.
1721 [!_LIBC] Call gl_rwlock_init.
1722 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1724 2014-07-02 Roland McGrath <roland@hack.frob.com>
1726 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1727 before checking its value.
1729 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1731 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1733 * debug/memcpy_chk.c: Don't include pagecopy.h.
1734 * debug/mempcpy_chk.c: Likewise.
1735 * string/memcpy.c: Likewise.
1736 * string/memmove.c: Likewise.
1737 * sysdeps/powerpc/memmove.c: Likewise.
1738 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1739 definition of PAGE_COPY_FWD_MAYBE here...
1740 * sysdeps/generic/pagecopy.h: ... from here.
1741 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1743 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1744 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1746 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1747 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1749 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1750 (__libc_ifunc_impl_list): Likewise.
1751 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1752 multiarch strcat for PPC64.
1753 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1754 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1756 2014-07-02 Roland McGrath <roland@hack.frob.com>
1758 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1760 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1762 * intl/loadmsgcat.c: Remove declaration of
1763 get_sysdep_segment_value.
1764 (get_sysdep_segment_value): Use ISO C style.
1765 (_nl_load_domain): Use ISO C style. Get rid of redundant
1766 semicolon. Fix typo and formatting in comment.
1767 (_nl_unload_domain): Use ISO C style.
1769 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1771 2014-07-02 Will Newton <will.newton@linaro.org>
1773 * malloc/obstack.c: Merge from gnulib master.
1774 [HAVE_CONFIG_H]: Remove conditional code.
1775 [!_LIBC]: Include config.h.
1776 [!ELIDE_CODE]: Don't include inttypes.h, include
1777 stdint.h unconditionally.
1778 (print_and_abort): Mark as _Noreturn.
1779 (_obstack_allocated_p): Mark as __attribute_pure__.
1780 (obstack_free): Rename to __obstack_free.
1781 [!__attribute__]: Remove conditional code.
1782 * malloc/obstack.h: Merge from gnulib master.
1783 [__cplusplus]: Move conditional down.
1784 [!__attribute_pure__]: Define __attribute_pure__ here
1785 if it is not already defined.
1786 (_obstack_memory_used): Mark as __attribute_pure__.
1787 [!__obstack_free]: Define as obstack_free.
1788 [__GNUC__]: Remove check for ancient NeXT gcc.
1790 2014-07-02 Will Newton <will.newton@linaro.org>
1791 Paul Eggert <eggert@cs.ucla.edu>
1793 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1795 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1797 * resolv/gethnamaddr.c: Add comment warning that the file is
1800 2014-07-01 Carlos O'Donell <carlos@redhat.com>
1802 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1805 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1806 entry for aio_cancel and aio_cancel64.
1807 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1808 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1809 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1810 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1811 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1812 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1813 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1814 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1815 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1816 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1817 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1818 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1819 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1821 2014-07-01 Roland McGrath <roland@hack.frob.com>
1823 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1824 * nptl/pthread_mutex_lock.c: Likewise.
1825 * nptl/pthread_mutex_timedlock.c: Likewise.
1826 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1828 2014-07-01 Richard henderson <rth@redhat.com>
1830 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1831 (__isnan, __isnanl): Remove.
1832 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1834 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1836 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1838 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1840 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1842 * resolv/nss_dns/dns-host.c (getanswer_r)
1843 [MULTI_PTRS_ARE_ALIASES]: Remove code.
1845 2014-07-01 Joseph Myers <joseph@codesourcery.com>
1847 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1848 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1850 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1851 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1853 2014-07-01 Roland McGrath <roland@hack.frob.com>
1855 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1856 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1858 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1859 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1861 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1862 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1864 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1865 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1867 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1868 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1869 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1870 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1872 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1873 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1874 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1875 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1876 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1878 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1880 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1881 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1882 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1883 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1884 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1885 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1886 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1887 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1888 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1889 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1890 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1891 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1892 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1893 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1894 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1895 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1896 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1897 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1898 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1899 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1901 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1902 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1903 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1904 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1905 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1906 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1907 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1908 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1910 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1912 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1913 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1914 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1917 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1921 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1923 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1924 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1926 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1928 * sysdeps/arm/libm-test-ulps: Regenerated.
1930 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1931 Roland McGrath <roland@hack.frob.com>
1933 * test-skeleton.c (signal_handler): Kill the whole process group
1934 before killing the child individually.
1935 (main): Report any failure on `setpgid'.
1937 2014-06-30 Roland McGrath <roland@hack.frob.com>
1939 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1940 from _TLS_H to _ARM_NPTL_TLS_H.
1941 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1942 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1944 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1947 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1948 (__expm1l): Return argument unchanged when small but not
1951 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1953 (_FP_UNPACK_RAW_1_P): Likewise.
1954 (_FP_PACK_RAW_1): Likewise.
1955 (_FP_PACK_RAW_1_P): Likewise.
1956 (_FP_MUL_MEAT_1_wide): Likewise.
1957 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1958 (_FP_MUL_MEAT_1_hard): Likewise.
1959 (_FP_DIV_MEAT_1_imm): Likewise.
1960 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1961 (_FP_DIV_MEAT_1_udiv): Likewise.
1962 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1963 (_FP_UNPACK_RAW_2): Likewise.
1964 (_FP_UNPACK_RAW_2_P): Likewise.
1965 (_FP_PACK_RAW_2): Likewise.
1966 (_FP_PACK_RAW_2_P): Likewise.
1967 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1968 (_FP_MUL_MEAT_2_wide): Likewise.
1969 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1970 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1971 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1972 (_FP_MUL_MEAT_2_gmp): Likewise.
1973 (_FP_DIV_MEAT_2_udiv): Likewise.
1974 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1975 (_FP_FRAC_SRL_4): Likewise.
1976 (_FP_FRAC_SRST_4): Likewise.
1977 (_FP_FRAC_SRS_4): Likewise.
1978 (_FP_UNPACK_RAW_4): Likewise.
1979 (_FP_UNPACK_RAW_4_P): Likewise.
1980 (_FP_PACK_RAW_4): Likewise.
1981 (_FP_PACK_RAW_4_P): Likewise.
1982 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1983 (_FP_MUL_MEAT_4_wide): Likewise.
1984 (_FP_MUL_MEAT_4_gmp): Likewise.
1985 (umul_ppppmnnn): Likewise.
1986 (_FP_DIV_MEAT_4_udiv): Likewise.
1987 (__FP_FRAC_ADD_4): Likewise.
1988 (__FP_FRAC_SUB_3): Likewise.
1989 (__FP_FRAC_SUB_4): Likewise.
1990 (__FP_FRAC_DEC_3): Likewise.
1991 (__FP_FRAC_DEC_4): Likewise.
1992 (__FP_FRAC_ADDI_4): Likewise.
1993 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1994 (_FP_FRAC_SRL_8): Likewise.
1995 (_FP_FRAC_SRS_8): Likewise.
1997 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1999 (FP_UNPACK_RAW_EP): Likewise.
2000 (FP_PACK_RAW_E): Likewise.
2001 (FP_PACK_RAW_EP): Likewise.
2002 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2003 (_FP_ISSIGNAN): Likewise.
2004 (_FP_ADD_INTERNAL): Likewise.
2005 (_FP_FMA): Likewise.
2006 (_FP_CMP): Likewise.
2007 (_FP_SQRT): Likewise.
2008 (_FP_TO_INT): Likewise.
2009 (_FP_FROM_INT): Likewise.
2010 (FP_EXTEND): Likewise.
2011 (_FP_DIV_MEAT_N_loop): Likewise.
2013 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
2015 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2018 2014-06-29 Joseph Myers <joseph@codesourcery.com>
2021 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2022 result with correct sign in case of exponents that produce
2023 overflow except for X very close to 1.
2025 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
2027 mktime: merge #if/#ifdef usage from glibc
2028 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2029 as that works with both Glibc's and Gnulib's style.
2030 See thread starting at Siddhesh Poyarekar's bug report at:
2031 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2033 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2035 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2036 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2037 * sysdeps/tile/tilegx/memmove.c: Remove file.
2039 2014-06-27 Joseph Myers <joseph@codesourcery.com>
2041 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2042 abi-name definition.
2043 * scripts/soversions.awk: Do not handle or generate ABI lines.
2044 * shlib-versions: Remove ABI entries.
2045 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2046 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2048 2014-06-27 Roland McGrath <roland@hack.frob.com>
2050 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2051 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2052 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2053 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2054 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2055 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2056 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2058 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2060 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2061 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2062 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2063 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2064 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2065 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2066 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2067 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2068 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2069 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2070 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2071 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2072 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2074 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2075 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2076 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2077 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2078 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2079 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2081 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2082 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2084 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2085 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2086 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2087 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2089 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2090 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2091 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2092 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2093 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2094 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2095 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2096 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2098 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2099 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2100 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2101 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2103 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2104 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2106 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2107 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2108 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2109 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2111 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2113 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2114 Identical file removed.
2115 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2117 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2118 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2119 Identical file removed.
2120 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2121 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2122 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2124 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2125 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2126 Identical file removed.
2127 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2128 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2129 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2130 Identical file removed.
2131 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2132 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2133 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2134 Identical file removed.
2135 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2136 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2137 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2138 Identical file removed.
2139 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2141 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2142 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2143 Identical file removed.
2144 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2146 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2147 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2148 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2149 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2150 Identical file removed.
2151 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2153 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2155 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2156 Identical file removed.
2157 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2159 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2160 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2161 Identical file removed.
2162 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2164 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2165 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2166 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2167 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2168 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2169 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2171 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2172 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2173 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2175 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2176 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2177 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2178 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2179 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2181 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
2184 * nscd/nscd.c (monitor_child): Return exit status of child
2185 instead of return value from wait syscall.
2187 2014-06-27 Joseph Myers <joseph@codesourcery.com>
2189 * configure.ac (libc_commonpagesize): Remove variable.
2190 (libc_relro_required): Likewise.
2191 (libc_cv_z_relro): Remove configure test.
2192 * configure: Regenerated.
2193 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2195 (libc_relro_required): Likewise.
2196 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2197 (libc_relro_required): Likewise.
2198 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2199 (libc_relro_required): Likewise.
2200 * sysdeps/arm/preconfigure: Regenerated.
2201 * sysdeps/ia64/preconfigure: Remove file.
2202 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2204 (libc_relro_required): Likewise.
2208 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2209 (__ieee754_yn): Set FE_TONEAREST mode internally and then
2210 recompute overflowing results in original rounding mode.
2211 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2212 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2213 recompute overflowing results in original rounding mode.
2214 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2215 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2216 recompute overflowing results in original rounding mode.
2217 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2218 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2219 recompute overflowing results in original rounding mode.
2220 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2221 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2222 recompute overflowing results in original rounding mode.
2223 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2224 (libc_feholdsetround_ctx): New macro.
2225 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2226 * sysdeps/i386/fpu/libm-test-ulps: Update.
2227 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2229 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2231 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2232 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2233 corresponding .cpsetup call.
2235 2014-06-26 Roland McGrath <roland@hack.frob.com>
2237 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2238 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2239 * sysdeps/arm/Makefile [$(subdir) = csu]
2240 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2241 (static-only-routines): Add aeabi_read_tp here.
2242 (shared-only-routines): Add libc-aeabi_read_tp here.
2243 (CFLAGS-libc-start.c): Add -fexceptions here.
2244 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2245 (sysdep_routines, static-only-routines, shared-only-routines):
2246 Don't add to these here.
2247 (CFLAGS-libc-start.c): Likewise.
2249 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2250 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2251 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2252 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2253 * sysdeps/arm/Makefile [$(subdir) = rt]
2254 (librt-sysdep_routines, librt-shared-only-routines):
2255 Append rt-aeabi_unwind_cpp_pr1 here.
2256 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2257 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2258 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2259 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2260 Append nptl-aeabi_unwind_cpp_pr1 here.
2261 (tests): Filter out tst-cleanupx4 here.
2262 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2263 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2264 Don't do those here.
2266 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2268 * scripts/list-sources.sh: Do not handle ports specially.
2270 2014-06-26 Roland McGrath <roland@hack.frob.com>
2272 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2273 * sysdeps/arm/feupdateenv.c: Likewise.
2275 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2277 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2279 * manual/texinfo.tex: Update to version 2014-05-05.10 with
2280 trailing whitespace removed.
2281 * scripts/config.guess: Update to version 2014-03-23.
2282 * scripts/config.sub: Update to version 2014-05-01
2283 * scripts/install-sh: Update to version 2013-12-25.23.
2284 * scripts/move-if-change: Update from gnulib.
2286 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2288 * debug/memmove_chk.c: Remove pagecopy.h include.
2290 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
2292 * time/mktime.c (leapyear): Remove inline keyword. The code is now
2293 identical to gnulib mktime.
2295 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2297 * configure.ac: Do not test for machine being rs6000. Do not test
2299 * configure: Regenerated.
2301 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2303 * configure: Regenerated.
2304 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2305 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2306 Remove configure test.
2307 * sysdeps/arm/configure: Regenerated.
2308 * sysdeps/nptl/configure.ac: Do not check
2309 libc_cv_asm_cfi_directives.
2310 * sysdeps/nptl/configure: Regenerated.
2311 * sysdeps/x86_64/nptl/configure.ac: Remove file.
2312 * sysdeps/x86_64/nptl/configure: Remove generated file.
2313 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2315 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2317 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2319 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2320 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2321 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2324 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2325 instead of whether it is defined.
2326 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2327 * sysdeps/hppa/dl-machine.h: Likewise.
2328 * sysdeps/ia64/dl-machine.h: Likewise.
2329 * sysdeps/m68k/dl-machine.h: Likewise.
2330 * sysdeps/microblaze/dl-machine.h: Likewise.
2331 * sysdeps/mips/dl-machine.: Likewise.
2332 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2333 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2334 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2335 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2336 * sysdeps/sh/dl-machine.h: Likewise.
2337 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2338 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2339 * sysdeps/tile/dl-machine.h: Likewise.
2340 * sysdeps/x86_64/dl-machine.h: Likewise.
2342 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2344 (verify_persistent_db): Likewise.
2346 2014-06-26 Roland McGrath <roland@hack.frob.com>
2348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2349 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2351 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2354 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2357 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2359 Identical file removed.
2360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2361 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2363 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2365 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2367 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2369 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2372 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2374 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2376 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2379 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2381 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2383 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2385 Identical file removed.
2386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2387 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2389 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2392 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2395 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2397 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2399 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2401 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2403 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2406 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2409 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2411 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2414 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2416 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2418 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2420 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2421 * sysdeps/unix/sysv/linux/s390/Versions
2422 (libpthread: GLIBC_2.19): New version set.
2423 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2424 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2425 (librt: GLIBC_2.3.3): New version set.
2426 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2427 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2428 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2429 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2430 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2431 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2432 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2433 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2434 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2435 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2436 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2437 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2438 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2439 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2440 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2441 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2442 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2443 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2444 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2445 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2446 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2447 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2448 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2449 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2450 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2451 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2452 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2453 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2454 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2455 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2456 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2457 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2458 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2459 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2460 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2461 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2462 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2463 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2464 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2465 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2466 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2467 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2468 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2469 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2470 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2472 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2473 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2474 (__libc_vfork): Define the function under this name.
2475 [!NOT_IN_libc] (__vfork): Make this an alias.
2476 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2477 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2478 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2479 (__libc_vfork): Define the function under this name.
2480 [!NOT_IN_libc] (__vfork): Make this an alias.
2481 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2482 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2483 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2484 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2485 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2486 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2488 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2489 code that was previously under [RESET_PID].
2490 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2491 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2492 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2494 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2495 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2496 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2497 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2498 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2499 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2500 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2501 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2502 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2503 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2504 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2506 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2507 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2508 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2509 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2510 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2511 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2512 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2513 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2514 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2515 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2516 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2517 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2518 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2519 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2520 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2521 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2522 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2523 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2524 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2525 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2526 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2527 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2528 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2529 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2530 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2531 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2532 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2533 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2534 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2536 2014-06-25 Roland McGrath <roland@hack.frob.com>
2538 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2539 that was previously under [RESET_PID].
2540 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2542 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2544 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2545 not undefine and redefine.
2546 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2547 [O_CLOEXEC]: Make code unconditional.
2548 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2549 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2550 <kernel-features.h>.
2551 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2552 conditional variable definition.
2553 (shm_open) [O_CLOEXEC]: Make code unconditional.
2554 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2557 * configure.ac (USE_REGPARMS): Don't define here.
2558 * configure: Regenerated.
2559 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2560 * sysdeps/i386/configure: Regenerated.
2562 * nptl/createthread.c: Don't include kernel-features.h.
2563 * nptl/pthread_cancel.c: Likewise.
2564 * nptl/pthread_condattr_setclock.c: Likewise.
2565 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2566 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2567 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2568 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2569 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2570 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2571 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2572 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2573 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2574 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2575 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2576 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2577 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2578 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2579 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2580 * nscd/gai.c: Likewise.
2581 * nss/nss_db/db-open.c: Likewise.
2582 * sysdeps/generic/ldsodefs.h: Likewise.
2583 * sysdeps/sh/nptl/tls.h: Likewise.
2584 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2585 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2586 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2587 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2588 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2589 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2590 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2591 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2592 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2593 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2594 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2595 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2596 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2597 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2598 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2599 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2600 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2601 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2602 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2603 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2604 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2605 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2606 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2607 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2608 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2609 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2610 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2611 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2612 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2613 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2614 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2615 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2616 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2617 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2618 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2619 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2620 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2621 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2622 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2623 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2624 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2625 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2626 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2627 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2628 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2629 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2630 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2631 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2632 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2633 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2634 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2635 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2636 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2637 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2638 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2639 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2640 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2641 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2664 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2665 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2666 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2667 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2668 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2669 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2670 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2671 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2672 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2673 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2674 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2675 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2676 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2677 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2678 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2679 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2680 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2681 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2682 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2683 * sysdeps/unix/sysv/linux/system.c: Likewise.
2684 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2685 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2686 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2687 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2688 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2689 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2690 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2692 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2693 * configure: Regenerated.
2694 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2696 * configure.ac (base_machine): Do not set specially for particular
2698 * configure: Regenerated.
2699 * sysdeps/powerpc/preconfigure: Move machine and base_machine
2700 settings from configure.ac.
2701 * sysdeps/i386/preconfigure: New file.
2702 * sysdeps/s390/preconfigure: Likewise.
2703 * sysdeps/sh/preconfigure: Likewise.
2704 * sysdeps/sparc/preconfigure: Likewise.
2706 2014-06-25 Roland McGrath <roland@hack.frob.com>
2708 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2709 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2710 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2711 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2712 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2713 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2714 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2715 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2716 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2717 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2718 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2719 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2720 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2721 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2722 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2723 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2724 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2725 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2726 * sysdeps/sparc/sparc64/Makefile: ... appended here.
2728 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2729 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2730 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2731 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2732 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2733 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2734 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2735 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2736 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2737 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2738 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2739 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2740 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2741 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2742 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2743 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2744 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2745 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2746 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2747 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2748 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2749 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2750 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2751 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2752 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2753 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2754 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2755 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2756 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2757 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2758 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2759 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2760 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2761 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2762 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2763 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2764 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2765 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2768 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2769 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2770 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2771 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2773 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2775 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2776 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2777 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2778 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2779 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2781 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2782 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2783 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2784 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2785 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2786 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2787 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2788 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2790 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2791 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2793 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2794 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2795 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2796 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2798 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2799 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2800 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2801 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2802 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2803 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2804 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2805 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2806 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2807 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2809 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2812 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2813 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2814 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2815 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2817 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2819 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2820 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2821 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2822 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2823 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2824 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2826 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2827 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2829 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2830 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2831 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2832 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2834 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2836 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2837 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2838 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2840 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2842 * timezone/checktab.awk: Update from tzcode 2014e.
2843 * timezone/private.h: Likewise.
2844 * timezone/tzfile.h: Likewise.
2845 * timezone/zdump.c: Likewise.
2846 * timezone/zic.c: Likewise.
2848 * sysdeps/unix/sysv/linux/kernel-features.h
2849 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2850 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2851 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2852 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2853 Remove conditional code.
2855 2014-06-25 Will Newton <will.newton@linaro.org>
2857 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2858 (_dl_arm_cap_flags): Add HWCAP2 values.
2859 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2860 (_DL_HWCAP_COUNT): Increase to 37.
2861 (_DL_HWCAP_LAST): New define.
2862 (_DL_HWCAP2_LAST): New define.
2863 (_dl_procinfo): Add support for printing
2865 (_dl_string_hwcap): Use _dl_hwcap_string.
2867 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2871 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2873 * README: Do not mention ports directory.
2875 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2877 * sysdeps/unix/sysv/linux/futimes.c: Do not include
2878 <kernel-features.h>.
2879 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2880 conditional variable definition.
2881 (__futimes): Update comment.
2882 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2883 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2886 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2887 arguments close to 0.
2888 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2890 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2892 * math/auto-libm-test-in: Add more tests of exp10.
2893 * math/auto-libm-test-out: Regenerated.
2894 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2896 * sysdeps/unix/sysv/linux/kernel-features.h
2897 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2898 * sysdeps/unix/sysv/linux/readv.c: Do not include
2899 <kernel-features.h>.
2900 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2901 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2902 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2904 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2906 * sysdeps/unix/sysv/linux/writev.c: Do not include
2907 <kernel-features.h>.
2908 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2909 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2910 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2912 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2915 2014-06-25 Will Newton <will.newton@linaro.org>
2917 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2918 comment changes throughout the file. Remove checks
2919 for HAVE_*_H definitions that are not required.
2920 (__gen_tempname): Call abort if an unknown kind value is
2923 2014-06-25 Andreas Schwab <schwab@suse.de>
2926 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2927 scalbln, scalblnf, scalblnl in libc.
2929 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2932 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2933 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2934 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2936 2014-06-24 Roland McGrath <roland@hack.frob.com>
2938 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2939 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2940 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2941 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2943 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2944 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2946 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2947 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2948 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2949 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2950 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2951 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2952 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2953 * sysdeps/x86/bits/semaphore.h: ... here.
2954 * sysdeps/x86/nptl/elide.h: Moved ...
2955 * sysdeps/x86/elide.h: ... here.
2956 * sysdeps/x86_64/nptl/Implies: File removed.
2957 * sysdeps/i386/nptl/Implies: File removed.
2959 2014-06-24 Joseph Myers <joseph@codesourcery.com>
2962 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2963 return the argument for normal arguments with exponent below -64.
2964 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2966 * math/auto-libm-test-in: Add another test of expm1.
2967 * math/auto-libm-test-out: Regenerated.
2970 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2971 calling __erfcl for arguments at least 16.
2972 * math/auto-libm-test-in: Add more tests of erf.
2973 * math/auto-libm-test-out: Regenerated.
2975 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2976 individual architectures.
2977 * sysdeps/unix/sysv/linux/configure: Regenerated.
2978 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2979 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2980 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2981 (ldd_rewrite_script): Define variable.
2982 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2987 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2988 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2989 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2990 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2991 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2992 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2993 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2994 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2996 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2999 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3000 Rename member __data.d to __data.__elision_data.
3002 2014-06-24 Wilco <wdijkstr@arm.com>
3004 * NEWS: Add 16918 to fixed bug list.
3006 2014-06-24 Wilco <wdijkstr@arm.com>
3008 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3010 2014-06-24 Wilco <wdijkstr@arm.com>
3012 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3013 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3014 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3015 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3016 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3017 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3018 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3021 2014-06-24 Wilco <wdijkstr@arm.com>
3023 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3025 2014-06-24 Wilco <wdijkstr@arm.com>
3027 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3028 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3029 * sysdeps/arm/fesetround.c (fesetround): Remove space.
3030 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3032 2014-06-24 Wilco <wdijkstr@arm.com>
3035 * sysdeps/arm/feupdateenv.c (feupdateenv):
3036 Rewrite to reduce FPSCR accesses and fix return value.
3038 2014-06-24 Wilco <wdijkstr@arm.com>
3040 * sysdeps/arm/fclrexcpt.c (feclearexcept):
3041 Optimize to avoid unnecessary FPSCR writes.
3042 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3043 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3044 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3045 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3047 2014-06-24 Wilco <wdijkstr@arm.com>
3049 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3050 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3051 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3052 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3053 Call libc_fetestexcept_vfp.
3054 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3055 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3056 __SOFTFP__ ifdef so that they can be built for softfp.
3058 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3060 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3061 argument type signed char.
3063 * Makerules (check-abi): Dump diff of symlist if the test
3066 2014-06-23 Roland McGrath <roland@hack.frob.com>
3068 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3071 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3072 Remove unused variable ST.
3074 2014-06-23 Joseph Myers <joseph@codesourcery.com>
3078 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3079 small arguments before calling __expm1.
3080 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3081 small arguments before calling __expm1f.
3082 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3083 small arguments before calling __expm1l.
3084 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3086 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3087 * math/auto-libm-test-in: Add more cosh tests. Do not allow
3088 spurious underflow for some cosh tests.
3089 * math/auto-libm-test-out: Regenerated.
3090 * sysdeps/i386/fpu/libm-test-ulps: Update.
3093 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3094 (__ieee754_y1): Set errno if return value overflows.
3095 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3096 (__ieee754_y1f): Set errno if return value overflows.
3097 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3098 (__ieee754_y1l): Set errno if return value overflows.
3099 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3100 (__ieee754_y1l): Set errno if return value overflows.
3101 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3102 * math/auto-libm-test-out: Regenerated.
3104 * math/gen-auto-libm-tests.c: Document use of
3105 ignore-zero-inf-sign.
3106 (input_flag_type): Add value flag_ignore_zero_inf_sign.
3107 (input_flags): Add ignore-zero-inf-sign.
3108 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3109 * math/gen-libm-test.pl (generate_testfile): Handle
3110 ignore-zero-inf-sign.
3111 * math/auto-libm-test-in: Mark some cpow tests with
3112 ignore-zero-inf-sign and some with xfail-rounding.
3113 * math/auto-libm-test-out: Regenerated.
3114 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3115 * sysdeps/i386/fpu/libm-test-ulps: Update.
3116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3119 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3120 overflowing or underflowing operations take place with sign of
3122 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3123 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3124 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3125 (__ieee754_pow): Recompute overflowing and underflowing results in
3126 original rounding mode.
3127 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3128 (__powl_helper): Allow negative argument X and scale negated value
3129 as needed. Avoid passing value outside [-1, 1] to f2xm1.
3130 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3131 overflowing or underflowing operations take place with sign of
3133 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3135 * math/auto-libm-test-in: Add more tests of pow.
3136 * math/auto-libm-test-out: Regenerated.
3137 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3138 (pow_tonearest_test_data): Remove.
3139 (pow_test_tonearest): Likewise.
3140 (pow_towardzero_test_data): Likewise.
3141 (pow_test_towardzero): Likewise.
3142 (pow_downward_test_data): Likewise.
3143 (pow_test_downward): Likewise.
3144 (pow_upward_test_data): Likewise.
3145 (pow_test_upward): Likewise.
3146 (main): Don't call removed functions.
3147 * sysdeps/i386/fpu/libm-test-ulps: Update.
3148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3150 2014-06-23 Roland McGrath <roland@hack.frob.com>
3152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3326 2014-06-23 Will Newton <will.newton@linaro.org>
3327 Wilco <wdijkstr@arm.com>
3329 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3330 implementation. Include get-rounding-mode.h.
3331 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3332 [!libc_feholdsetround_noex_ctx]: Define
3333 libc_feholdsetround_noex_ctx.
3334 [!libc_feholdsetround_noexf_ctx]: Define
3335 libc_feholdsetround_noexf_ctx.
3336 [!libc_feholdsetround_noexl_ctx]: Define
3337 libc_feholdsetround_noexl_ctx.
3338 (libc_feholdsetround_ctx): New function.
3339 (libc_feresetround_ctx): New function.
3340 (libc_feholdsetround_noex_ctx): New function.
3341 (libc_feresetround_noex_ctx): New function.
3343 2014-06-23 Roland McGrath <roland@hack.frob.com>
3345 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3346 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3347 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3348 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3349 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3350 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3352 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3353 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3354 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3355 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3356 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3357 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3358 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3359 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3360 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3361 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3362 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3364 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3366 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3367 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3368 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3369 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3370 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3372 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3373 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3374 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3375 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3376 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3377 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3378 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3379 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3381 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3382 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3384 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3385 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3386 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3387 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3389 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3390 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3391 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3392 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3393 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3394 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3395 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3396 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3397 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3398 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3400 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3402 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3403 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3404 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3405 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3406 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3407 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3408 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3409 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3410 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3411 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3412 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3413 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3414 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3416 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3417 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3418 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3419 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3420 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3421 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3423 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3424 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3425 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3426 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3427 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3429 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3430 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3431 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3432 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3433 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3434 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3435 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3436 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3437 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3438 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3439 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3440 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3441 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3442 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3443 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3444 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3445 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3446 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3447 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3448 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3449 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3450 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3451 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3452 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3453 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3454 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3455 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3456 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3458 2014-06-23 Joseph Myers <joseph@codesourcery.com>
3460 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3461 (FALLOC_FL_COLLAPSE_RANGE): New macro.
3462 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3463 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3464 (IPV6_PMTUDISC_INTERFACE): Likewise.
3465 (IPV6_PMTUDISC_OMIT): Likewise.
3467 2014-06-23 Andreas Schwab <schwab@suse.de>
3469 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3470 Remove unused errout label.
3472 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3474 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3475 macro: hardware supports Vector Crypto instructions.
3477 2014-06-23 Will Newton <will.newton@linaro.org>
3479 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3480 rather than __builtin_expect.
3482 * elf/dl-lookup.c (undefined_msg): Remove variable.
3483 (_dl_lookup_symbol_x): Replace undefined_msg with string
3486 * elf/dl-lookup.c (do_lookup_unique): New function.
3487 (do_lookup_x): Move STB_GNU_UNIQUE handling code
3488 to a separate function.
3490 2014-06-23 Andreas Schwab <schwab@suse.de>
3493 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3494 before reading the next line.
3496 2014-06-23 Will Newton <will.newton@linaro.org>
3498 * test-skeleton.c (signal_handler): Use printf and %m
3499 rather than perror. Use printf rather than fprintf to
3500 stderr. Use puts rather than fputs to stderr.
3503 2014-06-22 Ludovic Courtès <ludo@gnu.org>
3505 * nscd/nscd.c (thread_info_t): Remove typedef.
3506 (thread_info): Remove variable.
3508 2014-06-21 Allan McRae <allan@archlinux.org>
3510 * NEWS: Mention CVE-2014-4043.
3512 2014-06-20 Roland McGrath <roland@hack.frob.com>
3514 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3515 * nptl/smp.h: ... here.
3517 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3519 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3520 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3521 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3522 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3524 * nptl/allocatestack.c: Include <stack-aliasing.h>.
3525 * nptl/stack-aliasing.h: New file.
3526 * sysdeps/i386/i686/stack-aliasing.h: New file.
3527 * sysdeps/i386/i686/nptl/Makefile: File removed.
3528 * sysdeps/x86_64/stack-aliasing.h: New file.
3529 * sysdeps/x86_64/nptl/Makefile
3530 (CFLAGS-pthread_create.c): Variable removed.
3532 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3533 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3535 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3536 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3539 2014-06-21 Joseph Myers <joseph@codesourcery.com>
3541 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3542 (__ASSUME_SIGFRAME_V2): Remove macro.
3543 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3544 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3545 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3546 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3547 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3548 Declare as function. Remove conditional macro definitions.
3549 (__default_rt_sa_restorer): Likewise.
3550 (__default_sa_restorer_v1): Remove declaration.
3551 (__default_sa_restorer_v2): Likewise.
3552 (__default_rt_sa_restorer_v1): Likewise.
3553 (__default_rt_sa_restorer_v2): Likewise.
3554 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3555 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3556 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3558 2014-06-20 Roland McGrath <roland@hack.frob.com>
3560 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3561 (libpthread-routines): Add sysdep.
3562 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3563 * sysdeps/unix/sysv/linux/sparc/Versions
3564 (libpthread: GLIBC_2.3.3): New version set.
3565 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3566 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3567 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3568 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3569 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
3570 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3572 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3573 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3574 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3575 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3576 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3577 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3578 * sysdeps/sparc/nptl/sem_init.c: ... here.
3579 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3580 * sysdeps/sparc/nptl/sem_post.c: ... here.
3581 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3582 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3583 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3584 * sysdeps/sparc/nptl/sem_wait.c: ... here.
3585 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3586 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3587 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3588 (libpthread-routines): Add cpu_relax.
3589 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3591 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3592 (librt: GLIBC_2.3.3): New version set.
3593 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3594 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3595 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3596 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3597 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3598 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3599 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3600 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3602 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3603 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3604 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3605 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3606 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3607 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3608 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3609 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3610 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3611 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3613 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3615 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3617 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3619 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3621 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3623 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3625 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3627 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3629 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3631 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3633 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3635 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3636 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3637 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3638 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3639 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3640 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3641 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3642 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3643 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3644 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3645 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3647 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3648 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3649 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3650 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3651 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3653 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3655 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3656 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3657 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3658 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3659 * nscd/nscd.c: Likewise.
3660 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3661 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3662 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3663 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3665 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3666 <kernel-features.h>.
3667 (init_mq_netlink): Remove conditional have_sock_cloexec
3668 definitions. Remove code conditional on have_sock_cloexec < 0.
3669 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3670 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3671 * sysdeps/unix/sysv/linux/opensock.c: Do not include
3672 <kernel-features.h>.
3673 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3674 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3676 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3678 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3679 Add tests for memset_chk and memset.
3681 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3684 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3687 * elf/tst-dl-iter-static.c: New file.
3688 * elf/Makefile (tests-static): Add tst-dl-iter-static.
3690 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3693 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3695 * sysdeps/unix/sysv/linux/kernel-features.h
3696 (__ASSUME_F_GETOWN_EX): Remove macro.
3697 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3698 <kernel-features.h>.
3699 (miss_F_GETOWN_EX): Remove variable or macro.
3700 (do_fcntl): Do not check miss_F_GETOWN_EX.
3701 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3703 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3705 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3706 [!__ASSUME_AT_RANDOM]: Remove conditional code.
3707 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3709 * sysdeps/unix/sysv/linux/kernel-features.h
3710 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3711 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3712 [ADJ_OFFSET_SS_READ]: Make code unconditional.
3713 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3715 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3718 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3719 Fix calculation of the symbol's value.
3720 * sysdeps/arm/tst-armtlsdescloc.c: New file.
3721 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3722 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3723 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3724 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3725 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3726 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3727 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3728 (modules-names): Add `tst-armtlsdescmod',
3729 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3730 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3731 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3732 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3733 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3734 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3735 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3736 ($(objpfx)tst-armtlsdescloc): New dependency.
3737 ($(objpfx)tst-armtlsdescextnow): Likewise.
3738 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3739 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3741 * sysdeps/arm/configure: Regenerate.
3743 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3745 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3746 (__atfct_seterrno_2): Likewise.
3747 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3748 <kernel-features.h>.
3749 (__ASSUME_ATFCTS): Do not undefine and redefine.
3750 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3751 (__have_atfcts): Remove conditional definition.
3752 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3753 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3754 unreachable if [__ASSUME_ATFCTS].
3755 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3756 not undefine and redefine.
3757 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3758 <kernel-features.h>.
3759 (faccessat) [__NR_faccessat]: Make code unconditional.
3760 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3761 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3762 <kernel-features.h>.
3763 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3764 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3765 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3766 <kernel-features.h>.
3767 (fchownat) [__NR_fchownat]: Make code unconditional.
3768 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3769 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3770 <kernel-features.h>.
3771 (futimesat) [__NR_futimesat]: Make code unconditional.
3772 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3773 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3774 <kernel-features.h>.
3775 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3776 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3777 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3778 <kernel-features.h>.
3779 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3780 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3781 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3782 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3783 <kernel-features.h>.
3784 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3785 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3786 * sysdeps/unix/sysv/linux/linkat.c: Do not include
3787 <kernel-features.h>.
3788 (linkat) [__NR_linkat]: Make code unconditional.
3789 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3790 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3791 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3792 <kernel-features.h>.
3793 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3794 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3795 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3796 <kernel-features.h>.
3797 (mkdirat) [__NR_mkdirat]: Make code unconditional.
3798 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3799 * sysdeps/unix/sysv/linux/openat.c: Do not include
3800 <kernel-features.h>.
3801 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3802 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3803 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3804 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3805 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3806 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3807 <kernel-features.h>.
3808 (readlinkat) [__NR_readlinkat]: Make code unconditional.
3809 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
3810 result of INLINE_SYSCALL directly, not via int variable.
3811 * sysdeps/unix/sysv/linux/renameat.c: Do not include
3812 <kernel-features.h>.
3813 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3814 (renameat) [__NR_renameat]: Make code unconditional.
3815 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3816 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3817 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3818 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3819 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3820 (__ASSUME_ATFCTS): Do not undefine and redefine.
3821 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3822 <kernel-features.h>.
3823 (symlinkat) [__NR_symlinkat]: Make code unconditional.
3824 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3825 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3826 <kernel-features.h>.
3827 (unlinkat) [__NR_unlinkat]: Make code unconditional.
3828 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3829 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3830 (__ASSUME_ATFCTS): Do not undefine and redefine.
3831 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3832 <kernel-features.h>.
3833 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3834 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3835 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3836 <kernel-features.h>.
3837 (__xmknodat) [__NR_mknodat]: Make code unconditional.
3838 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3840 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3842 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3844 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
3847 * posix/regcomp.c (parse_reg_exp): Deallocate partially
3848 constructed tree before returning error.
3849 * posix/bug-regexp36.c: Expand test case.
3851 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3854 * math/libm-test.inc (scalbln_test_date):
3855 Add errno expectations.
3856 * math/w_scalblnf.c: New File.
3857 Add wrapper which checks for setting errno to ERANGE.
3858 Add weak_alias for corresponding scalbln function.
3859 * math/w_scalbln.c: Likewise.
3860 * math/w_scalblnl.c: Likewise.
3861 * math/Makefile (libm-calls): Add w_scalbln.
3862 * sysdeps/ieee754/flt-32/s_scalblnf.c:
3863 Remove weak_alias for corresponding scalbln function.
3864 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3865 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3866 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3867 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3868 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3869 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3870 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3871 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3872 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3873 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3874 Remove long_double_symbol for scalblnl function in libm, libc.
3875 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3876 Add wrapper which checks for setting errno to ERANGE.
3877 Add long_double_symbol for scalblnl function in libm, libc.
3878 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3879 Remove long_double_symbol for scalblnl in libm.
3880 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3881 Add wrapper which checks for setting errno to ERANGE.
3882 Add long_double_symbol for scalblnl function in libm.
3883 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3884 Do not use wrapper because of own implementation.
3886 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
3888 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3889 3 bytes for __pad1 for x32.
3890 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3892 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
3893 H.J. Lu <hongjiu.lu@intel.com>
3895 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3896 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3897 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3898 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3899 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3901 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
3904 * posix/regcomp.c (parse_expression): Deallocate partially
3905 constructed tree before returning error.
3906 * posix/Makefile.c (tests): Add bug-regex36.
3907 (generated): Add bug-regex36.mtrace.
3908 (tests-special): Add $(objpfx)bug-regex36-mem.out
3909 (bug-regex36-ENV): New variable.
3910 ($(objpfx)bug-regex36-mem.out): New rule.
3911 * posix/bug-regex36.c: New file.
3913 2014-06-19 Will Newton <will.newton@linaro.org>
3915 * malloc/malloc.c (systrim): If extra is zero then return
3918 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3920 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3922 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
3924 * sysdeps/aarch64/strchr.S: New file.
3926 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3929 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3930 from arguments -2 or below.
3931 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3932 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3934 2014-06-18 Andreas Schwab <schwab@suse.de>
3937 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3938 of a bracket expr not to run off the end of the string.
3939 * posix/Makefile (tests): Add tst-fnmatch3.
3940 * posix/tst-fnmatch3.c: New file.
3942 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3944 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3945 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3946 [$(cross-compiling) = no]: Likewise.
3947 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3948 [$(cross-compiling) = no]: Likewise.
3950 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3953 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3954 double, adjusted for any remainder from the high double.
3955 * math/libm-test.inc (nearbyint): Add tests.
3958 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3960 * nptl/sysdeps/powerpc/Makefile: Moved ...
3961 * sysdeps/powerpc/nptl/Makefile: ... here.
3962 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3963 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3964 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3965 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3966 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3967 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3968 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3969 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3970 * nptl/sysdeps/powerpc/tls.h: Moved ...
3971 * sysdeps/powerpc/nptl/tls.h: ... here.
3973 2014-06-16 Joseph Myers <joseph@codesourcery.com>
3976 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3977 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3978 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3979 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3980 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3981 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3982 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3983 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3984 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3986 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3988 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3990 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3992 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3995 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3998 2014-06-16 Florian Weimer <fweimer@redhat.com>
4001 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4002 non-executed part of the test.
4004 2014-06-16 Andreas Schwab <schwab@suse.de>
4006 * string/bits/string2.h (strdup, strndup): Update feature guard.
4008 2014-06-14 David S. Miller <davem@davemloft.net>
4010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4012 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
4014 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4015 that was previously under [RESET_PID].
4016 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4018 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4019 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4020 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4021 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4022 (__libc_vfork): New strong alias.
4023 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4025 2014-06-14 Andi Kleen <ak@linux.intel.com>
4027 * sysdeps/generic/elide.h: New file.
4029 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4031 * Makefile (installed-headers): Adjust path of pthread.h header.
4033 2014-06-13 Roland McGrath <roland@hack.frob.com>
4035 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4036 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4037 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4038 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4040 * nptl/sysdeps/s390/Makefile: Moved ...
4041 * sysdeps/s390/nptl/Makefile: ... here.
4042 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4043 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4044 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4045 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4046 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4047 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4048 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4049 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4050 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4051 * sysdeps/s390/nptl/pthreaddef.h: ... here.
4052 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4053 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4054 * nptl/sysdeps/s390/tls.h: Moved ...
4055 * sysdeps/s390/nptl/tls.h: ... here.
4057 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4058 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4060 2014-06-13 David S. Miller <davem@davemloft.net>
4062 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4063 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4064 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4065 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4066 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4067 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4068 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4069 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4070 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4071 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4072 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4073 Remove RESET_PID cpp guards.
4074 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4075 Remove RESET_PID cpp guards.
4076 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4078 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
4080 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4083 2014-06-13 Andi Kleen <ak@linux.intel.com>
4085 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4086 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4087 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4088 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4089 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4090 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4091 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4092 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4093 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4094 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4095 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4096 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4097 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4098 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4099 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4100 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4101 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4102 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4103 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4104 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
4106 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4107 (pthread_rwlock_rdlock): Add elision.
4108 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4109 (pthread_rwlock_wrlock): Add elision.
4110 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4111 (pthread_rwlock_trywrlock): Add elision.
4112 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4113 (pthread_rwlock_tryrdlock): Add elision.
4114 * nptl/pthread_rwlock_unlock.c: Include elide.h.
4115 (pthread_rwlock_tryrdlock): Add elision unlock.
4116 * nptl/sysdeps/pthread/pthread.h:
4117 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4118 (PTHREAD_RWLOCK_INITIALIZER,
4119 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4120 Handle new elision field.
4121 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4122 * sysdeps/arm/nptl/bits/pthreadtypes.h
4123 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4124 * sysdeps/sh/nptl/bits/pthreadtypes.h
4125 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4126 * sysdeps/tile/nptl/bits/pthreadtypes.h
4127 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4128 * sysdeps/a/nptl/bits/pthreadtypes.h
4129 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4130 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4131 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4132 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4133 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4134 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4135 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4136 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4137 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4138 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4139 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4140 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4141 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4142 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4143 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4144 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4145 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4146 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4147 (elision_init): Set try_xbegin to zero when no RTM.
4148 * sysdeps/x86/nptl/bits/pthreadtypes.h
4149 (pthread_rwlock_t): Change __pad1 to __rwelision.
4150 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4152 2014-06-13 Andi Kleen <ak@linux.intel.com>
4154 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4155 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4156 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4157 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4159 2014-06-13 Meador Inge <meadori@codesourcery.com>
4162 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4163 that the cached result has been set before returning it.
4165 2014-06-12 Roland McGrath <roland@hack.frob.com>
4167 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4168 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4169 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4170 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4171 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4172 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4174 * nptl/sysdeps/sparc/Makefile: Moved ...
4175 * sysdeps/sparc/nptl/Makefile: ... here.
4176 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4177 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4178 * nptl/sysdeps/sparc/tls.h: Moved ...
4179 * sysdeps/sparc/nptl/tls.h: ... here.
4180 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4181 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4182 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4183 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4184 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4185 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4186 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4187 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4188 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4189 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4190 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4191 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4192 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4193 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4194 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4195 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4196 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4197 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4199 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4200 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4202 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4203 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4205 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4206 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4209 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4211 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4212 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4214 * sysdeps/pthread/posix-timer.h: Include <list.h>.
4215 (struct list_links): Type removed.
4216 (struct thread_node, struct timer_node): Replace struct list_links
4217 with struct list_head.
4218 (list_unlink_ip): Likewise.
4219 * sysdeps/pthread/timer_routines.c
4220 (timer_free_list, thread_free_list, thread_active_list): Likewise.
4221 (list_append, list_insbefore): Likewise.
4222 (list_init): Function removed.
4223 (thread_init, init_module): Use INIT_LIST_HEAD instead.
4224 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4225 * sysdeps/pthread/Makefile: ... here, new file.
4227 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4228 * sysdeps/nptl/Implies: ... here.
4229 * sysdeps/unix/sysv/linux/Implies: Add nptl.
4230 * nptl/sysdeps/pthread/list.h: Moved ...
4231 * include/list.h: ... here.
4232 * nptl/sysdeps/pthread/createthread.c: Moved ...
4233 * nptl/createthread.c: ... here.
4234 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4235 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4236 * nptl/pt-longjmp.c: ... here.
4237 * nptl/sysdeps/pthread/Makefile: Moved ...
4238 * sysdeps/nptl/Makefile: ... here.
4239 * nptl/sysdeps/pthread/Subdirs: Moved ...
4240 * sysdeps/nptl/Subdirs: ... here.
4241 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4242 * sysdeps/nptl/aio_misc.h: ... here.
4243 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4244 * sysdeps/nptl/bits/libc-lock.h: ... here.
4245 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4246 * sysdeps/nptl/bits/libc-lockP.h: ... here.
4247 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4248 * sysdeps/nptl/bits/stdio-lock.h: ... here.
4249 * nptl/sysdeps/pthread/configure: Moved ...
4250 * sysdeps/nptl/configure: ... here.
4251 * nptl/sysdeps/pthread/configure.ac: Moved ...
4252 * sysdeps/nptl/configure.ac: ... here.
4253 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4254 * sysdeps/nptl/gai_misc.h: ... here.
4255 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4256 * sysdeps/nptl/librt-cancellation.c: ... here.
4257 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4258 * sysdeps/nptl/malloc-machine.h: ... here.
4259 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4260 * sysdeps/nptl/pthread-functions.h: ... here.
4261 * nptl/sysdeps/pthread/pthread.h: Moved ...
4262 * sysdeps/nptl/pthread.h: ... here.
4263 * nptl/sysdeps/pthread/setxid.h: Moved ...
4264 * sysdeps/nptl/setxid.h: ... here.
4265 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4266 * sysdeps/nptl/sigfillset.c: ... here.
4267 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4268 * sysdeps/nptl/tcb-offsets.h: ... here.
4269 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4270 * sysdeps/nptl/tst-mqueue8x.c: ... here.
4271 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4272 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4273 * nptl/sysdeps/pthread/allocalim.h: Moved ...
4274 * sysdeps/pthread/allocalim.h: ... here.
4275 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4276 * sysdeps/pthread/bits/sigthread.h: ... here.
4277 * nptl/sysdeps/pthread/flockfile.c: Moved ...
4278 * sysdeps/pthread/flockfile.c: ... here.
4279 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4280 * sysdeps/pthread/ftrylockfile.c: ... here.
4281 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4282 * sysdeps/pthread/funlockfile.c: ... here.
4283 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4284 * sysdeps/pthread/posix-timer.h: ... here.
4285 * nptl/sysdeps/pthread/timer_create.c: Moved ...
4286 * sysdeps/pthread/timer_create.c: ... here.
4287 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4288 * sysdeps/pthread/timer_delete.c: ... here.
4289 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4290 * sysdeps/pthread/timer_getoverr.c: ... here.
4291 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4292 * sysdeps/pthread/timer_gettime.c: ... here.
4293 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4294 * sysdeps/pthread/timer_routines.c: ... here.
4295 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4296 * sysdeps/pthread/timer_settime.c: ... here.
4297 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4298 * sysdeps/pthread/tst-timer.c: ... here.
4299 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4300 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4302 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4303 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4305 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4306 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4307 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4308 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4309 Update #include target.
4310 * nptl/sysdeps/i386/i686/Makefile: Moved ...
4311 * sysdeps/i386/i686/nptl/Makefile: ... here.
4312 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4313 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4314 Update #include target.
4315 * nptl/sysdeps/i386/i686/tls.h: Moved ...
4316 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
4317 * nptl/sysdeps/i386/Makefile: Moved ...
4318 * sysdeps/i386/nptl/Makefile: ... here.
4319 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4320 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4321 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4322 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4323 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4324 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4325 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4326 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4327 * sysdeps/i386/nptl/pthreaddef.h: ... here.
4328 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4329 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4330 * nptl/sysdeps/i386/tls.h: Moved ...
4331 * sysdeps/i386/nptl/tls.h: ... here.
4333 * sysdeps/sh/Makefile [$(subdir) = csu]
4334 (gen-as-const-headers): Add tcb-offsets.sym.
4335 * nptl/sysdeps/sh/Makefile: File removed.
4336 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4337 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4338 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4339 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4340 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4341 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4342 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4343 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4344 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4345 * sysdeps/sh/nptl/pthreaddef.h: ... here.
4346 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4347 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4348 * nptl/sysdeps/sh/tls.h: Moved ...
4349 * sysdeps/sh/nptl/tls.h: ... here.
4350 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4351 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4352 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4353 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4354 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4355 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4356 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4357 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4358 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4359 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4360 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4361 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4362 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4363 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4364 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4365 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4366 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4367 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4368 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4369 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4370 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4371 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4372 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4373 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4374 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4376 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4377 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4379 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4380 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4381 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4382 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4383 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4384 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4385 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4386 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4387 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4388 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4389 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4390 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4391 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4392 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4393 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4394 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4395 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4396 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4397 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4399 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4401 * posix/spawn_faction_addopen.c: Include string.h.
4403 2014-06-11 Roland McGrath <roland@hack.frob.com>
4405 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4406 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4407 * nptl/sysdeps/x86_64/Makefile: Moved ...
4408 * sysdeps/x86_64/nptl/Makefile: ... here.
4409 * nptl/sysdeps/x86_64/configure: Moved ...
4410 * sysdeps/x86_64/nptl/configure: ... here.
4411 * nptl/sysdeps/x86_64/configure.ac: Moved ...
4412 * sysdeps/x86_64/nptl/configure.ac: ... here.
4413 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4414 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4415 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4416 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4417 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4418 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4419 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4420 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4421 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4422 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4423 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4424 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4425 * nptl/sysdeps/x86_64/tls.h: Moved ...
4426 * sysdeps/x86_64/nptl/tls.h: ... here.
4427 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4428 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4429 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4430 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4432 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4434 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4436 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4438 2014-06-11 Joseph Myers <joseph@codesourcery.com>
4440 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4442 [POSIX] (off_t): Likewise.
4443 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4444 [POSIX] (S_ISBLK): Require macro.
4445 [POSIX] (S_ISCHR): Likewise.
4446 [POSIX] (S_ISDIR): Likewise.
4447 [POSIX] (S_ISFIFO): Likewise.
4448 [POSIX] (S_ISREG): Likewise.
4449 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4451 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4453 [POSIX] (time_t): Likewise.
4454 [POSIX] (timer_t): Likewise.
4456 2014-06-11 Florian Weimer <fweimer@redhat.com>
4459 * posix/spawn_int.h (struct __spawn_action): Make the path string
4460 non-const to support deallocation.
4461 * posix/spawn_faction_addopen.c
4462 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4463 * posix/spawn_faction_destroy.c
4464 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
4465 path in all spawn_do_open actions.
4466 * posix/tst-spawn.c (do_test): Exercise the copy operation in
4467 posix_spawn_file_actions_addopen.
4469 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
4471 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4472 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4473 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4474 conditional code always true.
4475 (__libc_vfork): New alias.
4477 2014-06-11 Roland McGrath <roland@hack.frob.com>
4479 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4480 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4482 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4484 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4485 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4487 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4488 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4490 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4491 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4493 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4495 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4496 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4497 multiarch strcmp for PPC64.
4498 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4499 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4500 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4501 multiarch optimizations.
4502 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4503 (__libc_ifunc_impl_list): Likewise.
4505 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4507 * benchtests/scripts/validate_benchout.py: New script.
4508 * benchtests/Makefile (bench-func): Call it.
4509 * benchtests/scripts/benchout.schema.json: New file.
4511 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
4513 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4514 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4515 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4516 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4517 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4518 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4519 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4520 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4521 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4522 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4523 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4524 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4525 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4526 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4527 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4528 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4529 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4531 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4535 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4540 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4542 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4544 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4546 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4555 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4557 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4566 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4568 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4587 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4606 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4608 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4611 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4613 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4615 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4617 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4619 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4621 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4623 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4628 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4630 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4632 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4633 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4634 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4635 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4636 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4638 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4640 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4641 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4642 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4643 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4644 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4645 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4646 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4647 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4648 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4649 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4650 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4651 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4652 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4654 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4655 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4657 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4658 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4659 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4660 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4662 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4663 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4664 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4665 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4666 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4667 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4668 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4670 2014-06-10 Wilco <wdijkstr@arm.com>
4672 * math/test-fenv-return.c: New file.
4673 * math/Makefile: Add new test test-fenv-return.
4675 2014-06-10 Joseph Myers <joseph@codesourcery.com>
4678 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4680 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4681 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4682 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4683 0.0L for an argument of 1.0L.
4684 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4686 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4687 value when x - 1 is zero.
4688 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4689 * sysdeps/i386/fpu/libm-test-ulps: Update.
4690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4692 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
4695 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4697 2014-06-09 Roland McGrath <roland@hack.frob.com>
4699 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4700 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4702 2014-06-09 Roland McGrath <roland@hack.frob.com>
4704 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4705 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4707 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4708 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4710 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4711 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4713 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4714 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4716 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4717 if not already defined.
4718 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4719 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4720 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4721 (TLS_INIT_TP): Use it.
4722 (TLS_DEFINE_INIT_TP): New macro.
4723 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4725 2014-06-09 Joseph Myers <joseph@codesourcery.com>
4727 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4729 [POSIX] (IXANY): Likewise.
4730 [POSIX] (OLCUC): Likewise.
4731 [POSIX || POSIX2008] (CBAUD): Do not allow.
4732 [POSIX || POSIX2008] (DEFECHO): Likewise.
4733 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4734 [POSIX || POSIX2008] (ECHOKE): Likewise.
4735 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4736 [POSIX || POSIX2008] (EXTA): Likewise.
4737 [POSIX || POSIX2008] (EXTB): Likewise.
4738 [POSIX || POSIX2008] (FLUSHO): Likewise.
4739 [POSIX || POSIX2008] (LOBLK): Likewise.
4740 [POSIX || POSIX2008] (PENDIN): Likewise.
4741 [POSIX || POSIX2008] (SWTCH): Likewise.
4742 [POSIX || POSIX2008] (VDISCARD): Likewise.
4743 [POSIX || POSIX2008] (VDSUSP): Likewise.
4744 [POSIX || POSIX2008] (VLNEXT): Likewise.
4745 [POSIX || POSIX2008] (VREPRINT): Likewise.
4746 [POSIX || POSIX2008] (VSTATUS): Likewise.
4747 [POSIX || POSIX2008] (VWERASE): Likewise.
4748 (B*): Change to B[0123456789]*.
4749 * conform/data/time.h-data [POSIX || UNIX98]
4750 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4751 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4752 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4753 [POSIX] (tm_*): Do not allow.
4755 2014-06-07 Joseph Myers <joseph@codesourcery.com>
4757 * Makefile (install): Don't set LANGUAGE.
4758 * Makefile.in (install): Likewise.
4759 * assert/Makefile (test-assert-ENV): Remove variable.
4760 (test-assert-perr-ENV): Likewise.
4761 * elf/Makefile (neededtest4-ENV): Likewise.
4762 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4763 [$(cross-compiling) = no]: Don't set LANGUAGE.
4764 * io/ftwtest-sh (LANG): Remove variable.
4765 * libio/Makefile (tst-widetext-ENV): Likewise.
4766 * manual/install.texi (Running make install): Don't refer to
4767 environment settings for make install.
4768 * INSTALL: Regenerated.
4769 * nptl/tst-tls6.sh: Don't set LANG.
4770 * posix/globtest.sh (LANG): Remove variable.
4771 * string/Makefile (tester-ENV): Likewise.
4772 (inl-tester-ENV): Likewise.
4773 (noinl-tester-ENV): Likewise.
4774 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4775 [$(cross-compiling) = no]: Don't set LANGUAGE.
4776 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4777 without explicit environment settings.
4779 2014-06-06 Roland McGrath <roland@hack.frob.com>
4781 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4782 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4783 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4784 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4786 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
4788 * crypt/crypt-private.h [DOS]: Add some includes taken from the
4789 other files in the crypt directory.
4790 * crypt/crypt.c: Remove duplicate includes.
4791 * crypt/crypt-entry.c: Likewise.
4792 * crypt/crypt_util.c: Likewise.
4794 2014-06-06 Joseph Myers <joseph@codesourcery.com>
4796 * Makeconfig (run-program-env): New variable.
4797 (run-program-prefix-before-env): Likewise.
4798 (run-program-prefix-after-env): Likewise.
4799 (run-program-prefix): Define in terms of new variables.
4800 (built-program-cmd-before-env): New variable.
4801 (built-program-cmd-after-env): Likewise.
4802 (built-program-cmd): Define in terms of new variables.
4803 (test-program-prefix-before-env): New variable.
4804 (test-program-prefix-after-env): Likewise.
4805 (test-program-prefix): Define in terms of new variables.
4806 (test-program-cmd-before-env): New variable.
4807 (test-program-cmd-after-env): Likewise.
4808 (test-program-cmd): Define in terms of new variables.
4809 * Rules (make-test-out): Use $(run-program-env).
4810 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4811 (help): Do not mention environment variables. Mention
4812 --timeoutfactor option.
4813 (timeoutfactor): New variable.
4814 (blacklist_exports): Remove function.
4815 (exports): Remove variable.
4816 (command): Do not include ${exports}.
4817 * manual/install.texi (Configuring and compiling): Do not mention
4818 test wrappers preserving environment variables. Mention that last
4819 assignment to a variable must take precedence.
4820 * INSTALL: Regenerated.
4821 * benchtests/Makefile (run-bench): Use $(run-program-env).
4822 * catgets/Makefile ($(objpfx)test1.cat): Use
4823 $(built-program-cmd-before-env), $(run-program-env) and
4824 $(built-program-cmd-after-env).
4825 ($(objpfx)test2.cat): Do not specify environment variables
4827 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4828 $(run-program-env) and $(built-program-cmd-after-env).
4829 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4830 $(run-program-env) and $(test-program-cmd-after-env).
4831 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4833 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4834 run_program_env and test_program_cmd_after_env arguments.
4835 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4836 * elf/tst-pathopt.sh: Use run_program_env argument.
4837 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4838 $(test-wrapper-env) and $(run-program-env).
4839 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4840 run_program_env arguments.
4841 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4842 * intl/Makefile ($(objpfx)tst-gettext.out): Use
4843 $(test-program-prefix-before-env), $(run-program-env) and
4844 $(test-program-prefix-after-env).
4845 ($(objpfx)tst-gettext2.out): Likewise.
4846 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4847 run_program_env and test_program_prefix_after_env arguments.
4848 * intl/tst-gettext2.sh: Likewise.
4849 * intl/tst-gettext4.sh: Do not set environment variables
4851 * intl/tst-gettext6.sh: Likewise.
4852 * intl/tst-translit.sh: Likewise.
4853 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4854 $(test-program-prefix-before-env), $(run-program-env) and
4855 $(test-program-prefix-after-env).
4856 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4857 run_program_env and test_program_prefix_after_env arguments.
4858 * math/Makefile (run-regen-ulps): Use $(run-program-env).
4859 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4860 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
4861 explicitly with each use of ${test_wrapper_env}.
4862 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4863 $(test-program-prefix-before-env), $(run-program-env) and
4864 $(test-program-prefix-after-env).
4865 * posix/tst-getconf.sh: Do not set environment variables
4867 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4868 run_program_env and test_program_prefix_after_env arguments.
4869 * stdio-common/tst-printf.sh: Do not set environment variables
4871 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4872 $(test-program-prefix-before-env), $(run-program-env) and
4873 $(test-program-prefix-after-env).
4874 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4875 run_program_env and test_program_prefix_after_env arguments.
4876 Split $test calls into $test_pre and $test.
4877 * timezone/Makefile (build-testdata): Use
4878 $(built-program-cmd-before-env), $(run-program-env) and
4879 $(built-program-cmd-after-env).
4881 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4883 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4884 strlen for non SHARED builds.
4886 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4888 * nptl/allocatestack.c (check_list): Inlined function...
4889 (__reclaim_stacks): ... here.
4891 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4894 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4897 2014-06-05 Joseph Myers <joseph@codesourcery.com>
4899 * Rules (make-test-out): Include
4900 LOCPATH=$(common-objpfx)localedata in default environment.
4901 * debug/Makefile (tst-chk1-ENV): Remove variable.
4902 (tst-chk2-ENV): Likewise.
4903 (tst-chk3-ENV): Likewise.
4904 (tst-chk4-ENV): Likewise.
4905 (tst-chk5-ENV): Likewise.
4906 (tst-chk6-ENV): Likewise.
4907 (tst-lfschk1-ENV): Likewise.
4908 (tst-lfschk2-ENV): Likewise.
4909 (tst-lfschk3-ENV): Likewise.
4910 (tst-lfschk4-ENV): Likewise.
4911 (tst-lfschk5-ENV): Likewise.
4912 (tst-lfschk6-ENV): Likewise.
4913 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4914 (tst-iconv7-ENV): Likewise.
4915 * intl/Makefile (LOCPATH-ENV): Likewise.
4916 (tst-codeset-ENV): Likewise.
4917 (tst-gettext3-ENV): Likewise.
4918 (tst-gettext5-ENV): Likewise.
4919 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4920 (tst-fopenloc-ENV): Likewise.
4921 (tst-fgetws-ENV): Remove variable.
4922 (tst-ungetwc1-ENV): Likewise.
4923 (tst-ungetwc2-ENV): Likewise.
4924 (bug-ungetwc2-ENV): Likewise.
4925 (tst-swscanf-ENV): Likewise.
4926 (bug-ftell-ENV): Likewise.
4927 (tst-fgetwc-ENV): Likewise.
4928 (tst-fseek-ENV): Likewise.
4929 (tst-ftell-partial-wide-ENV): Likewise.
4930 (tst-ftell-active-handler-ENV): Likewise.
4931 (tst-ftell-append-ENV): Likewise.
4932 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4933 (tst-regexloc-ENV): Likewise.
4934 (bug-regex1-ENV): Likewise.
4935 (tst-regex-ENV): Likewise.
4936 (tst-regex2-ENV): Likewise.
4937 (bug-regex5-ENV): Likewise.
4938 (bug-regex6-ENV): Likewise.
4939 (bug-regex17-ENV): Likewise.
4940 (bug-regex18-ENV): Likewise.
4941 (bug-regex19-ENV): Likewise.
4942 (bug-regex20-ENV): Likewise.
4943 (bug-regex22-ENV): Likewise.
4944 (bug-regex23-ENV): Likewise.
4945 (bug-regex25-ENV): Likewise.
4946 (bug-regex26-ENV): Likewise.
4947 (bug-regex30-ENV): Likewise.
4948 (bug-regex32-ENV): Likewise.
4949 (bug-regex33-ENV): Likewise.
4950 (bug-regex34-ENV): Likewise.
4951 (bug-regex35-ENV): Likewise.
4952 (tst-rxspencer-ENV): Likewise.
4953 (tst-rxspencer-no-utf8-ENV): Likewise.
4954 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4955 (tst-sscanf-ENV): Likewise.
4956 (tst-swprintf-ENV): Likewise.
4957 (tst-swscanf-ENV): Likewise.
4958 (test-vfprintf-ENV): Likewise.
4959 (scanf13-ENV): Likewise.
4960 (bug14-ENV): Likewise.
4961 (tst-grouping-ENV): Likewise.
4962 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4963 (tst-strtod3-ENV): Likewise.
4964 (tst-strtod4-ENV): Likewise.
4965 (tst-strtod5-ENV): Likewise.
4966 (testmb2-ENV): Likewise./
4967 * string/Makefile (tst-strxfrm-ENV): Likewise.
4968 (tst-strxfrm2-ENV): Likewise.
4969 (bug-strcoll1-ENV): Likewise.
4970 (test-strcasecmp-ENV): Likewise.
4971 (test-strncasecmp-ENV): Likewise.
4972 * time/Makefile (tst-strptime-ENV): Likewise.
4973 (tst-ftime_l-ENV): Likewise.
4974 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4975 (tst-mbrtowc-ENV): Likewise.
4976 (tst-wcrtomb-ENV): Likewise.
4977 (tst-mbrtowc2-ENV): Likewise.
4978 (tst-c16c32-1-ENV): Likewise.
4979 (tst-mbsnrtowcs-ENV): Likewise.
4981 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4983 * manual/resource.texi (How to get information about the memory
4984 subsystem?): Fix typo.
4985 Reported by Peon de la Parra Ivan <peon@keba.com>
4987 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4990 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4991 (pthread_spin_lock): Branch out of spin loop to proper location.
4992 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4993 (pthread_spin_lock): Likewise.
4995 * nptl/tst-spin4.c: New test.
4996 * nptl/Makefile (tests): Add tst-spin4.
4998 2014-06-03 Andreas Schwab <schwab@suse.de>
5001 * resolv/res_send.c (send_dg): Reload file descriptor after
5004 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
5006 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5008 2014-06-03 Richard Henderson <rth@redhat.com>
5010 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5011 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5012 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5013 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
5014 in the SAVE_PID block.
5015 (__libc_vfork): New alias.
5016 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
5018 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5019 child in registers, not on the stack. Remove RESET_PID conditionals.
5020 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5022 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
5024 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5026 2014-06-03 Wilco <wdijkstr@arm.com>
5028 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5029 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5030 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5031 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5032 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5035 2014-06-03 Wilco <wdijkstr@arm.com>
5037 * sysdeps/aarch64/fpu/math_private.h
5038 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5039 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5040 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5041 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5044 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5046 * crypt/crypt-private.h: Include ufc-crypt.h.
5047 (__b64_from_24bit): Declare extern.
5048 * crypt/crypt_util.c(__b64_from_24bit): New function.
5049 (b64t): New static const variable.
5050 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5051 (b64t): Remove variable.
5052 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5053 * crypt/sha256-crypt.c: Include crypt-private.h.
5054 (b64t): Remove variable.
5055 (__sha256_crypt_r): Remove b64_from_24bit and replace
5056 with __b64_from_24bit.
5057 * crypt/sha512-crypt.c: Likewise.
5059 2014-06-02 Roland McGrath <roland@hack.frob.com>
5061 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5062 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5063 Label the code __libc_vfork rather than __vfork.
5064 [!NOT_IN_libc] (vfork): Define as weak alias.
5065 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5066 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5067 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5069 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5071 * malloc/malloc.c (malloc_info): Fix format specifier for
5074 2014-06-02 Wilco <wdijkstr@arm.com>
5076 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5079 2014-06-02 Wilco <wdijkstr@arm.com>
5082 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5083 Rewrite to reduce FPCR/FPSR accesses.
5085 2014-06-01 David S. Miller <davem@davemloft.net>
5087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5089 2014-05-31 David S. Miller <davem@davemloft.net>
5091 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5092 to occur in round to nearest mode when |x| >= 2.0
5094 2014-05-30 Richard Henderson <rth@twiddle.net>
5096 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5097 (PSEUDO_RET_NOERRNO): Remove.
5098 (ret): Don't redefine.
5099 (ret_NOERRNO): Define in terms of ret.
5100 (ret_ERRVAL): Likewise.
5102 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5103 use of PSEUDO_RET; perform the error check directly.
5105 2014-05-30 Marko Myllynen <myllynen@redhat.com>
5107 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5110 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5112 * malloc/malloc (malloc_info): Fix formatting.
5114 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5115 Roland McGrath <roland@hack.frob.com>
5117 * malloc/malloc (malloc_info): Also print mmapped statistics.
5119 2014-05-30 Roland McGrath <roland@hack.frob.com>
5121 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5122 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5124 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
5126 * malloc/malloc.c (malloc_info): Inline mi_arena.
5128 2014-05-29 Richard Henderson <rth@twiddle.net>
5130 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5131 Remove comma before expanding ASM_ARGS_##nr.
5132 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5133 Make _x0 a strict output; make _x8 a strict input; adjust expansion
5135 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5136 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5137 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5138 (ASM_ARGS_1): Add leading comma.
5140 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5141 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5142 to __errno_location.
5143 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5144 Remove the expected plt for __errno_location.
5146 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5147 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5150 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5151 Always allocate 64 bytes of stack frame. Use ldp/stp to create
5152 it and break it down.
5153 (DOCARGS_0, DOCARGS_1): Do nothing.
5154 (DOCARGS_2): Update to store into the new stack frame.
5155 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5156 (UNDOCARGS_1): Update to restore from the new stack frame.
5157 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5158 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5160 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5161 (SINGLE_THREAD_P): New parameter for result regno.
5162 (PSEUDO): Update to match; use cbz instead of beq.
5164 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5165 Use ENTRY to define the _nocancel entry point. Share the syscall
5166 and syscall error check paths with the cancel path.
5169 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5170 whitespace; tabs before and after asm mnemonics.
5172 2014-05-29 Eric Wong <normalperson@yhbt.net>
5175 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5176 Call fstat64 or stat64 internally, depending on arguments passed.
5177 Replace stat buffer argument with file descriptor argument.
5178 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5179 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5180 Pass fd to __internal_statvfs instead of calling fstat64.
5181 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5182 Pass fd to __internal_statvfs64 instead of calling fstat64.
5183 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5184 Pass -1 to __internal_statvfs instead of calling stat64.
5185 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5186 Pass -1 to __internal_statvfs64 instead of calling stat64.
5188 2014-05-28 Roland McGrath <roland@hack.frob.com>
5190 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5191 that was previously under [RESET_PID].
5192 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5194 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5195 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5197 2014-05-27 Roland McGrath <roland@hack.frob.com>
5199 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5201 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5202 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5204 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
5206 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5208 2014-05-27 Andreas Schwab <schwab@suse.de>
5210 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5212 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5213 * elf/rtld.c (init_tls, dl_main): Likewise.
5214 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5215 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5216 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5217 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5218 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5219 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5220 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5221 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5222 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5223 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5224 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5225 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5226 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5227 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5228 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5229 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5230 * sysdeps/generic/tls.h: Update description.
5232 2014-05-27 Will Newton <will.newton@linaro.org>
5235 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5236 and restore r2 rather than just restoring.
5238 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5241 * libio/tst-ftell-append.c: New test case.
5242 * libio/Makefile (tests): Add test case.
5243 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5245 * libio/wfileops.c (do_ftell_wide): Likewise.
5247 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5251 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5255 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5256 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5257 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5258 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5259 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5260 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5261 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5264 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5267 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5268 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5269 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5270 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5271 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5273 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5274 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5276 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5278 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5280 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5281 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5282 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5284 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5285 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5286 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5287 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5289 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5292 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5295 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5298 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5302 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5305 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5310 conditional [RESET_PID].
5311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5312 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5314 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5319 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5320 (__libc_vfork): New strong alias.
5321 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5323 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5328 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5329 (__libc_vfork): New strong alias.
5330 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5332 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5335 2014-05-26 Carlos O'Donell <carlos@redhat.com>
5337 * malloc/malloc.c (mi_arena): New function.
5338 (malloc_info): Remove nested function mi_arena. Call non-nosted
5341 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5343 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5345 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5346 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5347 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5348 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5349 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5350 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5351 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5353 2014-05-26 Andreas Schwab <schwab@suse.de>
5356 * locale/programs/repertoire.c (repertoire_read): Add slash
5357 between I18NPATH element and file name.
5358 * locale/programs/locfile.c (locfile_read): Likewise.
5360 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5362 * nptl/pthread_mutexattr_settype.c
5363 (__pthread_mutexattr_settype):
5364 Disable lock elision for PTHREAD_MUTEX_NORMAL.
5366 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5368 * nptl/tst-mutex5 (do_test):
5369 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5371 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5373 * benchtests/README: Document 'init' directive.
5374 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5376 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5377 (parse_file): Recognize 'init' directive.
5379 2014-05-26 Kyle McMartin <kyle@redhat.com>
5382 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5383 alignment of struct pthread.
5385 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5388 * nscd/netgroupcache.c (addgetnetgrentX): Look for
5389 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5390 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5391 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5393 2014-05-25 Richard Henderson <rth@twiddle.net>
5395 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5396 (SINGLE_THREAD_P_PIC): Remove.
5397 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5398 (SINGLE_THREAD_P_PIC): Remove.
5400 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5401 branch to syscall error ...
5403 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5404 from __local_syscall_error to .Lsyscall_error.
5405 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5406 (SYSCALL_ERROR): Update label name.
5408 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5409 Do not use DOARGS/UNDOARGS.
5410 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5411 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5412 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5413 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5414 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5416 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5419 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5420 define if !NOT_IN_libc.
5421 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5422 define with non-default symbol versions.
5424 2014-05-23 Richard Henderson <rth@twiddle.net>
5426 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5427 (vfork, __vfork): Define via compat_symbol.
5429 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5430 [!HAVE_IFUNC] (vfork_compat): Remove.
5431 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5433 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5436 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5437 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5440 2014-05-23 Richard Henderson <rth@twiddle.net>
5442 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5443 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5444 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5445 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5447 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5448 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5449 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5450 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5451 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5452 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5453 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5454 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5455 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5456 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5457 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5458 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5459 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5460 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5461 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5462 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5463 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5464 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5465 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5466 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5467 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5468 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5469 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5470 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5471 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5472 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5473 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5474 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5475 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5476 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5477 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5478 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5479 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5480 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5481 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5482 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5483 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5484 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5485 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5486 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5487 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5488 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5489 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5490 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5491 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5492 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5493 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5494 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5495 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5496 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5497 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5498 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5499 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5500 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5501 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5502 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5504 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5505 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5506 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
5507 before exiting on error.
5508 (__libc_vfork): New strong alias.
5509 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5510 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5512 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5513 that was previously under [RESET_PID].
5514 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5516 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5518 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5521 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5522 value when x - 1 is zero.
5523 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5524 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5525 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5526 0.0L for an argument of 1.0L.
5527 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5529 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5530 value when x - 1 is zero.
5531 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5532 * sysdeps/i386/fpu/libm-test-ulps: Update.
5533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5535 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5537 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5538 alphasort and versionsort.
5540 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5542 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5544 [copysignf]: Likewise.
5546 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5548 * crypt/md5-crypt.c: Fix formatting.
5550 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5552 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5553 (b64_from_24bit): New function.
5555 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5557 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5558 libc_hidden_builtin_def to ifunc.
5559 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5560 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5562 2014-05-21 Roland McGrath <roland@hack.frob.com>
5564 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5565 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5567 2014-05-21 Joseph Myers <joseph@codesourcery.com>
5569 * nscd/Depend (linuxthreads): Remove.
5571 * resolv/Depend (linuxthreads): Remove.
5572 * rt/Depend (linuxthreads): Remove.
5574 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5575 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5576 $(common-objpfx)elf/.
5577 (link-libc-before-gnulib): Likewise.
5578 (elfobjdir): Remove variable.
5579 * Makefile (install): Use $(elf-objpfx) instead of
5580 $(common-objpfx)elf/.
5581 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5583 (link-libc-deps): Likewise.
5584 ($(common-objpfx)libc.so): Likewise.
5585 ($(common-objpfx)linkobj/libc.so): Likewise.
5586 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5587 instead of $(common-objpfx)elf/.
5588 (symbolic-link-list): Likewise.
5589 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5590 [$(cross-compiling) = no]: Likewise.
5591 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5593 (static-gnulib-arch): Likewise.
5594 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5595 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5596 $(common-objpfx)elf/.
5598 2014-05-21 Richard Henderson <rth@redhat.com>
5600 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5601 (SINGLE_THREAD_P): Use the correct width load. Fold
5602 into the ldr offset.
5604 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5605 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5607 2014-05-20 Joseph Myers <joseph@codesourcery.com>
5609 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5610 (libgcc_s_resume): Use __attribute_used__.
5611 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5614 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5616 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5617 optimization when used with float constants.
5619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5621 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
5624 * locale/nl_langinfo_l.c: Make direct reference to every
5625 _nl_current_CATEGORY symbol.
5626 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5627 (tests-static): Add tst-langinfo-static.
5628 (tests-special): Add tst-langinfo-static.out.
5629 ($(objpfx)tst-langinfo.out): Redirect output.
5630 ($(objpfx)tst-langinfo-static.out): New.
5631 * localedata/tst-langinfo.sh: Send output to stdout.
5632 * localedata/tst-langinfo-static.c: New file.
5635 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5636 when the shift amount is modulo the limb size.
5638 2014-05-20 Richard Henderson <rth@redhat.com>
5641 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5642 Change type of sa_flags from unsigned int to int.
5645 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5647 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5649 2014-05-20 Will Newton <will.newton@linaro.org>
5651 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5652 Test the return value of the system call in the nocancel case.
5654 2014-05-20 Will Newton <will.newton@linaro.org>
5655 Yvan Roux <yvan.roux@linaro.org>
5657 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5658 #include of asm/ptrace.h.
5659 (PTRACE_GET_THREAD_AREA): Remove #undef.
5660 (PTRACE_GETHBPREGS): Likewise.
5661 (PTRACE_SETHBPREGS): Likewise.
5662 (struct user_regs_struct): New structure.
5663 (struct user_fpsimd_struct): New structure.
5664 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5665 #include of asm/ptrace.h and second #include of sys/user.h.
5666 (PTRACE_GET_THREAD_AREA): Remove #undef.
5667 (PTRACE_GETHBPREGS): Likewise.
5668 (PTRACE_SETHBPREGS): Likewise.
5669 (ELF_NGREG): Use new struct user_regs_struct.
5670 (elf_fpregset_t): Use new struct user_fpsimd_struct.
5672 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5674 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5675 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5677 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5680 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5681 membar to avoid block loads/stores to overlap previous stores.
5683 2014-05-17 Richard Henderson <rth@redhat.com>
5685 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5686 Create the __##syscall_name##_nocancel entry point.
5687 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5688 Remove; let the sysdep-cancel.h code create it.
5690 2014-05-17 David S. Miller <davem@davemloft.net>
5692 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5693 Protect with __USE_GNU.
5694 (TIOCSET_TEMPT): Likewise.
5695 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5696 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5697 these are already provided in bits/ioctl-types.h
5699 2014-05-16 Roland McGrath <roland@hack.frob.com>
5701 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5702 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5704 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5705 Use wait4 regardless of [__NR_waitpid].
5707 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5710 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5711 (_FP_NANSIGN_Q): Set the quiet bit.
5713 2014-05-16 Joseph Myers <joseph@codesourcery.com>
5715 * benchtests/Makefile
5716 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5717 not $(common-objpfx)math/libm.so.
5718 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5719 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5720 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5721 $(common-objpfx)dlfcn/libdl.so.
5722 ($(objpfx)tst-audit8): Depend on $(libm), not
5723 $(common-objpfx)math/libm.so.
5724 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5725 not $(common-objpfx)dlfcn/libdl.so.
5727 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5728 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
5729 [$(build-shared) = yes].
5730 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5731 $(common-objpfx)nptl/libpthread.so.
5732 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5733 $(common-objpfx)math/libm.so$(libm.so-version) or
5734 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5735 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5736 $(common-objpfx)dlfcn/libdl.so.
5737 * setjmp/Makefile (link-libm): Remove variable.
5738 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5739 * stdio-common/Makefile (link-libm): Remove variable.
5740 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5741 * stdlib/Makefile (link-libm): Remove variable.
5742 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5743 ($(objpfx)tst-strtod-round): Likewise.
5744 ($(objpfx)tst-tininess): Likewise.
5745 ($(objpfx)tst-strtod-underflow): Likewise.
5746 ($(objpfx)tst-strtod6): Likewise.
5747 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5748 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5749 $(common-objpfx)dlfcn/libdl.so.
5751 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5753 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5754 BSD terminal modes definitions.
5756 2014-05-16 Roland McGrath <roland@hack.frob.com>
5758 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5759 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5761 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5762 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5763 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5764 Don't do #include_next.
5765 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5766 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5767 Don't do #include_next.
5768 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5769 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5770 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5771 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5773 2014-05-16 Allan McRae <allan@archlinux.org>
5775 * po/sv.po: Update Swedish translation from translation project.
5777 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5780 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5783 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5784 errno if the TIOCGPTN ioctl fails with an error different than
5786 * login/tst-ptsname.c: New file.
5787 * login/Makefile (tests): Add tst-ptsname.
5790 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5793 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5796 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5797 herrno to return EAI_AGAIN.
5799 2014-05-14 Roland McGrath <roland@hack.frob.com>
5801 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5802 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5803 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5804 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5805 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5806 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5807 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5808 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5809 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5810 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5811 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5812 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5813 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5814 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5815 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5816 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5817 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5818 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5819 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5820 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5821 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5822 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5823 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5824 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5825 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5826 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5827 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5828 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5829 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5830 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5832 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5833 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5834 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5835 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5837 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5838 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5839 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5840 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5841 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5842 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5843 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5845 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5847 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5849 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5850 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5851 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5852 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5853 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5855 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5856 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5857 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5859 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5860 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5861 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5862 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5863 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5864 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5866 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5867 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5868 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5869 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5870 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5871 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5872 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5873 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5874 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5875 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5876 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5877 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5878 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5879 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5880 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5881 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5882 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5883 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5884 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5887 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5888 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5889 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5891 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5892 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5893 (libpthread-sysdep_routines): Add elision-related stuff here instead.
5894 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5895 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5896 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5897 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5898 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5899 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5900 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5901 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5902 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5903 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5904 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5905 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5906 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5907 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5908 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5909 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5910 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5911 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5912 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5913 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5914 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5915 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5916 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5917 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5918 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5919 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5920 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5921 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5923 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5924 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5926 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5927 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5928 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5929 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5930 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5931 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5933 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5934 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5936 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5937 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5939 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5940 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5942 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5943 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5944 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5945 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5947 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5948 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5949 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5950 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5951 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5952 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5953 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5954 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5956 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5957 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5959 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5961 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5962 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5963 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5964 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5965 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5967 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5969 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5971 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5972 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5973 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5974 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5975 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5976 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5978 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5979 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5981 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5982 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5984 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5985 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5987 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5988 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5989 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5990 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5992 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5993 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5994 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5995 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5996 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5997 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5998 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5999 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6001 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6002 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6004 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6006 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6007 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6008 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6009 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6010 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6012 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6014 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6016 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6017 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6018 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6019 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6020 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6021 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6022 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6023 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6024 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6025 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6027 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6028 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6030 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6031 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6033 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6034 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6036 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6037 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6038 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6039 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6040 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6041 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6043 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6044 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6045 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6046 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6047 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6048 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6049 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6050 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6052 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6053 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6055 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6057 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6058 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6059 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6060 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6061 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6063 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6065 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6067 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6068 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6069 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6070 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6071 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6072 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6073 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6074 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6075 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6076 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6077 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6079 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6080 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6082 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6083 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6085 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6086 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6087 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6088 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6089 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6090 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6091 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6092 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6093 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6094 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6095 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6096 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6097 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6098 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6099 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6100 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6101 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6102 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6104 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6105 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6106 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6107 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6109 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6110 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6111 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6112 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6113 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6114 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6115 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6116 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6118 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6119 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6121 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6122 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6123 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6124 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6125 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6126 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6127 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6128 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6129 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6130 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6131 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6132 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6133 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6134 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6135 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6136 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6137 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6139 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6140 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6141 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6142 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6143 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6145 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6146 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6147 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6148 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6149 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6150 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6151 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6152 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6153 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6154 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6156 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6157 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6159 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6160 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6161 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6162 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6163 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6164 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6165 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6166 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6167 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6168 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6169 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6170 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6171 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6172 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6173 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6175 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6177 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6179 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6181 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6183 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6185 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6187 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6189 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6191 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6193 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6194 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6195 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6196 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6197 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6198 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6199 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6200 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6201 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6202 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6203 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6204 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6205 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6206 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
6207 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
6209 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6210 that was previously under [RESET_PID].
6211 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6212 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6213 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6215 * sysdeps/i386/nptl/Implies: New file.
6216 * sysdeps/x86_64/nptl/Implies: New file.
6217 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6218 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6219 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6220 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6222 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6223 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6224 (__libc_vfork): New strong alias.
6225 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6226 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6228 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6229 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6230 (__libc_vfork): New strong alias.
6231 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6232 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6234 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6235 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6236 (__libc_vfork): New strong alias.
6237 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6238 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6239 * nptl/pt-vfork.c: New file.
6240 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6241 (libpthread: GLIBC_2.20): New version set (empty).
6243 2014-05-14 Will Newton <will.newton@linaro.org>
6245 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6248 2014-05-14 Joseph Myers <joseph@codesourcery.com>
6251 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6252 arguments with exponent 65 or above.
6253 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6254 arguments 0x1p113L or above.
6255 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6256 to arguments 0x1p107L or above.
6257 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6258 positive arguments with exponent 65 or above.
6259 * math/auto-libm-test-in: Add more tests of log1p.
6260 * math/auto-libm-test-out: Regenerated.
6263 * math/s_cacos.c (__cacos): Ensure zero real part of result from
6264 non-finite arguments is +0.
6265 * math/s_cacosf.c (__cacosf): Likewise.
6266 * math/s_cacosl.c (__cacosl): Likewise.
6267 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6268 * sysdeps/i386/fpu/libm-test-ulps: Update.
6269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6272 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6274 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6275 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6276 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6277 for explicit high bit of mantissa when testing for argument equal
6279 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6280 * sysdeps/i386/fpu/libm-test-ulps: Update.
6281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6284 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6285 (__erf): Scale by 16 instead of 8 in potentially underflowing
6286 case. Ensure exception if result actually underflows.
6287 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6288 (__erff): Scale by 16 instead of 8 in potentially underflowing
6289 case. Ensure exception if result actually underflows.
6290 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6291 (efx8): Remove variable.
6292 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6293 case. Ensure exception if result actually underflows.
6294 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6295 (efx8): Remove variable.
6296 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6297 case. Ensure exception if result actually underflows.
6298 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6299 (efx8): Remove variable.
6300 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6301 case. Ensure exception if result actually underflows.
6302 * math/auto-libm-test-in: Add more tests of erf.
6303 * math/auto-libm-test-out: Regenerated.
6305 2014-05-14 Andreas Schwab <schwab@suse.de>
6307 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6308 Remove code conditionalized on USE___THREAD.
6310 * config.h.in (HAVE_PT_CHOWN): Define as 0.
6311 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6314 2014-05-14 Joseph Myers <joseph@codesourcery.com>
6316 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6317 Define unconditionally.
6318 (__ASSUME_O_CLOEXEC): Likewise.
6319 (__ASSUME_SOCK_CLOEXEC): Likewise.
6320 (__ASSUME_IN_NONBLOCK): Likewise.
6321 (__ASSUME_PIPE2): Likewise.
6322 (__ASSUME_EVENTFD2): Likewise.
6323 (__ASSUME_SIGNALFD4): Likewise.
6324 (__ASSUME_DUP3): Likewise.
6325 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6326 (__ASSUME_DUP3): Do not define.
6327 (__ASSUME_EVENTFD2): Likewise.
6328 (__ASSUME_IN_NONBLOCK): Likewise.
6329 (__ASSUME_O_CLOEXEC): Likewise.
6330 (__ASSUME_PIPE2): Likewise.
6331 (__ASSUME_SIGNALFD4): Likewise.
6332 (__ASSUME_SOCK_CLOEXEC): Likewise.
6333 (__ASSUME_UTIMES): Undefine.
6334 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6335 (__ASSUME_UTIMES): Do not define.
6336 (__ASSUME_O_CLOEXEC): Likewise.
6337 (__ASSUME_SOCK_CLOEXEC): Likewise.
6338 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6339 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6341 (__ASSUME_PIPE2): Likewise.
6342 (__ASSUME_EVENTFD2): Likewise.
6343 (__ASSUME_SIGNALFD4): Likewise.
6344 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6345 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6347 (__ASSUME_EVENTFD2): Likewise.
6348 (__ASSUME_SIGNALFD4): Likewise.
6349 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6350 (__ASSUME_32BITUIDS): Likewise.
6351 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6352 (__ASSUME_IPC64): Likewise.
6353 (__ASSUME_ST_INO_64_BIT): Likewise.
6354 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6355 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6356 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6357 (__ASSUME_UTIMES): Do not define.
6358 (__ASSUME_PSELECT): Likewise.
6359 (__ASSUME_PPOLL): Likewise.
6360 (__ASSUME_O_CLOEXEC): Likewise.
6361 (__ASSUME_SOCK_CLOEXEC): Likewise.
6362 (__ASSUME_IN_NONBLOCK): Likewise.
6363 (__ASSUME_PIPE2): Likewise.
6364 (__ASSUME_EVENTFD2): Likewise.
6365 (__ASSUME_SIGNALFD4): Likewise.
6366 (__ASSUME_DUP3): Likewise.
6367 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6368 (__ASSUME_UTIMES): Likewise.
6369 (__ASSUME_O_CLOEXEC): Likewise.
6370 (__ASSUME_SOCK_CLOEXEC): Likewise.
6371 (__ASSUME_IN_NONBLOCK): Likewise.
6372 (__ASSUME_PIPE2): Likewise.
6373 (__ASSUME_EVENTFD2): Likewise.
6374 (__ASSUME_SIGNALFD4): Likewise.
6375 (__ASSUME_DUP3): Likewise.
6376 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6377 (__ASSUME_UTIMES): Likewise.
6378 (__ASSUME_O_CLOEXEC): Likewise.
6379 (__ASSUME_SOCK_CLOEXEC): Likewise.
6380 (__ASSUME_IN_NONBLOCK): Likewise.
6381 (__ASSUME_PIPE2): Likewise.
6382 (__ASSUME_EVENTFD2): Likewise.
6383 (__ASSUME_SIGNALFD4): Likewise.
6384 (__ASSUME_DUP3): Likewise.
6385 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6387 (__ASSUME_UTIMES): Likewise.
6388 (__ASSUME_EVENTFD2): Likewise.
6389 (__ASSUME_SIGNALFD4): Likewise.
6390 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6391 (__ASSUME_O_CLOEXEC): Likewise.
6392 (__ASSUME_SOCK_CLOEXEC): Likewise.
6393 (__ASSUME_IN_NONBLOCK): Likewise.
6394 (__ASSUME_PIPE2): Likewise.
6395 (__ASSUME_EVENTFD2): Likewise.
6396 (__ASSUME_SIGNALFD4): Likewise.
6397 (__ASSUME_DUP3): Likewise.
6398 (__ASSUME_UTIMES): Undefine.
6400 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6401 feclearexcept. Remove symbol versioning code.
6402 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
6403 symbol versioning code.
6404 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
6405 symbol versioning code.
6406 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6407 feupdateenv. Remove symbol versioning code.
6408 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6409 fegetexceptflag. Remove symbol versioning code.
6410 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6411 fesetexceptflag. Remove symbol versioning code.
6412 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6413 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
6414 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6415 (__posix_fadvise64_l32): Remove prototype.
6416 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6419 2014-05-13 Roland McGrath <roland@hack.frob.com>
6421 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6422 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6423 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6424 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6426 2014-05-13 Sami Kerola <kerolasa@iki.fi>
6428 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6429 current working directory
6431 2014-05-13 Roland McGrath <roland@hack.frob.com>
6433 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6434 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6435 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6436 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6437 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6438 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6439 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6440 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6441 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6442 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6443 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6444 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6445 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6446 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6447 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6448 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6449 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6450 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6451 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6452 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6453 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6454 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6455 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6456 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6457 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6458 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6459 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6460 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6461 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6462 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6463 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6464 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6465 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6466 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6467 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6468 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6469 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6470 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6471 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6472 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6473 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6474 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6476 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6477 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6479 * sysdeps/unix/sysv/linux/arm/Makefile
6480 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6481 Add rt-aeabi_unwind_cpp_pr1.
6482 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6483 Add nptl-aeabi_unwind_cpp_pr1.
6484 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6485 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6486 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6487 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6488 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6489 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6491 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6492 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6493 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6494 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6496 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6497 Deconditionalize the code that was previously under [RESET_PID].
6498 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6500 * sysdeps/generic/exit-thread.h: New file.
6501 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6502 * include/unistd.h (__exit_thread): Remove declaration.
6503 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6504 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6505 * csu/libc-start.c: Include <exit-thread.h>.
6506 (LIBC_START_MAIN): Pass no argument to __exit_thread.
6507 * nptl/pthread_create.c: Include <exit-thread.h>.
6508 (start_thread): Call __exit_thread in place of __exit_thread_inline.
6509 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6510 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6511 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6512 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6513 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6514 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6515 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6516 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6517 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6518 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6519 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6520 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6521 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6522 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6523 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6524 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6526 2014-05-13 Andreas Schwab <schwab@suse.de>
6528 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6530 2014-05-12 Joseph Myers <joseph@codesourcery.com>
6532 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6533 (__ASSUME_UTIMES): Do not condition on kernel version.
6534 (__ASSUME_PSELECT): Define unconditionally.
6535 (__ASSUME_PPOLL): Likewise.
6536 (__ASSUME_ATFCTS): Likewise.
6537 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6538 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6539 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6540 (__ASSUME_UTIMENSAT): Define unconditionally.
6541 (__ASSUME_PRIVATE_FUTEX): Likewise.
6542 (__ASSUME_FALLOCATE): Likewise.
6543 (__ASSUME_O_CLOEXEC): Likewise.
6544 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6545 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6546 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6547 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6548 (__ASSUME_IN_NONBLOCK): Likewise.
6549 (__ASSUME_PIPE2): Likewise.
6550 (__ASSUME_EVENTFD2): Likewise.
6551 (__ASSUME_SIGNALFD4): Likewise.
6552 (__ASSUME_DUP3): Likewise.
6553 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6554 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6555 (__ASSUME_AT_RANDOM): Likewise.
6556 (__ASSUME_PREADV): Likewise.
6557 (__ASSUME_PWRITEV): Likewise.
6558 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6559 (__ASSUME_F_GETOWN_EX): Define unconditionally.
6560 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6561 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6562 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6563 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6564 (__ASSUME_O_CLOEXEC): Define unconditionally.
6565 (__ASSUME_PSELECT): Do not undefine conditionally.
6566 (__ASSUME_PPOLL): Likewise.
6567 (__ASSUME_ATFCTS): Likewise.
6568 (__ASSUME_SET_ROBUST_LIST): Likewise.
6569 (__ASSUME_UTIMENSAT): Likewise.
6570 (__ASSUME_FDATASYNC): Define unconditionally.
6571 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6572 (__ASSUME_SIGFRAME_V2): Likewise.
6573 )__ASSUME_EVENTFD2): Likewise.
6574 (__ASSUME_SIGNALFD4): Likewise.
6575 (__ASSUME_PSELECT): Do not undefine conditionally.
6576 (__ASSUME_PPOLL): Likewise.
6577 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6578 (__ASSUME_PSELECT): Define unconditionally.
6579 (__ASSUME_PPOLL): Likewise.
6580 (__ASSUME_O_CLOEXEC): Likewise.
6581 (__ASSUME_SOCK_CLOEXEC): Likewise.
6582 (__ASSUME_IN_NONBLOCK): Likewise.
6583 (__ASSUME_PIPE2): Likewise.
6584 (__ASSUME_EVENTFD2): Likewise.
6585 (__ASSUME_SIGNALFD4): Likewise.
6586 (__ASSUME_DUP3): Likewise.
6587 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6588 (__ASSUME_O_CLOEXEC): Likewise.
6589 (__ASSUME_SOCK_CLOEXEC): Likewise.
6590 (__ASSUME_IN_NONBLOCK): Likewise.
6591 (__ASSUME_PIPE2): Likewise.
6592 (__ASSUME_EVENTFD2): Likewise.
6593 (__ASSUME_SIGNALFD4): Likewise.
6594 (__ASSUME_DUP3): Likewise.
6595 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6596 (__ASSUME_EVENTFD2): Likewise.
6597 (__ASSUME_SIGNALFD4): Likewise.
6598 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6600 2014-05-12 Andreas Schwab <schwab@suse.de>
6603 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6604 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6605 than maximum RPC packet size.
6606 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6607 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6608 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6609 (_nss_nis_getservbyport_r): Likewise.
6611 2014-05-12 Will Newton <will.newton@linaro.org>
6613 * malloc/Makefile (tests): Add tst-mallopt.
6614 * malloc/tst-mallopt.c: New file.
6616 2014-05-09 Roland McGrath <roland@hack.frob.com>
6618 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6619 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6621 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6623 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6624 (tst-tlsmod6.so): Likewise.
6626 2014-05-09 Roland McGrath <roland@hack.frob.com>
6628 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6630 2014-05-09 Joseph Myers <joseph@codesourcery.com>
6633 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6634 and <dl-procinfo.h>.
6635 (__fegetenv): Save SSE state in envp->__eip if supported.
6636 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6637 envp->__eip if supported.
6638 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6639 and <dl-procinfo.h>.
6640 (__fesetenv): Always set __eip, __cs_selector, __opcode,
6641 __data_offset and __data_selector in environment to 0. Set SSE
6643 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6645 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6647 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6649 2014-05-09 Will Newton <will.newton@linaro.org>
6651 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6652 and libc_relro_required for ARM.
6653 * sysdeps/arm/preconfigure: Regenerate.
6655 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
6656 Stefan Liebler <stli@linux.vnet.ibm.com>
6658 * config.make.in (enable-lock-elision): New Makefile variable.
6659 * configure.ac: Likewise.
6660 * configure: Regenerate.
6661 * sysdeps/s390/configure.ac:
6662 Add check for gcc transactions support.
6663 * sysdeps/s390/configure: Regenerate.
6664 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6665 Build elision files if enabled.
6666 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6667 Add lock elision support for s390.
6668 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6669 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6670 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6671 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6672 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6673 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6674 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6676 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6678 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6680 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6682 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6683 (__lll_timedlock_elision, __lll_lock_elision)
6684 (__lll_unlock_elision, __lll_trylock_elision)
6685 (lll_timedlock_elision, lll_lock_elision)
6686 (lll_unlock_elision, lll_trylock_elision): Add.
6687 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6688 (pthread_mutex_t): Add lock elision support for s390.
6690 2014-05-14 Wilco <wdijkstr@arm.com>
6692 * sysdeps/arm/fclrexcpt.c: Cleanup.
6693 * sysdeps/arm/fedisblxcpt.c: Cleanup.
6694 * sysdeps/arm/feenablxcpt.c: Cleanup.
6695 * sysdeps/arm/fegetenv.c: Cleanup.
6696 * sysdeps/arm/fegetexcept.c: Cleanup.
6697 * sysdeps/arm/fegetround.c: Cleanup.
6698 * sysdeps/arm/feholdexcpt.c: Cleanup.
6699 * sysdeps/arm/fesetenv.c: Cleanup.
6700 * sysdeps/arm/fesetround.c: Cleanup.
6701 * sysdeps/arm/feupdateenv.c: Cleanup.
6702 * sysdeps/arm/fgetexcptflg.c: Cleanup.
6703 * sysdeps/arm/fraiseexcpt.c: Cleanup.
6704 * sysdeps/arm/fsetexcptflg.c: Cleanup.
6705 * sysdeps/arm/ftestexcept.c: Cleanup.
6706 * sysdeps/arm/get-rounding-mode.h: Cleanup.
6707 * sysdeps/arm/setfpucw.c: Cleanup.
6709 2014-05-09 Will Newton <will.newton@linaro.org>
6711 * sysdeps/arm/armv7/strcmp.S: New file.
6712 * NEWS: Mention addition of ARMv7 optimized strcmp.
6714 2014-05-08 Roland McGrath <roland@hack.frob.com>
6716 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6717 look for %.ac rather than %.in.
6719 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6720 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6721 * sysdeps/mach/hurd/configure: Regenerated.
6722 * sysdeps/unix/sysv/linux/configure: Regenerated.
6724 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6726 2014-05-07 Steve Ellcey <sellcey@mips.com>
6729 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6733 2014-05-07 Andreas Schwab <schwab@suse.de>
6735 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6736 when skipping over non-matching result from nscd.
6738 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
6741 * nptl/sockperf.c (client): Check socket return value.
6744 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6745 nscd security class.
6747 2014-05-06 Roland McGrath <roland@hack.frob.com>
6749 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6750 * sysdeps/arm/unwind.h: ... here.
6752 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6755 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6758 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6760 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6761 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6762 multiarch strncpy for PPC64.
6763 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6764 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6765 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6766 multiarch optimizations.
6767 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6768 (__libc_ifunc_impl_list): Likewise.
6769 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6770 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6771 multiarch stpncpy for PPC64.
6772 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6773 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6775 2014-05-06 Andreas Schwab <schwab@suse.de>
6778 * gmon/mcount.c (_MCOUNT_DECL): Use
6779 atomic_compare_and_exchange_bool_acq instead of
6780 catomic_compare_and_exchange_bool_acq.
6782 2014-05-05 Roland McGrath <roland@hack.frob.com>
6784 * elf/Makefile (others, install-bin): Remove pldd.
6785 (pldd-modules): Variable removed.
6786 ($(objpfx)pldd): Target removed.
6787 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6788 (others, install-bin): Append pldd here.
6789 ($(objpfx)pldd): New target.
6791 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6792 to 0, so the first #if test emitted later doesn't see it undefined.
6793 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6794 * sysdeps/gnu/errlist.c: Regenerated.
6796 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6798 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6799 [libc_hidden_builtin_def]: Define to empty value.
6800 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6801 [libc_hidden_builtin_def]: Likewise.
6802 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6803 [libc_hidden_builtin_def]: Likewise.
6804 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6805 [libc_hidden_builtin_def]: Likewise.
6806 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6807 __redirect_memcpy and define ifunc as default hidden symbol.
6808 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6809 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6811 2014-05-04 Adam Conrad <adconrad@0c3.net>
6813 * locale/iso-4217.def: Reintroduce XDR currency.
6815 2014-05-04 Allan McRae <allan@archlinux.org>
6817 * po/eo.po: Update Esperanto translation from translation project.
6819 2014-05-02 Carlos O'Donell <carlos@redhat.com>
6821 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6822 and FEATURE_INDEX_MAX to 1.
6823 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6825 2014-05-01 Steve Ellcey <sellcey@mips.com>
6827 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6828 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6829 * iconvdata/big5.c (ONE_DIRECTION): Define.
6830 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6831 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6832 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6833 * iconvdata/cp932.c (ONE_DIRECTION): Define.
6834 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6835 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6836 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6837 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6838 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6839 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6840 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6841 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6842 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6843 * iconvdata/gbk.c (ONE_DIRECTION): Define.
6844 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6845 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6846 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6847 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6848 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6849 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6850 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6851 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6852 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6853 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6854 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6855 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6856 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6857 * iconvdata/iso646.c (ONE_DIRECTION): Define.
6858 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6859 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6860 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6861 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6862 * iconvdata/johab.c (ONE_DIRECTION): Define.
6863 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6864 * iconvdata/sjis.c (ONE_DIRECTION): Define.
6865 * iconvdata/t.61.c (ONE_DIRECTION): Define.
6866 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6867 * iconvdata/tscii.c (ONE_DIRECTION): Define.
6868 * iconvdata/uhc.c (ONE_DIRECTION): Define.
6869 * iconvdata/unicode.c (ONE_DIRECTION): Define.
6870 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6871 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6872 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6874 2014-05-01 Roland McGrath <roland@hack.frob.com>
6876 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6877 (_IO_JUMPS_OFFSET): Define to 0.
6879 * nptl/sysdeps/pthread/bits/libc-lock.h
6880 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6881 (__libc_lock_define_initialized_recursive): Always define using
6882 initializer. Modern compilers treat uninitialized (implicit zero) and
6883 explicit zero initializers the same (i.e. put the datum in bss).
6885 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6887 * nscd/nscd-client.h: Include <string.h>.
6889 2014-05-01 David S. Miller <davem@davemloft.net>
6892 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6893 multiple zero bytes exist at the end of a string.
6894 Reported by Aurelien Jarno <aurelien@aurel32.net>
6896 * string/test-strcmp.c (check): Add explicit test for situations where
6897 there are multiple zero bytes after the first.
6899 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6902 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6903 when compiling wprintf.
6904 * stdio-common/tstdiomisc.c (t3): New function.
6907 2014-05-01 Steve Ellcey <sellcey@mips.com>
6909 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6910 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6911 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6912 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6914 2014-05-01 Steve Ellcey <sellcey@mips.com>
6916 * stdlib/longlong.h: Updated from GCC.
6918 2014-05-01 Will Newton <will.newton@linaro.org>
6919 Bernard Ogden <bernie.ogden@linaro.org>
6921 * NEWS: Update fixed bug list.
6924 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6926 2014-04-30 David S. Miller <davem@davemloft.net>
6928 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6929 (libc_feholdexcept_setround_sparc_ctx): New function.
6930 (libc_fesetenv_sparc_ctx): Likewise.
6931 (libc_feupdateenv_sparc_ctx): Likewise.
6932 (libc_feholdsetround_sparc_ctx): Likewise.
6933 (libc_feholdexcept_setround_ctx): Define.
6934 (libc_feholdexcept_setroundf_ctx): Likewise.
6935 (libc_feholdexcept_setroundl_ctx): Likewise.
6936 (libc_fesetenv_ctx): Likewise.
6937 (libc_fesetenvf_ctx): Likewise.
6938 (libc_fesetenvl_ctx): Likewise.
6939 (libc_feupdateenv_ctx): Likewise.
6940 (libc_feupdateenvf_ctx): Likewise.
6941 (libc_feupdateenvl_ctx): Likewise.
6942 (libc_feresetround_ctx): Likewise.
6943 (libc_feresetroundf_ctx): Likewise.
6944 (libc_feresetroundl_ctx): Likewise.
6945 (libc_feholdsetround_ctx): Likewise.
6946 (libc_feholdsetroundf_ctx): Likewise.
6947 (libc_feholdsetroundl_ctx): Likewise.
6949 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6950 with __USE_GNU instead of XOPEN cpp guards.
6952 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6955 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6956 with XOPEN cpp guards.
6958 2014-04-30 Julian Brown <julian@codesourcery.com>
6961 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6964 2014-04-30 Joseph Myers <joseph@codesourcery.com>
6967 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6969 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6970 * sysdeps/unix/sysv/linux/configure: Regenerated.
6971 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6972 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6973 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6974 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6975 * README: Update reference to required Linux kernel version.
6976 * manual/install.texi (Linux): Update reference to required Linux
6977 kernel headers version.
6978 * INSTALL: Regenerated.
6980 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6982 [POSIX] (limits.h): Likewise.
6983 [POSIX] (math.h): Likewise.
6984 [POSIX] (sys/wait.h): Likewise.
6985 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6987 [POSIX] (stddef.h): Do not allow header inclusion.
6989 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6991 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6993 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6995 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6996 Return immediately after lll_futex_wake.
6998 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7001 * nscd/nscd-client.h (datahead_init_common): Initialize entire
7003 (datahead_init_pos): Call datahead_init_common early.
7004 (datahead_init_neg): Likewise.
7006 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7007 datahead_init_neg): New functions.
7008 * nscd/aicache.c (addhstaiX): Use them.
7009 * nscd/grpcache.c (cache_addgr): Likewise.
7010 * nscd/hstcache.c (cache_addhst): Likewise.
7011 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7012 * nscd/netgroupcache.c (do_notfound): Likewise.
7013 (addgetnetgrentX): Likewise.
7014 (addinnetgrX): Likewise.
7015 * nscd/pwdcache.c (cache_addpw): Likewise.
7016 * nscd/servicescache.c (cache_addserv): Likewise.
7018 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7019 Atsushi Onoe <atsushi@onoe.org>
7024 * resolv/res_query.c (__libc_res_nsearch): Return if at least
7025 one response is valid.
7026 * resolv/res_send.c (send_dg): Check for validity of other
7027 response if the current response is a referral.
7029 2014-04-29 Steve Ellcey <sellcey@mips.com>
7031 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7033 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
7036 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7037 Always divide by positive zero when computing -Inf result.
7038 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7039 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7041 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7043 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7044 FPSCR if value do not change.
7045 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7046 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7047 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7048 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7049 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7050 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7053 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
7055 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7056 * sysdeps/unix/sysv/linux/hppa: Move directory from
7057 ports/systeps/unix/sysv/linux/hppa.
7058 * README: Update listing for hppa-*-linux-gnu.
7060 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
7063 * manual/stdio.texi (Hook functions): Fix types of stream hook
7066 * socket/sys/socket.h: Fix typo in comment.
7068 2014-04-28 Wilco <wdijkstr@arm.com>
7070 * sysdeps/arm/fenv_private.h: New file.
7071 * sysdeps/arm/math_private.h: New file.
7072 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7074 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
7076 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7078 (La_x86_64_retval): Likewise.
7080 2014-04-24 Ian Bolton <ian.bolton@arm.com>
7082 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7083 fpsr if value didn't change.
7084 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7085 to fpcr if value didn't change.
7086 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7087 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7088 fpsr or fpcr if value didn't change.
7089 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7090 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7091 fpcr if value didn't change.
7092 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7093 to fpsr if value didn't change.
7095 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7097 * nptl/tst-sem3.c: Use test-skeleton.c
7098 (main): Rename to do_test. Use return instead of
7100 * nptl/tst-sem4.c: Use test-skeleton.c
7101 (main): Rename to do_test.
7103 2014-04-22 David S. Miller <davem@davemloft.net>
7105 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7106 (struct sigaction): New struct member __glibc_reserved0, change
7107 type of sa_flags to int.
7109 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
7111 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7112 (COUNT_LEADING_ZEROS_0): Define for AArch64.
7114 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7116 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7117 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7119 2014-04-22 Will Newton <will.newton@linaro.org>
7120 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
7122 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7123 (__longjmp): Add longjmp and longjmp_target SystemTap
7125 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7126 (__sigsetjmp): Add setjmp SystemTap probe.
7128 2014-04-17 Carlos O'Donell <carlos@redhat.com>
7130 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7133 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7135 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7137 * sysdeps/powerpc/fpu/fenv_private.h
7138 (libc_feholdexcept_setroundl_ctx): Define to
7139 libc_feholdexcept_setround_ppc_ctx.
7140 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7141 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7142 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7143 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7145 2014-04-17 Ian Bolton <ian.bolton@arm.com>
7147 * sysdeps/aarch64/math-tests.h: New file.
7149 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
7151 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7153 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7154 Check and set bit_AVX2_Usable.
7155 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7157 (bit_AVX2): Likewise.
7158 (index_AVX2_Usable): Likewise.
7159 (CPUID_AVX2): Likewise.
7160 (HAS_AVX2): Likewise.
7162 2014-04-17 Will Newton <will.newton@linaro.org>
7164 * manual/setjmp.texi (System V contexts): Add note that
7165 calling setcontext on a context created by a call to a
7166 signal handler is undefined. Update text to note that
7167 setcontext from a signal handler is possible but not
7171 * stdlib/tst-setcontext.c: Include signal.h.
7172 (main): Check that the signal stack before and
7173 after swapcontext is the same.
7175 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7176 Re-implement to restore registers in user code and avoid
7177 rt_sigreturn system call.
7179 2014-04-17 Wilco <wdijkstr@arm.com>
7181 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7182 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7183 * math/test-fenv.c: Skip exception trap tests on targets which only
7184 support non-stop mode.
7186 2014-04-17 Ian Bolton <ian.bolton@arm.com>
7187 Wilco Dijkstra <wilco.dijkstra@arm.com>
7189 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7190 (libc_feholdsetround_aarch64_ctx)
7191 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7192 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7193 (libc_feresetround_ctx, libc_feresetroundf_ctx)
7194 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7195 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7196 (libc_feresetround_noexl_ctx): Define.
7198 2014-04-16 Richard Henderson <rth@redhat.com>
7200 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7202 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7205 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7206 const from the non-libc, non-ldso copy.
7208 * sysdeps/alpha/libm-test-ulps: Regenerate.
7210 2014-04-16 Ian Bolton <ian.bolton@arm.com>
7211 Wilco Dijkstra <wilco.dijkstra@arm.com>
7213 * sysdeps/aarch64/fpu/math_private.h: New file.
7215 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
7217 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7219 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
7222 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7223 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7224 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7225 Intel MPX bound registers before _dl_profile_fixup.
7226 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7227 registers after _dl_profile_fixup. Save and restore bound
7228 registers bnd0/bnd1 when calling _dl_call_pltexit.
7229 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7230 (LR_BND_OFFSET): Likewise.
7231 (LRV_BND0_OFFSET): Likewise.
7232 (LRV_BND1_OFFSET): Likewise.
7234 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7236 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7238 * sysdeps/mach/hurd/i386/tls.h: ... here.
7239 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7240 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7243 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7245 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7247 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7249 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7251 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7254 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7255 * sysdeps/s390/configure: Regenerate.
7258 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7259 Set round-to-nearest internally to reduce error accumulation.
7261 2014-04-16 Alan Modra <amodra@gmail.com>
7265 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7266 * math/libm-test.inc (frexp_test_data): Add tests.
7267 * NEWS: Update fixed bug list.
7269 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7271 * benchtests/Makefile: Depend on libraries in build directory.
7272 (bench-math): Separate out math tests.
7273 (bench-pthread): Separate out pthread tests.
7274 (bench): Include math and pthread tests.
7276 2014-04-14 Carlos O'Donell <carlos@redhat.com>
7279 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7280 _dl_debug_initialize.
7282 * configure.ac: Remove SELinux header check.
7283 * configure: Regenerate.
7284 * nscd/selinux.c (perms): Array of const char* to permission names.
7285 (nscd_request_avc_has_perm): Call security_deny_unknown to find
7286 default policy. Call string_to_security_class and string_to_av_perm to
7287 translate strings. Enforce default policy and call avs_has_perm with
7288 results of translated strings.
7290 2014-04-13 David S. Miller <davem@davemloft.net>
7292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7294 2014-04-12 Allan McRae <allan@archlinux.org>
7297 * manual/string.texi (Collation Functions): Fix qsort argument
7299 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7301 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
7303 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7304 Make the test a no-op if there are no exceptions defined.
7306 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7308 * elf/Makefile (tests): make tst-dlopen-aout conditional on
7309 enable-hardcoded-path-in-tests
7311 2014-04-11 Will Newton <will.newton@linaro.org>
7313 * benchtests/Makefile (extra-objs): Add json-lib.o.
7314 (bench-func): Tidy up JSON output.
7315 * benchtests/bench-skeleton.c: Include json-lib.h.
7316 (main): Use JSON library functions to do output of
7318 * benchtests/bench-timing-type.c (main): Output the
7319 timing type simply, leaving formatting to the user.
7320 * benchtests/json-lib.c: New file.
7321 * benchtests/json-lib.h: Likewise.
7323 2014-04-11 Torvald Riegel <triegel@redhat.com>
7326 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7327 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
7328 memory barriers. Add comments.
7329 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7330 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7331 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7332 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7333 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7334 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7336 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7338 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7339 * sysdeps/s390/s390-64/configure.ac: ... this ...
7340 * sysdeps/s390/configure.ac: ... to here.
7341 * sysdeps/s390/s390-32/configure: Delete file.
7342 * sysdeps/s390/s390-64/configure: Delete file.
7343 * sysdeps/s390/configure: Regenerate.
7345 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
7347 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7349 2014-04-11 Will Newton <will.newton@linaro.org>
7351 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7352 to zero if it is not defined elsewhere. (mtrim): Test
7353 the value of MALLOC_DEBUG with #if rather than #ifdef.
7355 2014-04-10 Torvald Riegel <triegel@redhat.com>
7357 * benchtests/pthread_once-inputs: New file.
7358 * benchtests/pthread_once-source.c: New file.
7359 * benchtests/README: Update documentation.
7361 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
7362 H.J. Lu <hongjiu.lu@intel.com>
7365 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7366 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7367 * sysdeps/x86_64/configure: Regenerated.
7368 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7370 (REGISTER_SAVE_RAX): Likewise.
7371 (REGISTER_SAVE_RCX): Likewise.
7372 (REGISTER_SAVE_RDX): Likewise.
7373 (REGISTER_SAVE_RSI): Likewise.
7374 (REGISTER_SAVE_RDI): Likewise.
7375 (REGISTER_SAVE_R8): Likewise.
7376 (REGISTER_SAVE_R9): Likewise.
7377 (REGISTER_SAVE_BND0): Likewise.
7378 (REGISTER_SAVE_BND1): Likewise.
7379 (REGISTER_SAVE_BND2): Likewise.
7380 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
7381 bound registers when calling _dl_fixup.
7383 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7385 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7386 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7388 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7389 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7390 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7391 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7392 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7393 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7394 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7396 2014-04-09 Peter Brett <peter@peter-b.co.uk>
7399 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7400 pathconf(_PC_NAME_MAX).
7402 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7404 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7406 (__PTHREAD_SPINS): Move definition to ...
7407 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7408 (__PTHREAD_SPINS): ... here.
7409 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7410 (__PTHREAD_SPIN): Likewise.
7411 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7412 (__PTHREAD_SPIN): Likewise.
7413 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7414 (__PTHREAD_SPIN): Likewise.
7415 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7416 (__PTHREAD_SPIN): Likewise.
7417 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7418 (__PTHREAD_SPIN): Likewise.
7419 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7420 (__PTHREAD_SPIN): Likewise.
7421 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7422 (__PTHREAD_SPIN): Likewise.
7423 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7424 (__PTHREAD_SPIN): Likewise.
7425 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7426 (__PTHREAD_SPIN): Likewise.
7427 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7428 (__PTHREAD_SPIN): Likewise.
7429 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7430 (__PTHREAD_SPIN): Likewise.
7431 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7432 (__PTHREAD_SPIN): Likewise.
7434 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7435 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7436 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7437 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7439 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7440 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7441 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7442 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7444 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7445 strlen symbol for non multi-arch builds.
7446 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7447 missing hidden_def and weak_alias.
7449 2014-04-08 Carlos O'Donell <carlos@redhat.com>
7451 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7453 2014-04-07 Will Newton <will.newton@linaro.org>
7455 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7456 and contents. [!_LIBC] Remove #ifndef and contents.
7457 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
7458 * string/memccpy.c (__memccpy): Use ANSI prototype.
7459 * string/memfrob.c (memfrob): Likewise.
7460 * string/strcoll.c (STRCOLL): Likewise.
7461 * string/strlen.c (strlen): Likewise.
7462 * string/strtok.c (STRTOK): Likewise.
7463 * string/strcat.c: Remove unused #include of memcopy.h.
7464 (strcat): Use ANSI prototype.
7465 * string/strchr.c: Remove unused #include of memcopy.h.
7466 (strchr): Use ANSI prototype.
7467 * string/strcmp.c: Remove unused #include of memcopy.h.
7468 (strcmp): Use ANSI prototype.
7469 * string/strcpy.c: Remove unused #include of memcopy.h.
7470 (strcpy): Use ANSI prototype.
7472 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7474 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7475 * config.make.in (config-extra-cppflags): Set it from
7476 libc_extra_cppflags.
7477 * configure.ac (libc_extra_cflags): Make it accumulate over
7478 configure fragments.
7479 (libc_extra_cppflags): New flag.
7480 * configure. Regenerate.
7481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7482 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7483 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7487 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7488 result for FE_DOWNWARD rounding mode.
7489 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7493 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
7495 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7496 in function argument name.
7498 2014-04-03 David Svoboda <svoboda@cert.org>
7501 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7504 2014-04-03 Roland McGrath <roland@hack.frob.com>
7506 * elf/dl-unmap-segments.h: New file.
7507 * sysdeps/generic/ldsodefs.h
7508 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7509 * elf/dl-close.c: Include <dl-unmap-segments.h>.
7510 * elf/dl-fptr.c: Likewise.
7511 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7512 * sysdeps/aarch64/tlsdesc.c: Likewise.
7513 * sysdeps/arm/tlsdesc.c: Likewise.
7514 * sysdeps/i386/tlsdesc.c: Likewise.
7515 * sysdeps/tile/dl-runtime.c: Likewise.
7516 * sysdeps/x86_64/tlsdesc.c: Likewise.
7517 * elf/dl-load.h: New file.
7518 * elf/dl-load.c: Include it.
7519 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7520 Macros moved to dl-load.h.
7521 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7522 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7523 Use _dl_unmap_segments in place of __munmap.
7524 Break out segment-mapping loop into ...
7525 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7527 2014-04-03 Will Newton <will.newton@linaro.org>
7529 * elf/dl-lookup.c (do_lookup_x): Remove comment
7530 referring to nested function and move variable
7531 declarations down to before first use.
7533 2014-04-02 Joseph Myers <joseph@codesourcery.com>
7537 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7539 * math/s_catanf.c (__catanf): Likewise.
7540 * math/s_catanh.c (__catanh): Likewise.
7541 * math/s_catanhf.c (__catanhf): Likewise.
7542 * math/s_catanhl.c (__catanhl): Likewise.
7543 * math/s_catanl.c (__catanl): Likewise.
7544 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7545 by positive zero when computing -Inf result.
7546 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7547 (catanh_test): Likewise.
7548 * sysdeps/i386/fpu/libm-test-ulps: Update.
7549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7552 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7553 instead of using underflowing value in computing result.
7554 * math/s_clog10.c (__clog10): Likewise.
7555 * math/s_clog10f.c (__clog10f): Likewise.
7556 * math/s_clog10l.c (__clog10l): Likewise.
7557 * math/s_clogf.c (__clogf): Likewise.
7558 * math/s_clogl.c (__clogl): Likewise.
7559 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7560 (clog10_test): Likewise.
7561 * sysdeps/i386/fpu/libm-test-ulps: Update.
7562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7564 2014-04-02 Alan Modra <amodra@gmail.com>
7567 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7568 output when value is near a power of two. Use int64_t for lx and
7569 remove casts. Use decimal rather than hex exponent constants.
7570 Don't use long double multiplication when double will suffice.
7571 * math/libm-test.inc (nextafter_test_data): Add tests.
7572 * NEWS: Add 16739 and 16786 to bug list.
7574 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7576 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7578 2014-04-01 Will Newton <will.newton@linaro.org>
7580 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7581 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
7583 2014-04-01 Florian Weimer <fweimer@redhat.com>
7586 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7587 * nptl/tst-setuid2.c: New file.
7588 * nptl/Makefile (xtests): Add tst-setuid2.
7590 2014-04-01 Alan Modra <amodra@gmail.com>
7593 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7595 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7599 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7600 set errno as appropriate.
7601 * math/w_scalbf.c (__scalbf): Likewise.
7602 * math/w_scalbl.c (__scalbl): Likewise.
7603 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7604 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7605 * math/libm-test.inc (scalb_test_data): Add errno expectations.
7609 * math/w_atan2.c: Include <errno.h>.
7610 (__atan2): Set errno for result underflowing to zero.
7611 * math/w_atan2f.c: Include <errno.h>.
7612 (__atan2f): Set errno for result underflowing to zero.
7613 * math/w_atan2l.c: Include <errno.h>.
7614 (__atan2l): Set errno for result underflowing to zero.
7615 * math/auto-libm-test-in: Don't allow missing errno for some atan2
7617 * math/auto-libm-test-out: Regenerated.
7619 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7621 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7622 Encode instruction correctly in little endian.
7623 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7625 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7627 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7629 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7632 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7635 * sysdeps/unix/sysv/linux/kernel-features.h
7636 [__sparc__ && !__arch64__ && !__sparc_v9__]
7637 (__ASSUME_SET_ROBUST_LIST): Do not define.
7638 [__sparc__ && !__arch64__ && !__sparc_v9__]
7639 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7640 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7642 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7643 (__ASSUME_FUTEX_LOCK_PI): Undefine.
7644 (__ASSUME_REQUEUE_PI): Likewise.
7645 (__ASSUME_SET_ROBUST_LIST): Likewise.
7646 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7647 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7649 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7650 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7652 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7654 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7656 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7657 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7659 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7660 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7664 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7665 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7666 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7668 2014-03-31 Will Newton <will.newton@linaro.org>
7670 * benchtests/Makefile (bench): Add ffs and ffsll to list
7672 * benchtests/ffs-inputs: New file.
7673 * benchtests/ffsll-inputs: Likewise.
7675 2014-03-29 Joseph Myers <joseph@codesourcery.com>
7678 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7679 too large before casting to int.
7680 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7681 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7682 * math/libm-test.inc (scalb_test_data): Add more tests.
7684 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7686 * benchtests/Makefile (DETAILED_OPT): New make option.
7687 (bench-func): Run benchmark program with -d if DETAILED_OPT is
7689 * benchtests/bench-skeleton.c: Include stdbool.h.
7690 (main): Store and print timings per input.
7691 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7692 member to each argument value.
7693 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7694 (_print_arg_data): Initialize per-input timing to 0.
7696 * benchtests/Makefile (timing-type): New binary.
7697 (bench-clean): Also remove bench-timing-type.
7698 (bench): New target for timing-type.
7699 (bench-func): Print output in JSON format.
7700 * benchtests/bench-skeleton.c (main): Print output in JSON
7702 * benchtests/bench-timing-type.c: New file.
7703 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7704 (TIMING_PRINT_STATS): Remove.
7705 * benchtests/scripts/bench.py (_print_arg_data): Store variant
7708 * benchtests/bench-modf.c: Remove.
7709 * benchtests/modf-inputs: New inputs file.
7711 2014-03-28 Joseph Myers <joseph@codesourcery.com>
7714 * math/s_clog10.c (M_PI_LOG10E): New macro.
7715 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7716 imaginary parts are 0.
7717 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7718 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7719 imaginary parts are 0.
7720 * math/s_clog10l.c (M_PI_LOG10El): New macro.
7721 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7722 imaginary parts are 0.
7723 * math/libm-test.inc (clog10_test_data): Update expected results
7724 for when real and imaginary parts are 0.
7726 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7728 * elf/dl-load.c: Finish conversion of __builtin_expect into
7731 2014-03-27 Joseph Myers <joseph@codesourcery.com>
7734 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7735 1+x for argument with exponent below -67.
7736 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7738 * math/auto-libm-test-in: Add more tests of exp.
7739 * math/auto-libm-test-out: Regenerated.
7741 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7744 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7745 (nscd_getnetgrent): Use it.
7748 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7751 2014-03-27 Andi Kleen <ak@linux.intel.com>
7753 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7754 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7755 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7756 (lll_robust_unlock): Remove out of line section. Use cfi
7758 (LLL_STUB_UNWIND_INFO*): Remove.
7759 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7760 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7761 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7762 (lll_robust_unlock): Remove out of line section. Use cfi
7764 (LLL_STUB_UNWIND_INFO*): Remove.
7766 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7769 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7772 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7774 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7776 2014-03-26 Joseph Myers <joseph@codesourcery.com>
7779 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7781 * math/test-fenv-preserve.c: New file.
7782 * math/Makefile (tests): Add test-fenv-preserve.
7784 2014-03-26 Will Newton <will.newton@linaro.org>
7786 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7788 2014-03-25 Roland McGrath <roland@hack.frob.com>
7790 * scripts/versionlist.awk: Partition the version sets and emit all
7791 GLIBC_* (sorted) before all others (sorted).
7793 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7795 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7796 GLIBC_2.2.5 version.
7798 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7800 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7803 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7808 2014-03-25 Andreas Schwab <schwab@suse.de>
7810 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7811 label to be used after in6ailist is initialized.
7813 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7815 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7816 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7818 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7822 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7824 (fp_formats): Update initializers.
7825 (init_fp_formats): Initialize new field.
7826 (output_for_one_input_case): Allow underflow for results up to
7828 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7829 * math/auto-libm-test-in: Don't mark some underflows from asin and
7831 * math/auto-libm-test-out: Regenerated.
7832 * sysdeps/i386/fpu/libm-test-ulps: Update.
7833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7835 2014-03-25 Andreas Schwab <schwab@suse.de>
7837 * libio/Makefile (tst-ftell-partial-wide-ENV)
7838 (tst-ftell-active-handler-ENV): Define.
7840 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7842 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7844 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7846 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7848 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7850 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7851 * sysdeps/x86_64/fpu/multiarch/e_exp.c
7852 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7854 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7857 * elf/dl-load.c (open_verify): Add mode parameter.
7858 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7859 (open_path): Change from boolean 'secure' to complete flag 'mode'
7860 (_dl_map_object): Adjust.
7861 * elf/Makefile (tests): Add tst-dlopen-aout.
7862 * elf/tst-dlopen-aout.c: New test.
7864 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7867 * sysdeps/unix/sysv/linux/s390/bits/stat.h
7868 (struct stat): Rename member pad0 to __glibc_reserved0.
7871 * sysdeps/s390/s390-32/bits/wordsize.h
7872 (__WORDSIZE32_SIZE_ULONG): New define.
7873 * sysdeps/s390/s390-64/bits/wordsize.h
7874 (__WORDSIZE32_SIZE_ULONG): Likewise.
7875 * sysdeps/generic/stdint.h (SIZE_MAX):
7876 Define as UL if __WORDSIZE32_SIZE_ULONG.
7879 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7880 (__glibc_reserved0): New variable.
7881 (sa_flags): Change type to int.
7883 * posix/Makefile (before-compile): Use += before-compile instead
7886 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7887 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7889 2014-03-20 Andreas Schwab <schwab@suse.de>
7892 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7893 non-matching result from nscd.
7895 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7897 * scripts/bench.py: Moved to ...
7898 * benchtests/scripts/bench.py: ... here.
7899 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7901 2014-03-24 Andreas Schwab <schwab@suse.de>
7904 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7905 alloca_account and account alloca use for struct in6ailist.
7907 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7910 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7911 rounding mode to recompute results that overflow to infinity or
7913 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7915 * math/auto-libm-test-out: Regenerated.
7916 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7917 (ccosh_test): Likewise.
7918 (csin_test_data): Use plus_oflow.
7919 (csin_test): Use ALL_RM_TEST.
7920 (csinh_test_data): Use plus_oflow.
7921 (csinh_test): Use ALL_RM_TEST.
7922 * sysdeps/i386/fpu/libm-test-ulps: Update.
7923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7925 2014-03-21 Joseph Myers <joseph@codesourcery.com>
7927 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7928 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7929 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7932 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7934 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7935 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7936 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7937 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7939 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7940 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7942 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7943 * sysdeps/i386/fpu/libm-test-ulps: Update.
7944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7946 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7948 * scripts/bench.pl: Remove file.
7949 * scripts/bench.py: New benchmark script.
7950 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7951 * benchtests/README: Mention python dependency.
7952 * scripts/pylintrc: New file.
7953 * scripts/pylint: New file.
7955 * bits/mathdef.h: Use #ifdef instead of #if.
7956 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7957 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7958 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7959 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7960 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7961 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7963 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7964 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7966 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7967 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7968 and strpbrk-ppc64 objects.
7969 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7970 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7971 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7972 multiarch strpbrk for POWER7.
7973 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7974 multiarch strpbrk for PPC64.
7975 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7977 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7980 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7982 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7983 (atan_test): Likewise.
7984 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7985 (atanh_test): Use ALL_RM_TEST.
7986 (atan2_test_data): Likewise.
7987 (cabs_test): Likewise.
7988 (cacosh_test): Likewise.
7989 (carg_test): Likewise.
7990 (casin_test): Likewise.
7991 (casinh_test): Likewise.
7992 (cbrt_test): Likewise.
7993 (csqrt_test): Likewise.
7994 (erf_test): Likewise.
7995 (erfc_test): Likewise.
7996 (pow10_test): Likewise.
7997 (exp2_test): Likewise.
7998 (hypot_test): Likewise.
7999 (j0_test): Likewise.
8000 (j1_test): Likewise.
8001 (lgamma_test): Likewise.
8002 (gamma_test): Likewise.
8003 (sincos_test): Likewise.
8004 (tanh_test): Likewise.
8005 (y0_test): Likewise.
8006 (y1_test): Likewise.
8007 * sysdeps/i386/fpu/libm-test-ulps: Update.
8008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8010 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8012 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8013 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
8014 and strcspn-ppc64 objects.
8015 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8016 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8017 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8018 multiarch strcspn for POWER7.
8019 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8020 multiarch strcspn for PPC64.
8021 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8023 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8026 2014-03-20 Joseph Myers <joseph@codesourcery.com>
8028 * math/gen-libm-test.pl (generate_testfile): Expect only function
8029 name as argument to AUTO_TESTS_* and pass results for all rounding
8030 modes to parse_args.
8031 (parse_auto_input): Separate inputs of automatic tests from
8032 outputs before storing in %auto_tests.
8033 * math/libm-test.inc (acos_test_data): Update call to
8035 (acos_test): Use ALL_RM_TEST.
8036 (acos_tonearest_test_data): Remove.
8037 (acos_test_tonearest): Likewise.
8038 (acos_towardzero_test_data): Likewise.
8039 (acos_test_towardzero): Likewise.
8040 (acos_downward_test_data): Likewise.
8041 (acos_test_downward): Likewise.
8042 (acos_upward_test_data): Likewise.
8043 (acos_test_upward): Likewise.
8044 (acosh_test_data): Update call to AUTO_TESTS_f_f.
8045 (asin_test_data): Likewise.
8046 (asin_test): Use ALL_RM_TEST.
8047 (asin_tonearest_test_data): Remove.
8048 (asin_test_tonearest): Likewise.
8049 (asin_towardzero_test_data): Likewise.
8050 (asin_test_towardzero): Likewise.
8051 (asin_downward_test_data): Likewise.
8052 (asin_test_downward): Likewise.
8053 (asin_upward_test_data): Likewise.
8054 (asin_test_upward): Likewise.
8055 (asinh_test_data): Update call to AUTO_TESTS_f_f.
8056 (atan_test_data): Likewise.
8057 (atanh_test_data): Likewise.
8058 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8059 (cabs_test_data): Update call to AUTO_TESTS_c_f.
8060 (carg_test_data): Likewise.
8061 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8062 (ccos_test_data): Update call to AUTO_TESTS_c_c.
8063 (ccosh_test_data): Likewise.
8064 (cexp_test_data): Likewise.
8065 (clog_test_data): Likewise.
8066 (clog10_test_data): Likewise.
8067 (cos_test_data): Update call to AUTO_TESTS_f_f.
8068 (cos_test): Use ALL_RM_TEST.
8069 (cos_tonearest_test_data): Remove.
8070 (cos_test_tonearest): Likewise.
8071 (cos_towardzero_test_data): Likewise.
8072 (cos_test_towardzero): Likewise.
8073 (cos_downward_test_data): Likewise.
8074 (cos_test_downward): Likewise.
8075 (cos_upward_test_data): Likewise.
8076 (cos_test_upward): Likewise.
8077 (cosh_test_data): Update call to AUTO_TESTS_f_f.
8078 (cosh_test): Use ALL_RM_TEST.
8079 (cosh_tonearest_test_data): Remove.
8080 (cosh_test_tonearest): Likewise.
8081 (cosh_towardzero_test_data): Likewise.
8082 (cosh_test_towardzero): Likewise.
8083 (cosh_downward_test_data): Likewise.
8084 (cosh_test_downward): Likewise.
8085 (cosh_upward_test_data): Likewise.
8086 (cosh_test_upward): Likewise.
8087 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8088 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8089 (ctan_test_data): Likewise.
8090 (ctan_test): Use ALL_RM_TEST.
8091 (ctan_tonearest_test_data): Remove.
8092 (ctan_test_tonearest): Likewise.
8093 (ctan_towardzero_test_data): Likewise.
8094 (ctan_test_towardzero): Likewise.
8095 (ctan_downward_test_data): Likewise.
8096 (ctan_test_downward): Likewise.
8097 (ctan_upward_test_data): Likewise.
8098 (ctan_test_upward): Likewise.
8099 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8100 (ctanh_test): Use ALL_RM_TEST.
8101 (ctanh_tonearest_test_data): Remove.
8102 (ctanh_test_tonearest): Likewise.
8103 (ctanh_towardzero_test_data): Likewise.
8104 (ctanh_test_towardzero): Likewise.
8105 (ctanh_downward_test_data): Likewise.
8106 (ctanh_test_downward): Likewise.
8107 (ctanh_upward_test_data): Likewise.
8108 (ctanh_test_upward): Likewise.
8109 (erf_test_data): Update call to AUTO_TESTS_f_f.
8110 (erfc_test_data): Likewise.
8111 (exp_test_data): Likewise.
8112 (exp_test): Use ALL_RM_TEST.
8113 (exp_tonearest_test_data): Remove.
8114 (exp_test_tonearest): Likewise.
8115 (exp_towardzero_test_data): Likewise.
8116 (exp_test_towardzero): Likewise.
8117 (exp_downward_test_data): Likewise.
8118 (exp_test_downward): Likewise.
8119 (exp_upward_test_data): Likewise.
8120 (exp_test_upward): Likewise.
8121 (exp10_test_data): Update call to AUTO_TESTS_f_f.
8122 (exp10_test): Use ALL_RM_TEST.
8123 (exp10_tonearest_test_data): Remove.
8124 (exp10_test_tonearest): Likewise.
8125 (exp10_towardzero_test_data): Likewise.
8126 (exp10_test_towardzero): Likewise.
8127 (exp10_downward_test_data): Likewise.
8128 (exp10_test_downward): Likewise.
8129 (exp10_upward_test_data): Likewise.
8130 (exp10_test_upward): Likewise.
8131 (exp2_test_data): Update call to AUTO_TESTS_f_f.
8132 (expm1_test_data): Likewise.
8133 (expm1_test): Use ALL_RM_TEST.
8134 (expm1_tonearest_test_data): Remove.
8135 (expm1_test_tonearest): Likewise.
8136 (expm1_towardzero_test_data): Likewise.
8137 (expm1_test_towardzero): Likewise.
8138 (expm1_downward_test_data): Likewise.
8139 (expm1_test_downward): Likewise.
8140 (expm1_upward_test_data): Likewise.
8141 (expm1_test_upward): Likewise.
8142 (fma_test_data): Update call to AUTO_TESTS_fff_f.
8143 (fma_test): Use ALL_RM_TEST.
8144 (fma_towardzero_test_data): Remove.
8145 (fma_test_towardzero): Likewise.
8146 (fma_downward_test_data): Likewise.
8147 (fma_test_downward): Likewise.
8148 (fma_upward_test_data): Likewise.
8149 (fma_test_upward): Likewise.
8150 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8151 (j0_test_data): Update call to AUTO_TESTS_f_f.
8152 (j1_test_data): Likewise.
8153 (jn_test_data): Update call to AUTO_TESTS_if_f.
8154 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8155 (log_test_data): Update call to AUTO_TESTS_f_f.
8156 (log10_test_data): Likewise.
8157 (log1p_test_data): Likewise.
8158 (log2_test_data): Likewise.
8159 (pow_test_data): Update call to AUTO_TESTS_ff_f.
8160 (pow_tonearest_test_data): Likewise.
8161 (sin_test_data): Update call to AUTO_TESTS_f_f.
8162 (sin_test): Use ALL_RM_TEST.
8163 (sin_tonearest_test_data): Remove.
8164 (sin_test_tonearest): Likewise.
8165 (sin_towardzero_test_data): Likewise.
8166 (sin_test_towardzero): Likewise.
8167 (sin_downward_test_data): Likewise.
8168 (sin_test_downward): Likewise.
8169 (sin_upward_test_data): Likewise.
8170 (sin_test_upward): Likewise.
8171 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8172 (sinh_test_data): Update call to AUTO_TESTS_f_f.
8173 (sinh_test): Use ALL_RM_TEST.
8174 (sinh_tonearest_test_data): Remove.
8175 (sinh_test_tonearest): Likewise.
8176 (sinh_towardzero_test_data): Likewise.
8177 (sinh_test_towardzero): Likewise.
8178 (sinh_downward_test_data): Likewise.
8179 (sinh_test_downward): Likewise.
8180 (sinh_upward_test_data): Likewise.
8181 (sinh_test_upward): Likewise.
8182 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8183 (sqrt_test): Use ALL_RM_TEST.
8184 (sqrt_tonearest_test_data): Remove.
8185 (sqrt_test_tonearest): Likewise.
8186 (sqrt_towardzero_test_data): Likewise.
8187 (sqrt_test_towardzero): Likewise.
8188 (sqrt_downward_test_data): Likewise.
8189 (sqrt_test_downward): Likewise.
8190 (sqrt_upward_test_data): Likewise.
8191 (sqrt_test_upward): Likewise.
8192 (tan_test_data): Update call to AUTO_TESTS_f_f.
8193 (tan_test): Use ALL_RM_TEST.
8194 (tan_tonearest_test_data): Remove.
8195 (tan_test_tonearest): Likewise.
8196 (tan_towardzero_test_data): Likewise.
8197 (tan_test_towardzero): Likewise.
8198 (tan_downward_test_data): Likewise.
8199 (tan_test_downward): Likewise.
8200 (tan_upward_test_data): Likewise.
8201 (tan_test_upward): Likewise.
8202 (tanh_test_data): Update call to AUTO_TESTS_f_f.
8203 (tgamma_test_data): Likewise.
8204 (y0_test_data): Likewise.
8205 (y1_test_data): Likewise.
8206 (yn_test_data): Update call to AUTO_TESTS_if_f.
8207 (main): Do not call removed functions.
8209 2014-03-19 Joseph Myers <joseph@codesourcery.com>
8211 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8212 (ldexp_test_data): Remove.
8213 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
8215 (scalb_test): Use ALL_RM_TEST.
8217 2014-03-19 Andreas Schwab <schwab@suse.de>
8219 * nscd/nscd.service: Also invalidate netgroup cache on reload.
8221 2014-03-19 Joseph Myers <joseph@codesourcery.com>
8224 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8225 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8226 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8227 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8228 (__ASSUME_PREADV): Undefine.
8229 (__ASSUME_PWRITEV): Likewise.
8231 2014-03-18 Roland McGrath <roland@hack.frob.com>
8233 * bits/mman-linux.h: Add comment about non-Linux use.
8234 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8235 bits/mman-linux.h resting place.
8237 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8238 * bits/mman-linux.h: ... here.
8240 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8242 * conform/conformtest.pl: Add standard definition when calling C
8243 preprocessor on data files.
8244 (checknamespace): Remove unused variable.
8246 2014-03-18 Joseph Myers <joseph@codesourcery.com>
8248 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8249 minus_oflow, plus_uflow and minus_uflow in expected results.
8250 * math/libm-test.inc (scalbn_test_data): Add more tests of
8251 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
8253 (scalbn_test): Use ALL_RM_TEST.
8254 (scalbln_test_data): Add more tests of negative arguments. Use
8255 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8256 (scalbln_test): Use ALL_RM_TEST.
8258 2014-03-18 Roland McGrath <roland@hack.frob.com>
8260 * scripts/abilist.awk: Ignore symbols marked with .hidden.
8262 2014-03-18 Will Newton <will.newton@linaro.org>
8264 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8267 2014-03-18 Joseph Myers <joseph@codesourcery.com>
8269 * Makerules [!subdir] (check-abi): Exit with error status if a
8272 2014-03-17 Joseph Myers <joseph@codesourcery.com>
8274 * math/libm-test.inc (nearbyint_test_data): Include all tests used
8275 for rint. Include results for all rounding modes.
8276 (nearbyint_test): Use ALL_RM_TEST.
8277 (rint_test_data): Include all tests used for nearbyint.
8279 2014-03-17 Will Newton <will.newton@linaro.org>
8281 * nptl/sysdeps/pthread/pthread.h: Revert previous
8284 * sysdeps/generic/ldsodefs.h: Revert previous
8287 * libio/genops.c: Revert previous change.
8288 * libio/libioP.h: Likewise.
8289 * stdio-common/vfprintf.c: Likewise.
8291 * sysdeps/generic/math_private.h: Revert previous
8294 * sysdeps/generic/math_private.h: Check whether
8295 HAVE_RM_CTX is defined with #ifdef rather
8298 * argp/argp-fmtstream.h: Check whether
8299 __STRICT_ANSI__ is defined with #ifdef rather
8301 * argp/argp.h: Likewise.
8303 * libio/genops.c: Check whether
8304 _IO_JUMPS_OFFSET is defined with #ifdef rather
8306 * libio/libioP.h: Likewise.
8307 * stdio-common/vfprintf.c: Likewise.
8309 * sysdeps/generic/ldsodefs.h: Check whether
8310 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8313 * nptl/sysdeps/pthread/pthread.h: Check
8314 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8317 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8319 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8321 * libio/tst-ftell-active-handler.c (do_append_test): Add a
8325 * libio/fileops.c (_IO_file_open): Seek to end of file but
8326 don't cache the offset.
8327 (get_file_offset): Remove function.
8328 (do_ftell): Use cached offset when available.
8329 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8330 don't cache the offset.
8331 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8333 (do_one_test): Call it.
8334 (do_ftell_test): Fix up expected old offset for a+ mode.
8335 * libio/wfileops.c (do_ftell_wide): Used cached offset when
8338 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8339 up test status with function return status.
8340 (do_write_test): Likewise.
8341 (do_append_test): Likewise.
8343 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8344 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8347 2014-03-17 Joseph Myers <joseph@codesourcery.com>
8349 * math/gen-libm-test.pl (parse_args): Handle results specified for
8350 each rounding mode separately.
8351 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8352 tests and results from lrint_tonearest_test_data,
8353 lrint_towardzero_test_data, lrint_downward_test_data and
8354 lrint_upward_test_data.
8355 (lrint_test): Use ALL_RM_TEST.
8356 (lrint_tonearest_test_data): Remove.
8357 (lrint_test_tonearest): Likewise.
8358 (lrint_towardzero_test_data): Likewise.
8359 (lrint_test_towardzero): Likewise.
8360 (lrint_downward_test_data): Likewise.
8361 (lrint_test_downward): Likewise.
8362 (lrint_upward_test_data): Likewise.
8363 (lrint_test_upward): Likewise.
8364 (llrint_test_data): Merge in per-rounding-mode tests and results
8365 from llrint_tonearest_test_data, llrint_towardzero_test_data,
8366 llrint_downward_test_data and llrint_upward_test_data.
8367 (llrint_test): Use ALL_RM_TEST.
8368 (llrint_tonearest_test_data): Remove.
8369 (llrint_test_tonearest): Likewise.
8370 (llrint_towardzero_test_data): Likewise.
8371 (llrint_test_towardzero): Likewise.
8372 (llrint_downward_test_data): Likewise.
8373 (llrint_test_downward): Likewise.
8374 (llrint_upward_test_data): Likewise.
8375 (llrint_test_upward): Likewise.
8376 (rint_test_data): Merge in per-rounding-mode tests and results
8377 from rint_tonearest_test_data, rint_towardzero_test_data,
8378 rint_downward_test_data and rint_upward_test_data. Add
8379 per-rounding-mode results for tests not in those arrays.
8380 (rint_test): Use ALL_RM_TEST.
8381 (rint_tonearest_test_data): Remove.
8382 (rint_test_tonearest): Likewise.
8383 (rint_towardzero_test_data): Likewise.
8384 (rint_test_towardzero): Likewise.
8385 (rint_downward_test_data): Likewise.
8386 (rint_test_downward): Likewise.
8387 (rint_upward_test_data): Likewise.
8388 (rint_test_upward): Likewise.
8389 (main): Don't call removed functions.
8391 2014-03-14 Roland McGrath <roland@hack.frob.com>
8393 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8394 "Compiled on ..." crapola. It is anti-useful.
8396 2014-03-14 Joseph Myers <joseph@codesourcery.com>
8398 * scripts/evaluate-test.sh: Handle fourth argument to determine
8399 whether test run should stop on failure.
8400 * Makeconfig (stop-on-test-failure): New variable.
8401 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8402 $(stop-on-test-failure).
8403 * Makefile (tests): Give a summary of results from testing and
8404 exit with failure status if they include an ERROR or FAIL.
8406 * manual/install.texi (Configuring and compiling): Mention
8407 stop-on-test-failure=y.
8408 * INSTALL: Regenerated.
8410 2014-03-14 Roland McGrath <roland@hack.frob.com>
8412 * scripts/versionlist.awk: New file.
8413 * Makerules [$(build-shared) = yes]
8414 (postclean-generated): Add Versions.def, not Versions.def.v and
8416 ($(common-objpfx)Versions.def.v.i): Target removed.
8417 ($(common-objpfx)Versions.def): New target.
8418 ($(common-objpfx)Versions.all): Depend on that rather that
8419 $(common-objpfx)Versions.def.v.
8420 * Versions.def: File removed.
8422 * Makeconfig (+gccwarn): Add -Wundef.
8423 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8424 a dl-sysdep.h breaking its contract.
8425 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8426 * include/stackinfo.h: New file.
8427 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8428 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8429 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8430 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8431 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8432 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8433 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8434 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8435 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8436 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8437 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8438 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8439 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8440 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8441 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8443 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8446 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8448 * math/libm-test.inc (round_test_data): Add more tests.
8451 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8453 * math/libm-test.inc (nearbyint_test_data): Add more tests.
8456 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8458 * math/libm-test.inc (ceil_test_data): Add more tests.
8460 * math/libm-test.inc (trunc_test_data): Add more tests related to
8463 2014-03-14 Roland McGrath <roland@hack.frob.com>
8465 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8466 with #if rather than #ifdef.
8467 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8469 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
8471 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8472 first. Disable AVX-512 GCC support if assembler doesn't support
8474 * sysdeps/x86_64/configure: Regenerated.
8476 2014-03-13 Carlos O'Donell <carlos@redhat.com>
8478 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8479 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8480 (__old_pthread_attr_setstack): Likewise.
8481 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8482 [!_STACK_GROWS_DOWN]: Likewise.
8484 2014-03-13 Mike Frysinger <vapier@gentoo.org>
8486 * config.make.in (have-bash2): Delete.
8487 * configure.ac (libc_cv_have_bash2): Delete.
8488 * configure: Regenerate.
8489 * elf/Makefile (common-ldd-rewrite): Rename to ...
8490 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
8491 (sh-ldd-rewrite): Delete.
8492 (bash-ldd-rewrite): Delete.
8493 (have-bash2): Delete checks.
8494 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8497 * config.make.in (have-ksh): Delete.
8499 * configure.ac (libc_cv_have_ksh): Delete.
8500 * configure: Regenerate.
8502 * elf/Makefile: Delete $(have-ksh) check.
8503 ($(objpfx)sotruss): Change KSH to BASH.
8504 * elf/sotruss.ksh: Rename to ...
8505 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
8506 function style to match POSIX. Drop ksh vim mode setting.
8508 * manual/time.texi (Specifying the Time Zone with TZ): Change
8509 Tuesday to Thursday.
8511 * debug/tst-longjmp_chk2.c: Update header comment.
8512 (stackoverflow_handler): Add comment. Call assert on pass value.
8514 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
8517 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8518 (HAVE_AVX512_ASM_SUPPORT): Likewise.
8519 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8520 (La_x86_64_vector): Add zmm.
8521 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8522 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8523 ($(objpfx)tst-audit10): New target.
8524 ($(objpfx)tst-audit10.out): Likewise.
8525 (tst-audit10-ENV): New.
8526 (AVX512-CFLAGS): Likewise.
8527 (CFLAGS-tst-audit10.c): Likewise.
8528 (CFLAGS-tst-auditmod10a.c): Likewise.
8529 (CFLAGS-tst-auditmod10b.c): Likewise.
8530 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8531 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8532 * sysdeps/x86_64/configure: Regenerated.
8533 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8534 AVX-512 zmm register support.
8535 (_dl_x86_64_save_sse): Likewise.
8536 (_dl_x86_64_restore_sse): Likewise.
8537 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8538 size vector registers.
8539 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8540 (ZMM_SIZE): Likewise.
8541 * sysdeps/x86_64/tst-audit10.c: New file.
8542 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8543 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8545 2014-03-13 Roland McGrath <roland@hack.frob.com>
8547 * configure.ac (HAVE_EHDR_START): New check.
8548 * configure: Regenerated.
8549 * config.h.in (HAVE_EHDR_START): New #undef.
8550 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8551 assuming the lowest-addressed segment maps the start of the file.
8553 2014-03-13 Joseph Myers <joseph@codesourcery.com>
8555 * INSTALL: Regenerated.
8557 2014-03-13 Will Newton <will.newton@linaro.org>
8559 * manual/setjmp.texi (System V contexts): Improve
8560 clarity and grammar of documentation.
8562 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8565 * elf/Makefile (tests): Add tst-pie2.
8566 (tests-pie): Add tst-pie2.
8567 * elf/tst-pie2.c: New file.
8568 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8570 * elf/rtld.c (map_doit): Load executable as lt_executable.
8571 (dl_main): Likewise.
8573 2014-03-12 Joseph Myers <joseph@codesourcery.com>
8576 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8577 (__ASSUME_PSELECT): Undefine.
8579 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8582 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8583 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8585 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8586 selector for static builds.
8588 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8591 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8594 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8596 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8597 IFUNC selector for static builds.
8599 2014-03-11 Joseph Myers <joseph@codesourcery.com>
8601 * sysdeps/mips/math_private.h [__mips_hard_float]
8602 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8603 libc_feresetround_mips_ctx.
8604 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8605 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8606 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8609 * math/s_nextafter.c (__nextafter): Do not return value from
8610 overflowing computation.
8611 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8612 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8613 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8615 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8617 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8618 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8620 2014-03-11 Roland McGrath <roland@hack.frob.com>
8622 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8623 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8624 Move sfi_sp use from the load-multiple (that no longer sets sp) to
8625 the new mov targetting sp.
8627 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8630 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8631 Define it for static builds as well.
8632 (NO_BZERO_IMPL): Likewise.
8634 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8636 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8637 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8638 multiarch strspn for PPC64.
8639 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8640 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8641 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8642 (__libc_ifunc_impl_list): Likewise.
8643 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8644 multiarch optimizations
8645 * string/strspn.c (strspn): Using macro to redefine symbol name.
8647 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8648 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8650 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8651 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8652 multiarch strncat for PPC64.
8653 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8654 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8655 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8656 (__libc_ifunc_impl_list): Likewise.
8657 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8658 multiarch optimizations
8660 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8663 * nscd/nscd.service: Make service type forking.
8665 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8667 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8668 sign in non default rounding modes.
8669 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8671 2014-03-08 Joseph Myers <joseph@codesourcery.com>
8673 * math/libm-test.inc (ALL_RM_TEST): New macro.
8674 (ceil_test): Use ALL_RM_TEST.
8675 (cimag_test): Likewise.
8676 (conj_test): Likewise.
8677 (copysign_test): Likewise.
8678 (cproj_test): Likewise.
8679 (creal_test): Likewise.
8680 (fabs_test): Likewise.
8681 (floor_test): Likewise.
8682 (fmax_test): Likewise.
8683 (fmin_test): Likewise.
8684 (fmod_test): Likewise.
8685 (fpclassify_test): Likewise.
8686 (frexp_test): Likewise.
8687 (ilogb_test): Likewise.
8688 (isfinite_test): Likewise.
8689 (finite_test): Likewise.
8690 (isgreater_test): Likewise.
8691 (isgreaterequal_test): Likewise.
8692 (isinf_test): Likewise.
8693 (isless_test): Likewise.
8694 (islessequal_test): Likewise.
8695 (islessgreater_test): Likewise.
8696 (isnan_test): Likewise.
8697 (isnormal_test): Likewise.
8698 (issignaling_test): Likewise.
8699 (isunordered_test): Likewise.
8700 (logb_test): Likewise.
8701 (logb_downward_test_data): Remove.
8702 (logb_test_downward): Likewise.
8703 (lround_test): Use ALL_RM_TEST.
8704 (llround_test): Likewise.
8705 (modf_test): Likewise.
8706 (nexttoward_test): Likewise.
8707 (remainder_test): Likewise.
8708 (drem_test): Likewise.
8709 (remainder_tonearest_test_data): Likewise.
8710 (remainder_test_tonearest): Likewise.
8711 (drem_test_tonearest): Likewise.
8712 (remainder_towardzero_test_data): Likewise.
8713 (remainder_test_towardzero): Likewise.
8714 (drem_test_towardzero): Likewise.
8715 (remainder_downward_test_data): Likewise.
8716 (remainder_test_downward): Likewise.
8717 (drem_test_downward): Likewise.
8718 (remainder_upward_test_data): Likewise.
8719 (remainder_test_upward): Likewise.
8720 (drem_test_upward): Likewise.
8721 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
8722 (round_test): Use ALL_RM_TEST.
8723 (signbit_test): Likewise.
8724 (trunc_test): Likewise.
8725 (significand_test): Likewise.
8726 (main): Don't call removed functions.
8728 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8731 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8733 (ILL_ILLOPN): Likewise.
8734 (ILL_ILLADR): Likewise.
8735 (ILL_ILLTRP): Likewise.
8736 (ILL_PRVOPC): Likewise.
8737 (ILL_PRVREG): Likewise.
8738 (ILL_COPROC): Likewise.
8739 (ILL_BADSTK): Likewise.
8740 (FPE_INTDIV): Likewise.
8741 (FPE_INTOVF): Likewise.
8742 (FPE_FLTDIV): Likewise.
8743 (FPE_FLTOVF): Likewise.
8744 (FPE_FLTUND): Likewise.
8745 (FPE_FLTRES): Likewise.
8746 (FPE_FLTINV): Likewise.
8747 (FPE_FLTSUB): Likewise.
8748 (SEGV_MAPERR): Likewise.
8749 (SEGV_ACCERR): Likewise.
8750 (BUS_ADRALN): Likewise.
8751 (BUS_ADRERR): Likewise.
8752 (BUS_OBJERR): Likewise.
8753 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8754 (TRAP_TRACE): Likewise.
8755 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8757 (CLD_KILLED): Likewise.
8758 (CLD_DUMPED): Likewise.
8759 (CLD_TRAPPED): Likewise.
8760 (CLD_STOPPED): Likewise.
8761 (CLD_CONTINUED): Likewise.
8762 (POLL_IN): Likewise.
8763 (POLL_OUT): Likewise.
8764 (POLL_MSG): Likewise.
8765 (POLL_ERR): Likewise.
8766 (POLL_PRI): Likewise.
8767 (POLL_HUP): Likewise.
8768 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8770 (ILL_ILLOPN): Likewise.
8771 (ILL_ILLADR): Likewise.
8772 (ILL_ILLTRP): Likewise.
8773 (ILL_PRVOPC): Likewise.
8774 (ILL_PRVREG): Likewise.
8775 (ILL_COPROC): Likewise.
8776 (ILL_BADSTK): Likewise.
8777 (FPE_INTDIV): Likewise.
8778 (FPE_INTOVF): Likewise.
8779 (FPE_FLTDIV): Likewise.
8780 (FPE_FLTOVF): Likewise.
8781 (FPE_FLTUND): Likewise.
8782 (FPE_FLTRES): Likewise.
8783 (FPE_FLTINV): Likewise.
8784 (FPE_FLTSUB): Likewise.
8785 (SEGV_MAPERR): Likewise.
8786 (SEGV_ACCERR): Likewise.
8787 (BUS_ADRALN): Likewise.
8788 (BUS_ADRERR): Likewise.
8789 (BUS_OBJERR): Likewise.
8790 (BUS_MCEERR_AR): Likewise.
8791 (BUS_MCEERR_AO): Likewise.
8792 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8793 (TRAP_TRACE): Likewise.
8794 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8796 (CLD_KILLED): Likewise.
8797 (CLD_DUMPED): Likewise.
8798 (CLD_TRAPPED): Likewise.
8799 (CLD_STOPPED): Likewise.
8800 (CLD_CONTINUED): Likewise.
8801 (POLL_IN): Likewise.
8802 (POLL_OUT): Likewise.
8803 (POLL_MSG): Likewise.
8804 (POLL_ERR): Likewise.
8805 (POLL_PRI): Likewise.
8806 (POLL_HUP): Likewise.
8807 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8808 (ILL_ILLOPN): Likewise.
8809 (ILL_ILLADR): Likewise.
8810 (ILL_ILLTRP): Likewise.
8811 (ILL_PRVOPC): Likewise.
8812 (ILL_PRVREG): Likewise.
8813 (ILL_COPROC): Likewise.
8814 (ILL_BADSTK): Likewise.
8815 (FPE_INTDIV): Likewise.
8816 (FPE_INTOVF): Likewise.
8817 (FPE_FLTDIV): Likewise.
8818 (FPE_FLTOVF): Likewise.
8819 (FPE_FLTUND): Likewise.
8820 (FPE_FLTRES): Likewise.
8821 (FPE_FLTINV): Likewise.
8822 (FPE_FLTSUB): Likewise.
8823 (SEGV_MAPERR): Likewise.
8824 (SEGV_ACCERR): Likewise.
8825 (BUS_ADRALN): Likewise.
8826 (BUS_ADRERR): Likewise.
8827 (BUS_OBJERR): Likewise.
8828 (BUS_MCEERR_AR): Likewise.
8829 (BUS_MCEERR_AO): Likewise.
8830 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8831 (TRAP_TRACE): Likewise.
8832 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8834 (CLD_KILLED): Likewise.
8835 (CLD_DUMPED): Likewise.
8836 (CLD_TRAPPED): Likewise.
8837 (CLD_STOPPED): Likewise.
8838 (CLD_CONTINUED): Likewise.
8839 (POLL_IN): Likewise.
8840 (POLL_OUT): Likewise.
8841 (POLL_MSG): Likewise.
8842 (POLL_ERR): Likewise.
8843 (POLL_PRI): Likewise.
8844 (POLL_HUP): Likewise.
8845 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8847 (ILL_ILLOPN): Likewise.
8848 (ILL_ILLADR): Likewise.
8849 (ILL_ILLTRP): Likewise.
8850 (ILL_PRVOPC): Likewise.
8851 (ILL_PRVREG): Likewise.
8852 (ILL_COPROC): Likewise.
8853 (ILL_BADSTK): Likewise.
8854 (ILL_BADIADDR): Likewise.
8855 (ILL_BREAK): Likewise.
8856 (FPE_INTDIV): Likewise.
8857 (FPE_INTOVF): Likewise.
8858 (FPE_FLTDIV): Likewise.
8859 (FPE_FLTOVF): Likewise.
8860 (FPE_FLTUND): Likewise.
8861 (FPE_FLTRES): Likewise.
8862 (FPE_FLTINV): Likewise.
8863 (FPE_FLTSUB): Likewise.
8864 (FPE_DECOVF): Likewise.
8865 (FPE_DECDIV): Likewise.
8866 (FPE_DECERR): Likewise.
8867 (FPE_INVASC): Likewise.
8868 (FPE_INVDEC): Likewise.
8869 (SEGV_MAPERR): Likewise.
8870 (SEGV_ACCERR): Likewise.
8871 (SEGV_PSTKOVF): Likewise.
8872 (BUS_ADRALN): Likewise.
8873 (BUS_ADRERR): Likewise.
8874 (BUS_OBJERR): Likewise.
8875 (BUS_MCEERR_AR): Likewise.
8876 (BUS_MCEERR_AO): Likewise.
8877 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8878 (TRAP_TRACE): Likewise.
8879 (TRAP_BRANCH): Likewise.
8880 (TRAP_HWBKPT): Likewise.
8881 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8883 (CLD_KILLED): Likewise.
8884 (CLD_DUMPED): Likewise.
8885 (CLD_TRAPPED): Likewise.
8886 (CLD_STOPPED): Likewise.
8887 (CLD_CONTINUED): Likewise.
8888 (POLL_IN): Likewise.
8889 (POLL_OUT): Likewise.
8890 (POLL_MSG): Likewise.
8891 (POLL_ERR): Likewise.
8892 (POLL_PRI): Likewise.
8893 (POLL_HUP): Likewise.
8894 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8895 (ILL_ILLOPN): Likewise.
8896 (ILL_ILLADR): Likewise.
8897 (ILL_ILLTRP): Likewise.
8898 (ILL_PRVOPC): Likewise.
8899 (ILL_PRVREG): Likewise.
8900 (ILL_COPROC): Likewise.
8901 (ILL_BADSTK): Likewise.
8902 (FPE_INTDIV): Likewise.
8903 (FPE_INTOVF): Likewise.
8904 (FPE_FLTDIV): Likewise.
8905 (FPE_FLTOVF): Likewise.
8906 (FPE_FLTUND): Likewise.
8907 (FPE_FLTRES): Likewise.
8908 (FPE_FLTINV): Likewise.
8909 (FPE_FLTSUB): Likewise.
8910 (SEGV_MAPERR): Likewise.
8911 (SEGV_ACCERR): Likewise.
8912 (BUS_ADRALN): Likewise.
8913 (BUS_ADRERR): Likewise.
8914 (BUS_OBJERR): Likewise.
8915 (BUS_MCEERR_AR): Likewise.
8916 (BUS_MCEERR_AO): Likewise.
8917 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8918 (TRAP_TRACE): Likewise.
8919 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8921 (CLD_KILLED): Likewise.
8922 (CLD_DUMPED): Likewise.
8923 (CLD_TRAPPED): Likewise.
8924 (CLD_STOPPED): Likewise.
8925 (CLD_CONTINUED): Likewise.
8926 (POLL_IN): Likewise.
8927 (POLL_OUT): Likewise.
8928 (POLL_MSG): Likewise.
8929 (POLL_ERR): Likewise.
8930 (POLL_PRI): Likewise.
8931 (POLL_HUP): Likewise.
8932 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8933 (ILL_ILLOPN): Likewise.
8934 (ILL_ILLADR): Likewise.
8935 (ILL_ILLTRP): Likewise.
8936 (ILL_PRVOPC): Likewise.
8937 (ILL_PRVREG): Likewise.
8938 (ILL_COPROC): Likewise.
8939 (ILL_BADSTK): Likewise.
8940 (FPE_INTDIV): Likewise.
8941 (FPE_INTOVF): Likewise.
8942 (FPE_FLTDIV): Likewise.
8943 (FPE_FLTOVF): Likewise.
8944 (FPE_FLTUND): Likewise.
8945 (FPE_FLTRES): Likewise.
8946 (FPE_FLTINV): Likewise.
8947 (FPE_FLTSUB): Likewise.
8948 (SEGV_MAPERR): Likewise.
8949 (SEGV_ACCERR): Likewise.
8950 (BUS_ADRALN): Likewise.
8951 (BUS_ADRERR): Likewise.
8952 (BUS_OBJERR): Likewise.
8953 (BUS_MCEERR_AR): Likewise.
8954 (BUS_MCEERR_AO): Likewise.
8955 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8956 (TRAP_TRACE): Likewise.
8957 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8959 (CLD_KILLED): Likewise.
8960 (CLD_DUMPED): Likewise.
8961 (CLD_TRAPPED): Likewise.
8962 (CLD_STOPPED): Likewise.
8963 (CLD_CONTINUED): Likewise.
8964 (POLL_IN): Likewise.
8965 (POLL_OUT): Likewise.
8966 (POLL_MSG): Likewise.
8967 (POLL_ERR): Likewise.
8968 (POLL_PRI): Likewise.
8969 (POLL_HUP): Likewise.
8970 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8971 (ILL_ILLOPN): Likewise.
8972 (ILL_ILLADR): Likewise.
8973 (ILL_ILLTRP): Likewise.
8974 (ILL_PRVOPC): Likewise.
8975 (ILL_PRVREG): Likewise.
8976 (ILL_COPROC): Likewise.
8977 (ILL_BADSTK): Likewise.
8978 (FPE_INTDIV): Likewise.
8979 (FPE_INTOVF): Likewise.
8980 (FPE_FLTDIV): Likewise.
8981 (FPE_FLTOVF): Likewise.
8982 (FPE_FLTUND): Likewise.
8983 (FPE_FLTRES): Likewise.
8984 (FPE_FLTINV): Likewise.
8985 (FPE_FLTSUB): Likewise.
8986 (SEGV_MAPERR): Likewise.
8987 (SEGV_ACCERR): Likewise.
8988 (BUS_ADRALN): Likewise.
8989 (BUS_ADRERR): Likewise.
8990 (BUS_OBJERR): Likewise.
8991 (BUS_MCEERR_AR): Likewise.
8992 (BUS_MCEERR_AO): Likewise.
8993 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8994 (TRAP_TRACE): Likewise.
8995 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8997 (CLD_KILLED): Likewise.
8998 (CLD_DUMPED): Likewise.
8999 (CLD_TRAPPED): Likewise.
9000 (CLD_STOPPED): Likewise.
9001 (CLD_CONTINUED): Likewise.
9002 (POLL_IN): Likewise.
9003 (POLL_OUT): Likewise.
9004 (POLL_MSG): Likewise.
9005 (POLL_ERR): Likewise.
9006 (POLL_PRI): Likewise.
9007 (POLL_HUP): Likewise.
9008 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9009 (ILL_ILLOPN): Likewise.
9010 (ILL_ILLADR): Likewise.
9011 (ILL_ILLTRP): Likewise.
9012 (ILL_PRVOPC): Likewise.
9013 (ILL_PRVREG): Likewise.
9014 (ILL_COPROC): Likewise.
9015 (ILL_BADSTK): Likewise.
9016 (ILL_DBLFLT): Likewise.
9017 (ILL_HARDWALL): Likewise.
9018 (FPE_INTDIV): Likewise.
9019 (FPE_INTOVF): Likewise.
9020 (FPE_FLTDIV): Likewise.
9021 (FPE_FLTOVF): Likewise.
9022 (FPE_FLTUND): Likewise.
9023 (FPE_FLTRES): Likewise.
9024 (FPE_FLTINV): Likewise.
9025 (FPE_FLTSUB): Likewise.
9026 (SEGV_MAPERR): Likewise.
9027 (SEGV_ACCERR): Likewise.
9028 (BUS_ADRALN): Likewise.
9029 (BUS_ADRERR): Likewise.
9030 (BUS_OBJERR): Likewise.
9031 (BUS_MCEERR_AR): Likewise.
9032 (BUS_MCEERR_AO): Likewise.
9033 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9034 (TRAP_TRACE): Likewise.
9035 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9037 (CLD_KILLED): Likewise.
9038 (CLD_DUMPED): Likewise.
9039 (CLD_TRAPPED): Likewise.
9040 (CLD_STOPPED): Likewise.
9041 (CLD_CONTINUED): Likewise.
9042 (POLL_IN): Likewise.
9043 (POLL_OUT): Likewise.
9044 (POLL_MSG): Likewise.
9045 (POLL_ERR): Likewise.
9046 (POLL_PRI): Likewise.
9047 (POLL_HUP): Likewise.
9048 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9049 (ILL_ILLOPN): Likewise.
9050 (ILL_ILLADR): Likewise.
9051 (ILL_ILLTRP): Likewise.
9052 (ILL_PRVOPC): Likewise.
9053 (ILL_PRVREG): Likewise.
9054 (ILL_COPROC): Likewise.
9055 (ILL_BADSTK): Likewise.
9056 (FPE_INTDIV): Likewise.
9057 (FPE_INTOVF): Likewise.
9058 (FPE_FLTDIV): Likewise.
9059 (FPE_FLTOVF): Likewise.
9060 (FPE_FLTUND): Likewise.
9061 (FPE_FLTRES): Likewise.
9062 (FPE_FLTINV): Likewise.
9063 (FPE_FLTSUB): Likewise.
9064 (SEGV_MAPERR): Likewise.
9065 (SEGV_ACCERR): Likewise.
9066 (BUS_ADRALN): Likewise.
9067 (BUS_ADRERR): Likewise.
9068 (BUS_OBJERR): Likewise.
9069 (BUS_MCEERR_AR): Likewise.
9070 (BUS_MCEERR_AO): Likewise.
9071 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9072 (TRAP_TRACE): Likewise.
9073 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9075 (CLD_KILLED): Likewise.
9076 (CLD_DUMPED): Likewise.
9077 (CLD_TRAPPED): Likewise.
9078 (CLD_STOPPED): Likewise.
9079 (CLD_CONTINUED): Likewise.
9080 (POLL_IN): Likewise.
9081 (POLL_OUT): Likewise.
9082 (POLL_MSG): Likewise.
9083 (POLL_ERR): Likewise.
9084 (POLL_PRI): Likewise.
9085 (POLL_HUP): Likewise.
9086 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9087 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9090 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9091 before #include of <time.h>.
9092 [!__USE_XOPEN2K] (__need_timespec): Likewise.
9093 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9094 (test-xfail-UNIX98/sched.h/conform): Likewise.
9096 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
9098 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9099 error absence of trapping exception support.
9100 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9102 2014-03-07 Joseph Myers <joseph@codesourcery.com>
9104 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9105 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9106 * timezone/Makefile (testdata): Move definition above include of
9108 (test-zones): New variable.
9109 (tests-special): Add zone files.
9110 (build-testdata): Use $(evaluate-test).
9112 * elf/Makefile (tests-special): Rename tests to end with .out.
9113 ($(objpfx)noload-mem): Likewise.
9114 ($(objpfx)tst-leaks1-mem): Likewise.
9115 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9116 * iconv/Makefile (xtests-special): Change test-iconvconfig to
9117 $(objpfx)test-iconvconfig.out.
9118 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
9119 set -e inside subshell and redirect output to file.
9120 * iconvdata/Makefile (generated): Rename tests to end with .out.
9122 (tests-special): Rename tests to end with .out.
9123 ($(objpfx)mtrace-tst-loading): Likewise.
9124 * intl/Makefile (generated): Likewise.
9125 (tests-special): Likewise.
9126 ($(objpfx)mtrace-tst-gettext): Likewise.
9127 * misc/Makefile (generated): Likewise.
9128 (tests-special): Likewise.
9129 ($(objpfx)tst-error1-mem): Likewise.
9130 * nptl/Makefile (tests-special): Likewise.
9131 ($(objpfx)tst-stack3-mem): Likewise.
9132 (generated): Likewise.
9133 * posix/Makefile (generated): Likewise.
9134 (tests-special): Likewise.
9135 (xtests-special): Likewise.
9136 ($(objpfx)tst-fnmatch-mem): Likewise.
9137 ($(objpfx)bug-regex2-mem): Likewise.
9138 ($(objpfx)bug-regex14-mem): Likewise.
9139 ($(objpfx)bug-regex21-mem): Likewise.
9140 ($(objpfx)bug-regex31-mem): Likewise.
9141 ($(objpfx)tst-vfork3-mem): Likewise.
9142 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9143 ($(objpfx)tst-pcre-mem): Likewise.
9144 ($(objpfx)tst-boost-mem): Likewise.
9145 ($(objpfx)bug-ga2-mem): Likewise.
9146 ($(objpfx)bug-glob2-mem): Likewise.
9147 * resolv/Makefile (generate): Likewise.
9148 (tests-special): Likewise.
9149 (xtests-special): Likewise.
9150 (generated): Likewise.
9151 ($(objpfx)mtrace-tst-leaks): Likewise.
9152 ($(objpfx)mtrace-tst-leaks2): Likewise.
9154 * scripts/merge-test-results.sh: New file.
9155 * Makefile (tests-special-notdir): New variable.
9156 (tests): Run merge-test-results.sh.
9158 * Rules (tests-special-notdir): New variable.
9159 (xtests-special-notdir): Likewise.
9160 (tests): Run merge-test-results.sh
9163 * Makeconfig (test-xfail-name): New variable.
9164 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9165 compute variable name for expected failures.
9166 * conform/Makefile (conformtest-headers-data): New variable.
9167 (conformtest-standards): Likewise.
9168 (conformtest-headers-ISO): Likewise.
9169 (conformtest-headers-ISO99): Likewise.
9170 (conformtest-headers-ISO11): Likewise.
9171 (conformtest-headers-POSIX): Likewise.
9172 (conformtest-headers-XPG3): Likewise.
9173 (conformtest-headers-XPG4): Likewise.
9174 (conformtest-headers-UNIX98): Likewise.
9175 (conformtest-headers-XOPEN2K): Likewise.
9176 (conformtest-headers-POSIX2008): Likewise.
9177 (conformtest-headers-XOPEN2K8): Likewise.
9178 (conformtest-header-list-base): Likewise.
9179 (conformtest-header-list-tests): Likewise.
9180 (conformtest-header-base): Likewise.
9181 (conformtest-header-tests): Likewise.
9182 (tests-special): Add $(conformtest-header-list-tests). If
9183 [$(fast-check) && !$(cross-compiling)], add
9184 $(conformtest-header-tests) instead of
9185 $(objpfx)run-conformtest.out.
9186 (generated): Add $(conformtest-header-list-base). If
9187 [$(fast-check) && !$(cross-compiling)], add
9188 $(conformtest-header-base). Remove previous setting.
9189 ($(conformtest-header-list-tests)): New target.
9190 (test-xfail-run-conformtest): Remove variable.
9191 ($(objpfx)run-conformtest.out): Remove target.
9192 (test-xfail-ISO11/complex.h/conform): New variable.
9193 (test-xfail-ISO11/stdalign.h/conform): Likewise.
9194 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9195 (test-xfail-XPG3/varargs.h/conform): Likewise.
9196 (test-xfail-XPG4/varargs.h/conform): Likewise.
9197 (test-xfail-UNIX98/varargs.h/conform): Likewise.
9198 (test-xfail-XPG4/ndbm.h/conform): Likewise.
9199 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9200 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9201 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9202 (test-xfail-XPG3/fcntl.h/conform): Likewise.
9203 (test-xfail-XPG3/ftw.h/conform): Likewise.
9204 (test-xfail-XPG3/grp.h/conform): Likewise.
9205 (test-xfail-XPG3/langinfo.h/conform): Likewise.
9206 (test-xfail-XPG3/limits.h/conform): Likewise.
9207 (test-xfail-XPG3/pwd.h/conform): Likewise.
9208 (test-xfail-XPG3/search.h/conform): Likewise.
9209 (test-xfail-XPG3/signal.h/conform): Likewise.
9210 (test-xfail-XPG3/stdio.h/conform): Likewise.
9211 (test-xfail-XPG3/stdlib.h/conform): Likewise.
9212 (test-xfail-XPG3/string.h/conform): Likewise.
9213 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9214 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9215 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9216 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9217 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9218 (test-xfail-XPG3/sys/types.h/conform): Likewise.
9219 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9220 (test-xfail-XPG3/termios.h/conform): Likewise.
9221 (test-xfail-XPG3/time.h/conform): Likewise.
9222 (test-xfail-XPG3/unistd.h/conform): Likewise.
9223 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9224 (test-xfail-XPG4/fcntl.h/conform): Likewise.
9225 (test-xfail-XPG4/langinfo.h/conform): Likewise.
9226 (test-xfail-XPG4/netdb.h/conform): Likewise.
9227 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9228 (test-xfail-XPG4/signal.h/conform): Likewise.
9229 (test-xfail-XPG4/stdio.h/conform): Likewise.
9230 (test-xfail-XPG4/stdlib.h/conform): Likewise.
9231 (test-xfail-XPG4/stropts.h/conform): Likewise.
9232 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9233 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9234 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9235 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9236 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9237 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9238 (test-xfail-XPG4/sys/time.h/conform): Likewise.
9239 (test-xfail-XPG4/sys/types.h/conform): Likewise.
9240 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9241 (test-xfail-XPG4/termios.h/conform): Likewise.
9242 (test-xfail-XPG4/ucontext.h/conform): Likewise.
9243 (test-xfail-XPG4/unistd.h/conform): Likewise.
9244 (test-xfail-XPG4/utmpx.h/conform): Likewise.
9245 (test-xfail-POSIX/sched.h/conform): Likewise.
9246 (test-xfail-POSIX/signal.h/conform): Likewise.
9247 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9248 (test-xfail-POSIX/tar.h/conform): Likewise.
9249 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9250 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9251 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9252 (test-xfail-UNIX98/netdb.h/conform): Likewise.
9253 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9254 (test-xfail-UNIX98/sched.h/conform): Likewise.
9255 (test-xfail-UNIX98/signal.h/conform): Likewise.
9256 (test-xfail-UNIX98/stdio.h/conform): Likewise.
9257 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9258 (test-xfail-UNIX98/stropts.h/conform): Likewise.
9259 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9260 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9261 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9262 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9263 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9264 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9265 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9266 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9267 (test-xfail-UNIX98/unistd.h/conform): Likewise.
9268 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9269 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9270 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9271 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9272 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9273 (test-xfail-XOPEN2K/math.h/conform): Likewise.
9274 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9275 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9276 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9277 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9278 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9279 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9280 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9281 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9282 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9283 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9284 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9285 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9286 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9287 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9288 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9289 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9290 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9291 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9292 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9293 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9294 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9295 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9296 (test-xfail-POSIX2008/signal.h/conform): Likewise.
9297 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9298 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9299 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9300 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9301 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9302 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9303 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9304 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9305 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9306 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9307 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9308 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9309 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9310 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9311 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9312 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9313 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9314 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9315 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9316 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9317 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9318 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9319 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9320 (conformtest-cc-flags): Likewise.
9321 ($(conformtest-header-tests): New target.
9322 * conform/check-header-lists.sh: New file.
9323 * conform/run-conformtest.sh: Remove.
9325 * conform/conformtest.pl: Allow ' and \ in values given for
9327 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9329 [POSIX] (sys/types.h): Likewise.
9330 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9332 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9334 * conform/data/signal.h-data (SIGIO): Remove expectation.
9335 [XPG3] (SIGBUS): Do not expect.
9336 [POSIX || XPG3] (SIGPOLL): Likewise.
9337 [POSIX || XPG3] (SIGPROF): Likewise.
9338 [POSIX || XPG3] (SIGSYS): Likewise.
9339 [XPG3] (SIGTRAP): Likewise.
9340 [POSIX || XPG3] (SIGURG): Likewise.
9341 [POSIX || XPG3] (SIGVTALRM): Likewise.
9342 [POSIX || XPG3] (SIGXCPU): Likewise.
9343 [POSIX || XPG3] (SIGXFSZ): Likewise.
9344 [POSIX] (SA_SIGINFO): Expect.
9345 [XPG3] (siginfo_t): Do not expect type or contents.
9346 [POSIX] (si_pid): Do not expect element.
9347 [POSIX] (si_uid): Likewise.
9348 [POSIX] (si_addr): Likewise.
9349 [POSIX] (si_status): Likewise.
9350 [POSIX] (si_band): Likewise.
9351 [XPG4] (si_value): Likewise.
9352 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9353 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9354 [POSIX || XPG3] (ILL_ILLADR): Likewise.
9355 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9356 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9357 [POSIX || XPG3] (ILL_PRVREG): Likewise.
9358 [POSIX || XPG3] (ILL_COPROC): Likewise.
9359 [POSIX || XPG3] (ILL_BADSTK): Likewise.
9360 [POSIX || XPG3] (FPE_INTDIV): Likewise.
9361 [POSIX || XPG3] (FPE_INTOVF): Likewise.
9362 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9363 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9364 [POSIX || XPG3] (FPE_FLTUND): Likewise.
9365 [POSIX || XPG3] (FPE_FLTRES): Likewise.
9366 [POSIX || XPG3] (FPE_FLTINV): Likewise.
9367 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9368 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9369 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9370 [POSIX || XPG3] (BUS_ADRALN): Likewise.
9371 [POSIX || XPG3] (BUS_ADRERR): Likewise.
9372 [POSIX || XPG3] (BUS_OBJERR): Likewise.
9373 [POSIX || XPG3] (CLD_EXITED): Likewise.
9374 [POSIX || XPG3] (CLD_KILLED): Likewise.
9375 [POSIX || XPG3] (CLD_DUMPED): Likewise.
9376 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9377 [POSIX || XPG3] (CLD_STOPPED): Likewise.
9378 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9379 [POSIX || XPG3] (POLL_IN): Likewise.
9380 [POSIX || XPG3] (POLL_OUT): Likewise.
9381 [POSIX || XPG3] (POLL_MSG): Likewise.
9382 [POSIX || XPG3] (POLL_ERR): Likewise.
9383 [POSIX || XPG3] (POLL_PRI): Likewise.
9384 [POSIX || XPG3] (POLL_HUP): Likewise.
9385 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9386 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9387 (SIG*): Do not allow.
9388 [XPG3] (si_*): Likewise.
9389 [XPG3] (SI_*): Likewise.
9390 [XPG3 || XPG4] (sigev_*): Likewise.
9391 [XPG3 || XPG4] (SIGEV_*): Likewise.
9392 [XPG3 || XPG4] (sival_*): Likewise.
9393 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9394 [POSIX || XPG3] (BUS_*): Likewise.
9395 [POSIX || XPG3] (CLD_*): Likewise.
9396 [POSIX || XPG3] (FPE_*): Likewise.
9397 [POSIX || XPG3] (ILL_*): Likewise.
9398 [POSIX || XPG3] (POLL_*): Likewise.
9399 [POSIX || XPG3] (SEGV_*): Likewise.
9400 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9401 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9402 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9403 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9404 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9405 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9406 Specify type and value.
9407 (TVERSLEN): Likewise.
9408 (REGTYPE): Likewise.
9409 (AREGTYPE): Likewise.
9410 (LNKTYPE): Likewise.
9411 (SYMTYPE): Likewise.
9412 (CHRTYPE): Likewise.
9413 (BLKTYPE): Likewise.
9414 (DIRTYPE): Likewise.
9415 (FIFOTYPE): Likewise.
9416 (CONTTYPE): Likewise.
9421 (TUWRITE): Likewise.
9424 (TGWRITE): Likewise.
9427 (TOWRITE): Likewise.
9429 [POSIX] (TSVTX): Expect constant.
9431 2014-03-06 Joseph Myers <joseph@codesourcery.com>
9433 * Makefile (tests): Change dependencies to ....
9434 (tests-special): ... additions to this variable.
9435 (tests): Depend on $(tests-special).
9436 * Makerules (check-abi-list): New variable.
9437 (check-abi): Depend on $(check-abi-list).
9438 [$(subdir) = elf] (tests-special): Add
9439 $(objpfx)check-abi-libc.out.
9440 [$(build-shared) = yes && subdir] (tests-special): Add
9442 [$(build-shared) = yes && subdir] (tests): Do not depend on
9444 * Rules (tests): Depend on $(tests-special).
9445 (xtests): Depend on $(xtests-special).
9446 * catgets/Makefile (tests): Change dependencies to ....
9447 (tests-special): ... additions to this variable.
9448 * conform/Makefile (tests): Change dependencies to ....
9449 (tests-special): ... additions to this variable.
9450 * elf/Makefile (tests): Change dependencies to ....
9451 (tests-special): ... additions to this variable.
9452 * grp/Makefile (tests): Change dependencies to ....
9453 (tests-special): ... additions to this variable.
9454 * iconv/Makefile (xtests): Change dependencies to ....
9455 (xtests-special): ... additions to this variable.
9456 * iconvdata/Makefile (tests): Change dependencies to ....
9457 (tests-special): ... additions to this variable.
9458 * intl/Makefile (tests): Change dependencies to ....
9459 (tests-special): ... additions to this variable. Also add
9460 $(objpfx)tst-gettext.out.
9461 * io/Makefile (tests): Change dependencies to ....
9462 (tests-special): ... additions to this variable.
9463 * libio/Makefile (tests): Change dependencies to ....
9464 (tests-special): ... additions to this variable.
9465 * malloc/Makefile (tests): Change dependencies to ....
9466 (tests-special): ... additions to this variable.
9467 * misc/Makefile (tests): Change dependencies to ....
9468 (tests-special): ... additions to this variable.
9469 * nptl/Makefile (tests): Change dependencies to ....
9470 (tests-special): ... additions to this variable.
9471 * nptl_db/Makefile (tests): Change dependencies to ....
9472 (tests-special): ... additions to this variable.
9473 * posix/Makefile (tests): Change dependencies to ....
9474 (tests-special): ... additions to this variable.
9475 (xtests): Change dependencies to ....
9476 (xtests-special): ... additions to this variable.
9477 * resolv/Makefile (tests): Change dependencies to ....
9478 (tests-special): ... additions to this variable.
9479 (xtests): Change dependencies to ....
9480 (xtests-special): ... additions to this variable.
9481 * stdio-common/Makefile (tests): Change dependencies to ....
9482 (tests-special): ... additions to this variable.
9483 (do-tst-unbputc): Remove target.
9484 (do-tst-printf): Likewise.
9485 * stdlib/Makefile (tests): Change dependencies to ....
9486 (tests-special): ... additions to this variable.
9487 * string/Makefile (tests): Change dependencies to ....
9488 (tests-special): ... additions to this variable.
9489 * sysdeps/x86/Makefile (tests): Change dependencies to ....
9490 (tests-special): ... additions to this variable.
9492 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9494 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9496 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9497 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9499 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9500 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9501 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9502 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9503 * conform/data/libgen.h-data [XPG3]: Likewise.
9504 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9505 * conform/data/ndbm.h-data [XPG3]: Likewise.
9506 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9507 * conform/data/netdb.h-data [XPG3]: Likewise.
9508 * conform/data/netinet/in.h-data [XPG3]: Likewise.
9509 * conform/data/poll.h-data [XPG3]: Likewise.
9510 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9511 * conform/data/strings.h-data [XPG3]: Likewise.
9512 * conform/data/stropts.h-data [XPG3]: Likewise.
9513 * conform/data/sys/mman.h-data [XPG3]: Likewise.
9514 * conform/data/sys/resource.h-data [XPG3]: Likewise.
9515 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9517 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9518 * conform/data/sys/time.h-data [XPG3]: Likewise.
9519 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9520 * conform/data/sys/uio.h-data [XPG3]: Likewise.
9521 * conform/data/sys/un.h-data [XPG3]: Likewise.
9522 * conform/data/syslog.h-data [XPG3]: Likewise.
9523 * conform/data/ucontext.h-data [XPG3]: Likewise.
9524 * conform/data/utmpx.h-data [XPG3]: Likewise.
9525 * conform/data/varargs.h-data [UNIX98]: Enable file.
9527 * manual/Makefile (INSTALL_INFO): Remove variable setting.
9529 * math/libm-test.inc (struct test_f_f_data): Move expected results
9530 into structure for each rounding mode.
9531 (struct test_ff_f_data): Likewise.
9532 (struct test_ff_f_data_nexttoward): Likewise.
9533 (struct test_fi_f_data): Likewise.
9534 (struct test_fl_f_data): Likewise.
9535 (struct test_if_f_data): Likewise.
9536 (struct test_fff_f_data): Likewise.
9537 (struct test_c_f_data): Likewise.
9538 (struct test_f_f1_data): Likewise.
9539 (struct test_fF_f1_data): Likewise.
9540 (struct test_ffI_f1_data): Likewise.
9541 (struct test_c_c_data): Likewise.
9542 (struct test_cc_c_data): Likewise.
9543 (struct test_f_i_data): Likewise.
9544 (struct test_ff_i_data): Likewise.
9545 (struct test_f_l_data): Likewise.
9546 (struct test_f_L_data): Likewise.
9547 (struct test_fFF_11_data): Likewise.
9549 (RM_FE_DOWNWARD): Likewise.
9550 (RM_FE_TONEAREST): Likewise.
9551 (RM_FE_TOWARDZERO): Likewise.
9552 (RM_FE_UPWARD): Likewise.
9553 (RUN_TEST_LOOP_f_f): Update references to expected results.
9554 (RUN_TEST_LOOP_2_f): Likewise.
9555 (RUN_TEST_LOOP_fff_f): Likewise.
9556 (RUN_TEST_LOOP_c_f): Likewise.
9557 (RUN_TEST_LOOP_f_f1): Likewise.
9558 (RUN_TEST_LOOP_fF_f1): Likewise.
9559 (RUN_TEST_LOOP_fI_f1): Likewise.
9560 (RUN_TEST_LOOP_ffI_f1): Likewise.
9561 (RUN_TEST_LOOP_c_c): Likewise.
9562 (RUN_TEST_LOOP_cc_c): Likewise.
9563 (RUN_TEST_LOOP_f_i): Likewise.
9564 (RUN_TEST_LOOP_f_i_tg): Likewise.
9565 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9566 (RUN_TEST_LOOP_f_b): Likewise.
9567 (RUN_TEST_LOOP_f_b_tg): Likewise.
9568 (RUN_TEST_LOOP_f_l): Likewise.
9569 (RUN_TEST_LOOP_f_L): Likewise.
9570 (RUN_TEST_LOOP_fFF_11): Likewise.
9571 * math/gen-libm-test.pl (parse_args): Output four copies of
9572 expected results for each test.
9574 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9575 (__ASSUME_UTIMES): Remove.
9576 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9577 (__ASSUME_UTIMES): Likewise.
9579 * math/gen-auto-libm-tests.c: Update comment on output format.
9580 (output_for_one_input_case): Generate before-rounding and
9581 after-rounding information as conditions on output flags not
9582 floating-point format.
9583 * math/auto-libm-test-out: Regenerated.
9584 * math/gen-libm-test.pl (cond_value): New function.
9585 (or_cond_value): Use cond_value.
9586 (generate_testfile): Handle conditional exceptions.
9588 2014-03-05 Joseph Myers <joseph@codesourcery.com>
9590 * math/libm-test.inc (max_valid_error): New variable.
9591 (init_max_error): Take new argument specifying whether function
9592 results are exactly determined. Set max_valid_error and bound
9593 other variables for errors based on this argument.
9594 (set_max_error): Do not record results above max_valid_error.
9595 (check_float_internal): Only accept errors of up to 0.5ulps if
9596 also at most max_valid_error.
9597 (START): Take new argument EXACT and pass it to init_max_error.
9598 (acos_test): Update call to START.
9599 (acos_test_tonearest): Likewise.
9600 (acos_test_towardzero): Likewise.
9601 (acos_test_downward): Likewise.
9602 (acos_test_upward): Likewise.
9603 (acosh_test): Likewise.
9604 (asin_test): Likewise.
9605 (asin_test_tonearest): Likewise.
9606 (asin_test_towardzero): Likewise.
9607 (asin_test_downward): Likewise.
9608 (asin_test_upward): Likewise.
9609 (asinh_test): Likewise.
9610 (atan_test): Likewise.
9611 (atanh_test): Likewise.
9612 (atan2_test): Likewise.
9613 (cabs_test): Likewise.
9614 (cacos_test): Likewise.
9615 (cacosh_test): Likewise.
9616 (carg_test): Likewise.
9617 (casin_test): Likewise.
9618 (casinh_test): Likewise.
9619 (catan_test): Likewise.
9620 (catanh_test): Likewise.
9621 (cbrt_test): Likewise.
9622 (ccos_test): Likewise.
9623 (ccosh_test): Likewise.
9624 (ceil_test): Likewise.
9625 (cexp_test): Likewise.
9626 (cimag_test): Likewise.
9627 (clog_test): Likewise.
9628 (clog10_test): Likewise.
9629 (conj_test): Likewise.
9630 (copysign_test): Likewise.
9631 (cos_test): Likewise.
9632 (cos_test_tonearest): Likewise.
9633 (cos_test_towardzero): Likewise.
9634 (cos_test_downward): Likewise.
9635 (cos_test_upward): Likewise.
9636 (cosh_test): Likewise.
9637 (cosh_test_tonearest): Likewise.
9638 (cosh_test_towardzero): Likewise.
9639 (cosh_test_downward): Likewise.
9640 (cosh_test_upward): Likewise.
9641 (cpow_test): Likewise.
9642 (cproj_test): Likewise.
9643 (creal_test): Likewise.
9644 (csin_test): Likewise.
9645 (csinh_test): Likewise.
9646 (csqrt_test): Likewise.
9647 (ctan_test): Likewise.
9648 (ctan_test_tonearest): Likewise.
9649 (ctan_test_towardzero): Likewise.
9650 (ctan_test_downward): Likewise.
9651 (ctan_test_upward): Likewise.
9652 (ctanh_test): Likewise.
9653 (ctanh_test_tonearest): Likewise.
9654 (ctanh_test_towardzero): Likewise.
9655 (ctanh_test_downward): Likewise.
9656 (ctanh_test_upward): Likewise.
9657 (erf_test): Likewise.
9658 (erfc_test): Likewise.
9659 (exp_test): Likewise.
9660 (exp_test_tonearest): Likewise.
9661 (exp_test_towardzero): Likewise.
9662 (exp_test_downward): Likewise.
9663 (exp_test_upward): Likewise.
9664 (exp10_test): Likewise.
9665 (exp10_test_tonearest): Likewise.
9666 (exp10_test_towardzero): Likewise.
9667 (exp10_test_downward): Likewise.
9668 (exp10_test_upward): Likewise.
9669 (pow10_test): Likewise.
9670 (exp2_test): Likewise.
9671 (expm1_test): Likewise.
9672 (expm1_test_tonearest): Likewise.
9673 (expm1_test_towardzero): Likewise.
9674 (expm1_test_downward): Likewise.
9675 (expm1_test_upward): Likewise.
9676 (fabs_test): Likewise.
9677 (fdim_test): Likewise.
9678 (floor_test): Likewise.
9679 (fma_test): Likewise.
9680 (fma_test_towardzero): Likewise.
9681 (fma_test_downward): Likewise.
9682 (fma_test_upward): Likewise.
9683 (fmax_test): Likewise.
9684 (fmin_test): Likewise.
9685 (fmod_test): Likewise.
9686 (fpclassify_test): Likewise.
9687 (frexp_test): Likewise.
9688 (hypot_test): Likewise.
9689 (ilogb_test): Likewise.
9690 (isfinite_test): Likewise.
9691 (finite_test): Likewise.
9692 (isgreater_test): Likewise.
9693 (isgreaterequal_test): Likewise.
9694 (isinf_test): Likewise.
9695 (isless_test): Likewise.
9696 (islessequal_test): Likewise.
9697 (islessgreater_test): Likewise.
9698 (isnan_test): Likewise.
9699 (isnormal_test): Likewise.
9700 (issignaling_test): Likewise.
9701 (isunordered_test): Likewise.
9702 (j0_test): Likewise.
9703 (j1_test): Likewise.
9704 (jn_test): Likewise.
9705 (ldexp_test): Likewise.
9706 (lgamma_test): Likewise.
9707 (gamma_test): Likewise.
9708 (lrint_test): Likewise.
9709 (lrint_test_tonearest): Likewise.
9710 (lrint_test_towardzero): Likewise.
9711 (lrint_test_downward): Likewise.
9712 (lrint_test_upward): Likewise.
9713 (llrint_test): Likewise.
9714 (llrint_test_tonearest): Likewise.
9715 (llrint_test_towardzero): Likewise.
9716 (llrint_test_downward): Likewise.
9717 (llrint_test_upward): Likewise.
9718 (log_test): Likewise.
9719 (log10_test): Likewise.
9720 (log1p_test): Likewise.
9721 (log2_test): Likewise.
9722 (logb_test): Likewise.
9723 (logb_test_downward): Likewise.
9724 (lround_test): Likewise.
9725 (llround_test): Likewise.
9726 (modf_test): Likewise.
9727 (nearbyint_test): Likewise.
9728 (nextafter_test): Likewise.
9729 (nexttoward_test): Likewise.
9730 (pow_test): Likewise.
9731 (pow_test_tonearest): Likewise.
9732 (pow_test_towardzero): Likewise.
9733 (pow_test_downward): Likewise.
9734 (pow_test_upward): Likewise.
9735 (remainder_test): Likewise.
9736 (drem_test): Likewise.
9737 (remainder_test_tonearest): Likewise.
9738 (drem_test_tonearest): Likewise.
9739 (remainder_test_towardzero): Likewise.
9740 (drem_test_towardzero): Likewise.
9741 (remainder_test_downward): Likewise.
9742 (drem_test_downward): Likewise.
9743 (remainder_test_upward): Likewise.
9744 (drem_test_upward): Likewise.
9745 (remquo_test): Likewise.
9746 (rint_test): Likewise.
9747 (rint_test_tonearest): Likewise.
9748 (rint_test_towardzero): Likewise.
9749 (rint_test_downward): Likewise.
9750 (rint_test_upward): Likewise.
9751 (round_test): Likewise.
9752 (scalb_test): Likewise.
9753 (scalbn_test): Likewise.
9754 (scalbln_test): Likewise.
9755 (signbit_test): Likewise.
9756 (sin_test): Likewise.
9757 (sin_test_tonearest): Likewise.
9758 (sin_test_towardzero): Likewise.
9759 (sin_test_downward): Likewise.
9760 (sin_test_upward): Likewise.
9761 (sincos_test): Likewise.
9762 (sinh_test): Likewise.
9763 (sinh_test_tonearest): Likewise.
9764 (sinh_test_towardzero): Likewise.
9765 (sinh_test_downward): Likewise.
9766 (sinh_test_upward): Likewise.
9767 (sqrt_test): Likewise.
9768 (sqrt_test_tonearest): Likewise.
9769 (sqrt_test_towardzero): Likewise.
9770 (sqrt_test_downward): Likewise.
9771 (sqrt_test_upward): Likewise.
9772 (tan_test): Likewise.
9773 (tan_test_tonearest): Likewise.
9774 (tan_test_towardzero): Likewise.
9775 (tan_test_downward): Likewise.
9776 (tan_test_upward): Likewise.
9777 (tanh_test): Likewise.
9778 (tgamma_test): Likewise.
9779 (trunc_test): Likewise.
9780 (y0_test): Likewise.
9781 (y1_test): Likewise.
9782 (yn_test): Likewise.
9783 (significand_test): Likewise.
9785 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9786 individual tests in comment.
9787 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9788 (prev_max_error): New variable.
9789 (prev_real_max_error): Likewise.
9790 (prev_imag_max_error): Likewise.
9791 (compare_ulp_data): Don't refer to test names in comment.
9792 (find_test_ulps): Remove function.
9793 (find_function_ulps): Likewise.
9794 (find_complex_function_ulps): Likewise.
9795 (init_max_error): Take function name as argument. Look up ulps
9797 (print_ulps): Remove function.
9798 (print_max_error): Use prev_max_error instead of calling
9800 (print_complex_max_error): Use prev_real_max_error and
9801 prev_imag_max_error instead of calling find_complex_function_ulps.
9802 (check_float_internal): Take max_ulp parameter instead of calling
9803 find_test_ulps. Don't call print_ulps.
9804 (check_float): Update call to check_float_internal.
9805 (check_complex): Update calls to check_float_internal.
9806 (START): Pass argument to init_max_error.
9807 * math/gen-libm-test.pl (%results): Don't include "kind"
9809 (parse_ulps): Don't handle ulps of individual tests.
9810 (print_ulps_file): Likewise.
9811 (output_ulps): Likewise.
9812 * math/README.libm-test: Update.
9813 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9815 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9816 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9817 * sysdeps/arm/libm-test-ulps: Likewise.
9818 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9819 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9820 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9821 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9822 * sysdeps/microblaze/libm-test-ulps: Likewise.
9823 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9824 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9825 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9826 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9827 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9828 * sysdeps/sh/libm-test-ulps: Likewise.
9829 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9830 * sysdeps/tile/libm-test-ulps: Likewise.
9831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9833 2014-03-04 Joseph Myers <joseph@codesourcery.com>
9835 * math/libm-test.inc (print_complex_max_error): Check separately
9836 whether real and imaginary errors are within allowed range and
9837 pass 0 to print_complex_function_ulps instead of value within
9840 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9842 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9844 (get_handles_fopen): Likewise.
9845 (do_write_test): Likewise.
9847 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9849 * libio/fileops.c (do_ftell): Use cached offset when
9851 * libio/iofwide.c (do_ftell_wide): Likewise.
9852 * libio/iofdopen.c (_IO_new_fdopen): Don't use
9854 * libio/wfileops.c (_IO_fwide): Don't cache offset.
9857 * libio/libioP.h (get_file_offset): New function.
9858 * libio/fileops.c (get_file_offset): Likewise.
9859 (do_ftell): Likewise.
9860 (_IO_new_file_seekoff): Split out ftell logic.
9861 * libio/wfileops.c (do_ftell_wide): Likewise.
9862 (_IO_wfile_seekoff): Split out ftell logic.
9863 * libio/tst-ftell-active-handler.c: New test case.
9864 * libio/Makefile (tests): Add it.
9866 2014-03-03 Roland McGrath <roland@hack.frob.com>
9868 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9869 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9871 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9874 * nscd/connections.c (nscd_init): Call do_exit.
9875 (start_threads): Call do_exit and notify_parent.
9876 (begin_drop_privileges): Call do_exit.
9877 (finish_drop_privileges): Likewise.
9878 * nscd/selinux.c (preserve_capabilities): Likewise.
9879 (install_real_capabilities): Likewise.
9880 (nscd_selinux_enabled): Likewise.
9881 (avc_create_thread): Likewise.
9882 (avc_alloc_lock): Likewise.
9883 (nscd_avc_init): Likewise.
9884 * nscd/nscd.c (parent_fd): New static variable.
9885 (main): Create a pipe between parent and child processes.
9886 Skip closing parent_fd.
9887 (monitor_child): New function.
9888 (do_exit): Likewise.
9889 (notify_parent): Likewise.
9890 * nscd/nscd.h (notify_parent): Likewise.
9891 (do_exit): Likewise.
9893 2014-03-03 Carlos O'Donell <carlos@redhat.com>
9895 * malloc/malloc.c (__libc_calloc): Revert last change.
9897 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9901 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9903 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9904 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9906 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9907 (__libc_ifunc_impl_list): Likewise.
9908 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9909 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9910 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9911 * string/strrchr.c: Define STRRCHR.
9913 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
9915 * benchtest/bench-strtok.c (simple_strtok): Delete.
9916 (strtok_string): Use as benchmark.
9917 * string/strtok (STRTOK): New macro.
9919 2014-02-28 Carlos O'Donell <carlos@redhat.com>
9921 * manual/threads.texi: Add header and standard comments to all
9924 * elf/dl-lookup.c (check_match): New function.
9925 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9926 (do_lookup_x): Remove nested function check_match. Use non-nested
9927 function check_match.
9929 2014-02-28 Roland McGrath <roland@hack.frob.com>
9931 * csu/Makefile (generated, before-compile): Use += rather than =.
9932 * catgets/Makefile (generated, generated-dirs): Likewise.
9933 * debug/Makefile (generated): Likewise.
9934 * dlfcn/Makefile (generated): Likewise.
9935 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9936 * iconvdata/Makefile (before-compile, generated): Likewise.
9937 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9938 * libio/Makefile (generated): Likewise.
9939 * malloc/Makefile (generated): Likewise.
9940 * manual/Makefile (generated, generated-dirs): Likewise.
9941 * misc/Makefile (generated): Likewise.
9942 * posix/Makefile (generated): Likewise.
9943 * resolv/Makefile (generated): Likewise.
9944 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9945 * timezone/Makefile (generated, generated-dirs): Likewise.
9947 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9949 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9951 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9952 power8 implementation.
9953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9954 file: POWER8 llround ifunc implementation.
9955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9956 (__lllround): Add POWER8 implementation.
9957 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9958 POWER8 llround implementation.
9960 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9961 power8 implementation.
9962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9963 file: POWER8 llrint ifunc implementation.
9964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9965 Add POWER8 implementation.
9966 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9967 POWER8 llrint implementation.
9969 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9970 power8 implementation.
9971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9972 file: POWER8 finite ifunc implementation.
9973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9974 Add POWER8 implementation.
9975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9977 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9978 POWER8 finite implementation.
9979 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9981 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9982 power8 implementation.
9983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9984 file: POWER8 isinf ifunc implementation.
9985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9986 POWER8 implementation.
9987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9989 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9990 isinf implementation.
9991 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9993 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9994 (INIT_ARCH): Add hwcap2 initialization.
9995 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9996 power8 implementation.
9997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9998 file: POWER8 isnan ifunc implementation.
9999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10000 POWER8 implementation.
10001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10003 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10004 isnan implementation.
10005 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10007 2014-02-27 Joey Ye <joey.ye@arm.com>
10009 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10010 (_FP_NANFRAC_Q): Set to zero.
10012 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10015 * math/auto-libm-test-in: New test inputs.
10016 * math/auto-libm-test-out: Regenerate.
10017 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10020 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10022 2014-02-27 Joseph Myers <joseph@codesourcery.com>
10024 * scripts/evaluate-test.sh: Take new argument indicating whether
10025 failure is expected.
10026 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10027 indicating whether failure is expected.
10028 * conform/Makefile (test-xfail-run-conformtest): New variable.
10029 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10031 * posix/Makefile (test-xfail-annexc): New variable.
10032 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10034 2014-02-26 Joseph Myers <joseph@codesourcery.com>
10036 * argp/Makefile: Include Makeconfig immediately after defining
10038 * assert/Makefile: Likewise.
10039 * benchtests/Makefile: Likewise.
10040 * catgets/Makefile: Likewise.
10041 * conform/Makefile: Likewise.
10042 * crypt/Makefile: Likewise.
10043 * csu/Makefile: Likewise.
10044 (all): Remove target.
10045 * ctype/Makefile: Include Makeconfig immediately after defining
10047 * debug/Makefile: Likewise.
10048 * dirent/Makefile: Likewise.
10049 * dlfcn/Makefile: Likewise.
10050 * gmon/Makefile: Likewise.
10051 * gnulib/Makefile: Likewise.
10052 * grp/Makefile: Likewise.
10053 * gshadow/Makefile: Likewise.
10054 * hesiod/Makefile: Likewise.
10055 * hurd/Makefile: Likewise.
10056 (all): Remove target.
10057 * iconvdata/Makefile: Include Makeconfig immediately after
10059 * inet/Makefile: Likewise.
10060 * intl/Makefile: Likewise.
10061 * io/Makefile: Likewise.
10062 * libio/Makefile: Likewise.
10063 (all): Remove target.
10064 * locale/Makefile: Include Makeconfig immediately after defining
10066 * login/Makefile: Likewise.
10067 * mach/Makefile: Likewise.
10068 (all): Remove target.
10069 * malloc/Makefile: Include Makeconfig immediately after defining
10071 (all): Remove target.
10072 * manual/Makefile: Include Makeconfig immediately after defining
10074 * math/Makefile: Likewise.
10075 * misc/Makefile: Likewise.
10076 * nis/Makefile: Likewise.
10077 * nss/Makefile: Likewise.
10078 * po/Makefile: Likewise.
10079 (all): Remove target.
10080 * posix/Makefile: Include Makeconfig immediately after defining
10082 * pwd/Makefile: Likewise.
10083 * resolv/Makefile: Likewise.
10084 * resource/Makefile: Likewise.
10085 * rt/Makefile: Likewise.
10086 * setjmp/Makefile: Likewise.
10087 * shadow/Makefile: Likewise.
10088 * signal/Makefile: Likewise.
10089 * socket/Makefile: Likewise.
10090 * soft-fp/Makefile: Likewise.
10091 * stdio-common/Makefile: Likewise.
10092 * stdlib/Makefile: Likewise.
10093 * streams/Makefile: Likewise.
10094 * string/Makefile: Likewise.
10095 * sunrpc/Makefile: Likewise.
10096 (all): Remove target.
10097 * sysvipc/Makefile: Include Makeconfig immediately after defining
10099 * termios/Makefile: Likewise.
10100 * time/Makefile: Likewise.
10101 * timezone/Makefile: Likewise.
10102 (all): Remove target.
10103 * wcsmbs/Makefile: Include Makeconfig immediately after defining
10105 * wctype/Makefile: Likewise.
10107 2014-02-26 Steve Ellcey <sellcey@mips.com>
10109 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10110 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10111 (libc_feholdexcept_setround_mips): Ditto.
10112 (libc_feholdsetround): New.
10113 (libc_feholdsetroundf): New.
10114 (libc_feholdsetroundl): New.
10115 (libc_feupdateenv_test_mips): New.
10116 (libc_feupdateenv_test): New.
10117 (libc_feupdateenv_testf): New.
10118 (libc_feupdateenv_testl): New.
10119 (libc_feresetround): New.
10120 (libc_feresetroundf): New.
10121 (libc_feresetroundl): New.
10122 (libc_fetestexcept_mips): New.
10123 (libc_fetestexcept): New.
10124 (libc_fetestexceptf): New.
10125 (libc_fetestexceptl): New.
10126 (HAVE_RM_CTX): New.
10127 (libc_feholdexcept_setround_mips_ctx): New.
10128 (libc_feholdexcept_setround_ctx): New.
10129 (libc_feholdexcept_setroundf_ctx): New.
10130 (libc_feholdexcept_setroundl_ctx): New.
10131 (libc_fesetenv_mips_ctx): New.
10132 (libc_fesetenv_ctx): New.
10133 (libc_fesetenv_ctxf): New.
10134 (libc_fesetenv_ctxl): New.
10135 (libc_feupdateenv_mips_ctx): New.
10136 (libc_feupdateenv_ctx): New.
10137 (libc_feupdateenvf_ctx): New.
10138 (libc_feupdateenvl_ctx): New.
10139 (libc_feholdsetround_mips_ctx): New.
10140 (libc_feholdsetround_ctx): New.
10141 (libc_feholdsetroundf_ctx): New.
10142 (libc_feholdsetroundl_ctx): New.
10143 (libc_feresetround_mips_ctx): New.
10144 (libc_feresetround_ctx): New.
10145 (libc_feresetroundf_ctx): New.
10146 (libc_feresetroundl_ctx): New.
10148 2014-02-26 Carlos O'Donell <carlos@redhat.com>
10150 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10152 * manual/ipc.texi: New file.
10153 * manual/Makefile (chapters): Add ipc.
10154 * manual/job.texi: Add "Inter-Process Communication" to next.
10155 * manual/process.texi: Add "Inter-Process Communication" to prev.
10157 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10159 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10161 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
10163 * malloc/malloc.c (__libc_calloc): Simplify implementation.
10165 * manual/arith.texi: Fix spaces after sentences.
10166 * manual/charset.texi: Likewise.
10167 * manual/errno.texi: Likewise.
10168 * manual/install.texi: Likewise.
10169 * manual/llio.texi: Likewise.
10170 * manual/locale.texi: Likewise.
10171 * manual/maint.texi: Likewise.
10172 * manual/math.texi: Likewise.
10173 * manual/memory.texi: Likewise.
10174 * manual/message.texi: Likewise.
10175 * manual/probes.texi: Likewise.
10176 * manual/resource.texi: Likewise.
10177 * manual/signal.texi: Likewise.
10178 * manual/socket.texi: Likewise.
10179 * manual/stdio.texi: Likewise.
10180 * manual/string.texi: Likewise.
10181 * manual/time.texi: Likewise.
10182 * manual/users.texi: Likewise.
10184 2014-02-25 Carlos O'Donell <carlos@redhat.com>
10187 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10188 _DEFAULT_SOURCE is defined.
10190 2014-02-25 Ulrich Drepper <drepper@gmail.com>
10191 Carlos O'Donell <carlos@redhat.com>
10194 * elf/dl-tls.c (_dl_count_modids): New function.
10195 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10196 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10197 audit library and increment generation counter.
10198 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10199 * elf/tst-audit9.c: New file.
10200 * elf/tst-auditmod9a.c: New file.
10201 * elf/tst-auditmod9b.c: New file.
10202 * elf/Makefile: Add rules to build and run tst-audit9.
10204 2014-02-25 Florian Weimer <fweimer@redhat.com>
10207 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10209 2014-02-25 Will Newton <will.newton@linaro.org>
10211 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10212 (__longjmp): Restore sp and lr before restoring callee
10213 saved registers. Add longjmp and longjmp_target
10214 SystemTap probe point.
10215 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10216 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10217 Define to zero to match jmpbuf layout.
10218 * sysdeps/arm/setjmp.S: Include stap-probe.h.
10219 (__sigsetjmp): Save sp and lr before saving callee
10220 saved registers. Add setjmp SystemTap probe point.
10222 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10224 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10226 2014-02-24 Andreas Schwab <schwab@suse.de>
10229 * elf/pldd.c (wait_for_ptrace_stop): New function.
10230 (main): Call it after attaching.
10232 2014-02-22 Roland McGrath <roland@hack.frob.com>
10234 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10235 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10236 Versions files is now verboten.
10237 * hurd/Versions (libc: GLIBC_2.0):
10238 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10239 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10240 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10241 * mach/Versions: Likewise.
10243 * csu/Versions: Remove unused %include.
10244 * resolv/Versions: Likewise.
10246 2014-02-21 Joseph Myers <joseph@codesourcery.com>
10248 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10249 ($(objpfx)check-local-headers.out): Likewise.
10250 ($(objpfx)begin-end-check.out): Likewise.
10251 * Makerules (check-abi-%.out): Likewise.
10252 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10253 ($(objpfx)test2.cat): Likewise.
10254 ($(objpfx)de/libc.cat): Likewise.
10255 ($(objpfx)test-gencat.out): Likewise.
10256 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10257 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10258 ($(objpfx)noload-mem): Likewise.
10259 ($(objpfx)tst-pathopt.out): Likewise.
10260 ($(objpfx)tst-rtld-load-self.out): Likewise.
10261 ($(objpfx)tst-array1-cmp.out): Likewise.
10262 ($(objpfx)tst-array1-static-cmp.out): Likewise.
10263 ($(objpfx)tst-array2-cmp.out): Likewise.
10264 ($(objpfx)tst-array3-cmp.out): Likewise.
10265 ($(objpfx)tst-array4-cmp.out): Likewise.
10266 ($(objpfx)tst-array5-cmp.out): Likewise.
10267 ($(objpfx)tst-array5-static-cmp.out): Likewise.
10268 ($(objpfx)check-textrel.out): Likewise.
10269 ($(objpfx)check-execstack.out): Likewise.
10270 ($(objpfx)check-localplt.out): Likewise.
10271 ($(objpfx)order2-cmp.out): Likewise.
10272 ($(objpfx)tst-leaks1-mem): Likewise.
10273 ($(objpfx)tst-leaks1-static-mem): Likewise.
10274 ($(objpfx)tst-initorder-cmp.out): Likewise.
10275 ($(objpfx)tst-initorder2-cmp.out): Likewise.
10276 ($(objpfx)tst-unused-dep.out): Likewise.
10277 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10278 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10279 * iconv/Makefile (test-iconvconfig): Likewise.
10280 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10281 ($(objpfx)iconv-test.out): Likewise.
10282 ($(objpfx)tst-tables.out): Likewise.
10283 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10284 ($(objpfx)tst-gettext.out): Likewise.
10285 ($(objpfx)tst-translit.out): Likewise.
10286 ($(objpfx)tst-gettext2.out): Likewise.
10287 ($(objpfx)tst-gettext4.out): Likewise.
10288 ($(objpfx)tst-gettext6.out): Likewise.
10289 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10290 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10291 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10292 ($(objpfx)tst-fopenloc-mem.out): Likewise.
10293 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10294 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10295 * posix/Makefile ($(objpfx)globtest.out): Likewise.
10296 ($(objpfx)wordexp-tst.out): Likewise.
10297 ($(objpfx)annexc.out): Likewise.
10298 ($(objpfx)tst-fnmatch-mem): Likewise.
10299 ($(objpfx)bug-regex2-mem): Likewise.
10300 ($(objpfx)bug-regex14-mem): Likewise.
10301 ($(objpfx)bug-regex21-mem): Likewise.
10302 ($(objpfx)bug-regex31-mem): Likewise.
10303 ($(objpfx)tst-vfork3-mem): Likewise.
10304 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10305 ($(objpfx)tst-pcre-mem): Likewise.
10306 ($(objpfx)tst-boost-mem): Likewise.
10307 ($(objpfx)tst-getconf.out): Likewise.
10308 ($(objpfx)bug-ga2-mem): Likewise.
10309 ($(objpfx)bug-glob2-mem): Likewise.
10310 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10311 ($(objpfx)mtrace-tst-leaks2): Likewise.
10312 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10313 ($(objpfx)tst-printf.out): Likewise.
10314 ($(objpfx)tst-setvbuf1.out): Likewise.
10315 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10316 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10317 ($(objpfx)tst-fmtmsg.out): Likewise.
10318 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10319 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10321 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10322 * bits/sigaction.h [__USE_MISC]: Likewise.
10323 * bits/waitstatus.h: Update #endif comments.
10324 * ctype/ctype.h: Likewise.
10325 * dirent/dirent.h: Likewise.
10326 [__USE_MISC]: Remove redundant conditionals.
10327 * grp/grp.h: Update #endif comments.
10328 [__USE_GNU]: Remove redundant conditionals.
10329 [__USE_MISC]: Likewise.
10330 * inet/netinet/in.h [__USE_GNU]: Likewise.
10331 * io/sys/stat.h [__USE_MISC]: Likewise.
10332 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10333 * libio/bits/stdio.h: Update #endif comments.
10334 [__USE_MISC]: Remove redundant conditionals.
10335 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10336 * libio/stdio.h: Update #endif comments.
10337 [__USE_MISC]: Remove redundant conditionals.
10338 * math/bits/math-finite.h [__USE_MISC]: Likewise.
10339 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10340 * math/math.h: Update #else and #endif comments.
10341 [__USE_MISC]: Remove redundant conditionals.
10342 * misc/sys/uio.h: Update #endif comments.
10343 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10344 * posix/glob.h [__USE_MISC]: Likewise.
10345 * posix/sys/types.h: Update #endif comments.
10346 [__USE_MISC]: Remove redundant conditionals.
10347 * posix/sys/wait.h: Update #endif comments.
10348 [__USE_MISC]: Remove redundant conditionals.
10349 * posix/unistd.h: Update #endif comments.
10350 [__USE_MISC]: Remove redundant conditionals.
10351 * pwd/pwd.h [__USE_GNU]: Likewise.
10352 [__USE_MISC]: Likewise.
10353 * resolv/netdb.h [__USE_GNU]: Likewise.
10354 * signal/signal.h: Update #endif comments.
10355 [__USE_MISC]: Remove redundant conditionals.
10356 * stdlib/stdlib.h: Update #else and #endif comments.
10357 [__USE_MISC]: Remove redundant conditionals.
10358 [__USE_GNU]: Likewise.
10359 * string/bits/string2.h [__USE_MISC]: Likewise.
10360 * string/string.h: Update #endif comments.
10361 [__USE_MISC]: Remove redundant conditionals.
10362 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10364 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10365 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10366 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10368 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10370 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10372 [__USE_MISC]: Remove redundant conditionals.
10373 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10374 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10375 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10376 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10377 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10379 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10380 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10382 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10383 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10385 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10387 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10388 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10390 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10392 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10393 * sysdeps/x86/bits/string.h: Update #endif comments.
10394 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10396 * time/sys/time.h: Update #endif comments.
10397 * time/time.h: Likewise.
10398 [__USE_MISC]: Remove redundant conditionals.
10400 2014-02-21 Yury Gribov <y.gribov@samsung.com>
10403 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10405 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
10407 * Versions.def (librt): Add GLIBC_2.17.
10409 2014-02-21 Adam Conrad <adconrad@0c3.net>
10411 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10412 synonym for _SYS_AUXV_H to allow direct inclusion.
10413 * sysdeps/sparc/bits/hwcap.h: Likewise.
10414 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10415 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10416 * sysdeps/sparc/sysdep.h: Likewise.
10418 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10420 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10422 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10424 * benchtests/bench-strrchr.c: Print length instead of position.
10426 2014-02-20 Joseph Myers <joseph@codesourcery.com>
10429 * sysdeps/unix/sysv/linux/kernel-features.h
10430 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10431 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10432 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10433 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10435 [__i386__ || __powerpc__ || __sh__ || __sparc__]
10436 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10437 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10438 (__ASSUME_SENDMMSG): Define instead of using previous
10439 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10440 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10441 (__ASSUME_SENDMMSG_SYSCALL): Define.
10442 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10443 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10445 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10446 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10448 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10449 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10451 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10452 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10453 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10454 [__ASSUME_SENDMMSG]: Change conditionals to
10455 [__ASSUME_SENDMMSG_SOCKETCALL].
10456 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10457 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10459 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10460 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10462 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10463 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10464 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10465 [!__ASSUME_SENDMMSG]: Change conditional to
10466 [!__ASSUME_SENDMMSG_SOCKETCALL].
10467 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10468 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10472 * sysdeps/unix/sysv/linux/kernel-features.h
10473 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10474 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10475 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10476 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10477 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10478 [__i386__ || __sparc__]
10479 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10480 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10481 (__ASSUME_RECVMMSG): Define instead of using previous
10482 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10483 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10484 (__ASSUME_RECVMMSG_SYSCALL): Define.
10485 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10486 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10488 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10489 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10491 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10492 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10494 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10495 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10496 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10497 [__ASSUME_RECVMMSG]: Change condition to
10498 [__ASSUME_RECVMMSG_SOCKETCALL].
10499 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10500 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10502 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10503 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10504 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10506 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10507 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10508 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10509 [!__ASSUME_RECVMMSG]: Change condition to
10510 [!__ASSUME_RECVMMSG_SOCKETCALL].
10511 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10512 (__ASSUME_RECVMMSG_SYSCALL): Define.
10515 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10516 __powerpc__ || __s390__ || __sh__ || __sparc__]
10517 (__ASSUME_SOCKETCALL): Define.
10518 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10519 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10520 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10521 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10522 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10523 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10524 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10525 (__ASSUME_ACCEPT4): Define instead of using previous
10526 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10527 __powerpc__ || __sparc__ || __s390__)] condition.
10528 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10529 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10530 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10531 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10532 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10533 [!__ASSUME_ACCEPT4]: Change condition to
10534 [!__ASSUME_ACCEPT4_SOCKETCALL].
10535 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10536 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
10537 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10538 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10539 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10540 __ASSUME_ACCEPT4_SYSCALL.
10541 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10542 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10543 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10544 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10545 __ASSUME_ACCEPT4_SYSCALL.
10546 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10547 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10548 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10549 [__ASSUME_ACCEPT4]: Change condition to
10550 [__ASSUME_ACCEPT4_SOCKETCALL].
10551 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10552 (__ASSUME_SOCKETCALL): Define.
10553 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10554 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10555 (__ASSUME_SOCKETCALL): Define.
10556 (__ASSUME_ACCEPT4): Remove.
10557 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10559 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10560 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10562 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10563 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10565 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10567 (HWCAP_ARM_LPAE): Likewise.
10568 (HWCAP_ARM_EVTSTRM): Likewise.
10569 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10570 Add vpfd32, lpae and evtstrm.
10571 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10574 2014-02-19 Joseph Myers <joseph@codesourcery.com>
10576 * math/auto-libm-test-in: Add tests of clog10.
10577 * math/auto-libm-test-out: Regenerated.
10578 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10579 * sysdeps/i386/fpu/libm-test-ulps: Update.
10580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10582 2014-02-18 Andreas Schwab <schwab@suse.de>
10585 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10586 Store non-zero if the second buffer was newly allocated.
10587 (send_dg): Likewise.
10588 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10589 to send_vc and send_dg.
10590 (res_nsend): Pass NULL for ansp2_malloced.
10591 * resolv/res_query.c (__libc_res_nquery): Add parameter
10592 answerp2_malloced and pass it down to __libc_res_nsend.
10593 (res_nquery): Pass additional NULL to __libc_res_nquery.
10594 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10595 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
10596 second answer buffer if answerp2_malloced was set.
10597 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10598 (__libc_res_nquerydomain): Add parameter
10599 answerp2_malloced and pass it down to __libc_res_nquery.
10600 (res_nquerydomain): Pass additional NULL to
10601 __libc_res_nquerydomain.
10602 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10603 additional NULL to __libc_res_nsend and __libc_res_nquery.
10604 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10605 additional NULL to __libc_res_nsearch.
10606 (_nss_dns_gethostbyname4_r): Revert last change. Use new
10607 parameter of __libc_res_nsearch to check for separately allocated
10609 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10611 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10612 additional NULL to __libc_res_nquery.
10613 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10614 __libc_res_nsearch.
10615 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10616 * include/resolv.h: Update prototypes of __libc_res_nquery,
10617 __libc_res_nsearch, __libc_res_nsend.
10619 2014-02-18 Joseph Myers <joseph@codesourcery.com>
10621 * math/auto-libm-test-in: Add tests of fma.
10622 * math/auto-libm-test-out: Regenerated.
10623 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10624 (fma_towardzero_test_data): Likewise.
10625 (fma_downward_test_data): Likewise.
10626 (fma_upward_test_data): Likewise.
10627 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10629 (rounding_modes): Add values for new field.
10630 (func_calc_method): Add value mpfr_fff_f.
10631 (func_calc_desc): Add mpfr_fff_f union field.
10632 (test_function): Add field exact_args.
10633 (FUNC): Add macro argument EXACT_ARGS.
10634 (FUNC_mpfr_f_f): Update call to FUNC.
10635 (FUNC_mpfr_f_f): Likewise.
10636 (FUNC_mpfr_ff_f): Likewise.
10637 (FUNC_mpfr_if_f): Likewise.
10638 (FUNC_mpc_c_f): Likewise.
10639 (FUNC_mpc_c_c): Likewise.
10640 (test_functions): Add fma. Update calls to FUNC.
10641 (handle_input_arg): Add argument exact_args.
10642 (add_test): Update call to handle_input_arg.
10643 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
10644 (output_for_one_input_case): Update call to calc_generic_results.
10645 Recalculate exact zero results in each rounding mode.
10647 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10648 non-negative before setting low bit.
10649 * math/auto-libm-test-in: Mark one asin test possibly having
10650 spurious underflow.
10651 * math/auto-libm-test-out: Regenerated.
10652 * sysdeps/i386/fpu/libm-test-ulps: Update.
10653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10655 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
10657 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10658 * sysdeps/unix/sysv/linux/microblaze: Move directory from
10659 ports/sysdeps/unix/sysv/linux/microblaze.
10660 * README: Add missing listing for microblaze*-*-linux-gnu.
10662 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
10664 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10667 2014-02-16 Mike Frysinger <vapier@gentoo.org>
10669 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10670 * sysdeps/unix/sysv/linux/ia64: Move directory from
10671 ports/sysdeps/unix/sysv/linux/ia64.
10672 * README: Update listing for ia64-*-linux-gnu.
10674 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
10675 Joseph Myers <joseph@codesourcery.com>
10677 * Makeconfig (test-name): New variable.
10678 (evaluate-test): Likewise.
10679 * Makerules (do-test-clean): Remove .test-result files.
10680 (common-mostlyclean): Likewise.
10681 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10682 * scripts/evaluate-test.sh: New file.
10684 2014-02-14 Joseph Myers <joseph@codesourcery.com>
10686 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10687 separate $(objpfx)tst-fopenloc-cmp.out and
10688 $(objpfx)tst-fopenloc-mem.out targets.
10689 (tests): Update dependencies.
10690 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10691 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10692 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10693 (tst-rxspencer-no-utf8-ARGS): New variable.
10694 (tst-rxspencer-no-utf8-ENV): Likewise.
10695 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10696 instead of $(objpfx)tst-rxspencer-mem.
10697 ($(objpfx)tst-rxspencer-mem): Change target to
10698 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
10699 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10700 * posix/tst-rxspencer-no-utf8.c: New file.
10702 * elf/Makefile ($(objpfx)order.out): Remove rule.
10703 [$(run-built-tests) = yes] (tests): Depend on
10704 $(objpfx)order-cmp.out.
10705 ($(objpfx)order-cmp.out): New rule.
10706 [$(run-built-tests) = yes] (tests): Depend on
10707 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10708 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10709 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10710 $(objpfx)tst-array5-static-cmp.out.
10711 ($(objpfx)tst-array1.out): Remove rule.
10712 ($(objpfx)tst-array1-cmp.out): New rule.
10713 ($(objpfx)tst-array1-static.out): Remove rule.
10714 ($(objpfx)tst-array1-static-cmp.out): New rule.
10715 ($(objpfx)tst-array2.out): Remove rule.
10716 ($(objpfx)tst-array2-cmp.out): New rule.
10717 ($(objpfx)tst-array3.out): Remove rule.
10718 ($(objpfx)tst-array3-cmp.out): New rule.
10719 ($(objpfx)tst-array4.out): Remove rule.
10720 ($(objpfx)tst-array4-cmp.out): New rule.
10721 ($(objpfx)tst-array5.out): Remove rule.
10722 ($(objpfx)tst-array5-cmp.out): New rule.
10723 ($(objpfx)tst-array5-static.out): Remove rule.
10724 ($(objpfx)tst-array5-static-cmp.out): New rule.
10725 [$(run-built-tests) = yes] (tests): Depend on
10726 $(objpfx)order2-cmp.out.
10727 ($(objpfx)order2.out): Remove rule.
10728 ($(objpfx)order2-cmp.out): New rule.
10729 ($(objpfx)tst-initorder.out): Remove rule.
10730 [$(run-built-tests) = yes] (tests): Depend on
10731 $(objpfx)tst-initorder-cmp.out.
10732 ($(objpfx)tst-initorder-cmp.out): New rule.
10733 ($(objpfx)tst-initorder2.out): Remove rule.
10734 [$(run-built-tests) = yes] (tests): Depend on
10735 $(objpfx)tst-initorder2-cmp.out.
10736 ($(objpfx)tst-initorder2-cmp.out): New rule.
10737 [$(run-built-tests) = yes] (tests): Depend on
10738 $(objpfx)tst-unused-dep-cmp.out.
10739 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10740 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10741 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10742 on $(objpfx)tst-setvbuf1-cmp.out.
10743 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10744 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10745 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10746 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10747 ($(objpfx)tst-svc.out): Remove rule.
10748 ($(objpfx)tst-svc-cmp.out): New rule.
10750 2014-02-13 Joseph Myers <joseph@codesourcery.com>
10752 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10753 * ctype/ctype.h [__USE_MISC]: Likewise.
10754 * dirent/dirent.h [__USE_MISC]: Likewise.
10755 * grp/grp.h [__USE_MISC]: Likewise.
10756 * io/fcntl.h [__USE_MISC]: Likewise.
10757 * io/sys/stat.h [__USE_MISC]: Likewise.
10758 * libio/stdio.h [__USE_MISC]: Likewise.
10759 * posix/unistd.h [__USE_MISC]: Likewise.
10760 * pwd/pwd.h [__USE_MISC]: Likewise.
10761 * stdlib.h [__USE_MISC]: Likewise.
10762 * string/bits/string2.h [__USE_MISC]: Likewise.
10763 * string/string.h [__USE_MISC]: Likewise.
10764 * time/time.h [__USE_MISC]: Likewise.
10766 2014-02-13 Andreas Schwab <schwab@suse.de>
10769 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10770 second answer buffer if it was separately allocated.
10772 2014-02-12 Joseph Myers <joseph@codesourcery.com>
10774 * sysdeps/mips/math-tests.h: Include <features.h>.
10775 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10776 (ROUNDING_TESTS_long_double): Do not define.
10777 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10778 (EXCEPTION_TESTS_long_double): Likewise.
10779 * sysdeps/mips/mips64/libm-test-ulps: Update.
10781 * include/features.h (__USE_BSD): Remove macro definitions.
10782 (__USE_SVID): Likewise.
10783 (_BSD_SOURCE): Likewise.
10784 (_SVID_SOURCE): Likewise.
10785 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10786 from definition of _DEFAULT_SOURCE.
10787 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10789 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10790 * bits/mman.h [__USE_BSD]: Likewise.
10791 * bits/termios.h [__USE_BSD]: Likewise.
10792 * bits/waitstatus.h [__USE_BSD]: Likewise.
10793 * ctype/ctype.h [__USE_SVID]: Likewise.
10794 * dirent/dirent.h [__USE_BSD]: Likewise.
10795 * grp/grp.h [__USE_SVID]: Likewise.
10796 [__USE_BSD]: Likewise.
10797 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10798 * io/fcntl.h [__USE_BSD]: Likewise.
10799 * io/ftw.h [__USE_BSD]: Likewise.
10800 * io/sys/stat.h [__USE_BSD]: Likewise.
10801 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10802 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10803 * libio/stdio.h [__USE_SVID]: Likewise.
10804 [__USE_BSD]: Likewise.
10805 * math/math.h [__USE_SVID]: Likewise.
10806 [__USE_BSD]: Likewise.
10807 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10808 * misc/bits/syslog.h [__USE_BSD]: Likewise.
10809 * misc/search.h [__USE_SVID]: Likewise.
10810 * misc/sys/mman.h [__USE_BSD]: Likewise.
10811 * misc/sys/syslog.h [__USE_BSD]: Likewise.
10812 * misc/sys/uio.h [__USE_BSD]: Likewise.
10813 * posix/bits/unistd.h [__USE_BSD]: Likewise.
10814 * posix/glob.h [__USE_BSD]: Likewise.
10815 * posix/regex.h [__USE_BSD]: Likewise.
10816 * posix/sys/types.h [__USE_BSD]: Likewise.
10817 [__USE_SVID]: Likewise.
10818 * posix/sys/utsname.h [__USE_SVID]: Likewise.
10819 * posix/sys/wait.h [__USE_BSD]: Likewise.
10820 [__USE_SVID]: Likewise.
10821 * posix/unistd.h [__USE_BSD]: Likewise.
10822 [__USE_SVID]: Likewise.
10823 * pwd/pwd.h [__USE_SVID]: Likewise.
10824 * resolv/netdb.h [__USE_BSD]: Likewise.
10825 * setjmp/setjmp.h [__USE_BSD]: Likewise.
10826 * signal/signal.h [__USE_BSD]: Likewise.
10827 [__USE_SVID]: Likewise.
10828 * socket/sys/socket.h [__USE_BSD]: Likewise.
10829 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10830 * stdlib/stdlib.h [__USE_BSD]: Likewise.
10831 [__USE_SVID]: Likewise.
10832 * string/bits/string2.h [__USE_BSD]: Likewise.
10833 [__USE_SVID]: Likewise.
10834 * string/bits/string3.h [__USE_BSD]: Likewise.
10835 * string/endian.h [__USE_BSD]: Likewise.
10836 * string/string.h [__USE_SVID]: Likewise.
10837 [__USE_BSD]: Likewise.
10838 * string/strings.h [__USE_BSD]: Likewise.
10839 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10840 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10841 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10842 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10843 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10844 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10846 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10848 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10849 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10851 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10852 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10854 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10856 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10857 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10858 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10860 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10862 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10863 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10864 * termios/termios.h [__USE_BSD]: Likewise.
10865 * time/sys/time.h [__USE_BSD]: Likewise.
10866 * time/time.h [__USE_BSD]: Likewise.
10867 [__USE_SVID]: Likewise.
10869 * Makefile (subdir_targets): Remove subdir_lint.out.
10871 * stdio-common/Makefile (do-tst-unbputc): Remove target.
10872 (do-tst-printf): Likewise.
10873 (tests): Depend directly on $(objpfx)tst-unbputc.out and
10874 $(objpfx)tst-printf.out.
10876 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10878 * Makerules (check-abi-%): Change target to
10879 $(objpfx)check-abi-%.out.
10880 (check-abi target): Update dependencies.
10881 (check-abi-pattern variable): Redirect output of diff to $@.
10882 (check-abi variable): Likewise.
10883 * elf/Makefile (check-abi): Update dependencies.
10885 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10887 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10888 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10890 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10891 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10892 value has largest subnormal exponent.
10893 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10894 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10895 * sysdeps/aarch64/soft-fp/sfp-machine.h
10896 (_FP_TININESS_AFTER_ROUNDING): New macro.
10897 * sysdeps/alpha/soft-fp/sfp-machine.h
10898 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10899 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10901 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10902 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10903 * sysdeps/mips/soft-fp/sfp-machine.h
10904 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10905 * sysdeps/powerpc/soft-fp/sfp-machine.h
10906 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10907 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10909 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10910 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10911 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10912 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10913 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10916 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
10919 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10922 2014-02-12 Richard Henderson <rth@redhat.com>
10924 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10925 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10926 * sysdeps/unix/sysv/linux/alpha: Move directory from
10927 ports/sysdeps/unix/sysv/linux/alpha.
10928 * README: Update listing for alpha-*-linux-gnu.
10930 2014-02-11 Joseph Myers <joseph@codesourcery.com>
10932 * include/features.h: Update comment documenting feature test
10934 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10936 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10937 (_SVID_SOURCE): Likewise.
10938 (_DEFAULT_SOURCE): Update description of default features.
10939 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10941 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10942 (S_ISVTX): Likewise.
10943 * manual/math.texi (Mathematical Constants): Likewise.
10944 * manual/signal.texi (Interrupted Primitives): Likewise.
10945 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10946 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10947 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10948 Don't refer to _SVID_SOURCE in warning text.
10950 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10952 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10954 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10955 * sysdeps/mips/dl-lookup.c: Remove.
10956 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10958 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10961 * math/auto-libm-test-in: Add testcase for expl.
10962 * math/auto-libm-test-out: Regenerate.
10963 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10964 calculation of unsafe.
10965 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10967 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
10969 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10970 * sysdeps/unix/sysv/linux/aarch64: Move directory from
10971 ports/sysdeps/unix/sysv/linux/aarch64.
10972 * README: Update listing for aarch64*-*-linux-gnu.
10974 2014-02-11 Will Newton <will.newton@linaro.org>
10976 * manual/probes.texi (Mathematical Function Probes): Use
10977 "triggered" instead of "hit".
10979 * manual/probes.texi (Internal Probes): Add documentation
10980 of setjmp, longjmp and longjmp_target probes.
10982 * include/stap-probe.h: Add comment about probe argument
10985 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10986 definition. (tr_where, tr_freehook, tr_mallochook,
10987 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10989 2014-02-11 David S. Miller <davem@davemloft.net>
10991 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10992 processing int_tests.
10994 2014-02-10 Joseph Myers <joseph@codesourcery.com>
10996 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10997 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10998 * sysdeps/unix/sysv/linux/mips: Move directory from
10999 ports/sysdeps/unix/sysv/linux/mips.
11000 * README: Update listing for mips-*-linux-gnu and
11001 mips64-*-linux-gnu.
11003 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
11005 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11006 * sysdeps/unix/sysv/linux/m68k: Move directory from
11007 ports/sysdeps/unix/sysv/linux/m68k.
11008 * README: Update listing for m68k-*-linux-gnu.
11010 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
11012 * sysdeps/tile: Move directory from ports/sysdeps/tile.
11013 * sysdeps/unix/sysv/linux/generic: Move directory from
11014 ports/sysdeps/unix/sysv/linux/generic.
11015 * sysdeps/unix/sysv/linux/tile: Move directory from
11016 ports/sysdeps/unix/sysv/linux/tile.
11017 * README: Update listing for tile*-*-linux-gnu.
11019 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
11021 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11023 * benchtests/bench-memmem.c (simple_memmem): Likewise.
11024 * catgets/open_catalog.c (__open_catalog): Likewise.
11025 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11026 * debug/confstr_chk.c: Likewise.
11027 * debug/fread_chk.c (__fread_chk): Likewise.
11028 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11029 * debug/getgroups_chk.c: Likewise.
11030 * debug/mbsnrtowcs_chk.c: Likewise.
11031 * debug/mbsrtowcs_chk.c: Likewise.
11032 * debug/mbstowcs_chk.c: Likewise.
11033 * debug/memcpy_chk.c: Likewise.
11034 * debug/memmove_chk.c: Likewise.
11035 * debug/mempcpy_chk.c: Likewise.
11036 * debug/memset_chk.c: Likewise.
11037 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11038 * debug/strcat_chk.c (__strcat_chk): Likewise.
11039 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11040 * debug/strncat_chk.c (__strncat_chk): Likewise.
11041 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11042 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11043 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11044 * debug/wcpncpy_chk.c: Likewise.
11045 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11046 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11047 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11048 * debug/wcsncpy_chk.c: Likewise.
11049 * debug/wcsnrtombs_chk.c: Likewise.
11050 * debug/wcsrtombs_chk.c: Likewise.
11051 * debug/wcstombs_chk.c: Likewise.
11052 * debug/wmemcpy_chk.c: Likewise.
11053 * debug/wmemmove_chk.c: Likewise.
11054 * debug/wmempcpy_chk.c: Likewise.
11055 * debug/wmemset_chk.c: Likewise.
11056 * dirent/scandirat.c (SCANDIRAT): Likewise.
11057 * dlfcn/dladdr1.c (dladdr1): Likewise.
11058 * dlfcn/dladdr.c (dladdr): Likewise.
11059 * dlfcn/dlclose.c (dlclose_doit): Likewise.
11060 * dlfcn/dlerror.c (__dlerror): Likewise.
11061 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11062 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11063 * dlfcn/dlopen.c (dlopen_doit): Likewise.
11064 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11065 * dlfcn/dlsym.c (dlsym_doit): Likewise.
11066 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11067 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11068 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11070 * elf/dl-conflict.c: Likewise.
11071 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11072 * elf/dl-dst.h: Likewise.
11073 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11074 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11075 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11076 * elf/dl-init.c (call_init, _dl_init): Likewise.
11077 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
11078 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11079 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11081 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11083 * elf/dl-minimal.c (__libc_memalign): Likewise.
11084 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11085 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11086 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11087 * elf/dl-sym.c (do_sym): Likewise.
11088 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11089 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
11090 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11091 * elf/dl-writev.h (_dl_writev): Likewise.
11092 * elf/ldconfig.c (search_dir): Likewise.
11093 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11094 (dl_main): Likewise.
11095 * elf/setup-vdso.h (setup_vdso): Likewise.
11096 * grp/compat-initgroups.c (compat_call): Likewise.
11097 * grp/fgetgrent.c (fgetgrent): Likewise.
11098 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11099 * grp/putgrent.c (putgrent): Likewise.
11100 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11102 * hurd/hurdinit.c: Likewise.
11103 * iconvdata/8bit-gap.c (struct): Likewise.
11104 * iconvdata/ansi_x3.110.c : Likewise.
11105 * iconvdata/big5.c : Likewise.
11106 * iconvdata/big5hkscs.c : Likewise.
11107 * iconvdata/cp1255.c: Likewise.
11108 * iconvdata/cp1258.c : Likewise.
11109 * iconvdata/cp932.c : Likewise.
11110 * iconvdata/euc-cn.c: Likewise.
11111 * iconvdata/euc-jisx0213.c : Likewise.
11112 * iconvdata/euc-jp.c: Likewise.
11113 * iconvdata/euc-jp-ms.c : Likewise.
11114 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11115 * iconvdata/gb18030.c : Likewise.
11116 * iconvdata/gbbig5.c (const): Likewise.
11117 * iconvdata/gbgbk.c: Likewise.
11118 * iconvdata/gbk.c : Likewise.
11119 * iconvdata/ibm1364.c : Likewise.
11120 * iconvdata/ibm930.c : Likewise.
11121 * iconvdata/ibm932.c: Likewise.
11122 * iconvdata/ibm933.c : Likewise.
11123 * iconvdata/ibm935.c : Likewise.
11124 * iconvdata/ibm937.c : Likewise.
11125 * iconvdata/ibm939.c : Likewise.
11126 * iconvdata/ibm943.c: Likewise.
11127 * iconvdata/iso_11548-1.c: Likewise.
11128 * iconvdata/iso-2022-cn.c : Likewise.
11129 * iconvdata/iso-2022-cn-ext.c : Likewise.
11130 * iconvdata/iso-2022-jp-3.c: Likewise.
11131 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11132 * iconvdata/iso-2022-kr.c : Likewise.
11133 * iconvdata/iso646.c (gconv_end): Likewise.
11134 * iconvdata/iso_6937-2.c : Likewise.
11135 * iconvdata/iso_6937.c : Likewise.
11136 * iconvdata/iso8859-1.c: Likewise.
11137 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11138 * iconvdata/shift_jisx0213.c : Likewise.
11139 * iconvdata/sjis.c : Likewise.
11140 * iconvdata/t.61.c : Likewise.
11141 * iconvdata/tcvn5712-1.c : Likewise.
11142 * iconvdata/tscii.c: Likewise.
11143 * iconvdata/uhc.c : Likewise.
11144 * iconvdata/unicode.c (gconv_end): Likewise.
11145 * iconvdata/utf-16.c (gconv_end): Likewise.
11146 * iconvdata/utf-32.c (gconv_end): Likewise.
11147 * iconvdata/utf-7.c (base64): Likewise.
11148 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11149 * iconv/gconv_close.c (__gconv_close): Likewise.
11150 * iconv/gconv_open.c (__gconv_open): Likewise.
11151 * iconv/gconv_simple.c (internal_ucs4_loop_single)
11152 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11153 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11154 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11155 (ucs4le_internal_loop_single): Likewise.
11156 * iconv/iconv.c (iconv): Likewise.
11157 * iconv/iconv_close.c: Likewise.
11158 * iconv/loop.c (SINGLE): Likewise.
11159 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11160 * include/atomic.h: Likewise.
11161 * inet/inet6_option.c (option_alloc): Likewise.
11162 * intl/bindtextdom.c (set_binding_values): Likewise.
11163 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11164 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11165 * intl/localealias.c (read_alias_file): Likewise.
11166 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11167 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11168 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11169 * libio/fmemopen.c (fmemopen): Likewise.
11170 * libio/iofgets.c (_IO_fgets): Likewise.
11171 * libio/iofgets_u.c (fgets_unlocked): Likewise.
11172 * libio/iofgetws.c (fgetws): Likewise.
11173 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11174 * libio/iogetdelim.c (_IO_getdelim): Likewise.
11175 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11176 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11177 * locale/findlocale.c (_nl_find_locale): Likewise.
11178 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11179 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11181 * locale/setlocale.c (setlocale): Likewise.
11182 * login/programs/pt_chown.c (main): Likewise.
11183 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11184 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11185 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11186 (mmap, mmap64, mremap, munmap): Likewise.
11187 * math/e_exp2l.c: Likewise.
11188 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11189 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11190 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11191 * math/s_catan.c (__catan): Likewise.
11192 * math/s_catanf.c (__catanf): Likewise.
11193 * math/s_catanh.c (__catanh): Likewise.
11194 * math/s_catanhf.c (__catanhf): Likewise.
11195 * math/s_catanhl.c (__catanhl): Likewise.
11196 * math/s_catanl.c (__catanl): Likewise.
11197 * math/s_ccosh.c (__ccosh): Likewise.
11198 * math/s_ccoshf.c (__ccoshf): Likewise.
11199 * math/s_ccoshl.c (__ccoshl): Likewise.
11200 * math/s_cexp.c (__cexp): Likewise.
11201 * math/s_cexpf.c (__cexpf): Likewise.
11202 * math/s_cexpl.c (__cexpl): Likewise.
11203 * math/s_clog10.c (__clog10): Likewise.
11204 * math/s_clog10f.c (__clog10f): Likewise.
11205 * math/s_clog10l.c (__clog10l): Likewise.
11206 * math/s_clog.c (__clog): Likewise.
11207 * math/s_clogf.c (__clogf): Likewise.
11208 * math/s_clogl.c (__clogl): Likewise.
11209 * math/s_csin.c (__csin): Likewise.
11210 * math/s_csinf.c (__csinf): Likewise.
11211 * math/s_csinh.c (__csinh): Likewise.
11212 * math/s_csinhf.c (__csinhf): Likewise.
11213 * math/s_csinhl.c (__csinhl): Likewise.
11214 * math/s_csinl.c (__csinl): Likewise.
11215 * math/s_csqrt.c (__csqrt): Likewise.
11216 * math/s_csqrtf.c (__csqrtf): Likewise.
11217 * math/s_csqrtl.c (__csqrtl): Likewise.
11218 * math/s_ctan.c (__ctan): Likewise.
11219 * math/s_ctanf.c (__ctanf): Likewise.
11220 * math/s_ctanh.c (__ctanh): Likewise.
11221 * math/s_ctanhf.c (__ctanhf): Likewise.
11222 * math/s_ctanhl.c (__ctanhl): Likewise.
11223 * math/s_ctanl.c (__ctanl): Likewise.
11224 * math/w_pow.c: Likewise.
11225 * math/w_powf.c: Likewise.
11226 * math/w_powl.c: Likewise.
11227 * math/w_scalb.c (sysv_scalb): Likewise.
11228 * math/w_scalbf.c (sysv_scalbf): Likewise.
11229 * math/w_scalbl.c (sysv_scalbl): Likewise.
11230 * misc/error.c (error_tail): Likewise.
11231 * misc/pselect.c (__pselect): Likewise.
11232 * nis/nis_callback.c (__nis_create_callback): Likewise.
11233 * nis/nis_call.c (__nisfind_server): Likewise.
11234 * nis/nis_creategroup.c (nis_creategroup): Likewise.
11235 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11236 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11237 * nis/nis_getservlist.c (nis_getservlist): Likewise.
11238 * nis/nis_lookup.c (nis_lookup): Likewise.
11239 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11240 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11241 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11242 * nis/nis_xdr.c (xdr_endpoint): Likewise.
11243 * nis/nss_compat/compat-grp.c (getgrent_next_file)
11244 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11245 * nis/nss_compat/compat-initgroups.c (add_group)
11246 (internal_getgrent_r): Likewise.
11247 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11248 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11249 * nis/nss_compat/compat-spwd.c (getspent_next_file)
11250 (internal_getspnam_r): Likewise.
11251 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11252 (_nss_nis_getaliasbyname_r): Likewise.
11253 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11254 (_nss_nis_getntohost_r): Likewise.
11255 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11256 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11257 (_nss_nis_getgrgid_r): Likewise.
11258 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11259 (internal_nis_gethostent_r, internal_gethostbyname2_r)
11260 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11261 (_nss_nis_gethostbyname4_r): Likewise.
11262 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11263 (initgroups_netid): Likewise.
11264 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11265 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11266 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11267 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11268 (_nss_nis_getprotobynumber_r): Likewise.
11269 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11270 (_nss_nis_getsecretkey): Likewise.
11271 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11272 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11273 (_nss_nis_getpwuid_r): Likewise.
11274 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11275 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11276 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11277 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11278 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11279 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11280 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11282 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11283 (_nss_nisplus_getntohost_r): Likewise.
11284 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11285 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11286 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11287 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11289 * nis/nss_nisplus/nisplus-initgroups.c
11290 (_nss_nisplus_initgroups_dyn): Likewise.
11291 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11292 (_nss_nisplus_getnetbyaddr_r): Likewise.
11293 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11294 (_nss_nisplus_getprotobynumber_r): Likewise.
11295 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11296 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11297 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11299 * nis/nss_nisplus/nisplus-service.c
11300 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11301 (_nss_nisplus_getservbyport_r): Likewise.
11302 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11303 (_nss_nisplus_getspnam_r): Likewise.
11304 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11306 * nscd/aicache.c (addhstaiX): Likewise.
11307 * nscd/cache.c (cache_search, prune_cache): Likewise.
11308 * nscd/connections.c (register_traced_file, send_ro_fd)
11309 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11310 (main_loop_epoll): Likewise.
11311 * nscd/grpcache.c (addgrbyX): Likewise.
11312 * nscd/hstcache.c (addhstbyX): Likewise.
11313 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11314 * nscd/mem.c (gc, mempool_alloc): Likewise.
11315 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11316 (addinnetgrX): Likewise.
11317 * nscd/nscd-client.h (__nscd_acquire_maplock)
11318 (__nscd_drop_map_ref): Likewise.
11319 * nscd/nscd_getai.c (__nscd_getai): Likewise.
11320 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11321 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11323 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11324 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11325 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11326 (__nscd_get_map_ref): Likewise.
11327 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11328 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11330 * nscd/pwdcache.c (addpwbyX): Likewise.
11331 * nscd/selinux.c (preserve_capabilities): Likewise.
11332 * nscd/servicescache.c (addservbyX): Likewise.
11333 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11334 * posix/fnmatch.c (fnmatch): Likewise.
11335 * posix/getopt.c (_getopt_internal_r): Likewise.
11336 * posix/glob.c (glob, glob_in_dir): Likewise.
11337 * posix/wordexp.c (exec_comm_child): Likewise.
11338 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11339 (getanswer_r, gaih_getanswer_slice): Likewise.
11340 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11341 * resolv/res_init.c: Likewise.
11342 * resolv/res_mkquery.c (res_nmkquery): Likewise.
11343 * resolv/res_query.c (__libc_res_nquery): Likewise.
11344 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11346 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11347 * stdio-common/perror.c (perror): Likewise.
11348 * stdio-common/printf_fp.c (___printf_fp): Likewise.
11349 * stdio-common/tmpnam.c (tmpnam): Likewise.
11350 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11351 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11352 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11354 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11355 * stdlib/putenv.c (putenv): Likewise.
11356 * stdlib/setenv.c (__add_to_environ): Likewise.
11357 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11358 * stdlib/strtol_l.c (INTERNAL): Likewise.
11359 * string/memmem.c (memmem): Likewise.
11360 * string/strerror.c (strerror): Likewise.
11361 * string/strnlen.c (__strnlen): Likewise.
11362 * string/test-memmem.c (simple_memmem): Likewise.
11363 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11364 * sunrpc/pm_getport.c (__get_socket): Likewise.
11365 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11366 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11367 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11368 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11370 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11371 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11372 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11373 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11374 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11375 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11377 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11379 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11380 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11381 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11382 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11383 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11384 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11385 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11386 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11387 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11388 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11389 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11390 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11392 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11394 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11396 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11397 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11398 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11399 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11400 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11401 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11402 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11403 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11404 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11405 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11406 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11407 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11408 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11409 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11410 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11411 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11413 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11415 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11417 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11419 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11420 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11421 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11423 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11424 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11425 * sysdeps/posix/opendir.c (__opendirat): Likewise.
11426 * sysdeps/posix/sleep.c: Likewise.
11427 * sysdeps/posix/tempname.c: Likewise.
11428 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11429 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11431 * sysdeps/powerpc/powerpc32/dl-machine.h
11432 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11433 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11434 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11435 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11436 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11438 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11439 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11440 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11441 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11442 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11443 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11444 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11445 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11446 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11447 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11448 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11449 (elf_machine_lazy_rel): Likewise.
11450 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11451 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11452 (elf_machine_lazy_rel): Likewise.
11453 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11454 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11455 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11456 * sysdeps/unix/grantpt.c (grantpt): Likewise.
11457 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11458 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11459 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11460 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11462 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11463 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11464 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11465 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11466 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11467 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11468 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11469 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11470 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11471 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11472 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11474 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11475 (__posix_fallocate64_l64): Likewise.
11476 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11477 (posix_fallocate): Likewise.
11478 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11480 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11481 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11482 (getifaddrs_internal): Likewise.
11483 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11484 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11485 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11486 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11487 * sysdeps/unix/sysv/linux/posix_fallocate64.c
11488 (__posix_fallocate64_l64): Likewise.
11489 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11491 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11492 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11493 (__get_clockfreq): Likewise.
11494 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11495 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11496 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11497 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11498 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11499 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11500 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11501 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11503 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11504 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11505 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11506 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11507 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11508 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11509 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11511 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11512 (posix_fallocate): Likewise.
11513 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11514 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11515 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11516 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11517 (elf_machine_rela, elf_machine_rela_relative)
11518 (elf_machine_lazy_rel): Likewise.
11519 * time/asctime.c (asctime_internal): Likewise.
11520 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11521 * time/tzset.c (__tzset_parse_tz): Likewise.
11522 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11523 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11524 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11525 * wcsmbs/wcsmbsload.h: Likewise.
11528 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11530 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11531 (arena_get2): Remove THREAD_STATS conditionals.
11532 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11533 (__malloc_stats, int): Likewise.
11535 2014-02-08 Mike Frysinger <vapier@gentoo.org>
11537 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11538 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
11540 * manual/setjmp.texi: Fix typos/grammar errors.
11542 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11543 Only return early when n is <= 0. Delete unused return statement.
11545 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11546 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11547 * debug/tst-longjmp_chk3.c: New file.
11549 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11550 (test_main): Replace code with set_fortify_handler call.
11551 * debug/test-strcpy_chk.c: Likewise.
11552 * debug/tst-chk1.c: Likewise.
11553 * debug/tst-longjmp_chk.c: Likewise.
11554 * test-skeleton.c: Include fcntl.h & paths.h
11555 (set_fortify_handler): Define.
11557 * debug/tst-longjmp_chk.c: Add header comment and include
11558 ../test-skeleton.c.
11559 (do_test): Mark static.
11560 (TEST_FUNCTION): Define.
11562 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11563 (IP_PMTUDISC_INTERFACE): Likewise.
11564 (IP_MULTICAST_IF): Likewise.
11565 (IP_MULTICAST_TTL): Likewise.
11566 (IP_MULTICAST_LOOP): Likewise.
11567 (IP_ADD_MEMBERSHIP): Likewise.
11568 (IP_DROP_MEMBERSHIP): Likewise.
11569 (IP_UNBLOCK_SOURCE): Likewise.
11570 (IP_BLOCK_SOURCE): Likewise.
11571 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11572 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11573 (IP_MSFILTER): Likewise.
11574 (MCAST_JOIN_GROUP): Likewise.
11575 (MCAST_BLOCK_SOURCE): Likewise.
11576 (MCAST_UNBLOCK_SOURCE): Likewise.
11577 (MCAST_LEAVE_GROUP): Likewise.
11578 (MCAST_JOIN_SOURCE_GROUP): Likewise.
11579 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11580 (MCAST_MSFILTER): Likewise.
11581 (IP_MULTICAST_ALL): Likewise.
11582 (IP_UNICAST_IF): Likewise.
11584 * timezone/Makefile: Delete $(have-ksh) check.
11585 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11586 * timezone/tzselect.ksh: Add +x mode bits.
11588 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11589 (ANON_INODE_FS_MAGIC): Likewise.
11590 (BDEVFS_MAGIC): Likewise.
11591 (BINFMTFS_MAGIC): Likewise.
11592 (BTRFS_TEST_MAGIC): Likewise.
11593 (CRAMFS_MAGIC_WEND): Likewise.
11594 (DEBUGFS_MAGIC): Likewise.
11595 (ECRYPTFS_SUPER_MAGIC): Likewise.
11596 (EXT3_SUPER_MAGIC): Likewise.
11597 (EXT4_SUPER_MAGIC): Likewise.
11598 (FUTEXFS_SUPER_MAGIC): Likewise.
11599 (HOSTFS_SUPER_MAGIC): Likewise.
11600 (HUGETLBFS_MAGIC): Likewise.
11601 (MINIX3_SUPER_MAGIC): Likewise.
11602 (MTD_INODE_FS_MAGIC): Likewise.
11603 (NILFS_SUPER_MAGIC): Likewise.
11604 (OPENPROM_SUPER_MAGIC): Likewise.
11605 (PIPEFS_MAGIC): Likewise.
11606 (PSTOREFS_MAGIC): Likewise.
11607 (QNX6_SUPER_MAGIC): Likewise.
11608 (RAMFS_MAGIC): Likewise.
11609 (REISERFS_SUPER_MAGIC_STRING): Likewise.
11610 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11611 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11612 (SECURITYFS_MAGIC): Likewise.
11613 (SELINUX_MAGIC): Likewise.
11614 (SMACK_MAGIC): Likewise.
11615 (SOCKFS_MAGIC): Likewise.
11616 (SQUASHFS_MAGIC): Likewise.
11617 (STACK_END_MAGIC): Likewise.
11618 (TMPFS_MAGIC): Likewise.
11619 (USBDEVICE_SUPER_MAGIC): Likewise.
11620 (V9FS_MAGIC): Likewise.
11621 (XENFS_SUPER_MAGIC): Likewise.
11622 (CRAMFS_MAGIC): Fix typo in comment.
11623 (EXT2_SUPER_MAGIC): Update comment.
11624 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11626 2014-02-08 Joseph Myers <joseph@codesourcery.com>
11628 * sysdeps/arm: Move directory from ports/sysdeps/arm.
11629 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11630 * sysdeps/unix/sysv/linux/arm: Move directory from
11631 ports/sysdeps/unix/sysv/linux/arm.
11632 * README: Update listing for arm-*-linux-gnueabi.
11634 * README: Remove mention of am33.
11636 2014-02-07 Roland McGrath <roland@hack.frob.com>
11638 * bits/sigset.h (__sigemptyset): Use a statement expression rather
11639 than the comma operator, to avoid "rhs of comma has no effect"
11641 (__sigfillset, __sigandset, __sigorset): Likewise.
11642 * include/signal.h (__sigemptyset): Likewise.
11643 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11645 2014-02-07 Allan McRae <allan@archlinux.org>
11647 * version.h (RELEASE): Set to "development".
11648 (VERSION): Set to "2.19.90"
11649 * NEWS: Add 2.20 section.
11651 2014-02-06 Carlos O'Donell <carlos@redhat.com>
11654 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11656 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11658 * manual/contrib.texi: Update entry for Carlos O'Donell,
11659 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11661 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
11663 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11665 * sysdeps/unix/sysv/linux/kernel-features.h
11666 [__LINUX_KERNEL_VERSION >= 0x020621]
11667 (__ASSUME_PROC_PID_TASK_COMM): Define.
11669 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11672 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11673 conversion when destination buffer does not have enough space.
11674 * libio/tst-ftell-partial-wide.c: New test case.
11675 * libio/Makefile (tests): Add tst-ftell-partial-wide.
11677 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11678 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
11679 Leonard and Allan McRae.
11681 2014-02-04 David S. Miller <davem@davemloft.net>
11683 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11686 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11715 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11717 * nptl/shlib-versions: Change powerpc*le start to 2.17.
11718 * shlib-versions: Likewise.
11720 2014-02-04 Roland McGrath <roland@hack.frob.com>
11721 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11723 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11724 (abilist-pattern): New variable, set to %-le.abilist.
11726 * Makerules (abilist-pattern): New variable.
11727 (vpath): Use $(abilist-pattern) in place of %.abilist.
11728 (check-abi-% pattern rule): Likewise.
11729 (check-abi, update-abi): Likewise.
11731 2014-02-04 Eric Wong <normalperson@yhbt.net>
11733 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11735 2014-02-03 Carlos O'Donell <carlos@redhat.com>
11737 * manual/startup.texi: Add next, previous, and top entries for
11738 the `Program Arguments' and `Environment Variables' nodes.
11740 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
11742 * manual/macros.texi: Add comments before MTASC-safety macros.
11744 * manual/users.texi: Document MTASC-safety properties.
11746 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11747 (pthread_getspecific, pthread_setspecific): Format with
11748 @deftypefun, and add @safety note.
11749 * manual/signal.texi: Move comments that analyze the above
11750 functions to their home place.
11752 2014-02-03 Allan McRae <allan@archlinux.org>
11754 * po/sl.po: Update Slovenian translation from translation project.
11756 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
11758 * manual/time.texi (timegm): Add missing blank after @c.
11759 Reported by Joseph Myers <joseph@codesourcery.com>.
11761 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
11763 * manual/check-safety.sh: New.
11764 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11766 * manual/terminal.texi: Document MTASC-safety properties.
11768 * manual/filesys.texi: Document MTASC-safety properties.
11770 * manual/errno.texi: Document MTASC-safety properties.
11772 * manual/intro.texi: Document safety identifiers and
11775 * manual/string.texi (wcstok): Fix prototype.
11776 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11778 * manual/time.texi: Document MTASC-safety properties.
11780 * manual/string.texi: Document MTASC-safety properties.
11782 * manual/threads.texi: Document MTASC-safety properties.
11784 * manual/stdio.texi: Document MTASC-safety properties.
11786 * manual/syslog.texi: Document MTASC-safety properties.
11788 * manual/sysinfo.texi: Document MTASC-safety properties.
11790 * manual/startup.texi: Document MTASC-safety properties.
11792 * manual/socket.texi: Document MTASC-safety properties.
11794 * manual/signal.texi: Document MTASC-safety properties.
11796 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
11798 * manual/setjmp.texi: Document MTASC-safety properties.
11800 * manual/search.texi: Document MTASC-safety properties.
11802 * manual/resource.texi: Document MTASC-safety properties.
11804 * manual/process.texi: Document MTASC-safety properties.
11806 * manual/platform.texi: Document MTASC-safety properties.
11808 * manual/pipe.texi: Document MTASC-safety properties.
11810 * manual/pattern.texi: Document MTASC-safety properties.
11812 * manual/message.texi: Document MTASC-safety properties.
11815 * manual/memory.texi: Document MTASC-safety properties.
11817 * manual/math.texi: Document MTASC-safety properties.
11819 * manual/locale.texi: Document MTASC-safety properties.
11821 * manual/llio.texi: Document MTASC-safety properties.
11823 * manual/libdl.texi: New.
11825 * manual/lang.texi: Document MTASC-safety properties.
11827 * manual/job.texi: Document MTASC-safety properties.
11829 * manual/getopt.texi: Document MTASC-safety properties.
11831 * manual/ctype.texi: Document MTASC-safety properties.
11833 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
11836 * csu/libc-tls.c (static_map): Remove variable.
11837 (__libc_setup_tls): Use main executable's link map for TLS data.
11838 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11839 casing for LM_ID_BASE and GL(dl_nns).
11840 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11841 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
11842 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11843 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11844 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11846 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11849 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
11851 * manual/debug.texi: Document MTASC-safety properties.
11853 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
11856 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11857 of __x86_64__ when disabling x87 inline functions.
11859 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
11861 * manual/charset.texi: Document MTASC-safety properties.
11863 * manual/crypt.texi: Document MTASC-safety properties.
11865 * manual/conf.texi: Document MTASC-safety properties.
11867 * manual/arith.texi: Document MTASC-safety properties.
11869 * manual/argp.texi: Document MTASC-safety properties.
11871 * manual/macros.texi: Introduce macros to document multi
11872 thread, asynchronous signal and asynchronous cancellation
11874 * manual/intro.texi: Introduce the properties themselves.
11876 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11878 * sysdeps/sh/sh4/Makefile: New file.
11880 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
11882 * math/gen-libm-test.pl ($srcdir): New variable.
11883 ($auto_input): Use it.
11885 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11888 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11889 access beyond array bounds when parsing netgroups file.
11891 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11892 the old buffer before realloc.
11894 2014-01-27 Allan McRae <allan@archlinux.org>
11896 * po/fr.po: Update French translation from translation project.
11898 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11900 * sysdeps/sh/libm-test-ulps: Regenerate.
11902 2014-01-24 David S. Miller <davem@davemloft.net>
11904 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11906 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11908 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11909 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11911 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11914 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11915 string pointers after reallocation.
11917 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11919 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11920 __SH4A__ instead of __SH_FPU_ANY__.
11922 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11924 * sysdeps/sh/fpu_control.h: New file.
11925 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11926 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11927 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11928 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11929 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11930 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11931 * sysdeps/sh/sys/ucontext.h: Remove.
11932 * sysdeps/sh/sys: Remove directory.
11934 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11936 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11937 s390/sys/ucontext.h.
11938 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11939 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11941 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11944 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11946 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11949 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11950 Adjust the vDSO correctly for internal calls.
11951 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11953 2014-01-20 Allan McRae <allan@archlinux.org>
11955 * po/ca.po: Update Catalan translation from translation project.
11957 2014-01-16 Mike Frysinger <vapier@gentoo.org>
11959 * sysdeps/s390/sotruss-lib.c: New file.
11961 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11964 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11965 (__GI___gettimeofday): Alias for a different internal symbol to avoid
11966 local calls issues by not having a PLT stub required for IFUNC calls.
11967 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11969 2014-01-16 Joseph Myers <joseph@codesourcery.com>
11971 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11972 * math/test-fpucw-static.c: Likewise.
11974 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11977 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11979 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11981 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11982 implementation for powerpc.
11984 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
11987 * sysdeps/posix/system.c (__libc_system): Do not enable
11988 asynchronous cancellation.
11990 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11993 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11994 handling only for numbers special also in the IEEE case.
11996 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11998 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12000 2014-01-11 Allan McRae <allan@archlinux.org>
12002 * po/bg.po: Update Bulgarian translation from translation project.
12004 * po/de.po: Update German translation from translation project.
12006 2014-01-10 Roland McGrath <roland@hack.frob.com>
12008 * sysdeps/generic/gcc-compat.h: New file.
12010 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12012 * benchtests/asin-inputs: Correct slow inputs.
12013 * benchtests/acos-inputs: Likewise.
12015 2014-01-10 Allan McRae <allan@archlinux.org>
12017 * po:sv.po: Update Swedish translation from translation project.
12019 * po/vi.po: Update Vietnamese translation from translation project.
12021 * po/eo.po: Update Esperanto translation from translation project.
12023 * po/cs.po: Update Czech translation from translation project.
12025 * po/nl.po: Update Dutch translation from translation project.
12027 * po/pl.po: Update Polish translation from translation project.
12029 * po/ru.po: Update Russian translation from translation project.
12031 * po/uk.po: Update Ukrainian translation from translation project.
12033 2014-01-08 Brooks Moses <bmoses@google.com>
12035 * elf/dl-load.c: Fix comment typo.
12037 2014-01-08 Carlos O'Donell <carlos@redhat.com>
12039 * po/header.pot: Rename to...
12040 * po/pot.header: ... this.
12041 * po/Makefile: Use pot.header.
12043 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
12044 Maxim Kuvyrkov <maxim@kugelworks.com>
12047 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12048 SRC and DEST against LEN.
12050 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12053 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12055 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12057 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12061 2014-01-08 Joseph Myers <joseph@codesourcery.com>
12064 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12065 for large positive arguments.
12067 2014-01-07 Joseph Myers <joseph@codesourcery.com>
12069 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12071 * math/auto-libm-test-in: Mark various tests with
12072 xfail-rounding:ldbl-128ibm.
12073 * math/auto-libm-test-out: Regenerated.
12076 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12077 Increase overflow threshold.
12079 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
12082 * stdio-common/vfprintf.c: Check for integer overflow.
12084 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12086 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12087 the first argument and return value of __tls_get_addr_internal.
12089 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12091 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12092 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12094 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12096 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12097 * sysdeps/s390/rtld-global-offsets.sym: New file.
12098 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12100 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12101 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12102 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12104 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12105 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12111 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12112 halfs of GPRs for high_gprs contexts.
12113 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12114 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
12116 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12118 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12120 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12121 for high GPRs (uc_high_gprs) and for future extensions
12123 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12124 for future extensions (__reserved).
12125 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12127 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12128 SC_HIGHGPRS offset definition.
12129 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12130 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12132 * Versions.def: Add GLIBC_2.19 for libpthread.
12133 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12134 siglongjmp for libpthread with GLIBC_2.19 symver.
12135 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12136 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12137 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12138 * sysdeps/s390/__longjmp.c: New file.
12139 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12140 * sysdeps/s390/longjmp.c: New file.
12141 * sysdeps/s390/setjmp.S: New file.
12142 * sysdeps/s390/sigjmp.S: New file.
12143 * sysdeps/s390/v1-longjmp.c: New file.
12144 * sysdeps/s390/v1-setjmp.h: New file.
12145 * sysdeps/s390/v1-sigjmp.c: New file.
12146 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12147 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12148 GLIBC_2.19 version.
12149 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12150 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12151 versioned symbols for ____longjmp_chk.
12152 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12162 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12163 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12164 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12165 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12166 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12167 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12168 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12169 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12170 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12171 * sysdeps/s390/rtld-__longjmp.c: New file.
12172 * sysdeps/s390/rtld-setjmp.S: New file.
12174 2014-01-06 Joseph Myers <joseph@codesourcery.com>
12177 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12178 Return -__logl (x) for small positive arguments without evaluating
12181 2014-01-06 Mike Frysinger <vapier@gentoo.org>
12183 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12185 (__ptrace_peeksiginfo_args): ... this.
12186 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12187 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12188 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12190 2014-01-06 Allan McRae <allan@archlinux.org>
12192 * inet/netinet/in.h: Fix typo in comment.
12194 2014-01-05 Andreas Jaeger <aj@suse.de>
12196 * sysdeps/i386/fpu/libm-test-ulps: Update.
12198 2014-01-05 Allan McRae <allan@archlinux.org>
12200 * po/libc.pot: Regenerated.
12202 * malloc/memusagestat.c: Fix gettext call formatting.
12204 2014-01-04 Sami Kerola <kerolasa@iki.fi>
12206 * nscd/nscd.c: Improve usage() output.
12208 2014-01-04 Mike Frysinger <vapier@gentoo.org>
12210 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12211 * sysdeps/unix/sysv/linux/configure: Regenerated.
12212 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12213 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12215 2014-01-03 Joseph Myers <joseph@codesourcery.com>
12218 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12219 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12221 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12223 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12224 extra tokens at end of #undef directive.
12225 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12226 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12227 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12229 2014-01-03 Joseph Myers <joseph@codesourcery.com>
12231 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12233 * math/auto-libm-test-in: Mark various tests with
12234 xfail-rounding:ldbl-128ibm.
12235 * math/auto-libm-test-out: Regenerated.
12237 2014-01-02 Joseph Myers <joseph@codesourcery.com>
12240 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12241 numbers with subnormal high part when calculating exponent.
12244 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12248 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12250 (__ieee754_acoshl): Use __log1pl not __log1p.
12252 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
12254 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12255 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12256 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12257 (grow_heap, heap_trim, _int_new_arena, get_free_list)
12258 (reused_arena, arena_get2): Convert to GNU style.
12259 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12260 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12261 (memalign_check, __malloc_set_state): Likewise.
12262 * malloc/mallocbug.c (main): Likewise.
12263 * malloc/malloc.c (__malloc_assert, malloc_init_state)
12264 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12265 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12266 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12267 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12268 (__posix_memalign, malloc_info): Likewise.
12269 * malloc/malloc.h: Likewise.
12270 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12271 (mallochook, memalignhook, reallochook, mabort): Likewise.
12272 * malloc/mcheck.h: Likewise.
12273 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12274 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12275 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12276 * malloc/morecore.c (__default_morecore): Likewise.
12277 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12278 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12279 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12280 (print_and_abort): Likewise.
12281 * malloc/obstack.h: Likewise.
12282 * malloc/set-freeres.c (__libc_freeres): Likewise.
12283 * malloc/tst-mallocstate.c (main): Likewise.
12284 * malloc/tst-mtrace.c (main): Likewise.
12285 * malloc/tst-realloc.c (do_test): Likewise.
12287 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12290 * nscd/netgroupcache.c (do_notfound): New function.
12291 (addgetnetgrentX): Use it.
12294 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12295 NSS_STATUS_NOTFOUND.
12297 2014-01-01 Joseph Myers <joseph@codesourcery.com>
12299 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12302 2014-01-01 Allan McRae <allan@archlinux.org>
12304 * scripts/update-copyrights: Update configure input file suffix.
12306 * NEWS: Update copyright year.
12307 * catgets/gencat.c: Likewise.
12308 * csu/version.c: Likewise.
12309 * debug/catchsegv.sh: Likewise.
12310 * debug/pcprofiledump.c: Likewise.
12311 * debug/xtrace.sh: Likewise.
12312 * elf/ldconfig.c: Likewise.
12313 * elf/ldd.bash.in: Likewise.
12314 * elf/pldd.c: Likewise.
12315 * elf/sotruss.ksh: Likewise.
12316 * elf/sprof.c: Likewise.
12317 * iconv/iconv_prog.c: Likewise.
12318 * iconv/iconvconfig.c: Likewise.
12319 * locale/programs/locale.c: Likewise.
12320 * locale/programs/localedef.c: Likewise.
12321 * login/programs/pt_chown.c: Likewise.
12322 * malloc/memusage.sh: Likewise.
12323 * malloc/memusagestat.c: Likewise.
12324 * malloc/mtrace.pl: Likewise.
12325 * manual/libc.texinfo: Likewise.
12326 * nscd/nscd.c: Likewise.
12327 * nss/getent.c: Likewise.
12328 * nss/makedb.c: Likewise.
12329 * posix/getconf.c: Likewise.
12330 * scripts/test-installation.pl: Likewise.
12332 * All files with FSF copyright notices: Update copyright dates
12333 using scripts/update-copyrights.
12334 * intl/plural.c: Regenerated.
12335 * locale/programs/charmap-kw.h: Likewise.
12336 * locale/programs/locfile-kw.h: Likewise.
12338 2013-12-31 Mike Frysinger <vapier@gentoo.org>
12340 * sysdeps/unix/sysv/linux/configure: Regenerated.
12341 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12342 the linux/fanotify.h header.
12343 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12344 HAVE_LINUX_FANOTIFY_H is defined.
12346 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12348 * benchtests/cos-inputs: New inputs.
12349 * benchtests/sin-inputs: Likewise.
12351 * benchtests/atan-inputs: New inputs. Fix name of multiple
12352 precision fallback inputs.
12354 * benchtests/atanh-inputs: New inputs.
12355 * benchtests/tanh-inputs: Likewise.
12357 * benchtests/acosh-inputs: New inputs.
12358 * benchtests/asinh-inputs: Likewise.
12360 * benchtests/cosh-inputs: New inputs.
12361 * benchtests/sinh-inputs: Likewise.
12363 * benchtests/acos-inputs: Add more inputs.
12364 * benchtests/asin-inputs: Likewise.
12366 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
12369 * manual/arith.texi: Fix spelling.
12370 * manual/charset.texi: Likewise.
12371 * manual/errno.texi: Likewise.
12372 * manual/filesys.texi: Likewise.
12373 * manual/lang.texi: Likewise.
12374 * manual/llio.texi: Likewise.
12375 * manual/locale.texi: Likewise.
12376 * manual/message.texi: Likewise.
12377 * manual/resource.texi: Likewise.
12378 * manual/search.texi: Likewise.
12379 * manual/setjmp.texi: Likewise.
12380 * manual/stdio.texi: Likewise.
12381 * manual/string.texi: Likewise.
12382 * manual/sysinfo.texi: Likewise.
12383 * manual/time.texi: Likewise.
12385 2013-12-27 Carlos O'Donell <carlos@redhat.com>
12387 * po/sl.po: New file.
12389 2013-12-27 Mike Frysinger <vapier@gentoo.org>
12391 * .gitignore: Add core/.gdbinit/.gdb_history.
12393 2013-12-27 Allan McRae <allan@archlinux.org>
12396 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12397 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12399 2013-12-24 Brooks Moses <bmoses@google.com>
12401 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12402 all compilers that claim C++98 compliance, not just GCC.
12403 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12406 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12408 * NEWS: Restore accidentally deleted bug-fix entries.
12410 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12411 Ondřej Bílka <neleai@seznam.cz>
12414 * malloc/malloc.c (_int_free): Perform sanity check only if we
12417 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
12420 * manual/stdio.texi (String Input Conversions): Clarify that character
12421 classes are not supported.
12423 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12425 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12427 2013-12-22 Joseph Myers <joseph@codesourcery.com>
12430 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12431 Calculate results for small negative arguments directly rather
12432 than using reflection formula with special underflow handling.
12434 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12435 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12436 sysdeps/unix/bsd/bsd4.4/syscalls.list.
12437 (fchflags): Likewise.
12438 (revoke): Likewise.
12439 (setlogin): Likewise.
12440 (sigaltstack): Likewise.
12442 (sigblock): Remove.
12443 (sigsetmask): Likewise.
12445 (waitpid): Likewise.
12446 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12447 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12449 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12450 * sysdeps/unix/bsd/Makefile: ... here.
12451 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12452 * sysdeps/unix/bsd/Versions: ... here.
12453 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12454 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12455 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12456 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12457 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12458 * sysdeps/unix/bsd/sigblock.c: ... here.
12459 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12460 * sysdeps/unix/bsd/sigsetmask.c: ... here.
12461 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12462 * sysdeps/unix/bsd/sigvec.c: ... here.
12463 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12464 * sysdeps/unix/bsd/tcdrain.c: ... here.
12465 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12466 * sysdeps/unix/bsd/tcgetattr.c: ... here.
12467 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12468 * sysdeps/unix/bsd/tcsetattr.c: ... here.
12469 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12470 * sysdeps/unix/bsd/wait.c: ... here.
12471 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12472 * sysdeps/unix/bsd/wait3.c: ... here.
12473 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12474 * sysdeps/unix/bsd/waitpid.c: ... here.
12476 2013-12-21 Joseph Myers <joseph@codesourcery.com>
12479 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12480 round-to-nearest for [!USE_AS_EXPM1L].
12481 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12482 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
12483 more tests of exp and exp10. Expect some exp10 tests to miss
12484 exceptions or fail in directed rounding modes.
12485 * math/auto-libm-test-out: Regenerated.
12486 * math/libm-test.inc (exp10_tonearest_test_data): New array.
12487 (exp10_test_tonearest): New function.
12488 (exp10_towardzero_test_data): New array.
12489 (exp10_test_towardzero): New function.
12490 (exp10_downward_test_data): New array.
12491 (exp10_test_downward): New function.
12492 (exp10_upward_test_data): New array.
12493 (exp10_test_upward): New function.
12494 (main): Call the new functions.
12495 * sysdeps/i386/fpu/libm-test-ulps: Update.
12496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12498 2013-12-20 Joseph Myers <joseph@codesourcery.com>
12500 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12501 asinh, atan, atan2, atanh, cbrt, cos and cosh.
12502 * math/auto-libm-test-out: Regenerated.
12503 * math/libm-test.inc (acosh_test_data): Add more tests.
12504 (atanh_test_data): Likewise.
12505 (ceil_test_data): Likewise.
12506 (copysign_test_data): Likewise.
12507 * sysdeps/i386/fpu/libm-test-ulps: Update.
12508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12510 * timezone/checktab.awk: Update from tzcode 2013i.
12511 * timezone/private.h: Likewise.
12512 * timezone/scheck.c: Likewise.
12513 * timezone/tzfile.h: Likewise.
12514 * timezone/tzselect.ksh: Likewise.
12515 * timezone/zdump.c: Likewise.
12516 * timezone/zic.c: Likewise.
12518 * math/auto-libm-test-in: Add tests of cpow.
12519 * math/auto-libm-test-out: Regenerated.
12520 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12521 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12523 (func_calc_desc): Add mpc_cc_c union field.
12524 (test_functions): Add cpow.
12525 (special_fill_2pi): New function.
12526 (special_real_inputs): Add 2pi.
12527 (calc_generic_results): Handle mpc_cc_c.
12528 * sysdeps/i386/fpu/libm-test-ulps: Update.
12529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12531 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12532 csqrt, ctan and ctanh.
12533 * math/auto-libm-test-out: Regenerated.
12534 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12535 (TEST_COND_x86): Likewise.
12536 (ccos_test_data): Use AUTO_TESTS_c_c.
12537 (ccosh_test_data): Likewise.
12538 (cexp_test_data): Likewise.
12539 (clog_test_data): Likewise.
12540 (csqrt_test_data): Likewise.
12541 (ctan_test_data): Likewise.
12542 (ctan_tonearest_test_data): Likewise.
12543 (ctan_towardzero_test_data): Likewise.
12544 (ctan_downward_test_data): Likewise.
12545 (ctan_upward_test_data): Likewise.
12546 (ctanh_test_data): Likewise.
12547 (ctanh_tonearest_test_data): Likewise.
12548 (ctanh_towardzero_test_data): Likewise.
12549 (ctanh_downward_test_data): Likewise.
12550 (ctanh_upward_test_data): Likewise.
12551 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12553 (func_calc_desc): Add mpc_c_c union field.
12554 (FUNC_mpc_c_c): New macro.
12555 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12556 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12558 (special_fill_min_subnorm_p120): New function.
12559 (special_real_inputs): Add min_subnorm_p120.
12560 (calc_generic_results): Handle mpc_c_c.
12561 * sysdeps/i386/fpu/libm-test-ulps: Update.
12562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12564 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12566 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12567 (do_sin_slow): New functions.
12568 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12569 (cslow2, csloww1, csloww2): Use the new functions.
12571 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12572 Use M to change sign of result instead of X. Assume X is
12574 (csloww1): Likewise.
12578 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12579 arguments A and DA.
12583 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12585 (sloww1): Don't adjust sign of DX.
12586 (csloww1): Likewise.
12587 (sloww2): Use X directly and don't adjust sign of DX.
12588 (csloww2): Likewise.
12590 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12592 * math/auto-libm-test-in: Add tests of cabs and carg.
12593 * math/auto-libm-test-out: Regenerated.
12594 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12595 (carg_test_data): Likewise.
12596 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12598 (func_calc_desc): Add mpc_c_f union field.
12599 (test_functions): Add cabs and carg.
12600 (calc_generic_results): Handle mpc_c_f.
12602 * sysdeps/powerpc/powerpc32/libgcc-compat.S
12603 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12604 as a macro and a compat symbol.
12605 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12606 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12607 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12608 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12609 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12610 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12612 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12614 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12616 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12618 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12620 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12622 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12623 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12626 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12630 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12632 * manual/texinfo.tex: Update to version 2013-11-26.10 with
12633 trailing whitespace removed.
12634 * scripts/config.guess: Update to version 2013-11-29.
12635 * scripts/config.sub: Update to version 2013-10-01.
12637 * math/auto-libm-test-in: Add tests of sincos.
12638 * math/auto-libm-test-out: Regenerated.
12639 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12640 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12642 (func_calc_desc): Add mpfr_f_11 union field.
12643 (test_functions): Add sincos.
12644 (calc_generic_results): Handle mpfr_f_11.
12645 * sysdeps/i386/fpu/libm-test-ulps: Update.
12646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12648 2013-12-19 Andreas Schwab <schwab@suse.de>
12650 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12652 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12653 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12654 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12656 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12658 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12659 * sysdeps/i386/fpu/libm-test-ulps: Update.
12660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12663 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12664 round-to-nearest mode when using frndint.
12665 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12666 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12667 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12669 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
12671 * math/auto-libm-test-out: Regenerated.
12672 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12673 (TEST_COND_x86): Likewise.
12674 (expm1_tonearest_test_data): New array.
12675 (expm1_test_tonearest): New function.
12676 (expm1_towardzero_test_data): New array.
12677 (expm1_test_towardzero): New function.
12678 (expm1_downward_test_data): New array.
12679 (expm1_test_downward): New function.
12680 (expm1_upward_test_data): New array.
12681 (expm1_test_upward): New function.
12682 (main): Run the new test functions.
12683 * sysdeps/i386/fpu/libm-test-ulps: Update.
12684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12686 * include/features.h: Update comment documenting feature test
12687 macros. Mention _DEFAULT_SOURCE in comment.
12688 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12689 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12690 _BSD_SOURCE and _SVID_SOURCE.
12691 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12692 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12693 !_SVID_SOURCE]: Likewise.
12694 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12695 (__USE_POSIX_IMPLICITLY): Define.
12696 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12697 (_POSIX_SOURCE): Undefine and redefine.
12698 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12699 (_POSIX_C_SOURCE): Likewise.
12700 * manual/creature.texi (_DEFAULT_SOURCE): Document.
12701 (Feature Test Macros): Update documentation of default features.
12703 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12705 * benchtests/Makefile: Add bench-strtok.
12706 * benchtests/bench-strtok.c: New file: strtok benchtest.
12708 2013-12-19 Allan McRae <allan@archlinux.org>
12710 * manual/install.texi: Suppress menu for plain text output.
12711 * INSTALL: Regenerated.
12713 2013-12-18 Brooks Moses <bmoses@google.com>
12716 * misc/getauxval.c: Include errno.h.
12717 (__getauxval): Set errno to ENOENT if the requested type is not
12719 * misc/sys/auxv.h (getauxval): Document that it may set errno;
12720 don't declare with __attribute_const__.
12721 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12722 * manual/startup.texi: Document that getauxval sets errno.
12724 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12726 * math/auto-libm-test-in: Add tests of jn and yn.
12727 * math/auto-libm-test-out: Regenerated.
12728 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12729 (yn_test_data): Likewise.
12730 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12732 (func_calc_desc): Add mpfr_if_f union field.
12733 (FUNC_mpfr_if_f): New macro.
12734 (test_functions): Add jn and yn.
12735 (calc_generic_results): Assert type of second input for
12736 mpfr_ff_f. Handle mpfr_if_f.
12737 (output_for_one_input_case): Disable all checking for arguments
12738 fitting floating-point types in case of an integer argument.
12739 * sysdeps/i386/fpu/libm-test-ulps: Update.
12740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12743 Don't expect fegetround reference in libm.so.
12745 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12747 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12748 $(config-cflags-nofma).
12750 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12752 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12753 * math/auto-libm-test-out: Regenerated.
12756 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12757 to determine exponent and adjust argument to have exponent of -1.
12758 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12760 * math/auto-libm-test-out: Regenerated.
12761 * sysdeps/i386/fpu/libm-test-ulps: Update.
12762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12764 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
12766 * manual/probes.texi: Remove cases when per-thread arenas are
12769 2013-12-18 Andreas Schwab <schwab@suse.de>
12771 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12772 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12773 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12774 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12775 * sysdeps/i386/i686/multiarch/Makefile: Update.
12776 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12778 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12780 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12781 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12783 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
12786 Support TZ transition times < 00:00:00.
12787 This is needed for version-3 tz-format files; it supports time
12788 stamps past 2037 for America/Godthab (the only entry in the tz
12789 database for which this change is relevant).
12790 * manual/time.texi (TZ Variable): Document transition times
12791 from -167:59:59 through -00:00:01.
12792 * time/tzset.c (tz_rule): Time of day is now signed.
12793 (__tzset_parse_tz): Parse negative time of day.
12795 Document TZ transition times >= 25:00:00.
12796 * manual/time.texi (TZ Variable): Document transition times from
12797 25:00:00 through 167:59:59. These are already supported, and this
12798 support will help with version-3 tz-format files.
12800 * manual/time.texi (TZ Variable): Modernize North America example
12801 to reflect current (i.e., 2007-and-later) daylight saving rules.
12803 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12805 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12807 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12808 * sysdeps/unix/bsd/bits/stat.h: Likewise.
12809 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12810 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12811 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12812 * sysdeps/unix/bsd/bsdstat.h: Likewise.
12813 * sysdeps/unix/bsd/clock.c: Likewise.
12814 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12815 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12816 * sysdeps/unix/bsd/init-posix.c: Likewise.
12817 * sysdeps/unix/bsd/poll.c: Likewise.
12818 * sysdeps/unix/bsd/ptsname.c: Likewise.
12819 * sysdeps/unix/bsd/seekdir.c: Likewise.
12820 * sysdeps/unix/bsd/setegid.c: Likewise.
12821 * sysdeps/unix/bsd/seteuid.c: Likewise.
12822 * sysdeps/unix/bsd/setgid.c: Likewise.
12823 * sysdeps/unix/bsd/setrgid.c: Likewise.
12824 * sysdeps/unix/bsd/setruid.c: Likewise.
12825 * sysdeps/unix/bsd/setsid.c: Likewise.
12826 * sysdeps/unix/bsd/setuid.c: Likewise.
12827 * sysdeps/unix/bsd/sigaction.c: Likewise.
12828 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12829 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12830 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12831 * sysdeps/unix/bsd/telldir.c: Likewise.
12832 * sysdeps/unix/bsd/times.c: Likewise.
12833 * sysdeps/unix/bsd/usleep.c: Likewise.
12835 * misc/Makefile (install-lib): Remove libbsd-compat.a.
12836 ($(objpfx)libbsd-compat.a): Remove rule.
12838 * include/features.h (__FAVOR_BSD): Do not define.
12839 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12840 features conflicting with POSIX.
12841 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12842 (_BSD_SOURCE): Remove description of not being a subset of other
12843 feature test macros.
12844 * manual/job.texi (getpgrp): Do not document BSD version.
12845 (getpgid): Do not document by reference to BSD getpgrp.
12846 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12847 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12848 * signal/signal.h [__FAVOR_BSD]: Likewise.
12849 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12850 instead of making contents conditional on [__FAVOR_BSD].
12851 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12853 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12857 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12860 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12861 values below 2**-450, not 2**-500.
12862 * math/auto-libm-test-in: Don't allow spurious underflow from
12864 * math/auto-libm-test-out: Regenerated.
12868 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12869 values of ha and hb and sort them after adjusting subnormal
12871 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12873 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12874 values of ea and eb and sort them after adjusting subnormal
12876 * math/auto-libm-test-in: Do not expect some hypot tests of
12877 subnormals to fail. Add more hypot tests.
12878 * math/auto-libm-test-out: Regenerated.
12880 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12883 * sysdeps/sh/s_fma.c: New file.
12884 * sysdeps/sh/s_fmaf.c: New file.
12885 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
12887 * sysdeps/sh/Implies: Add sh/soft-fp.
12889 2013-12-16 Roland McGrath <roland@hack.frob.com>
12891 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
12892 level of indirection to members `objname', `errstring', `malloced'.
12893 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12894 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
12895 it as the __longjmp argument (just pass 1 instead).
12896 (_dl_catch_error): Initialize C with argument pointers and address of
12897 volatile local ERRCODE rather than copying values out of C at return.
12899 2013-12-16 Joseph Myers <joseph@codesourcery.com>
12901 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12902 * math/auto-libm-test-out: Regenerated.
12903 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12904 (hypot_test_data): Likewise.
12905 (pow_test_data): Likewise.
12906 (pow_tonearest_test_data): Likewise.
12907 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12909 (func_calc_desc): Add mpfr_ff_f union field.
12910 (FUNC_mpfr_ff_f): New macro.
12911 (test_functions): Add atan2, hypot and pow.
12912 (special_fill_min): New function.
12913 (special_fill_minus_min): Likewise.
12914 (special_fill_min_subnorm): Likewise.
12915 (special_fill_minus_min_subnorm): Likewise.
12916 (special_real_inputs): Add min, -min, min_subnorm and
12918 (calc_generic_results): Handle mpfr_ff_f.
12919 * sysdeps/i386/fpu/libm-test-ulps: Update.
12920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12922 2013-12-16 Will Newton <will.newton@linaro.org>
12924 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12925 (Aligned Memory Blocks): Add documentation for aligned_alloc
12926 and suggest it as an alternative to posix_memalign.
12927 (Hooks for Malloc): Document __memalign_hook is also called
12928 for aligned_alloc. (Summary of Malloc): Add summary for
12929 aligned alloc. Document __memalign_hook is also called
12932 2013-12-16 Will Newton <will.newton@linaro.org>
12934 * manual/memory.texi (Malloc Examples): Clarify default
12935 alignment documentation. Suggest posix_memalign rather
12936 than memalign or valloc.
12937 (Aligned Memory Blocks): Remove suggestion to use memalign
12938 or valloc. Remove obsolete comment about BSD.
12939 Document memalign errno values and mark the function obsolete.
12940 Document posix_memalign returned error codes. Mark valloc
12941 as obsolete. (Hooks for Malloc): __memalign_hook is also
12942 called for posix_memalign and valloc.
12943 (Summary of Malloc): Add posix_memalign to function summary.
12944 __memalign_hook is also called for posix_memalign and valloc.
12946 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12948 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12952 (sloww): Use mynumber union. Expand ternary operator into
12953 if-else statements.
12954 (cslow): use mynumber union.
12956 2013-12-16 Allan McRae <allan@archlinux.org>
12958 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12959 * configure: Regenerated.
12961 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12964 * configure.ac: Added --enable-maintainer-mode. Check for
12965 autoconf when enabled.
12966 * configure: Regenerated.
12968 * nscd/nscd.service: New file.
12969 * nscd/nscd.tmpfiles: New file.
12971 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
12974 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12975 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12976 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12977 (strstr): Add __strstr_sse2_unaligned ifunc.
12978 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12979 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12980 (strcasestr): Remove __strcasestr_sse42 ifunc.
12981 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12982 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12983 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12985 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12987 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12988 * sysdeps/sh/bits/fenv.h: ... here.
12989 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12991 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12993 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12995 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12996 hypotf multiarch implementations.
12997 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12998 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12999 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13000 multiarch hypot for PPC64.
13001 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13002 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13003 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13004 multiarch hypotf for PPC64.
13006 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13007 modff multiarch implementations.
13008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13011 multiarch modf for PPC64.
13012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13015 multiarch modff for PPC64.
13017 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13018 and logl multiarch implementations.
13019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13022 multiarch logb for PPC64.
13023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13026 multiarch logb for PPC64.
13027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13030 multiarch logb for PPC64.
13032 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13033 isinff multiarch implementation.
13034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13038 multiarch isinf for PPC64.
13039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13042 multiarch isinff for PPC64.
13044 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13045 finitef multiarch implementation.
13046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13050 multiarch finite for PPC64.
13051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13054 multiarch finitef for PPC64.
13056 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13057 lrint multiarch implementation.
13058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13062 multiarch llrint for PPC64.
13063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13064 multiarch lrint for PPC64.
13066 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13067 copysignf multiarch implementation.
13068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13073 multiarch copysign for PPC64.
13074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13075 multiarch copysignf for PPC64.
13077 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13078 multiarch implementation.
13079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13087 multiarch llround for PPC64.
13088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13089 multiarch trunc for PPC64.
13090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13091 multiarch truncf for PPC64.
13093 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13094 multiarch implementation.
13095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13103 multiarch llround for PPC64.
13104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13105 multiarch round for PPC64.
13106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13107 multiarch roundf for PPC64.
13109 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13110 multiarch implementation.
13111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13119 multiarch llround for PPC64.
13120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13121 multiarch floor for PPC64.
13122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13123 multiarch floorf for PPC64.
13125 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13126 multiarch implementation.
13127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13135 multiarch llround for PPC64.
13136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13137 multiarch ceil for PPC64.
13138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13139 multiarch ceilf for PPC64.
13141 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13142 multiarch implementation.
13143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13150 multiarch llround for PPC64.
13151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13152 multiarch lround for PPC64.
13154 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13155 multiarch implementation.
13156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13163 multiarch isnan for PPC64.
13164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13165 multiarch isnanf for PPC64.
13167 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13168 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13169 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13170 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13171 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13174 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13175 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13176 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13177 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13179 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13180 multiarch implementations.
13181 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13182 (__libc_ifunc_impl_list): Likewise.
13183 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13184 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13185 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13186 multiarch stpcpy for PPC64.
13188 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13189 multiarch implementations.
13190 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13191 (__libc_ifunc_impl_list): Likewise.
13192 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13193 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13194 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13195 multiarch strcpy for PPC64.
13197 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13198 redefine function name.
13199 (_wordcopy_fwd_dest_aligned): Likewise.
13200 (_wordcopy_bwd_aligned): Likewise.
13201 (_wordcopy_bwd_dest_aligned): Likewise.
13202 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13203 multiarch implementations.
13204 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13205 (__libc_ifunc_impl_list): Likewise.
13206 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13207 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13208 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13209 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13210 multiarch wcscpy for PPC64.
13212 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13213 multiarch implementations.
13214 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13215 (__libc_ifunc_impl_list): Likewise.
13216 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13217 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13218 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13219 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13220 multiarch wcscpy for PPC64.
13222 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13223 multiarch implementations.
13224 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13225 (__libc_ifunc_impl_list): Likewise.
13226 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13227 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13228 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13229 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13230 multiarch wcsrchr for PPC64.
13232 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13233 multiarch implementations.
13234 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13235 (__libc_ifunc_impl_list): Likewise.
13236 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13237 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13238 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13239 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13240 multiarch wcschr for PPC64.
13242 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13243 multiarch implementations.
13244 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13245 (__libc_ifunc_impl_list): Likewise.
13246 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13247 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13248 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13249 multiarch strchrnul for PPC64.
13251 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13253 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13254 (__libc_ifunc_impl_list): Likewise.
13255 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13256 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13257 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13258 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13261 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13263 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13264 (__libc_ifunc_impl_list): Likewise.
13265 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13266 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13267 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13268 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13271 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13272 multiarch implementations.
13273 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13274 (__libc_ifunc_impl_list): Likewise.
13275 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13276 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13277 strncasecmp for PPC64.
13278 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13279 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13280 multiarch strncasecmp_l for PPC64.
13282 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13283 multiarch implementations.
13284 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13285 (__libc_ifunc_impl_list): Likewise.
13286 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13287 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13288 multiarch strcasecmp for PPC64.
13289 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13291 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13292 multiarch strcasecmp_l for PPC64.
13294 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13296 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13297 (__libc_ifunc_impl_list): Likewise.
13298 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13299 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13300 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13303 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13305 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13306 (__libc_ifunc_impl_list): Likewise.
13307 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13308 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13309 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13312 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13314 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13315 (__libc_ifunc_impl_list): Likewise.
13316 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13317 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13318 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13319 rawmemrchr for PPC64.
13321 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13323 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13324 (__libc_ifunc_impl_list): Likewise.
13325 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13326 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13327 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13330 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13332 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13333 (__libc_ifunc_impl_list): Likewise.
13334 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13335 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13336 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13339 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13341 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13342 (__libc_ifunc_impl_list): Likewise.
13343 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13344 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13345 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13348 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13349 avoid cretion of __bzero symbol.
13350 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13352 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13354 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13356 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13357 multiarch implementations.
13358 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13359 (__libc_ifunc_impl_list): Likewise.
13360 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13361 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13362 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13363 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13365 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13366 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13367 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13368 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13369 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13371 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13373 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13374 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13376 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13377 (__libc_ifunc_impl_list): Likewise.
13378 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13379 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13380 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13381 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13384 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13385 multiarch for POWER/PPC64.
13386 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13387 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13388 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13389 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13390 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13391 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13392 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13393 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13394 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13397 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13398 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13399 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13400 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13401 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13402 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13403 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13404 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13405 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13406 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13407 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13408 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13409 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13410 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13411 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13420 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13422 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13424 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13426 * benchtests/Makefile (bench): Add exp2 and log2.
13427 (LDLIBS-bench-exp2): Add -lm.
13428 (LDLIBS-bench-log2): Likewise.
13429 * benchtests/exp2-inputs: New inputs file.
13430 * benchtests/log2-inputs: New inputs file.
13431 * benchtests/log-inputs: Add new inputs.
13432 * benchtests/tan-inputs: Likewise.
13434 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13436 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13438 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13439 (csloww2): ... from here.
13441 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13442 instead of structures.
13443 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13444 (POLYNOMIAL): Likewise.
13445 (TAYLOR_SLOW): Likewise.
13451 (sloww1); Likewise.
13452 (sloww2): Likewise.
13453 (bsloww1): Likewise.
13454 (bsloww2): Likewise.
13455 (cslow2): Likewise.
13456 (csloww): Likewise.
13457 (csloww1): Likewise.
13458 (csloww2): Likewise.
13460 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
13462 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13463 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13464 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13465 * malloc/hooks.c (realloc_check): Likewise.
13467 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13468 * malloc/arena.c: Remove PER_THREAD conditional.
13469 [!PER_THREAD]: Remove code.
13470 (ptmalloc_unlock_all2): Likewise.
13471 (ptmalloc_init): Likewise.
13472 (_int_new_arena): Likewise.
13473 (arena_get2): Likewise.
13474 * malloc/hooks.c (__malloc_get_state): Likewise.
13475 (__malloc_set_state): Likewise.
13476 * malloc/malloc.c: Likewise.
13477 (struct malloc_state): Likewise.
13478 (struct malloc_par): Likewise.
13479 (__libc_realloc): Likewise.
13480 (__libc_mallopt): Likewise.
13482 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13484 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13486 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
13488 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13489 macro to a function. Check for zero perturb_byte.
13490 (_int_malloc, _int_free): Remove zero perturb_byte checks.
13492 * malloc/malloc.c: (force_reg): Remove.
13493 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13494 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13495 force_reg by atomic_forced_read.
13496 * malloc/arena.c (ptmalloc_init): Likewise.
13497 * malloc/hooks.c (top_check): Likewise.
13499 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13503 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
13505 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13507 2013-12-08 Joseph Myers <joseph@codesourcery.com>
13509 * math/auto-libm-test-in: Add tests of lgamma.
13510 * math/auto-libm-test-out: Regenerated.
13511 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13512 (M_LOG_2_SQRT_PIl): Likewise.
13513 (lgamma_test_data): Use AUTO_TESTS_f_f1.
13514 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13516 (func_calc_desc): Add mpfr_f_f1 union field.
13517 (ARGS1): New macro.
13525 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13526 (test_functions): Add lgamma.
13527 (calc_generic_results): Handle mpfr_f_f1.
13528 * sysdeps/i386/fpu/libm-test-ulps: Update.
13529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13531 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13533 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13534 __mpn_add_n for PowerPC64/POWER7.
13535 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13536 __mpn_sub_n for PowerPC64/POWER7.
13538 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13539 __mpn_addmul_1 for PowerPC64.
13540 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13541 __mpn_submul_1 for PowerPC64.
13542 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13544 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13547 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
13550 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13552 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13554 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13556 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13557 add multiarch folders.
13558 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13559 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13560 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13561 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13562 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13563 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13564 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13565 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13566 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13567 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13568 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13577 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13583 multiarch __ieee754_hypot for PowerPC32.
13584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13589 multiarch __ieee754_hypotf for PowerPC32.
13591 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13592 long_double_symbol only if __logbl is defined.
13593 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13594 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13595 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13596 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13597 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13598 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13599 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13600 path for implementation.
13601 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13602 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13604 logb, and logbl multiarch implementations for PowerPC32.
13605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13610 multiarch logb for PowerPC32.
13611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13616 multiarch logbf for PowerPC32.
13617 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13621 multiarch logbl implementation for PowerPC32.
13623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13624 and modff multiarch implementations.
13625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13630 multiarch modf for PowerPC32.
13631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13636 multiarch modff for PowerPC32.
13638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13639 and lrintf multiarch implementations.
13640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13645 multiarch lrint for PowerPC32.
13646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13647 file: multiarch lrintf for PowerPC32.
13649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13650 and lroundf multiarch implementations.
13651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13658 multiarch lround for PowerPC32.
13659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13660 file: multiarch lroundf for PowerPC32.
13662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13663 copysign and copysignf multiarch implementations.
13664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13669 file: multiarch copysign for PowerPC32.
13670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13671 file: multiarch copysignf for PowerPC32.
13673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13674 and truncf multiarch implementations.
13675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13680 multiarch trunc for PowerPC32.
13681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13686 multiarch truncf for PowerPC32.
13688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13689 and roundf multiarch implementations.
13690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13695 multiarch round for PowerPC32.
13696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13701 multiarch roundf for PowerPC32.
13703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13704 and floorf multiarch implementations.
13705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13710 multiarch floor for PowerPC32.
13711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13716 multiarch floorf for PowerPC32.
13718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13719 and ceilf multiarch implementations.
13720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13725 multiarch ceil for PowerPC32.
13726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13731 multiarch ceilf for PowerPC32.
13733 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13735 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13736 FINITEF is defined.
13737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13738 and finitef multiarch implementations.
13739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13744 multiarch finite for PowerPC32.
13745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13748 file: multiarch finitef for PowerPC32.
13750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13751 and isinff multiarch implementations.
13752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13757 multiarch isinf for PowerPC32.
13758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13761 multiarch isinff for PowerPC32.
13763 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13764 alias when __isnan is defined.
13765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13766 and isnanf multiarch implementations.
13767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13776 multiarch isnan for PowerPC32.
13777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13782 multiarch isnanf for PowerPC32.
13784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13785 and sqrtf multiarch implementations.
13786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13791 multiarch sqrt for PowerPC32.
13792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13797 multiarch sqrtf for PowerPC32.
13799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13800 and llroundf multiarch implementations.
13801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13808 file: multiarch llround for PowerPC32.
13809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13810 file: multiarch llroundf for PowerPC32.
13812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13813 multiarch PowerPC32 fpu implementations.
13814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13819 multiarch llrint for PowerPC32.
13820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13829 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13831 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13833 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13835 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13836 multiarch wordcopy for PPC32.
13837 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13839 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13840 (__libc_ifunc_impl_list): Likewise.
13841 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13842 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13843 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13844 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13845 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13846 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13848 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13849 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13851 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13853 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13855 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13856 multiarch wcscpy for PPC32.
13857 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13859 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13860 (__libc_ifunc_impl_list): Likewise.
13861 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13862 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13863 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13864 sysdeps/powerpc/power6/wcscpy.c.
13866 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13867 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13869 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13871 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13873 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13874 multiarch wcsrchr for PPC32.
13875 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13877 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13878 (__libc_ifunc_impl_list): Likewise.
13879 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13880 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13881 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13882 sysdeps/powerpc/power6/wcsrchr.c.
13884 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13886 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13888 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13889 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13890 multiarch wcschr for PPc32.
13891 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13893 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13894 (__libc_ifunc_impl_list): Likewise.
13895 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13896 * sysdeps/powerpc/power6/wcschr.c: ... to here.
13897 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13898 sysdeps/powerpc/power6/wcschr.c.
13900 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13901 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13903 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13904 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13905 file: multiarch strchr for PPC32.
13906 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13908 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13909 (__libc_ifunc_impl_list): Likewise.
13911 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13913 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13915 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13917 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13918 multiarch strchrnul for PPC32.
13919 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13921 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13922 (__libc_ifunc_impl_list): Likewise.
13924 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13926 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13927 multiarch strncasecmp for PPC32.
13928 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13930 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13931 multiarch strncasecmp_l for PPC32.
13932 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13933 strncasecmp multiarch objects.
13934 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13935 (__libc_ifunc_impl_list): Likewise.
13937 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13939 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13940 multiarch strncasecmp for PPC32.
13941 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13943 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13944 multiarch strcasecmp_l for PPC32.
13945 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13947 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13948 (__libc_ifunc_impl_list): Likewise.
13950 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13952 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13954 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13955 multiarch strncmp for PPC32.
13956 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13958 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13959 (__libc_ifunc_impl_list): Likewise.
13961 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13962 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13964 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13965 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13966 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13968 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13969 (__libc_ifunc_impl_list): Likewise.
13971 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13973 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13975 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13976 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13978 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13979 (__libc_ifunc_impl_list): Likewise.
13981 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13983 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13985 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13986 multiarch rawmemchr for PPC32.
13987 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13989 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13990 (__libc_ifunc_impl_list): Likewise.
13992 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13994 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13996 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13997 file: memrchr multiarch for PPC32.
13998 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14000 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14001 (__libc_ifunc_impl_list): Likewise.
14003 * string/memchr.c (__memchr): Using macro to redefine symbol name.
14004 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14006 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14007 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14008 multiarch memchr for PPC32.
14009 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14011 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14012 (__libc_ifunc_impl_list): Likewise.
14014 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14015 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14017 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14019 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14020 file: multiarch mempcpy for PPC32.
14021 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14023 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14024 (__libc_ifunc_impl_list): Likewise.
14026 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14027 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14028 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14029 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14030 multiarch bzero for PPC32.
14031 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14033 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14035 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14036 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14037 file: multiarch memset for PPC32.
14038 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14039 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14040 memset multiarch objects.
14041 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14042 (__libc_ifunc_impl_list): Likewise.
14044 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14046 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14047 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14049 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14050 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14052 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14053 (__libc_ifunc_impl_list): Likewise.
14055 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14056 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14057 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14059 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14061 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14063 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14064 multiarch memcpy for PPC32.
14065 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14067 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14068 (__libc_ifunc_impl_list): Likewise.
14070 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14071 support multiarch for POWER/PPC32.
14072 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14074 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14076 Implies file to make multiarch folder appers before the fpu and
14077 default folder for power4 configuration.
14079 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14081 * scripts/bench.pl: Append volatile keyword to type.
14083 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14085 * sysdeps/sh/sotruss-lib.c: New file.
14086 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14088 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14090 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14092 2013-12-05 Joseph Myers <joseph@codesourcery.com>
14095 * math/w_tgamma.c: Include <errno.h>.
14096 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
14097 * math/w_tgammaf.c: Include <errno.h>.
14098 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
14099 * math/w_tgammal.c: Include <errno.h>.
14100 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
14101 * math/auto-libm-test-in: Do not allow missing errno on tgamma
14102 underflow. Add more tgamma tests.
14103 * math/auto-libm-test-out: Regenerated.
14104 * sysdeps/i386/fpu/libm-test-ulps: Update.
14105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14107 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14108 sin, sinh, tan, tanh, tgamma, y0 and y1.
14109 * math/auto-libm-test-out: Regenerated.
14110 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14111 (TEST_COND_x86): Likewise.
14112 (M_E2l): Remove macro.
14114 (M_2_SQRT_PIl): Likewise.
14115 (M_SQRT_PIl): Likewise.
14116 (M_1_DIV_El): Likewise.
14117 (log_test_data): Use AUTO_TESTS_f_f.
14118 (log10_test_data): Likewise.
14119 (log1p_test_data): Likewise.
14120 (log2_test_data): Likewise.
14121 (sin_test_data): Likewise.
14122 (sin_tonearest_test_data): Likewise.
14123 (sin_towardzero_test_data): Likewise.
14124 (sin_downward_test_data): Likewise.
14125 (sin_upward_test_data): Likewise.
14126 (sinh_test_data): Likewise.
14127 (sinh_tonearest_test_data): Likewise.
14128 (sinh_towardzero_test_data): Likewise.
14129 (sinh_downward_test_data): Likewise.
14130 (sinh_upward_test_data): Likewise.
14131 (tan_test_data): Likewise.
14132 (tan_tonearest_test_data): Likewise.
14133 (tan_towardzero_test_data): Likewise.
14134 (tan_downward_test_data): Likewise.
14135 (tan_upward_test_data): Likewise.
14136 (tanh_test_data): Likewise.
14137 (tgamma_test_data): Likewise.
14138 (y0_test_data): Likewise.
14139 (y1_test_data): Likewise.
14140 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14141 (special_real_inputs): Add pi/4.
14142 * sysdeps/i386/fpu/libm-test-ulps: Update.
14143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14145 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14147 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14148 "longjmp_target" static probes.
14149 (__longjmp): Rename to __longjmp_symbol.
14150 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14151 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14152 on which longjmp to generate.
14153 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14154 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14156 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14157 (__sigjmp_save): Rename to __sigjmp_save_symbol.
14158 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14159 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14160 and __sigjmp_save_symbol based on which sigsetjmp to generated.
14161 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14163 __longjmp_symbol based on which __longjmp to generate.
14164 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14166 (setjmp): Rename to setjmp_symbol.
14167 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14168 (_setjmp): Rename to _setjmp_symbol.
14169 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14170 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14171 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14172 which setjmp to generate.
14173 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14174 "longjmp_target" static probes.
14176 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14178 * benchtests/README: Add note about output arguments.
14179 * benchtests/bench-sincos.c: Remove file.
14180 * benchtests/sincos-inputs: New file.
14181 * scripts/bench.pl: Identify output arguments and define
14182 static variables for them.
14184 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14187 * Makefile (INSTALL): Add install-plain.texi as the primary
14189 * manual/install-plain.texi: New file.
14190 * manual/install.texi: Include node directive only for
14191 non-plaintext output.
14193 2013-12-04 Joseph Myers <joseph@codesourcery.com>
14195 * stdlib/longlong.h: Update from GCC.
14199 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14200 * math/w_j0f.c (y0f): Likewise.
14201 * math/w_j0l.c (__y0l): Likewise.
14202 * math/w_j1.c (y1): Likewise.
14203 * math/w_j1f.c (y1f): Likewise.
14204 * math/w_j1l.c (__y1l): Likewise
14205 * math/w_jn.c (yn): Likewise.
14206 * math/w_jnf.c (ynf): Likewise.
14207 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14208 Bessel function pole errors in _POSIX_ mode. Use NAN as return
14209 value for Bessel function domain errors outside _SVID_ mode.
14210 Adjust sign of return value for yn (negative integer, 0).
14211 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14212 by zero in return for negative x and set sign appropriately for
14214 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14215 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14216 * math/libm-test.inc (y0_test_data): Add more tests and adjust
14217 expectations in error cases.
14218 (y1_test_data): Likewise.
14219 (yn_test_data): Likewise.
14220 * sysdeps/i386/fpu/libm-test-ulps: Update.
14221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14223 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14225 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14226 "64" to "64-v1". Add "64-v2".
14227 (abi-64-options): Rename to ...
14228 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
14229 (abi-64-condition): Rename to ...
14230 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
14231 (abi-64-ld-soname): Rename to ...
14232 (abi-64-v1-ld-soname): ... this.
14233 (abi-64-v2-options): Define.
14234 (abi-64-v2-condition): Likewise.
14235 (abi-64-v2-ld-soname): Likewise.
14236 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14237 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14242 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14243 Alan Modra <amodra@gmail.com>
14245 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14246 New versions for use with the ELFv2 ABI.
14247 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14248 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14250 (struct La_ppc64v2_retval): Likewise.
14251 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14252 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14253 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14254 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14255 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14256 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14257 Do not save or restore CR.
14258 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14259 (_dl_profile_resolve): Do no save or restore CR. Support extended
14260 return values for ELFv2 ABI. Fix location of FPR return registers.
14261 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14262 updated values for _CALL_ELF == 2.
14263 (La_regs, La_retval, int_retval): Likewise.
14265 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14267 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14268 (FRAME_MIN_SIZE_PARM): Likewise.
14269 (FRAME_BACKCHAIN): Likewise.
14270 (FRAME_CR_SAVE): Likewise.
14271 (FRAME_LR_SAVE): Likewise.
14272 (FRAME_TOC_SAVE): Likewise.
14273 (FRAME_PARM_SAVE): Likewise.
14274 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14275 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14276 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14277 (call_mcount_parm_offset): New macro.
14278 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14279 (PROF): Use symbolic stack frame offsets.
14280 (TAIL_CALL_SYSCALL_ERROR): Likewise.
14281 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14282 Redefine in terms of FRAME_MIN_SIZE.
14283 (_dl_runtime_resolve): Use symbolic stack frame offsets.
14284 (_dl_profile_resolve): Likewise. Update comment.
14285 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14286 symbols stack frame offsets.
14287 (__sigsetjmp): Likewise.
14288 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14289 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14290 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14291 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14294 (FRAME_BACKCHAIN): Remove.
14295 (FRAME_CR_SAVE): Likewise.
14296 (FRAME_LR_SAVE): Likewise.
14297 (FRAME_COMPILER_DW): Likewise.
14298 (FRAME_LINKER_DW): Likewise.
14299 (FRAME_TOC_SAVE): Likewise.
14300 (FRAME_PARM_SAVE): Likewise.
14301 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14302 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14303 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14305 (CHECK_SP): Use symbolic stack frame offsets.
14306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14307 zone" instead of caller's parameter save area for temp storage.
14308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14309 Likewise. Also, use symbolic stack frame offsets.
14310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14311 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14312 our own stack frame instead of the caller's.
14313 (__socket): Use symbolic stack frame offsets.
14315 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14316 Alan Modra <amodra@gmail.com>
14318 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14320 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14321 (PPC64_LOCAL_ENTRY_OFFSET): Define.
14322 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14324 (elf_machine_fixup_plt): Call it.
14325 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
14327 (elf_machine_rela): Update call to elf_machine_plt_conflict.
14328 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14329 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14330 r2 before calling target.
14332 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14333 Alan Modra <amodra@gmail.com>
14335 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14336 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14337 versions of macros to support ELFv2 ABI.
14338 (LOCALENTRY): New macro.
14339 (ENTRY, EALIGN): Use it.
14340 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14341 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14342 fall through into ENTRY entry point.
14343 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14344 Only define if _CALL_ELF != 2.
14346 (elf_machine_matches_host): Verify ABI version matches.
14347 (RTLD_START): Use LOCALENTRY.
14348 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14349 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14350 (PLT_ENTRY_WORDS): New macro.
14351 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14352 (elf_machine_runtime_setup): Support ELFv2 ABI.
14353 (elf_machine_fixup_plt): Likewise.
14354 (elf_machine_plt_conflict): Likewise.
14355 (resolve_ifunc): Likewise.
14356 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14357 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14360 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14362 (makecontext): Support ELFv2 ABI.
14363 * elf/elf.h (EF_PPC64_ABI): Define.
14365 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14367 * sysdeps/powerpc/powerpc64/sysdep.h
14368 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14369 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14370 (ENTRY) [ASSEMBLER]: ... but instead here ...
14371 (EALIGN) [ASSEMBLER]: ... and here.
14372 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14373 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14374 (ENTRY_2) [!ASSEMBLER]: Use it.
14375 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14376 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
14377 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14378 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14379 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14381 Use PPC64_LOAD_FUNCPTR.
14383 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14385 2013-12-04 Alan Modra <amodra@gmail.com>
14387 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14388 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14389 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14390 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14392 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14393 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14394 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14395 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14396 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14397 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14399 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14402 (__makecontext): Fix incorrect CFI when backtracing out of
14403 context created via makecontext.
14404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14405 (__setcontext): Fix incorrect CFI during switch to new context.
14406 (__novec_setcontext): Likewise.
14408 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14411 * time/strptime_l.c (__strptime_internal): Allow modifiers
14413 * time/tst-strptime.c (day_tests): Add testcase.
14415 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14417 * scripts/bench.pl: Skip over blank lines.
14419 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
14422 * manual/time.texi (Calendar Time): Clarify what timezone functions
14425 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14429 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14431 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14433 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14434 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14435 * debug/memset_chk.c (__memset_chk): Likewise.
14436 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14437 * debug/strncpy_chk.c: Likewise.
14439 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14443 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14444 (__ieee754_exp): For possibly underflowing results, check size of
14445 result and force underflow exception if required.
14446 * math/auto-libm-test-in: Add more tests of exp.
14447 * math/auto-libm-test-out: Regenerated.
14448 * sysdeps/i386/fpu/libm-test-ulps: Update.
14449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14452 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14453 * math/w_exp2f.c (__exp2f): Likewise.
14454 * math/w_exp2l.c (__exp2l): Likewise.
14455 * math/auto-libm-test-in: Do not allow missing errno on exp2
14457 * math/auto-libm-test-out: Regenerated.
14459 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
14462 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14463 handle filename validation.
14464 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14467 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14470 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14471 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14472 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14474 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14475 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14476 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14477 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14478 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14479 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14480 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14481 * math/auto-libm-test-in: Don't allow missing errno from erfc.
14482 Add more erfc tests.
14483 * math/auto-libm-test-out: Regenerated.
14484 * sysdeps/i386/fpu/libm-test-ulps: Update.
14485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14487 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14488 exp2, expm1, j0 and j1.
14489 * math/auto-libm-test-out: Regenerated.
14490 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14491 (erfc_test_data): Likewise.
14492 (exp_test_data): Likewise.
14493 (exp_tonearest_test_data): Likewise.
14494 (exp_towardzero_test_data): Likewise.
14495 (exp_downward_test_data): Likewise.
14496 (exp_upward_test_data): Likewise.
14497 (exp10_test_data): Likewise.
14498 (exp2_test_data): Likewise.
14499 (expm1_test_data): Likewise.
14500 (j0_test_data): Likewise.
14501 (j1_test_data): Likewise.
14502 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14503 (input_flag_type): Add flag_xfail_rounding.
14504 (input_flags): Add xfail-rounding.
14505 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14506 (output_for_one_input_case): Handle flag_xfail_rounding.
14507 * sysdeps/i386/fpu/libm-test-ulps: Update.
14508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14510 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
14513 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14516 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14519 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14520 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14521 (STAP_PROBE0): New macro.
14522 (STAP_PROBE1): Likewise.
14523 (STAP_PROBE2): Likewise.
14524 (STAP_PROBE3): Likewise.
14525 (STAP_PROBE4): Likewise.
14527 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
14529 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14531 2013-12-02 Steve Ellcey <sellcey@mips.com>
14533 * benchtests/Makefile (bench): Add sqrt.
14534 (LDLIBS-bench-sqrt): New.
14535 * benchtests/sqrt-input: New.
14537 2013-12-02 Pavel Simerda <psimerda@redhat.com>
14539 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14540 (GAIH_EAI): Likewise.
14541 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14542 (gaih_inet): Likewise.
14543 (getaddrinfo): Don't use GAIH_EAI.
14545 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14546 (struct gaih): Remove definition.
14548 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14550 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14551 Use HERRNOP directly.
14553 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14555 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14557 2013-11-30 Joseph Myers <joseph@codesourcery.com>
14559 * math/gen-auto-libm-tests.c (test_functions): Add more
14560 single-argument functions.
14561 (special_fill_pi_2): New function.
14562 (special_fill_minus_pi_2): Likewise.
14563 (special_fill_pi_6): Likewise.
14564 (special_fill_minus_pi_6): Likewise.
14565 (special_fill_pi_3): Likewise.
14566 (special_fill_2pi_3): Likewise.
14567 (special_fill_e): Likewise.
14568 (special_fill_1_e): Likewise.
14569 (special_fill_e_minus_1): Likewise.
14570 (special_real_inputs): Add more special inputs.
14571 (output_for_one_input_case): Do not require ERANGE on underflow to
14572 zero if round-to-nearest result does not underflow to zero, unless
14573 exact results required.
14574 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14575 atan, atanh, cbrt, cos and cosh.
14576 * math/auto-libm-test-out: Regenerated.
14577 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14578 (acos_tonearest_test_data): Likewise.
14579 (acos_towardzero_test_data): Likewise.
14580 (acos_downward_test_data): Likewise.
14581 (acos_upward_test_data): Likewise.
14582 (acosh_test_data): Likewise.
14583 (asin_test_data): Likewise.
14584 (asin_tonearest_test_data): Likewise.
14585 (asin_towardzero_test_data): Likewise.
14586 (asin_upward_test_data): Likewise.
14587 (asinh_test_data): Likewise.
14588 (atan_test_data): Likewise.
14589 (atanh_test_data): Likewise.
14590 (cbrt_test_data): Likewise.
14591 (cos_test_data): Likewise.
14592 (cos_tonearest_test_data): Likewise.
14593 (cos_towardzero_test_data): Likewise.
14594 (cos_downward_test_data): Likewise.
14595 (cos_upward_test_data): Likewise.
14596 (cosh_test_data): Likewise.
14597 (cosh_tonearest_test_data): Likewise.
14598 (cosh_towardzero_test_data): Likewise.
14599 (cosh_downward_test_data): Likewise.
14600 (cosh_upward_test_data): Likewise.
14601 * sysdeps/i386/fpu/libm-test-ulps: Update.
14602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14604 2013-11-29 Joseph Myers <joseph@codesourcery.com>
14607 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14608 * math/w_exp10f.c (__exp10f): Likewise.
14609 * math/w_exp10l.c (__exp10l): Likewise.
14610 * math/libm-test.inc (exp10_test_data): Add more tests and expect
14611 errno settings in existing tests.
14614 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14615 precision control set to double precision.
14616 * sysdeps/i386/fpu/w_sqrt.c: New file.
14617 * math/auto-libm-test-in: Add more tests.
14618 * math/auto-libm-test-out: Update.
14620 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14621 (sqrt_test_tonearest): New function.
14622 (sqrt_towardzero_test_data): New variable.
14623 (sqrt_test_towardzero): New function.
14624 (sqrt_downward_test_data): New variable.
14625 (sqrt_test_downward): New function.
14626 (sqrt_upward_test_data): New variable.
14627 (sqrt_test_upward): New function.
14628 (main): Call the new functions.
14630 * math/gen-auto-libm-tests.c: New file.
14631 * math/auto-libm-test-in: Likewise.
14632 * math/auto-libm-test-out: New generated file.
14633 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14635 (%beautify): Add generated representations of zero.
14636 (top level): Set $auto_input and call parse_auto_input.
14637 (beautify): Remove trailing "f" from hex float constants.
14638 (parse_args): Handle XFAIL_TEST.
14639 (convert_condition): New function.
14640 (or_value): Likewise.
14641 (or_cond_value): Likewise.
14642 (generate_testfile): Handle AUTO_TESTS_* lines.
14643 (parse_auto_input): New function.
14644 * math/libm-test.inc (XFAIL_TEST): New macro.
14645 (ERRNO_UNCHANGED): Update value.
14646 (ERRNO_EDOM): Likewise.
14647 (ERRNO_ERANGE): Likewise.
14648 (IGNORE_RESULT): Likewise.
14649 (TEST_COND_flt_32): New macro.
14650 (TEST_COND_dbl_64): Likewise.
14651 (TEST_COND_ldbl_96_intel): Likewise.
14652 (TEST_COND_ldbl_96_m68k): Likewise.
14653 (TEST_COND_ldbl_128): Likewise.
14654 (TEST_COND_ldbl_128ibm): Likewise.
14655 (TEST_COND_long32): Likewise.
14656 (TEST_COND_long64): Likewise.
14657 (TEST_COND_before_rounding): Likewise.
14658 (TEST_COND_after_rounding): Likewise.
14659 (enable_test): Handle XFAIL_TEST flag.
14660 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14661 with finite results.
14662 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14663 auto-libm-test-out.
14665 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14666 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14669 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14670 __tls_get_addr_internal instead of __tls_get_offset in order to
14671 avoid GOT pointer dependency. Make rtld export
14672 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14673 __tls_get_addr since we are a __tls_get_offset platform.
14674 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14675 GOT pointer being set up before.
14676 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14678 2013-11-28 Joseph Myers <joseph@codesourcery.com>
14680 * manual/math.texi (Errors in Math Functions): Document accuracy
14684 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14685 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14686 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14687 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14688 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14689 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14690 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14691 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14692 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14693 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14694 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14695 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14696 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14697 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14698 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14699 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14701 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14702 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14703 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14704 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14705 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14707 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14709 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14711 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14712 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14713 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14714 atomic-feupdateenv and flt-rounds.
14715 * sysdeps/powerpc/nofpu/Versions (libc): Add
14716 __atomic_feholdexcept, __atomic_feclearexcept,
14717 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14718 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14719 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14720 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14721 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14726 * manual/arith.texi (FP Exceptions): Document that exceptions may
14727 not be raised when matherr is used.
14728 (Math Error Reporting): Document overflow in directed rounding
14729 modes. Document that errno may not be set when finite values are
14730 returned on overflow. Document intent to set errno on underflow
14731 only for underflow to zero.
14734 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14735 round-to-nearest then adjust result for other rounding modes.
14736 * include/fenv.h (fegetround): Use libm_hidden_proto.
14737 * math/fegetround.c (fegetround): Use libm_hidden_def.
14738 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14739 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14740 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14741 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14743 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14744 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14745 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14746 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14748 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14751 * nss/Versions (libnss_files): Add
14752 _nss_files_gethostbyname3_r.
14753 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14755 (HOST_DB_LOOKUP): Remove macro.
14756 (_nss_files_gethostbyname_r): Implement function without the
14757 HOST_DB_LOOKUP macro.
14758 (_nss_files_gethostbyname2_r): Likewise.
14760 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
14762 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14764 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
14766 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14767 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14770 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14772 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14773 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14774 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14775 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14776 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14777 __fe_nomask_env_priv and attribute_hidden.
14778 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14779 (libc_feupdateenv_test_ppc): Likewise.
14780 (libc_feresetround_ppc): Likewise.
14781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14782 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14783 compat_symbol macro.
14784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14785 (__fe_nomask_env): Likewise.
14786 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14788 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14790 * string/Makefile: Remove ifunc tests.
14791 * string/test-string.h: Define TEST_IFUNC.
14792 * string/test-bcopy-ifunc.c: Remove.
14793 * string/test-bzero-ifunc.c: Likewise.
14794 * string/test-memccpy-ifunc.c: Likewise.
14795 * string/test-memchr-ifunc.c: Likewise.
14796 * string/test-memcmp-ifunc.c: Likewise.
14797 * string/test-memcpy-ifunc.c: Likewise.
14798 * string/test-memmem-ifunc.c: Likewise.
14799 * string/test-memmove-ifunc.c: Likewise.
14800 * string/test-mempcpy-ifunc.c: Likewise.
14801 * string/test-memrchr-ifunc.c: Likewise.
14802 * string/test-memset-ifunc.c: Likewise.
14803 * string/test-rawmemchr-ifunc.c: Likewise.
14804 * string/test-stpcpy-ifunc.c: Likewise.
14805 * string/test-stpncpy-ifunc.c: Likewise.
14806 * string/test-strcasecmp-ifunc.c: Likewise.
14807 * string/test-strcasestr-ifunc.c: Likewise.
14808 * string/test-strcat-ifunc.c: Likewise.
14809 * string/test-strchr-ifunc.c: Likewise.
14810 * string/test-strchrnul-ifunc.c: Likewise.
14811 * string/test-strcmp-ifunc.c: Likewise.
14812 * string/test-strcpy-ifunc.c: Likewise.
14813 * string/test-strcspn-ifunc.c: Likewise.
14814 * string/test-strlen-ifunc.c: Likewise.
14815 * string/test-strncasecmp-ifunc.c: Likewise.
14816 * string/test-strncat-ifunc.c: Likewise.
14817 * string/test-strncmp-ifunc.c: Likewise.
14818 * string/test-strncpy-ifunc.c: Likewise.
14819 * string/test-strnlen-ifunc.c: Likewise.
14820 * string/test-strpbrk-ifunc.c: Likewise.
14821 * string/test-strrchr-ifunc.c: Likewise.
14822 * string/test-strspn-ifunc.c: Likewise.
14823 * string/test-strstr-ifunc.c: Likewise.
14825 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14827 * benchtests/Makefile: Remove ifunc tests.
14828 * benchtests/bench-string.h: Define TEST_IFUNC.
14829 * benchtests/bench-bcopy-ifunc.c: Remove.
14830 * benchtests/bench-bzero-ifunc.c: Likewise.
14831 * benchtests/bench-memccpy-ifunc.c: Likewise.
14832 * benchtests/bench-memchr-ifunc.c: Likewise.
14833 * benchtests/bench-memcmp-ifunc.c: Likewise.
14834 * benchtests/bench-memcpy-ifunc.c: Likewise.
14835 * benchtests/bench-memmem-ifunc.c: Likewise.
14836 * benchtests/bench-memmove-ifunc.c: Likewise.
14837 * benchtests/bench-mempcpy-ifunc.c: Likewise.
14838 * benchtests/bench-memrchr-ifunc.c: Likewise.
14839 * benchtests/bench-memset-ifunc.c: Likewise.
14840 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14841 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14842 * benchtests/bench-stpcpy-ifunc.c: Likewise.
14843 * benchtests/bench-stpncpy-ifunc.c: Likewise.
14844 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14845 * benchtests/bench-strcasestr-ifunc.c: Likewise.
14846 * benchtests/bench-strcat-ifunc.c: Likewise.
14847 * benchtests/bench-strchr-ifunc.c: Likewise.
14848 * benchtests/bench-strchrnul-ifunc.c: Likewise.
14849 * benchtests/bench-strcmp-ifunc.c: Likewise.
14850 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14851 * benchtests/bench-strcpy-ifunc.c: Likewise.
14852 * benchtests/bench-strcspn-ifunc.c: Likewise.
14853 * benchtests/bench-strlen-ifunc.c: Likewise.
14854 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14855 * benchtests/bench-strncat-ifunc.c: Likewise.
14856 * benchtests/bench-strncmp-ifunc.c: Likewise.
14857 * benchtests/bench-strncpy-ifunc.c: Likewise.
14858 * benchtests/bench-strnlen-ifunc.c: Likewise.
14859 * benchtests/bench-strpbrk-ifunc.c: Likewise.
14860 * benchtests/bench-strrchr-ifunc.c: Likewise.
14861 * benchtests/bench-strsep-ifunc.c: Likewise.
14862 * benchtests/bench-strspn-ifunc.c: Likewise.
14863 * benchtests/bench-strstr-ifunc.c: Likewise.
14865 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14867 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14869 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14871 * resolv/netdb.h: Use __glibc_reserved instead __unused.
14872 * rt/aio.h: Likewise.
14873 * sysdeps/gnu/bits/utmp.h: Likewise.
14874 * sysdeps/gnu/bits/utmpx.h: Likewise.
14875 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14876 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14877 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14878 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14879 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14880 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14881 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14882 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14883 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14884 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14885 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14886 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14887 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14889 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14890 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14891 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14892 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14893 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14894 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14895 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14896 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14897 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14898 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14899 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14900 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14901 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14902 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14903 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14904 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14905 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14906 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14907 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14908 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14909 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14910 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14911 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14912 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14913 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14914 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14915 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14916 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14918 2013-11-25 Carlos O'Donell <carlos@redhat.com>
14921 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14922 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14924 2013-11-25 Joseph Myers <joseph@codesourcery.com>
14926 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14927 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14930 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14932 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14933 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14934 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14935 (__fesetround): Remove define.
14936 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14937 rounding and exceptions handling.
14938 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14939 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14940 (__fe_nomask_env): Likewise.
14941 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14942 __fegetround instead of fegetround.
14943 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14944 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14946 2013-11-21 Roland McGrath <roland@hack.frob.com>
14948 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14951 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14953 2013-11-21 Meador Inge <meadori@codesourcery.com>
14956 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14957 (encrypt_r): Likewise.
14958 * malloc/obstack.h (obstack_free): Likewise.
14959 * posix/unistd.h (encrypt): Likewise.
14961 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14963 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14964 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14965 DL_CALL_DT_FINI() that call the functions directly.
14966 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14967 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14968 * elf/dl-fini.c: Likewise.
14970 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
14972 * malloc/hooks.c (memalign_check): Add alignment rounding.
14973 * malloc/malloc.c (_mid_memalign): New function.
14974 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14975 Implement by calling _mid_memalign.
14976 * manual/probes.texi (Memory Allocation Probes): Remove
14977 memory_valloc_retry and memory_pvalloc_retry.
14979 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14981 * locale/programs/locarchive.c (open_archive): Add const
14982 qualifier to ARCHIVEFNAME and copy default fname to
14986 * libio/tst-widetext.input: Rename Oriya to Odia.
14987 * locale/iso-639.def: Likewise.
14989 * manual/probes.texi (Mathematical Function Probes): Add
14990 documentation for sin, cos, asin and acos probes.
14991 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14992 (__sin32): Add slowasin probe.
14993 (__cos32): Add slowacos probe.
14994 (__mpsin): Add slowsin probe.
14995 (__mpcos): Add slowcos probe.
14997 2013-11-19 Joseph Myers <joseph@codesourcery.com>
15000 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15001 thread-local __sim_exceptions_thread and global
15002 __sim_exceptions_global.
15003 (__sim_disabled_exceptions): Change to thread-local
15004 __sim_disabled_exceptions_thread and global
15005 __sim_disabled_exceptions_global.
15006 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15007 and global __sim_round_mode_global.
15008 (__simulate_exceptions): Use thread-local floating-point state and
15009 set global state from it as needed.
15010 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15011 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15012 __sim_round_mode_thread.
15013 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15014 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15015 and global __sim_exceptions_global.
15016 (__sim_disabled_exceptions): Change to thread-local
15017 __sim_disabled_exceptions_thread and global
15018 __sim_disabled_exceptions_global.
15019 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15020 and global __sim_round_mode_global.
15021 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15022 (SIM_SET_GLOBAL): Likewise.
15023 * sysdeps/powerpc/soft-fp/sfp-machine.h
15024 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15025 __sim_round_mode_thread.
15026 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15027 __sim_disabled_exceptions_thread.
15028 (__sim_exceptions): Change to __sim_exceptions_thread.
15029 (__sim_disabled_exceptions): Change to
15030 __sim_disabled_exceptions_thread.
15031 (__sim_round_mode): Change to __sim_round_mode_thread.
15032 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15033 thread-local floating-point state and set global state from it as
15035 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15036 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15037 (__sim_disabled_exceptions): Remove extern declaration.
15038 (feenableexcept): Use thread-local floating-point state and set
15039 global state from it as needed.
15040 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15041 extern declaration.
15042 (__sim_disabled_exceptions): Likewise.
15043 (__sim_round_mode): Likewise.
15044 (__fegetenv): Use thread-local floating-point state.
15045 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15046 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15047 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15048 floating-point state and set global state from it as needed.
15049 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15050 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15051 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15053 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15054 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15056 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15057 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15058 Use __sim_round_mode_thread.
15059 * math/test-fenv-tls.c: New file.
15060 * math/Makefile (tests): Add test-fenv-tls.
15061 ($(objpfx)test-fenv-tls): Depend on
15062 $(common-objpfx)nptl/libpthread.so.
15064 2013-11-19 Andreas Schwab <schwab@suse.de>
15066 * locale/programs/locale.c (show_info): Decode wordarray elements.
15067 * locale/categories.def (LC_MONETARY): Add element for
15068 _NL_MONETARY_CRNCYSTR.
15069 * locale/C-monetary.c (conversion_rate): New variable.
15070 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15073 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
15075 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15076 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15078 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15080 * elf/Makefile (tst-auxv): New test.
15081 * elf/tst-auxv.c: New
15082 * elf/rtld.c (dl_main): Adjust AT_EXECFN
15084 2013-11-18 Joseph Myers <joseph@codesourcery.com>
15086 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15087 (hidden_proto): Caller changed.
15088 (hidden_tls_proto): New macro.
15089 (libc_hidden_tls_proto): Likewise.
15090 (rtld_hidden_tls_proto): Likewise.
15091 (libm_hidden_tls_proto): Likewise.
15092 (libresolv_hidden_tls_proto): Likewise.
15093 (librt_hidden_tls_proto): Likewise.
15094 (libdl_hidden_tls_proto): Likewise.
15095 (libnss_files_hidden_tls_proto): Likewise.
15096 (libnsl_hidden_tls_proto): Likewise.
15097 (libnss_nisplus_hidden_tls_proto): Likewise.
15098 (libutil_hidden_tls_proto): Likewise.
15100 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
15103 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15104 (decompose_rpath): Defer expansion to fillin_rpath.
15105 (_dl_init_paths): Pass linkmap to fillin_rpath.
15107 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15109 * benchtests/Makefile: Add strsep.
15110 * benchtests/bench-strsep.c: New file: strsep benchtest.
15111 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15113 2013-11-18 Andreas Schwab <schwab@suse.de>
15115 * locale/programs/locale.c (show_info) [case byte]: Check for
15116 '\377' instead of '\177'.
15117 * locale/C-monetary.c (not_available): Always use "\377".
15118 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15119 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
15120 detect unavailable sign_posn locale elements.
15121 * locale/localeconv.c (__localeconv): For grouping and
15122 mon_grouping handle "\177" and "\377" like no grouping.
15123 (INT_ELEM): New macro. Use it to set all numeric members.
15124 * locale/programs/ld-monetary.c (monetary_read)
15125 <tok_mon_grouping>: Normalize single -1 to the empty string.
15126 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15129 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
15132 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15133 when we match (nil).
15134 * stdio-common/tst-sscanf.c (struct test): Add testcase.
15136 2013-11-16 Joseph Myers <joseph@codesourcery.com>
15138 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15139 (NO_TEST_INLINE): Update value.
15140 (ERRNO_UNCHANGED): Likewise.
15141 (ERRNO_EDOM): Likewise.
15142 (ERRNO_ERANGE): Likewise.
15143 (IGNORE_RESULT): Likewise.
15144 (check_float_internal): Check signs of NaN results if
15145 TEST_NAN_SIGN used.
15146 (check_complex): Pass TEST_NAN_SIGN flag through to second
15147 check_float_internal call.
15148 (copysign_test_data): Add tests with quiet NaNs as second
15149 argument. Use TEST_NAN_SIGN.
15150 (fabs_test_data): Add test of negative quiet NaN argument. Use
15152 (signbit_test_data): Add tests of quiet NaN argument.
15153 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15155 * math/gen-libm-test.pl (show_exceptions): Take extra argument
15157 (parse_args): Handle function results specified as IGNORE.
15158 * math/libm-test.inc (IGNORE_RESULT): New macro.
15159 (check_float_internal): Do not check numerical result if flag
15161 (check_complex): Pass through IGNORE_RESULT to second
15162 check_float_internal call.
15163 (check_int): Do not check numerical result if flag IGNORE_RESULT
15165 (check_long): Likewise.
15166 (check_bool): Likewise.
15167 (check_longlong): Likewise.
15168 (lrint_test_data): Add tests of infinite and NaN arguments.
15169 (lrint_tonearest_test_data): Likewise.
15170 (lrint_towardzero_test_data): Likewise.
15171 (lrint_downward_test_data): Likewise.
15172 (lrint_upward_test_data): Likewise.
15173 (llrint_test_data): Likewise.
15174 (llrint_tonearest_test_data): Likewise.
15175 (llrint_towardzero_test_data): Likewise.
15176 (llrint_downward_test_data): Likewise.
15177 (llrint_upward_test_data): Likewise.
15178 (lround_test_data): Likewise.
15179 (llround_test_data): Likewise.
15181 * math/libm-test.inc (NO_TEST_INLINE): New macro.
15182 (ERRNO_UNCHANGED): Update value.
15183 (ERRNO_EDOM): Likewise.
15184 (ERRNO_ERANGE): Likewise.
15185 (NO_TEST_INLINE_FLOAT): New macro.
15186 (NO_TEST_INLINE_DOUBLE): Likewise.
15187 (enable_test): New function.
15188 (RUN_TEST_f_f): Check enable_test before running test.
15189 (RUN_TEST_2_f): Likewise.
15190 (RUN_TEST_fff_f): Likewise.
15191 (RUN_TEST_c_f): Likewise.
15192 (RUN_TEST_f_f1): Likewise.
15193 (RUN_TEST_fF_f1): Likewise.
15194 (RUN_TEST_fI_f1): Likewise.
15195 (RUN_TEST_ffI_f1): Likewise.
15196 (RUN_TEST_c_c): Likewise.
15197 (RUN_TEST_cc_c): Likewise.
15198 (RUN_TEST_f_i): Likewise.
15199 (RUN_TEST_f_i_tg): Likewise.
15200 (RUN_TEST_ff_i_tg): Likewise.
15201 (RUN_TEST_f_b): Likewise.
15202 (RUN_TEST_f_b_tg): Likewise.
15203 (RUN_TEST_f_l): Likewise.
15204 (RUN_TEST_f_L): Likewise.
15205 (RUN_TEST_fFF_11): Likewise.
15206 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15208 (cosh_test_data): Likewise.
15209 (exp_test_data): Likewise.
15210 (expm1_test_data): Likewise.
15211 (hypot_test_data): Likewise.
15212 (pow_test_data): Likewise.
15213 (sinh_test_data): Likewise.
15214 (tanh_test_data): Likewise.
15215 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15218 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15219 tests with quiet NaN input and output.
15220 (acosh_test_data): Likewise.
15221 (asin_test_data): Likewise.
15222 (asinh_test_data): Likewise.
15223 (atan_test_data): Likewise.
15224 (atanh_test_data): Likewise.
15225 (atan2_test_data): Likewise.
15226 (cbrt_test_data): Likewise.
15227 (cos_test_data): Likewise.
15228 (cosh_test_data): Likewise.
15229 (erf_test_data): Likewise.
15230 (erfc_test_data): Likewise.
15231 (exp_test_data): Likewise.
15232 (exp10_test_data): Likewise.
15233 (exp2_test_data): Likewise.
15234 (expm1_test_data): Likewise.
15235 (hypot_test_data): Likewise.
15236 (j0_test_data): Likewise.
15237 (j1_test_data): Likewise.
15238 (jn_test_data): Likewise.
15239 (lgamma_test_data): Likewise.
15240 (log_test_data): Likewise.
15241 (log10_test_data): Likewise.
15242 (log1p_test_data): Likewise.
15243 (log2_test_data): Likewise.
15244 (pow_test_data): Likewise.
15245 (scalb_test_data): Likewise.
15246 (sin_test_data): Likewise.
15247 (sincos_test_data): Likewise.
15248 (sinh_test_data): Likewise.
15249 (tan_test_data): Likewise.
15250 (tanh_test_data): Likewise.
15251 (tgamma_test_data): Likewise.
15252 (y0_test_data): Likewise.
15253 (y1_test_data): Likewise.
15254 (yn_test_data): Likewise.
15257 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15258 argument being NaN and avoid computations with second argument in
15260 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15261 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15262 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15264 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
15266 * locale/iso-639.def: Add Chitwani Tharu (the).
15268 2013-11-14 Andreas Schwab <schwab@suse.de>
15270 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15271 word instead of empty string.
15273 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15276 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15278 (__fe_nomask_env): Likewise.
15280 2013-11-13 Steve Ellcey <sellcey@mips.com>
15282 * benchtests/bench-timing.h: Include time.h.
15284 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
15287 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15289 * sysdeps/unix/sysv/linux/configure: Regenerated.
15291 2013-11-13 Joseph Myers <joseph@codesourcery.com>
15294 * stdlib/strtod_l.c (round_and_return): Do not consider
15295 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15296 exponent one less than half the least subnormal exponent.
15297 * stdlib/test-strtod-round-data: Add more tests.
15298 * stdlib/tst-strtod-round.c (tests): Regenerated.
15300 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15303 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15304 (__fe_mask_env): Likewise.
15305 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15306 libm_hidden_proto and add function prototype.
15307 (__fe_mask_env): Add function prototype.
15308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15309 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15311 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15313 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15315 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15317 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15318 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15320 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15322 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15323 of htab_find_slot().
15325 2013-11-11 David S. Miller <davem@davemloft.net>
15328 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15329 symbol in the non-vis3 case in static builds.
15330 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15331 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15332 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15333 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15335 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15338 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15341 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15343 * benchtests/Makefile: Add bench-strtod.
15344 * benchtests/bench-strtod.c: New file: strtod benchtest
15346 2013-11-11 Andreas Schwab <schwab@suse.de>
15349 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15350 terminating NUL in key length.
15352 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15354 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15355 Add artificial ODP entry for vDSO symbol for PPC64.
15356 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15357 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15359 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
15362 * nss/getent.c (services_keys): Recognize services starting with digit.
15364 2013-11-06 David S. Miller <davem@davemloft.net>
15367 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15368 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15370 2013-11-06 Will Newton <will.newton@linaro.org>
15372 * manual/memory.texi (Malloc Examples): Remove register
15373 keyword from examples.
15375 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
15377 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15379 2013-11-04 Joseph Myers <joseph@codesourcery.com>
15382 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15383 depending on [__GCC_IEC_559 > 0].
15384 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15385 depending on [__GCC_IEC_559_COMPLEX > 0].
15387 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
15389 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15392 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
15394 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15396 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
15399 * malloc/malloc (malloc_info): Do not handle first bin as
15402 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
15404 * locale/iso-639.def: Add Central Nahuatl (nhn).
15406 2013-11-01 Bruno Haible <bruno@clisp.org>
15409 * manual/math.texi (BSD Random): Specify range upper bound as
15412 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
15414 * locale/iso-639.def: Add Meadow Mari (mhr).
15416 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
15418 [BZ #14752], [BZ #15763]
15419 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15421 * rt/tst_shm.c: Add test for escaping directory.
15423 2013-10-31 Andreas Schwab <schwab@suse.de>
15426 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15427 followed by 'x' as part of digit sequence.
15428 * stdio-common/tst-sscanf.c (double_tests2): New tests.
15430 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15433 * configure.ac: allow GNU Make 4.0 and greater.
15434 * configure: Regenerated.
15436 2013-10-30 Will Newton <will.newton@linaro.org>
15439 * malloc/hooks.c (memalign_check): Limit alignment to the
15440 maximum representable power of two.
15441 * malloc/malloc.c (__libc_memalign): Likewise.
15442 * malloc/tst-memalign.c (do_test): Add test for very
15443 large alignment values.
15444 * malloc/tst-posix_memalign.c (do_test): Likewise.
15446 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15449 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15450 (munmap_chunk): Likewise.
15451 (mremap_chunk): Likewise.
15453 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15456 * stdlib/div.c (div): Remove obsolete code.
15457 * stdlib/ldiv.c (ldiv): Likewise.
15458 * stdlib/lldiv.c (lldiv): Likewise.
15460 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15463 * nss/nss_files/files-XXX.c (get_contents_ret): New
15465 (get_contents): New function.
15466 (internal_getent): Use it. Expand size of LINEBUFLEN.
15468 2013-10-30 Mike Frysinger <vapier@gentoo.org>
15470 * configure.in: Moved to ...
15471 * configure.ac: ... here. Change reference to configure.in
15473 * sysdeps/arm/preconfigure.ac: ... here.
15474 configure.in to configure.ac.
15475 * sysdeps/gnu/configure.in: Moved to ...
15476 * sysdeps/gnu/configure.ac: ... here.
15477 * sysdeps/i386/configure.in: Moved to ...
15478 * sysdeps/i386/configure.ac: ... here.
15479 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15480 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15481 * sysdeps/mach/configure.in: Moved to ...
15482 * sysdeps/mach/configure.ac: ... here.
15483 * sysdeps/mach/hurd/configure.in: Moved to ...
15484 * sysdeps/mach/hurd/configure.ac: ... here.
15485 * sysdeps/powerpc/configure.in: Moved to ...
15486 * sysdeps/powerpc/configure.ac: ... here.
15487 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15488 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15489 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15490 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15491 * sysdeps/s390/s390-32/configure.in: Moved to ...
15492 * sysdeps/s390/s390-32/configure.ac: ... here.
15493 * sysdeps/s390/s390-64/configure.in: Moved to ...
15494 * sysdeps/s390/s390-64/configure.ac: ... here.
15495 * sysdeps/sh/configure.in: Moved to ...
15496 * sysdeps/sh/configure.ac: ... here.
15497 * sysdeps/sparc/configure.in: Moved to ...
15498 * sysdeps/sparc/configure.ac: ... here.
15499 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15500 * sysdeps/unix/sysv/linux/configure.ac: ... here.
15501 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15502 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15503 * sysdeps/x86_64/configure.in: Moved to ...
15504 * sysdeps/x86_64/configure.ac: ... here.
15505 * sysdeps/x86_64/preconfigure.in: Moved to ...
15506 * sysdeps/x86_64/preconfigure.ac: ... here.
15507 * aclocal.m4: Change reference to configure.in to configure.ac.
15508 * config.h.in: Likewise.
15509 * manual/install.texi: Likewise.
15510 * manual/maint.texi: Likewise.
15511 * Makefile: Likewise.
15512 * malloc/Makefile: Likewise.
15513 * nscd/Makefile: Likewise.
15514 * Makeconfig: Change reference to configure.in and
15515 preconfigure.in to configure.ac and preconfigure.ac
15517 * INSTALL: Regenerated.
15518 * configure: Likewise.
15519 * sysdeps/gnu/configure: Likewise.
15520 * sysdeps/i386/configure: Likewise.
15521 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15522 * sysdeps/mach/configure: Likewise.
15523 * sysdeps/mach/hurd/configure: Likewise.
15524 * sysdeps/powerpc/configure: Likewise.
15525 * sysdeps/powerpc/powerpc32/configure: Likewise.
15526 * sysdeps/powerpc/powerpc64/configure: Likewise.
15527 * sysdeps/s390/s390-32/configure: Likewise.
15528 * sysdeps/s390/s390-64/configure: Likewise.
15529 * sysdeps/sh/configure: Likewise.
15530 * sysdeps/sparc/configure: Likewise.
15531 * sysdeps/unix/sysv/linux/configure: Likewise.
15532 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15533 * sysdeps/x86_64/configure: Likewise.
15534 * sysdeps/x86_64/preconfigure: Likewise.
15536 2013-10-29 Andreas Schwab <schwab@suse.de>
15538 * stdio-common/Makefile (tst-swscanf-ENV): Define.
15540 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15542 * benchtests/pow-inputs: Add new inputs.
15544 * benchtests/exp-inputs: Add new inputs.
15546 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15547 conditional check for return value.
15548 (__cos32): Likewise.
15550 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15552 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15553 to provide a boost for large inputs with word alignment.
15554 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15555 implementation based on optimized PPC64 strcpy.
15556 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15557 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15558 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15559 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15561 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15564 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15566 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15569 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15570 * time/tst-strptime.c (day_tests): Add testcase.
15572 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15575 * manual/pattern.texi: Acknowledge that fnmatch can fail.
15577 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
15580 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15581 MAP_FAILED on error.
15583 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15586 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15587 heap for large requests.
15589 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
15592 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15593 result if the result has no associated interface.
15594 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15595 interface for all 127.X.Y.Z addresses.
15597 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
15599 * locale/iso-639.def: Add Ligurian (lij)
15601 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
15604 * sunrpc/rpc_main.c: Document rpcgen -5.
15606 2013-10-19 Michael Stahl <mstahl@redhat.com>
15608 * elf/rtld.c (do_preload): Print the reason why preloading failed.
15610 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15613 * posix/glob.c: Match only directories when trailing slash is present.
15614 * posix/tst-gnuglob.c (my_opendir): Do not open files.
15615 (main): Add testcase.
15617 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15620 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15622 2013-10-18 Carlos O'Donell <carlos@redhat.com>
15624 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15625 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15626 AUTH_DES and cindex for FIPS 140-2.
15627 (DES Encryption): Add cindex FIPS 46-3.
15629 * locale/locarchive.h (struct locarhandle): Add fname.
15630 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15631 if an optional argument was specified to --list-archive,
15633 * locale/programs/locarchive.c (show_archive_content): Take new
15634 argument fname and pass it via ah.fname to open_archive.
15635 * locale/programs/localedef.h: Update decl.
15636 (open_archive): If AH->fname is non-null, open that file
15637 rather than the default file name, and don't ignore ENOENT.
15638 (create_archive): Set AH.fname to NULL.
15639 (delete_locales_from_archive): Likewise.
15640 (add_locales_to_archive): Likewise.
15641 * locale/programs/locfile.c (write_all_categories): Likewise.
15643 2013-10-18 Joseph Myers <joseph@codesourcery.com>
15644 Aldy Hernandez <aldyh@redhat.com>
15646 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15647 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15648 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15649 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15650 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15651 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15652 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15653 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15654 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15655 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15656 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15657 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15658 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15659 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15660 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15662 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15664 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15666 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15668 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15669 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15671 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15672 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15673 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15674 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15676 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15677 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15678 * sysdeps/powerpc/preconfigure: Likewise.
15679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15681 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15682 Replace contents of file by #include of <fenv_libc.h>.
15683 * sysdeps/powerpc/soft-fp/sfp-machine.h
15684 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15686 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15687 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15688 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15689 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15690 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15691 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15692 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15693 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15694 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15695 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15696 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15697 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15699 Allow copysignl PLT reference to be missing.
15701 2013-10-18 Richard Sandiford <richard@codesourcery.com>
15702 Joseph Myers <joseph@codesourcery.com
15705 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15707 (add_to_tablewc): Assert sequence of wide characters is nonempty.
15709 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15711 * elf/tst-tls-dlinfo.c: Don't include tls.h.
15712 * elf/tst-tls1.c: Likewise.
15713 * elf/tst-tls10.h: Likewise.
15714 * elf/tst-tls14.c: Likewise.
15715 * elf/tst-tls2.c: Likewise.
15716 * elf/tst-tls3.c: Likewise.
15717 * elf/tst-tls4.c: Likewise.
15718 * elf/tst-tls5.c: Likewise.
15719 * elf/tst-tls6.c: Likewise.
15720 * elf/tst-tls7.c: Likewise.
15721 * elf/tst-tls8.c: Likewise.
15722 * elf/tst-tls9.c: Likewise.
15723 * elf/tst-tlsmod1.c: Likewise.
15724 * elf/tst-tlsmod13.c: Likewise.
15725 * elf/tst-tlsmod13a.c: Likewise.
15726 * elf/tst-tlsmod14a.c: Likewise.
15727 * elf/tst-tlsmod16a.c: Likewise.
15728 * elf/tst-tlsmod16b.c: Likewise.
15729 * elf/tst-tlsmod2.c: Likewise.
15730 * elf/tst-tlsmod3.c: Likewise.
15731 * elf/tst-tlsmod4.c: Likewise.
15732 * elf/tst-tlsmod5.c: Likewise.
15733 * elf/tst-tlsmod6.c: Likewise.
15735 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
15738 * malloc/malloc.c: remove checks for statistics.
15740 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15743 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15744 * inet/tst-network.c: Add testcase.
15746 2013-10-17 Andreas Schwab <schwab@suse.de>
15749 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15750 to determine canonical name.
15752 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15754 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15755 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15756 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15757 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15758 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15759 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15760 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15761 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15762 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15763 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15764 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15765 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15766 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15767 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15768 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15769 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15770 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15771 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15772 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15773 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15774 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15775 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15776 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15777 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15778 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15779 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15780 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15781 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15782 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15783 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15784 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15785 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15786 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15787 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15788 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15789 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15790 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15791 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15792 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15793 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15794 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15795 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15796 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15797 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15798 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15799 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15800 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15801 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15802 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15803 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15804 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15805 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15806 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15807 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15808 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15809 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15810 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15811 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15813 2013-10-17 Joseph Myers <joseph@codesourcery.com>
15816 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15817 make result into a quiet NaN.
15819 2013-10-16 Joseph Myers <joseph@codesourcery.com>
15821 * soft-fp/adddf3.c: Fix horizontal whitespace.
15822 * soft-fp/addsf3.c: Likewise.
15823 * soft-fp/addtf3.c: Likewise.
15824 * soft-fp/divdf3.c: Likewise.
15825 * soft-fp/divsf3.c: Likewise.
15826 * soft-fp/divtf3.c: Likewise.
15827 * soft-fp/double.h: Likewise.
15828 * soft-fp/eqdf2.c: Likewise.
15829 * soft-fp/eqsf2.c: Likewise.
15830 * soft-fp/eqtf2.c: Likewise.
15831 * soft-fp/extenddftf2.c: Likewise.
15832 * soft-fp/extended.h: Likewise.
15833 * soft-fp/extendsfdf2.c: Likewise.
15834 * soft-fp/extendsftf2.c: Likewise.
15835 * soft-fp/extendxftf2.c: Likewise.
15836 * soft-fp/fixdfdi.c: Likewise.
15837 * soft-fp/fixdfsi.c: Likewise.
15838 * soft-fp/fixdfti.c: Likewise.
15839 * soft-fp/fixsfdi.c: Likewise.
15840 * soft-fp/fixsfsi.c: Likewise.
15841 * soft-fp/fixsfti.c: Likewise.
15842 * soft-fp/fixtfdi.c: Likewise.
15843 * soft-fp/fixtfsi.c: Likewise.
15844 * soft-fp/fixtfti.c: Likewise.
15845 * soft-fp/fixunsdfdi.c: Likewise.
15846 * soft-fp/fixunsdfsi.c: Likewise.
15847 * soft-fp/fixunsdfti.c: Likewise.
15848 * soft-fp/fixunssfdi.c: Likewise.
15849 * soft-fp/fixunssfsi.c: Likewise.
15850 * soft-fp/fixunssfti.c: Likewise.
15851 * soft-fp/fixunstfdi.c: Likewise.
15852 * soft-fp/fixunstfsi.c: Likewise.
15853 * soft-fp/fixunstfti.c: Likewise.
15854 * soft-fp/floatdidf.c: Likewise.
15855 * soft-fp/floatdisf.c: Likewise.
15856 * soft-fp/floatditf.c: Likewise.
15857 * soft-fp/floatsidf.c: Likewise.
15858 * soft-fp/floatsisf.c: Likewise.
15859 * soft-fp/floatsitf.c: Likewise.
15860 * soft-fp/floattidf.c: Likewise.
15861 * soft-fp/floattisf.c: Likewise.
15862 * soft-fp/floattitf.c: Likewise.
15863 * soft-fp/floatundidf.c: Likewise.
15864 * soft-fp/floatundisf.c: Likewise.
15865 * soft-fp/floatunditf.c: Likewise.
15866 * soft-fp/floatunsidf.c: Likewise.
15867 * soft-fp/floatunsisf.c: Likewise.
15868 * soft-fp/floatunsitf.c: Likewise.
15869 * soft-fp/floatuntidf.c: Likewise.
15870 * soft-fp/floatuntisf.c: Likewise.
15871 * soft-fp/floatuntitf.c: Likewise.
15872 * soft-fp/fmadf4.c: Likewise.
15873 * soft-fp/fmasf4.c: Likewise.
15874 * soft-fp/fmatf4.c: Likewise.
15875 * soft-fp/gedf2.c: Likewise.
15876 * soft-fp/gesf2.c: Likewise.
15877 * soft-fp/getf2.c: Likewise.
15878 * soft-fp/ledf2.c: Likewise.
15879 * soft-fp/lesf2.c: Likewise.
15880 * soft-fp/letf2.c: Likewise.
15881 * soft-fp/muldf3.c: Likewise.
15882 * soft-fp/mulsf3.c: Likewise.
15883 * soft-fp/multf3.c: Likewise.
15884 * soft-fp/negdf2.c: Likewise.
15885 * soft-fp/negsf2.c: Likewise.
15886 * soft-fp/negtf2.c: Likewise.
15887 * soft-fp/op-1.h: Likewise.
15888 * soft-fp/op-2.h: Likewise.
15889 * soft-fp/op-4.h: Likewise.
15890 * soft-fp/op-8.h: Likewise.
15891 * soft-fp/op-common.h: Likewise.
15892 * soft-fp/quad.h: Likewise.
15893 * soft-fp/single.h: Likewise.
15894 * soft-fp/soft-fp.h: Likewise.
15895 * soft-fp/sqrtdf2.c: Likewise.
15896 * soft-fp/sqrtsf2.c: Likewise.
15897 * soft-fp/sqrttf2.c: Likewise.
15898 * soft-fp/subdf3.c: Likewise.
15899 * soft-fp/subsf3.c: Likewise.
15900 * soft-fp/subtf3.c: Likewise.
15901 * soft-fp/truncdfsf2.c: Likewise.
15902 * soft-fp/trunctfdf2.c: Likewise.
15903 * soft-fp/trunctfsf2.c: Likewise.
15904 * soft-fp/trunctfxf2.c: Likewise.
15905 * soft-fp/unorddf2.c: Likewise.
15906 * soft-fp/unordsf2.c: Likewise.
15907 * soft-fp/unordtf2.c: Likewise.
15909 2013-10-15 Joseph Myers <joseph@codesourcery.com>
15911 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15912 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15914 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
15916 * elf/dl-libc.c: Clear initfini list after freeing.
15918 2013-10-14 Joseph Myers <joseph@codesourcery.com>
15920 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15921 * soft-fp/addsf3.c: Likewise.
15922 * soft-fp/addtf3.c: Likewise.
15923 * soft-fp/divdf3.c: Likewise.
15924 * soft-fp/divsf3.c: Likewise.
15925 * soft-fp/divtf3.c: Likewise.
15926 * soft-fp/double.h: Likewise.
15927 * soft-fp/eqdf2.c: Likewise.
15928 * soft-fp/eqsf2.c: Likewise.
15929 * soft-fp/eqtf2.c: Likewise.
15930 * soft-fp/extenddftf2.c: Likewise.
15931 * soft-fp/extended.h: Likewise.
15932 * soft-fp/extendsfdf2.c: Likewise.
15933 * soft-fp/extendsftf2.c: Likewise.
15934 * soft-fp/extendxftf2.c: Likewise.
15935 * soft-fp/fixdfdi.c: Likewise.
15936 * soft-fp/fixdfsi.c: Likewise.
15937 * soft-fp/fixdfti.c: Likewise.
15938 * soft-fp/fixsfdi.c: Likewise.
15939 * soft-fp/fixsfsi.c: Likewise.
15940 * soft-fp/fixsfti.c: Likewise.
15941 * soft-fp/fixtfdi.c: Likewise.
15942 * soft-fp/fixtfsi.c: Likewise.
15943 * soft-fp/fixtfti.c: Likewise.
15944 * soft-fp/fixunsdfdi.c: Likewise.
15945 * soft-fp/fixunsdfsi.c: Likewise.
15946 * soft-fp/fixunsdfti.c: Likewise.
15947 * soft-fp/fixunssfdi.c: Likewise.
15948 * soft-fp/fixunssfsi.c: Likewise.
15949 * soft-fp/fixunssfti.c: Likewise.
15950 * soft-fp/fixunstfdi.c: Likewise.
15951 * soft-fp/fixunstfsi.c: Likewise.
15952 * soft-fp/fixunstfti.c: Likewise.
15953 * soft-fp/floatdidf.c: Likewise.
15954 * soft-fp/floatdisf.c: Likewise.
15955 * soft-fp/floatditf.c: Likewise.
15956 * soft-fp/floatsidf.c: Likewise.
15957 * soft-fp/floatsisf.c: Likewise.
15958 * soft-fp/floatsitf.c: Likewise.
15959 * soft-fp/floattidf.c: Likewise.
15960 * soft-fp/floattisf.c: Likewise.
15961 * soft-fp/floattitf.c: Likewise.
15962 * soft-fp/floatundidf.c: Likewise.
15963 * soft-fp/floatundisf.c: Likewise.
15964 * soft-fp/floatunsidf.c: Likewise.
15965 * soft-fp/floatunsisf.c: Likewise.
15966 * soft-fp/floatuntidf.c: Likewise.
15967 * soft-fp/floatuntisf.c: Likewise.
15968 * soft-fp/floatuntitf.c: Likewise.
15969 * soft-fp/fmadf4.c: Likewise.
15970 * soft-fp/fmasf4.c: Likewise.
15971 * soft-fp/fmatf4.c: Likewise.
15972 * soft-fp/gedf2.c: Likewise.
15973 * soft-fp/gesf2.c: Likewise.
15974 * soft-fp/getf2.c: Likewise.
15975 * soft-fp/ledf2.c: Likewise.
15976 * soft-fp/lesf2.c: Likewise.
15977 * soft-fp/letf2.c: Likewise.
15978 * soft-fp/muldf3.c: Likewise.
15979 * soft-fp/mulsf3.c: Likewise.
15980 * soft-fp/multf3.c: Likewise.
15981 * soft-fp/negdf2.c: Likewise.
15982 * soft-fp/negsf2.c: Likewise.
15983 * soft-fp/negtf2.c: Likewise.
15984 * soft-fp/op-1.h: Likewise.
15985 * soft-fp/op-2.h: Likewise.
15986 * soft-fp/op-4.h: Likewise.
15987 * soft-fp/op-8.h: Likewise.
15988 * soft-fp/op-common.h: Likewise.
15989 * soft-fp/quad.h: Likewise.
15990 * soft-fp/single.h: Likewise.
15991 * soft-fp/soft-fp.h: Likewise.
15992 * soft-fp/sqrtdf2.c: Likewise.
15993 * soft-fp/sqrtsf2.c: Likewise.
15994 * soft-fp/sqrttf2.c: Likewise.
15995 * soft-fp/subdf3.c: Likewise.
15996 * soft-fp/subsf3.c: Likewise.
15997 * soft-fp/subtf3.c: Likewise.
15998 * soft-fp/truncdfsf2.c: Likewise.
15999 * soft-fp/trunctfdf2.c: Likewise.
16000 * soft-fp/trunctfsf2.c: Likewise.
16001 * soft-fp/trunctfxf2.c: Likewise.
16002 * soft-fp/unorddf2.c: Likewise.
16003 * soft-fp/unordsf2.c: Likewise.
16004 * soft-fp/unordtf2.c: Likewise.
16006 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
16009 * misc/error.c (error_tail): Fix possible buffer overflow.
16011 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
16014 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16017 2013-10-14 P. J. McDermott <pj@pehjota.net>
16020 * elf/ldd.bash.in (try_trace): New function. Delete previous code
16021 testing pipefail option.
16023 2013-10-12 Joseph Myers <joseph@codesourcery.com>
16025 * soft-fp/double.h: Indent preprocessor directives inside #if.
16026 * soft-fp/extended.h: Likewise.
16027 * soft-fp/op-2.h: Likewise.
16028 * soft-fp/op-4.h: Likewise.
16029 * soft-fp/op-common.h: Likewise.
16030 * soft-fp/quad.h: Likewise.
16031 * soft-fp/single.h: Likewise.
16032 * soft-fp/soft-fp.h: Likewise.
16034 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
16036 * iconv/iconv_prog.c: Fix typos.
16037 * stdio-common/psiginfo-data.h: Likewise.
16039 2013-10-12 Reuben Thomas <rrt@sc3d.org>
16042 * locale/setlocale.c: Fix typo.
16044 2013-10-12 Joseph Myers <joseph@codesourcery.com>
16047 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16048 signaling NaN arguments.
16049 * soft-fp/unordsf2.c (__unordsf2): Likewise.
16050 * soft-fp/unordtf2.c (__unordtf2): Likewise.
16053 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16054 unordered operands.
16055 * soft-fp/gesf2.c (__gesf2): Likewise.
16056 * soft-fp/getf2.c (__getf2): Likewise.
16057 * soft-fp/ledf2.c (__ledf2): Likewise.
16058 * soft-fp/lesf2.c (__lesf2): Likewise.
16059 * soft-fp/letf2.c (__letf2): Likewise.
16061 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16062 * soft-fp/eqsf2.c (__eqsf2): Likewise.
16063 * soft-fp/eqtf2.c (__eqtf2): Likewise.
16064 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16065 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16066 * soft-fp/fixdfti.c (__fixdfti): Likewise.
16067 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16068 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16069 * soft-fp/fixsfti.c (__fixsfti): Likewise.
16070 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16071 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16072 * soft-fp/fixtfti.c (__fixtfti): Likewise.
16073 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16074 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16075 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16076 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16077 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16078 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16079 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16080 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16081 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16082 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16083 * soft-fp/floatdisf.c (__floatdisf): Likewise.
16084 * soft-fp/floatsisf.c (__floatsisf): Likewise.
16085 * soft-fp/floattidf.c (__floattidf): Likewise.
16086 * soft-fp/floattisf.c (__floattisf): Likewise.
16087 * soft-fp/floattitf.c (__floattitf): Likewise.
16088 * soft-fp/floatundidf.c (__floatundidf): Likewise.
16089 * soft-fp/floatundisf.c (__floatundisf): Likewise.
16090 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16091 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16092 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16093 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16094 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16095 * soft-fp/gesf2.c (__gesf2): Likewise.
16096 * soft-fp/getf2.c (__getf2): Likewise.
16097 * soft-fp/ledf2.c (__ledf2): Likewise.
16098 * soft-fp/lesf2.c (__lesf2): Likewise.
16099 * soft-fp/letf2.c (__letf2): Likewise.
16101 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16102 Undefine and redefine.
16103 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16104 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16105 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16106 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16107 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16108 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16109 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16110 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16111 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16112 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16113 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16114 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16115 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16116 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16117 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16120 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16121 without decrementing exponent if mantissa >= that for the
16122 denominator, not >.
16123 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16124 denominator, not >. Decrement exponent in < case instead of
16125 incrementing in >= case.
16126 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16127 without decrementing exponent if mantissa >= that for the
16128 denominator, not >.
16130 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16131 computing saturated result for unsigned overflow.
16133 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16134 Jeff Law <law@redhat.com>
16136 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16137 (atan2Mp): Add systemtap probe marker.
16138 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16139 (__ieee754_log): Add systemtap probe marker.
16140 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16141 (atanMp): Add systemtap probe marker.
16142 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16143 (tanMp): Add systemtap probe marker.
16144 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16145 (__slowexp): Add systemtap probe marker.
16146 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16147 (__slowpow): Add systemtap probe marker.
16148 * manual/probes.texi: Document probes.
16150 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
16153 * libio/fileops.c (_IO_new_file_write): Return count of bytes
16155 (_IO_new_file_xsputn): Don't return EOF if nothing has been
16157 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16158 written to buffer but not flushed.
16159 * libio/iofwrite_u.c: Likewise.
16160 * libio/iopadn.c: Return bytes returned even if EOF was
16162 * libio/iowpadn.c: Likewise.
16163 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16164 if _IO_padn does not write the whole buffer.
16165 [!COMPILE_WPRINTF] (PAD): Likewise.
16167 2013-10-10 David S. Miller <davem@davemloft.net>
16169 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16172 2013-10-10 Joseph Myers <joseph@codesourcery.com>
16174 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
16175 instead of FSF address.
16176 * soft-fp/fixdfti.c: Likewise.
16177 * soft-fp/fixsfti.c: Likewise.
16178 * soft-fp/fixtfti.c: Likewise.
16179 * soft-fp/fixunsdfti.c: Likewise.
16180 * soft-fp/fixunssfti.c: Likewise.
16181 * soft-fp/fixunstfti.c: Likewise.
16182 * soft-fp/floattidf.c: Likewise.
16183 * soft-fp/floattisf.c: Likewise.
16184 * soft-fp/floattitf.c: Likewise.
16185 * soft-fp/floatuntidf.c: Likewise.
16186 * soft-fp/floatuntisf.c: Likewise.
16187 * soft-fp/floatuntitf.c: Likewise.
16188 * soft-fp/trunctfxf2.c: Likewise.
16190 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
16191 * soft-fp/fixdfti.c: Likewise.
16192 * soft-fp/fixsfti.c: Likewise.
16193 * soft-fp/fixtfti.c: Likewise.
16194 * soft-fp/fixunsdfti.c: Likewise.
16195 * soft-fp/fixunssfti.c: Likewise.
16196 * soft-fp/fixunstfti.c: Likewise.
16197 * soft-fp/floattidf.c: Likewise.
16198 * soft-fp/floattisf.c: Likewise.
16199 * soft-fp/floattitf.c: Likewise.
16200 * soft-fp/floatuntidf.c: Likewise.
16201 * soft-fp/floatuntisf.c: Likewise.
16202 * soft-fp/floatuntitf.c: Likewise.
16203 * soft-fp/trunctfxf2.c: Likewise.
16205 2013-10-10 David S. Miller <davem@davemloft.net>
16207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16209 2013-10-10 Joseph Myers <joseph@codsourcery.com>
16211 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16212 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16213 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16214 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16215 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16216 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16217 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16219 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16220 for NaNs before doing comparisons on argument.
16221 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16224 2013-10-10 Will Newton <will.newton@linaro.org>
16226 * malloc/hooks.c (memalign_check): Ensure the value of bytes
16227 passed to _int_memalign does not overflow.
16229 2013-10-10 Torvald Riegel <triegel@redhat.com>
16231 * scripts/bench.pl: Add include-sources directive.
16232 * benchtests/README: Update documentation.
16234 2013-10-10 Joseph Myers <joseph@codesourcery.com>
16236 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16237 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16238 instead of FP_INIT_ROUNDMODE.
16239 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16240 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16243 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
16244 copy class of input value.
16245 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
16246 not handle exceptions.
16247 * soft-fp/negsf2.c (__negsf2): Likewise.
16248 * soft-fp/negtf2.c (__negtf2): Likewise.
16249 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16251 2013-10-09 Joseph Myers <joseph@codesourcery.com>
16253 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16254 semicolon. From Linux kernel.
16256 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
16258 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16260 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
16263 * manual/socket.texi: Added statement about buffer
16264 for gethostbyname2_r.
16266 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
16268 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16269 Use .p2align directive instead, throughout.
16270 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16271 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16272 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16273 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16274 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16275 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16276 * sysdeps/x86_64/strchr.S: Likewise.
16277 * sysdeps/x86_64/strrchr.S: Likewise.
16279 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16281 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16283 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16285 * sysdeps/generic/math_private.h (__mpsin1): Remove
16287 (__mpcos1): Likewise.
16288 (__mpsin): New argument __range_reduce.
16289 (__mpcos): Likewise.
16290 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16291 (slow): Use __mpsin and __mpcos.
16295 (sloww1): Likewise.
16296 (sloww2): Likewise.
16297 (bsloww): Likewise.
16298 (bsloww1): Likewise.
16299 (bsloww2): Likewise.
16300 (cslow2): Likewise.
16301 (csloww): Likewise.
16302 (csloww1): Likewise.
16303 (csloww2): Likewise.
16304 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16305 range_reduce. Merge in __mpsin1.
16306 (__mpcos): Likewise.
16307 (__mpsin1): Remove.
16308 (__mpcos1): Likewise.
16310 2013-10-07 Joseph Myers <joseph@codesourcery.com>
16312 * locale/loadlocale.c (_nl_intern_locale_data): Use
16314 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16315 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16316 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16317 obstack data is appropriately aligned.
16318 (obstack_int32_grow_fast): Likewise.
16319 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16320 * locale/programs/locfile.c (add_locale_uint32): Likewise.
16321 (add_locale_uint32_array): Likewise.
16323 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16325 * benchtests/Makefile: Remove ARGLIST and RET variables.
16326 ($(objpfx)bench-%.c): Pass only function name to the script.
16327 * benchtests/README: Update documentation.
16328 * benchtests/acos-inputs: Add new directives.
16329 * benchtests/acosh-inputs: Likewise.
16330 * benchtests/asin-inputs: Likewise.
16331 * benchtests/asinh-inputs: Likewise.
16332 * benchtests/atan-inputs: Likewise.
16333 * benchtests/atanh-inputs: Likewise.
16334 * benchtests/cos-inputs: Likewise.
16335 * benchtests/cosh-inputs: Likewise.
16336 * benchtests/exp-inputs: Likewise.
16337 * benchtests/log-inputs: Likewise.
16338 * benchtests/pow-inputs: Likewise.
16339 * benchtests/rint-inputs: Likewise.
16340 * benchtests/sin-inputs: Likewise.
16341 * benchtests/sinh-inputs: Likewise.
16342 * benchtests/tan-inputs: Likewise.
16343 * benchtests/tanh-inputs: Likewise.
16344 * scripts/bench.pl: Add support for new directives.
16346 2013-10-07 Alan Modra <amodra@gmail.com>
16348 * README: Fix careless merge.
16350 2013-10-05 Alan Modra <amodra@gmail.com>
16352 * NEWS: Mention powerpc64le support and bugs fixed.
16353 * README: Both big-endian and little-endian powerpc64 supported.
16355 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16357 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16358 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16359 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16360 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16362 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
16364 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16367 2013-10-04 Joseph Myers <joseph@codesourcery.com>
16369 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16370 Move -mhard-float appending from
16371 ports/sysdeps/powerpc/powerpc32/Makefile.
16372 [$(with-fp) = yes] (ASFLAGS): Likewise.
16373 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16374 * sysdeps/powerpc/nofpu: Move directory from
16375 ports/sysdeps/powerpc/nofpu.
16376 * sysdeps/powerpc/soft-fp: Move directory from
16377 ports/sysdeps/powerpc/soft-fp.
16378 * sysdeps/powerpc/powerpc32/405: Move directory from
16379 ports/sysdeps/powerpc/powerpc32/405.
16380 * sysdeps/powerpc/powerpc32/440: Move directory from
16381 ports/sysdeps/powerpc/powerpc32/440.
16382 * sysdeps/powerpc/powerpc32/464: Move directory from
16383 ports/sysdeps/powerpc/powerpc32/464.
16384 * sysdeps/powerpc/powerpc32/476: Move directory from
16385 ports/sysdeps/powerpc/powerpc32/476.
16386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16387 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16389 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16391 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16393 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16395 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16396 * README: Update for powerpc-*-linux-gnu software floating point
16399 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16400 case to powerpc/powerpc32*.
16401 * sysdeps/unix/sysv/linux/configure: Regenerated.
16403 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16404 (_FPU_MASK_OM): Define as 0x04.
16405 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16406 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16408 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16410 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16413 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16416 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16419 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16420 and setcontext_e500.
16422 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
16424 * locale/iso-3166.def: Update iso-1366.def and related occurrences
16426 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16428 * manual/threads.texi (Default Thread Attributes): Fix typo.
16430 2013-10-04 Will Newton <will.newton@linaro.org>
16432 * malloc/Makefile: Add tst-memalign.
16433 * malloc/tst-memalign.c: New file.
16435 * malloc/tst-posix_memalign.c: Add comments.
16436 (do_test): Add comments and call free on all potentially
16437 allocated pointers. Add space after cast.
16439 * malloc/tst-pvalloc.c: Add comments.
16440 (do_test): Add comments and call free on all potentially
16441 allocated pointers. Remove duplicate check for NULL pointer.
16442 Add space after cast.
16444 * malloc/tst-valloc.c: Add comments.
16445 (do_test): Add comments and call free on all potentially
16446 allocated pointers. Remove duplicate check for NULL pointer.
16447 Add space after cast.
16449 2013-10-04 Alan Modra <amodra@gmail.com>
16451 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16452 Use stdint types in rather than __attribute__((mode())).
16453 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16455 2013-10-04 Alan Modra <amodra@gmail.com>
16457 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16458 Correct handling of unaligned relocs for little-endian.
16459 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16461 2013-10-04 Alan Modra <amodra@gmail.com>
16463 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16464 * configure: Regenerate.
16465 * nptl/shlib-versions: Powerpc*le starts at 2.18.
16466 * shlib-versions: Likewise.
16468 2013-10-04 Alan Modra <amodra@gmail.com>
16470 * string/tester.c (test_memrchr): Increment reported test cycle.
16472 2013-10-04 Alan Modra <amodra@gmail.com>
16474 * string/test-memcpy.c (do_one_test): When reporting errors, print
16475 string address and don't overrun end of string.
16477 2013-10-04 Alan Modra <amodra@gmail.com>
16479 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16480 insrdi. Make better use of reg selection to speed exit slightly.
16481 Schedule entry path a little better. Remove useless "are we done"
16482 checks on entry to main loop. Handle wrapping around zero address.
16483 Correct main loop count. Handle single left-over word from main
16484 loop inline rather than by using loop_small. Remove extra word
16485 case in loop_small caused by wrong loop count. Add little-endian
16487 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16488 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
16490 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16491 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16492 support. Avoid rlwimi.
16493 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16495 2013-10-04 Alan Modra <amodra@gmail.com>
16497 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16498 insrdi. Formatting.
16499 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16500 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16501 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16502 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16503 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16504 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16506 2013-10-04 Alan Modra <amodra@gmail.com>
16508 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16509 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16510 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16511 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16512 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16513 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16514 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16515 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16516 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
16517 use of regs. Use power7 mtocrf. Tidy function tails.
16519 2013-10-04 Alan Modra <amodra@gmail.com>
16521 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16522 Formatting. Consistently use rXXX register defines or rN defines.
16523 Use early exit labels that avoid restoring unused non-volatile regs.
16524 Make cr field use more consistent with rWORDn compares. Rename
16525 regs used as shift registers for unaligned loop, using rN defines
16526 for short lifetime/multiple use regs.
16527 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16528 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
16529 addi 1,1,64 to pop stack frame. Simplify return value code.
16530 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16532 2013-10-04 Alan Modra <amodra@gmail.com>
16534 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16535 support. Correct typos, formatting. Optimize tail. Use insrdi
16536 rather than rlwimi.
16537 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16538 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16539 little-endian support. Correct typos.
16540 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
16541 rather than rlwimi.
16542 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
16543 in loop and entry code to keep "and." results.
16544 (strchr): Add little-endian support. Comment. Move cntlzd
16546 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16548 2013-10-04 Alan Modra <amodra@gmail.com>
16550 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16551 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16552 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16553 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16555 2013-10-04 Alan Modra <amodra@gmail.com>
16557 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16558 (rTMP): Define as r11.
16559 (strcmp): Add little-endian support. Optimise tail.
16560 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16561 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16562 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16563 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16564 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16565 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16566 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16568 2013-10-04 Alan Modra <amodra@gmail.com>
16570 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16571 little-endian support. Remove unnecessary "are we done" tests.
16572 Handle "s" wrapping around zero and extremely large "size".
16573 Correct main loop count. Handle single left-over word from main
16574 loop inline rather than by using small_loop. Correct comments.
16575 Delete "zero" tail, use "end_max" instead.
16576 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16578 2013-10-04 Alan Modra <amodra@gmail.com>
16580 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16581 support. Don't branch over align.
16582 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16583 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16584 support. Rearrange tmp reg use to suit. Comment.
16585 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16587 2013-10-04 Alan Modra <amodra@gmail.com>
16589 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16591 2013-10-04 Alan Modra <amodra@gmail.com>
16593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16594 conditional form of branch and link when obtaining pc.
16595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16597 2013-10-04 Alan Modra <amodra@gmail.com>
16599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16604 2013-10-04 Alan Modra <amodra@gmail.com>
16606 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16607 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16608 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16609 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16610 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16611 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16612 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16613 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16614 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16615 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16617 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16618 Alistair Popple <alistair@ozlabs.au.ibm.com>
16619 Alan Modra <amodra@gmail.com>
16622 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16623 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16624 _dl_hwcap access for little-endian.
16625 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
16626 destroy vmx regs when saving unaligned.
16627 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16628 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
16629 destroy vmx regs when saving unaligned.
16631 2013-10-04 Alan Modra <amodra@gmail.com>
16633 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16634 Don't use a union to pack hi/low value.
16636 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16638 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16640 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16641 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16642 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16643 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16644 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16646 2013-10-04 Alan Modra <amodra@gmail.com>
16648 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16649 constants to usual value for .cst8 section, and remove redundant
16651 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16652 constant for 0x1p52. Load little-endian words of double from
16653 correct stack offsets.
16655 2013-10-04 Alan Modra <amodra@gmail.com>
16657 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16658 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16659 words of double from correct stack offsets.
16660 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16661 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16662 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16663 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16664 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16665 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16666 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16667 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16668 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16669 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16670 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16671 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16672 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16673 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16674 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16675 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16676 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16678 2013-10-04 Alan Modra <amodra@gmail.com>
16680 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16681 64-bit int/double union.
16682 (_FPU_SETCW): Likewise.
16683 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16684 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16686 2013-10-04 Alan Modra <amodra@gmail.com>
16688 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16689 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16691 2013-10-04 Alan Modra <amodra@gmail.com>
16693 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16694 use vector int constants.
16695 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16697 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16699 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16700 array with long long.
16701 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16702 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16703 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16704 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16705 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16706 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16707 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16708 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16709 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16710 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16711 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16712 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16713 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16715 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16717 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16718 (__signbit): Likewise. Correct for little-endian.
16719 (__signbitl): Call __signbit.
16720 (lrint): Correct for little-endian.
16721 (lrintf): Call lrint.
16723 2013-10-04 Alan Modra <amodra@gmail.com>
16725 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16726 union 32-bit int array member with 64-bit int array.
16727 (t515, tm256): Double rather than long double.
16728 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16730 2013-10-04 Alan Modra <amodra@gmail.com>
16732 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16734 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16735 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16736 version of math_ldbl.h.
16738 2013-10-04 Alan Modra <amodra@gmail.com>
16740 [BZ #15734], [BZ #15735]
16741 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16742 all uses of ieee875 long double macros and unions. Simplify test
16743 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16744 ldbl_extract_mantissa value for ix,iy exponents. Properly
16745 normalize after ldbl_extract_mantissa, and don't add hidden bit
16746 already handled. Don't treat low word of ieee854 mantissa like
16747 low word of IBM long double and mask off bit when testing for
16749 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16750 all uses of ieee875 long double macros and unions. Simplify tests
16751 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16752 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16753 two1022, instead use their values. Recognise that tests for large
16754 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16755 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16756 Rewrite all uses of ieee875 long double macros and unions. Simplify
16757 test for 0.0L and nan. Correct negation.
16758 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16759 ieee875 long double macros and unions. Correct output for large
16760 magnitude x. Correct absolute value calculation.
16761 (__erfcl): Likewise.
16762 * math/libm-test.inc: Add tests for errors discovered in IBM long
16763 double versions of fmodl, remainderl, erfl and erfcl.
16765 2013-10-04 Alan Modra <amodra@gmail.com>
16767 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16768 all uses of ieee854 long double macros and unions. Simplify tests
16769 for long doubles that are fully specified by the high double.
16770 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16772 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16773 Remove dead code too.
16774 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16775 (__ieee754_ynl): Likewise.
16776 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16777 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16778 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16779 Remove dead code too.
16780 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16781 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16782 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16783 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16785 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16787 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16788 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16789 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16790 Comment on variable precision.
16791 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16792 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16794 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16795 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16796 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16797 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16798 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16800 2013-10-04 Alan Modra <amodra@gmail.com>
16802 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16803 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16804 all uses of ieee854 long double macros and unions.
16805 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16806 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16807 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16808 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16809 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16810 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16812 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16813 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16814 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16815 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16816 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16817 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16818 Simplify sign and nan test too.
16819 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16820 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16821 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16822 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16824 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16825 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16827 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16828 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16829 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16830 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16831 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16832 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16834 2013-10-04 Alan Modra <amodra@gmail.com>
16836 * stdio-common/printf_size.c (__printf_size): Don't use
16837 union ieee854_long_double in fpnum union.
16838 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
16839 signbit macro to retrieve sign from long double.
16840 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16841 retrieve sign from long double.
16842 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16843 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16844 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16845 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16846 * math/test-misc.c (main): Don't use union ieee854_long_double.
16848 2013-10-04 Alan Modra <amodra@gmail.com>
16851 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16852 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16853 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16854 calculation. Remove unnecessary test for denormal exponent.
16855 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16856 Correct handling of denormals. Avoid undefined shift behaviour.
16857 Correct normalisation of low mantissa when low double is denormal.
16858 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16859 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
16860 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16861 Correct normalisation of low mantissa. Test for overflow of high
16862 mantissa and normalise.
16863 (ldbl_nearbyint): Use more readable constant for two52.
16864 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16865 (__mpn_construct_long_double): Fix test for overflow of high
16866 mantissa and correct normalisation. Avoid undefined shift.
16868 2013-10-04 Alan Modra <amodra@gmail.com>
16870 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16871 (union ibm_extended_long_double): Define as an array of ieee754_double.
16872 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16873 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16874 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16875 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16876 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16877 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16878 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16879 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16880 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16881 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16882 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16884 2013-10-03 Joseph Myers <joseph@codesourcery.com>
16886 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16887 page size instead of calling getpagesize.
16889 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16890 (LOCFILE_ALIGN_MASK): Likewise.
16891 (LOCFILE_ALIGN_UP): Likewise.
16892 (LOCFILE_ALIGNED_P): Likewise.
16893 * locale/programs/ld-collate.c (collate_output): Use the new
16894 macros instead of __alignof__ (int32_t).
16895 * locale/weight.h (findidx): Likewise.
16897 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
16900 * manual/string.texi: Fix strncat and wcsncat.
16902 2013-10-03 Brooks Moses <bmoses@google.com>
16905 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16906 * Makerules: ...here, and adjust associated comments.
16908 2013-10-02 Will Newton <will.newton@linaro.org>
16910 * malloc/Makefile: Add tst-pvalloc.
16911 * malloc/tst-pvalloc.c: New file.
16913 2013-10-02 Will Newton <will.newton@linaro.org>
16915 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16916 improve test coverage.
16918 2013-10-02 Will Newton <will.newton@linaro.org>
16920 * malloc/Makefile: Add tst-posix_memalign.
16921 * malloc/tst-posix_memalign.c: New file.
16923 2013-10-01 Eric Blake <eblake@redhat.com>
16925 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16926 Use __THROWNL rather than __THROW on static functions.
16928 2013-09-30 Petr Machata <pmachata@redhat.com>
16930 * elf/elf.h (R_AARCH64_ABS16): New macro.
16931 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16932 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16933 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16934 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16935 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16936 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16937 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16938 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16939 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16940 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16941 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16942 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16943 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16944 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16945 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16946 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16947 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16948 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16949 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16950 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16951 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16952 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16953 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16954 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16955 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16956 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16957 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16958 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16959 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16960 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16961 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16962 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16963 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16964 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16965 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16966 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16967 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16968 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16969 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16970 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16971 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16972 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16973 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16974 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16975 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16976 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16977 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16978 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16979 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16980 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16981 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16982 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16983 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16984 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16985 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16986 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16987 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16988 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16989 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16990 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16991 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16992 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16993 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16994 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16995 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16996 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16997 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16998 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16999 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17000 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17001 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17002 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17003 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17004 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17005 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17006 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17007 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17008 (R_AARCH64_TLSDESC_LDR): Likewise.
17009 (R_AARCH64_TLSDESC_ADD): Likewise.
17010 (R_AARCH64_TLSDESC_CALL): Likewise.
17012 2013-09-30 Andreas Schwab <schwab@suse.de>
17015 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17016 the nss database lookup.
17017 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17018 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17020 2013-09-28 Mike Frysinger <vapier@gentoo.org>
17022 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17024 2013-09-28 P. J. McDermott <pj@pehjota.net>
17026 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17027 ${Bash-specific parameter/pattern/string} parameter expansion.
17028 * sysdeps/unix/make-syscalls.sh: Likewise.
17030 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17032 * sysdeps/sh/stackguard-macros.h: New file.
17034 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
17036 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17037 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17038 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17039 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17040 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17041 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17043 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17045 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17046 Fix thread ID register.
17048 2013-09-25 Joseph Myers <joseph@codesourcery.com>
17050 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17051 [POSIX || UNIX98]: Require rather than permitting all symbols from
17053 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17054 element of struct sched_param.
17055 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17056 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17057 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17058 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17061 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
17063 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17064 argument calculation.
17066 2013-09-24 Joseph Myers <joseph@codesourcery.com>
17068 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17070 [POSIX] (pthread_attr_t): Do not require type.
17071 [POSIX] (pthread_cond_t): Likewise.
17072 [POSIX] (pthread_condattr_t): Likewise.
17073 [POSIX] (pthread_key_t): Likewise.
17074 [POSIX] (pthread_mutex_t): Likewise.
17075 [POSIX] (pthread_mutexattr_t): Likewise.
17076 [POSIX] (pthread_once_t): Likewise.
17077 [POSIX] (pthread_t): Likewise.
17078 [POSIX-based standards] (pthread_atfork): Expect function.
17080 2013-09-24 Joseph Myers <joseph@codesourcery.com>
17081 Richard Sandiford <richard@codesourcery.com>
17083 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17084 (swap_endianness_p): New extern variable.
17085 (set_big_endian): New inline function.
17086 (maybe_swap_uint32): Likewise.
17087 (maybe_swap_uint32_array): Likewise.
17088 (maybe_swap_uint32_obstack): Likewise.
17089 * locale/programs/locfile.c: Include <stdbool.h>.
17090 (swap_endianness_p): New variable.
17091 (add_locale_uint32): Call maybe_swap_uint32.
17092 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17093 (write_locale_data): Call maybe_swap_uint32_array.
17094 * locale/programs/ld-collate.c (obstack_int32_grow): Call
17096 (obstack_int32_grow_fast): Likewise.
17097 (output_weightwc): Call maybe_swap_uint32_obstack.
17098 (collate_output): Likewise.
17099 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17100 (OPT_LITTLE_ENDIAN): Likewise.
17101 (options): Add --little-endian and --big-endian options.
17102 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17103 * locale/programs/locarchive.c: Include "locfile.h".
17107 (create_archive): Use the new macros to access fields of
17108 structures directly mapped from or written to locale archives.
17109 (oldlocrecentcmp): Likewise.
17110 (enlarge_archive): Likewise.
17111 (insert_name): Likewise.
17112 (add_alias): Likewise.
17113 (add_locale): Likewise.
17114 (delete_locales_from_archive): Likewise.
17115 (show_archive_content): Likewise.
17116 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
17119 2013-09-24 Roland McGrath <roland@hack.frob.com>
17121 * manual/freemanuals.texi: Updated from (newly) canonical copy at
17122 http://www.gnu.org/doc/freemanuals.texi.
17123 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17125 2013-09-24 Will Newton <will.newton@linaro.org>
17127 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17130 2013-09-23 Joseph Myers <joseph@codesourcery.com>
17132 * locale/hashval.h (compute_hashval): Interpret bytes of key as
17135 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
17137 * manual/threads.texi (POSIX Threads): Fix a typo.
17139 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17142 * string/tst-strcoll-overflow.c: New test case.
17143 * string/Makefile (xtests): Add tst-strcoll-overflow.
17144 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17145 cache if string sizes may cause integer overflow.
17148 * string/strcoll_l.c (coll_seq): New members rule, idx,
17149 save_idx and back_us.
17150 (get_next_seq_nocache): New function.
17151 (do_compare_nocache): New function.
17152 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17155 2013-09-23 Carlos O'Donell <carlos@redhat.com>
17158 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17159 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17160 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17163 * elf/Makefile (tests): Add tst-ptrguard1.
17164 (tests-static): Add tst-ptrguard1-static.
17165 (tst-ptrguard1-ARGS): Define.
17166 (tst-ptrguard1-static-ARGS): Define.
17167 * elf/tst-ptrguard1.c: New file.
17168 * elf/tst-ptrguard1-static.c: New file.
17169 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17170 * sysdeps/i386/stackguard-macros.h: Likewise.
17171 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17172 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17173 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17174 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17175 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17176 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17178 2013-09-23 Hector Marco <hecmargi@upv.es>
17179 Ismael Ripoll <iripoll@disca.upv.es>
17180 Carlos O'Donell <carlos@redhat.com>
17183 * sysdeps/generic/stackguard-macros.h: Define
17184 __pointer_chk_guard_local and POINTER_CHK_GUARD.
17185 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17186 Define __pointer_chk_guard_local.
17187 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17188 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17190 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
17193 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17195 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
17197 * include/string.h (__ffs): Declare as hidden.
17198 * string/ffs.c (__ffs): Define as hidden.
17199 * sysdeps/i386/ffs.c (__ffs): Likewise.
17200 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17201 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17202 * sysdeps/s390/ffs.c (__ffs): Likewise.
17203 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17205 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
17207 * NEWS: Mention malloc probes.
17209 * malloc/arena.c (new_heap): New memory_heap_new probe.
17210 (grow_heap): New memory_heap_more probe.
17211 (shrink_heap): New memory_heap_less probe.
17212 (heap_trim): New memory_heap_free probe.
17213 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17214 (systrim): New memory_sbrk_less probe.
17215 * manual/probes.texi: Document them.
17217 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17218 * manual/probes.texi: Document it.
17220 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17221 (__libc_realloc): Add memory_realloc_retry probe.
17222 (__libc_memalign): Add memory_memalign_retry probe.
17223 (__libc_valloc): Add memory_valloc_retry probe.
17224 (__libc_pvalloc): Add memory_pvalloc_retry probe.
17225 (__libc_calloc): Add memory_calloc_retry probe.
17226 * manual/probes.texi: Document them.
17228 * malloc/arena.c (get_free_list): Add probe
17229 memory_arena_reuse_free_list.
17230 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17231 and memory_arena_reuse.
17232 (arena_get2) [!PER_THREAD]: Likewise.
17233 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17234 memory_arena_reuse_realloc.
17235 * manual/probes.texi: Document them.
17237 * malloc/malloc.c (__libc_free): Add
17238 memory_mallopt_free_dyn_thresholds probe.
17239 (__libc_mallopt): Add multiple memory_mallopt probes.
17240 * manual/probes.texi: Document them.
17242 * malloc/malloc.c: Include stap-probe.h.
17243 (__libc_mallopt): Add memory_mallopt probe.
17244 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17245 * manual/probes.texi: New.
17246 * manual/Makefile (chapters): Add probes.
17247 * manual/threads.texi: Set next node.
17249 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
17251 [BZ #15963, #13985]
17252 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17253 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17254 Add `Chinese' to `nan' entry name.
17256 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17258 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17259 (POLYNOMIAL): Likewise.
17260 (TAYLOR_SINCOS): Likewise.
17261 (TAYLOR_SLOW): Likewise.
17262 (__sin): Use TAYLOR_SINCOS.
17264 (slow): Use TAYLOR_SLOW.
17266 (bsloww): Likewise.
17267 (csloww): Likewise.
17269 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17271 * stdlib/strtod_l.c: Fix buffer overrun.
17273 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17275 * benchtests/Makefile (bench): Add sincos.
17276 * benchtests/bench-sincos.c: New file.
17278 * math/libm-test.inc (cos_test_data): New test inputs.
17279 (sin_test_data): Likewise.
17281 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17287 (sloww1): Likewise.
17288 (sloww2): Likewise.
17289 (bsloww1): Likewise.
17290 (bsloww2): Likewise.
17291 (cslow2): Likewise.
17292 (csloww1): Likewise.
17293 (csloww2): Likewise.
17295 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17300 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17304 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
17306 * config.h.in (HAVE_MIPS_NAN2008): New macro.
17307 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17308 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17309 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17310 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17311 * elf/cache.c (print_entry): Handle the new cache flags.
17313 2013-09-18 Joseph Myers <joseph@codesourcery.com>
17314 Aldy Hernandez <aldyh@redhat.com>
17316 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17317 Change condition to [_SOFT_FLOAT].
17318 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17319 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17320 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17321 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17322 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17323 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17324 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17325 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17326 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17327 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17328 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17329 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17330 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17331 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17332 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17333 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17336 2013-09-18 Joseph Myers <joseph@codesourcery.com>
17338 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17339 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17340 (__longjmp): Use LOAD_GP to load saved GPRs.
17341 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17342 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17343 (__sigsetjmp): Use SAVE_GP to save GPRs.
17345 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17346 Do not append -msoft-float.
17347 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17349 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17351 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17353 2013-09-17 Joseph Myers <joseph@codesourcery.com>
17356 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17357 (_FPU_GETCW): Use initial "__" on variable and field names but not
17358 on macro parameter name.
17359 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
17360 parentheses around reference to macro parameter.
17362 2013-09-13 Richard Sandiford <richard@codesourcery.com>
17364 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17366 (ctype_startup): Use uint32_t in cast and sizeof for
17369 2013-09-11 Jia Liu <proljc@gmail.com>
17371 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17373 [__FreeBSD__]: Likewise.
17375 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
17377 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17378 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17379 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17380 (strchr): Remove __strchr_sse42 ifunc selection.
17381 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17382 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17384 2013-09-11 Will Newton <will.newton@linaro.org>
17386 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17387 parameter to RES. Remove hardcoded 1000 value.
17388 * benchtests/bench-skeleton.c (main): Pass RES parameter
17389 to TIMING_INIT and multiply result by 1000.
17391 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17395 2013-09-11 Andreas Schwab <schwab@suse.de>
17397 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17399 (O_TMPFILE) [__USE_GNU]: Define.
17400 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17403 2013-09-11 Will Newton <will.newton@linaro.org>
17406 * malloc/malloc.c (__libc_memalign): Check the value of bytes
17409 2013-09-11 Will Newton <will.newton@linaro.org>
17412 * malloc/malloc.c (__libc_valloc): Check the value of bytes
17415 2013-09-11 Will Newton <will.newton@linaro.org>
17418 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17421 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
17423 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17424 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17425 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17426 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17427 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17429 2013-09-10 Allan McRae <allan@archlinux.org>
17432 * manual/arith.texi (Parsing of Floats): Clarify
17436 * manual/install.texi (Running make install): Mention
17438 * INSTALL: Regenerated.
17440 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17442 * csu/init-first.c (_init): Remove the !SHARED condition around
17443 FPU control word initialization.
17444 * elf/dl-support.c (_dl_fpu_control): New variable.
17445 (_dl_aux_init) <AT_FPUCW>: Initialize it.
17446 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17447 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17448 * math/test-fpucw-static.c: New file.
17449 * math/test-fpucw-ieee.c: New file.
17450 * math/test-fpucw-ieee-static.c: New file.
17451 * math/Makefile (tests): Add `test-fpucw-ieee' and
17453 (tests-static): New variable.
17454 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17456 [($(build-shared),yes)]
17457 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17459 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17462 2013-09-09 Allan McRae <allan@archlinux.org>
17465 * manual/string.texi (Collation Functions): Fix typo in
17467 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17470 * stdlib/isomac.c (get_null_defines): Fix memory leak.
17473 * libio/memstream.c (open_memstream): Fix memory leak.
17474 * libio/wmemstream.c (open_wmemstream): Likewise.
17477 * nscd/netgroupcache.c: Fix nesting of ifdefs.
17479 2013-09-09 Will Newton <will.newton@linaro.org>
17481 * malloc/Makefile: Add tst-realloc to tests.
17482 * malloc/tst-realloc.c: New file.
17484 2013-09-09 Allan McRae <allan@archlinux.org>
17487 * COPYING: Update from GNU website to fix FSF address.
17488 * COPYING.LIB: Likewise.
17490 2013-09-06 David S. Miller <davem@davemloft.net>
17492 * po/zh_TW.po: Update Chinese (traditional) translation from
17493 translation project.
17495 2013-09-06 Richard Sandiford <richard@codesourcery.com>
17496 Joseph Myers <joseph@codesourcery.com>
17498 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17500 (obstack_chunk_alloc): New macro.
17501 (obstack_chunk_free): Likewise.
17502 (record_offset): New function.
17503 (init_locale_data): Likewise.
17504 (align_locale_data): Likewise.
17505 (add_locale_empty): Likewise.
17506 (add_locale_raw_data): Likewise.
17507 (add_locale_raw_obstack): Likewise.
17508 (add_locale_string): Likewise.
17509 (add_locale_wstring): Likewise.
17510 (add_locale_uint32): Likewise.
17511 (add_locale_uint32_array): Likewise.
17512 (add_locale_char): Likewise.
17513 (start_locale_structure): Likewise.
17514 (end_locale_structure): Likewise.
17515 (start_locale_prelude): Likewise.
17516 (end_locale_prelude): Likewise.
17517 (write_locale_data): Take locale_file structure rather than an
17519 * locale/programs/locfile.h: Include "obstack.h".
17520 (struct locale_file): Change to store locale file contents instead
17522 (init_locale_data): New prototype.
17523 (align_locale_data): Likewise.
17524 (add_locale_empty): Likewise.
17525 (add_locale_raw_data): Likewise.
17526 (add_locale_raw_obstack): Likewise.
17527 (add_locale_string): Likewise.
17528 (add_locale_wstring): Likewise.
17529 (add_locale_uint32): Likewise.
17530 (add_locale_uint32_array): Likewise.
17531 (add_locale_char): Likewise.
17532 (start_locale_structure): Likewise.
17533 (end_locale_structure): Likewise.
17534 (start_locale_prelude): Likewise.
17535 (end_locale_prelude): Likewise.
17536 (write_locale_data): Update prototype.
17537 * locale/programs/3level.h (struct TABLE): Remove result field.
17538 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17539 Use new locale_file interface.
17540 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17541 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17542 * locale/programs/ld-address.c (address_output): Use new
17543 locale_file interface.
17544 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17546 (collate_finish): Don't call collseq_table_finalize.
17547 (collate_output): Use new locale_file interface.
17548 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17550 (NO_FINALIZE): Change to NO_ADD_LOCALE.
17551 (TABLE): Move defines earlier in file.
17552 (ELEMENT): Likewise.
17553 (DEFAULT): Likewise.
17554 (wctrans_table_add): Move macro and inline function earlier in
17556 (struct wctype_table): Move type earlier in file.
17557 (add_locale_wctype_table): New static prototype.
17558 (struct locale_ctype_t): Use logical types instead of struct iovec
17559 pointers for members.
17560 (ctype_output): Use new locale_file interface.
17561 (wctype_table_finalize): Change to add_locale_wctype_table. Use
17562 new locale_file interface.
17563 (allocate_arrays): Update for use of new locale_file interface.
17564 * locale/programs/ld-identification.c (identification_output): Use
17565 new locale_file interface.
17566 * locale/programs/ld-measurement.c (measurement_output): Likewise.
17567 * locale/programs/ld-messages.c (messages_output): Likewise.
17568 * locale/programs/ld-monetary.c (monetary_output): Likewise.
17569 * locale/programs/ld-name.c (name_output): Likewise.
17570 * locale/programs/ld-numeric.c (numeric_output): Likewise.
17571 * locale/programs/ld-paper.c (paper_output): Likewise.
17572 * locale/programs/ld-telephone.c (telephone_output): Likewise.
17573 * locale/programs/ld-time.c (time_output): Likewise.
17575 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17577 * benchtests/Makefile: Add memrchr benchmark.
17578 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17579 benchmark as memrchr.
17580 * benchtests/bench-memrchr-ifunc.c: New file.
17581 * benchtests/bench-memrchr.c: New file.
17583 2013-09-06 Will Newton <will.newton@linaro.org>
17585 * benchtests/Makefile (string-bench): Add memcpy.
17587 2013-09-05 Carlos O'Donell <carlos@redhat.com>
17588 Cong Wang <amwang@redhat.com>
17591 * sysdeps/unix/sysv/linux/bits/in.h
17592 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17593 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17594 before __USE_KERNEL_IPV6_DEFS uses.
17595 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17597 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17598 sockaddr_in6, or ipv6_mreq.
17600 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17602 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17603 memory access for final bytes in some large inputs.
17604 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17606 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17608 * string/test-memrchr.c: New file.
17609 * string/test-memrchr-ifunc.c: New file.
17610 * string/Makefile: Add new memrchr testcase.
17612 2013-09-05 Mike Frysinger <vapier@gentoo.org>
17614 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17615 fanotify_init returns EPERM.
17617 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17619 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17621 (top level): Treat second token from macro or constant entries for
17622 allowed headers as allowed.
17623 * include/complex.h: Condition internal declarations on
17625 * include/fenv.h: Condition include of <stdbool.h> and internal
17626 declarations on [!_ISOMAC].
17628 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
17631 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17633 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17635 * configure.in (--enable-versioning): Remove configure option.
17636 (libc_cv_asm_symver_directive): Remove configure test.
17637 (libc_cv_ld_version_script_option): Likewise.
17638 (VERSIONING): Remove variable and AC_SUBST.
17639 (DO_VERSIONING): Remove AC_DEFINE.
17640 * configure: Regenerated.
17641 * config.h.in (DO_VERSIONING): Remove macro.
17642 * Makerules [$(versioning) = yes]: Change conditionals to
17643 [$(build-shared) = yes].
17644 * config.make.in (versioning): Remove variable.
17645 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17646 [$(build-shared) = yes].
17647 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17648 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17649 * elf/Makefile [$(versioning) = yes]: Change conditionals to
17650 [$(build-shared) = yes].
17651 * extra-lib.mk [$(versioning) = yes]: Likewise.
17652 * hurd/Makefile [$(versioning) = yes]: Likewise.
17653 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17655 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17657 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17658 [SHARED && !NO_HIDDEN].
17659 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17661 [SHARED && DO_VERSIONING]: Likewise..
17662 * libio/Makefile [$(versioning) = yes]: Change conditionals to
17663 [$(build-shared) = yes].
17664 * manual/install.texi (--disable-versioning): Remove
17666 * INSTALL: Regenerated.
17667 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17669 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17670 [$(build-shared) = yes].
17671 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17672 * sysdeps/i386/i686/multiarch/strstr-c.c
17673 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17674 [SHARED && !NO_HIDDEN].
17675 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17676 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17677 * sysdeps/powerpc/powerpc32/dl-machine.c
17678 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17679 * sysdeps/powerpc/powerpc32/sysdep.h
17680 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17681 to [SHARED && PIC && !NO_HIDDEN].
17682 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17683 conditional to [SHARED].
17685 2013-09-04 Will Newton <will.newton@linaro.org>
17687 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17688 * benchtests/bench-string.h: Include bench-timing.h instead
17689 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17690 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17691 call to HP_TIMING_DIFF_INIT.
17692 * benchtests/bench-memccpy.c: Use bench-timing.h macros
17693 instead of hp-timing.h macros.
17694 * benchtests/bench-memchr.c: Likewise.
17695 * benchtests/bench-memcmp.c: Likewise.
17696 * benchtests/bench-memcpy.c: Likewise.
17697 * benchtests/bench-memmem.c: Likewise.
17698 * benchtests/bench-memmove.c: Likewise.
17699 * benchtests/bench-memset.c: Likewise.
17700 * benchtests/bench-rawmemchr.c: Likewise.
17701 * benchtests/bench-strcasecmp.c: Likewise.
17702 * benchtests/bench-strcasestr.c: Likewise.
17703 * benchtests/bench-strcat.c: Likewise.
17704 * benchtests/bench-strchr.c: Likewise.
17705 * benchtests/bench-strcmp.c: Likewise.
17706 * benchtests/bench-strcpy.c: Likewise.
17707 * benchtests/bench-strcpy_chk.c: Likewise.
17708 * benchtests/bench-strlen.c: Likewise.
17709 * benchtests/bench-strncasecmp.c: Likewise.
17710 * benchtests/bench-strncat.c: Likewise.
17711 * benchtests/bench-strncmp.c: Likewise.
17712 * benchtests/bench-strncpy.c: Likewise.
17713 * benchtests/bench-strnlen.c: Likewise.
17714 * benchtests/bench-strpbrk.c: Likewise.
17715 * benchtests/bench-strrchr.c: Likewise.
17716 * benchtests/bench-strspn.c: Likewise.
17717 * benchtests/bench-strstr.c: Likewise.
17719 2013-09-04 Will Newton <will.newton@linaro.org>
17721 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17723 2013-09-03 Joseph Myers <joseph@codesourcery.com>
17726 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17727 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17728 * math/libm-test.inc (lgamma_test_data): Add more tests.
17729 * sysdeps/i386/fpu/libm-test-ulps: Update.
17730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17732 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
17734 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17735 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17737 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17738 Add strcmp-sse2-unaligned
17739 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17741 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17743 * Versions.def (libc): Add GLIBC_2.19.
17745 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17747 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17748 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17750 2013-09-02 Joseph Myers <joseph@codesourcery.com>
17753 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17754 intermediate calculations in recurrence.
17755 (__ieee754_ynf): Likewise.
17756 * math/libm-test.inc (jn_test_data): Do not allow spurious
17757 underflow exception. Add more tests.
17758 (yn_test_data): Add more tests.
17759 * sysdeps/i386/fpu/libm-test-ulps: Update.
17760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17762 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
17764 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17766 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17768 * csu/init-first.c: Fix then/than typos.
17769 * locale/programs/ld-collate.c: Likewise.
17770 * locale/programs/linereader.h: Likewise.
17771 * manual/charset.texi: Likewise.
17772 * manual/filesys.texi: Likewise.
17773 * manual/stdio.texi: Likewise.
17774 * manual/string.texi: Likewise.
17775 * stdlib/fmtmsg.c: Likewise.
17776 * sysdeps/i386/stpncpy.S: Likewise.
17777 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17778 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17779 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17780 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17782 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17784 * elf/dl-open.c: Fix typos.
17785 * iconvdata/gbbig5.c: Likewise.
17786 * iconvdata/iso-2022-jp.c: Likewise.
17787 * iconv/gconv_int.h: Likewise.
17788 * iconv/loop.c: Likewise.
17789 * nis/rpcsvc/nis.h: Likewise.
17790 * resolv/ns_name.c: Likewise.
17791 * stdio-common/vfscanf.c: Likewise.
17792 * streams/stropts.h: Likewise.
17793 * sunrpc/rpc_thread.c: Likewise.
17794 * sysdeps/i386/strpbrk.S: Likewise.
17795 * sysdeps/ieee754/k_standard.c: Likewise.
17796 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17797 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17798 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17799 * sysdeps/mach/hurd/profil.c: Likewise.
17800 * sysdeps/s390/dl-procinfo.h: Likewise.
17801 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17802 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17803 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17804 * sysdeps/x86_64/dl-trampoline.S: Likewise.
17805 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17807 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17809 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17810 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17812 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17814 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17815 aix specific files.
17816 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17817 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17818 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17819 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17820 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17821 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17822 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17823 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17825 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17826 Roland McGrath <roland@hack.frob.com>
17828 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17829 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17831 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17833 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17834 __executable_start symbol instead of _start.
17836 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17838 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17839 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17841 * sysdeps/gnu/ldsodefs.h: ... this new file.
17843 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17844 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17845 instead of ELFOSABI_LINUX.
17847 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17848 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17849 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17850 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17852 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17853 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17854 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17856 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17857 (ibm_extended_long_double): Add ieee_nan member.
17858 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17859 (do_test): New function.
17861 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17863 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17864 functions, renamed from truncdfsf_test, trunctfsf_test,
17866 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17868 (do_test): Run all these.
17870 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17872 * argp/argp-help.c: Fix typos.
17873 * argp/argp-parse.c: Likewise.
17874 * debug/backtracesyms.c: Likewise.
17875 * elf/elf.h: Likewise.
17876 * malloc/malloc.c: Likewise.
17877 * nis/nis_print.c: Likewise.
17878 * resolv/res_comp.c: Likewise.
17879 * stdlib/stdlib.h: Likewise.
17880 * sunrpc/clnt_tcp.c: Likewise.
17881 * sunrpc/clnt_udp.c: Likewise.
17882 * sunrpc/clnt_unix.c: Likewise.
17883 * sysdeps/unix/bsd/ptsname.c: Likewise.
17884 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17885 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17892 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17894 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17896 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17897 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17899 2013-08-27 Mike Frysinger <vapier@gentoo.org>
17902 * dlfcn/Makefile (tests): Add bug-dl-leaf.
17903 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17904 ($(objpfx)bug-dl-leaf): New rule.
17905 ($(objpfx)bug-dl-leaf.so): Likewise.
17906 ($(objpfx)bug-dl-leaf.out): Likewise.
17907 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17908 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17909 * dlfcn/bug-dl-leaf.c: New test.
17910 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17911 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17912 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17913 (dlclose): Likewise.
17914 (dlmopen): Likewise.
17916 2013-08-27 Roland McGrath <roland@hack.frob.com>
17918 * include/netdb.h [!_ISOMAC]:
17919 Don't include <tls.h>.
17920 (h_errno, __libc_h_errno): Move declaration and macros out of
17923 * include/resolv.h [_RESOLV_H_]:
17924 Don't include <tls.h>.
17925 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17926 * resolv/res_libc.c: Don't include <tls.h>.
17927 (_res): Use __attribute__ ((nocommon)) in place of
17928 __attribute__ ((section (".bss"))).
17930 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17931 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17933 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17935 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17936 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17938 * resolv/res_mkquery.c: Include <sys/time.h>.
17940 * inet/ifreq.c: Moved to ...
17941 * sysdeps/unix/ifreq.c: ... here.
17942 * inet/ifreq.c: New file, true stub version.
17944 * socket/sa_len.c: New file.
17945 * socket/Makefile (aux): Add it.
17946 * sysdeps/unix/sysv/linux/Makefile
17947 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17948 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17949 and #include <socket/sa_len.c>.
17950 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17951 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17953 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17954 * bits/socket.h: ... here.
17956 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17957 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17958 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17960 2013-08-27 Andreas Schwab <schwab@suse.de>
17963 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17964 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17965 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17966 * string/test-strcasecmp.c (test_main): Run tests in several
17968 * string/test-strncasecmp.c (test_main): Likewise.
17970 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17971 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17972 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17973 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17974 (__strncasecmp_ssse3) [PIC]: Likewise.
17976 2013-08-26 Roland McGrath <roland@hack.frob.com>
17978 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17980 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17981 instead of explicitly declaring xdecrypt.
17982 * nis/nss_nis/nis-publickey.c: Likewise.
17984 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17987 * nscd/aicache.c: Include res_hconf.h.
17988 (addhstaiX): Initialize res_hconf.
17990 2013-08-26 Andreas Schwab <schwab@suse.de>
17992 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17993 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17995 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17997 * nscd/aicache.c (addhstaiX): Fix indentation.
17999 2013-08-25 Mike Frysinger <vapier@gentoo.org>
18001 * configure.ac: Quote $build_pt_chown test.
18002 * configure: Regenerated.
18004 2013-08-23 Joseph Myers <joseph@codesourcery.com>
18007 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18008 * math/s_cexpf.c (__cexpf): Likewise.
18009 * math/s_cexpl.c (__cexpl): Likewise.
18010 * math/libm-test.inc (cexp_test_data): Correct expected return
18011 value for NaN + i0. Add another test.
18013 2013-08-22 David S. Miller <davem@davemloft.net>
18015 * po/ca.po: Update Catalan translation from translation project.
18016 * po/uk.po: Add Ukrainian translations from translation project.
18018 2013-08-21 Joseph Myers <joseph@codesourcery.com>
18021 * math/s_fdim.c (__fdim): Check for infinite arguments if result
18022 is infinite, not alongside NaN test.
18023 * math/s_fdimf.c (__fdimf): Likewise.
18024 * math/s_fdiml.c (__fdiml): Likewise.
18025 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
18026 errno is unchanged.
18028 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
18030 * argp/argp-help.c: Fix typos.
18031 * crypt/speeds.c: Likewise.
18032 * csu/check_fds.c: Likewise.
18033 * elf/dl-load.c: Likewise.
18034 * elf/dl-open.c: Likewise.
18035 * elf/reldep3.c: Likewise.
18036 * elf/reldep.c: Likewise.
18037 * elf/sprof.c: Likewise.
18038 * iconv/iconv_charmap.c: Likewise.
18039 * iconv/skeleton.c: Likewise.
18040 * iconv/strtab.c: Likewise.
18041 * io/lockf64.c: Likewise.
18042 * libio/libioP.h: Likewise.
18043 * resolv/gai_notify.c: Likewise.
18044 * resolv/ns_name.c: Likewise.
18045 * resolv/ns_samedomain.c: Likewise.
18046 * resolv/res_send.c: Likewise.
18047 * stdlib/random.c: Likewise.
18048 * sunrpc/rpc/xdr.h: Likewise.
18049 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18050 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18051 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18052 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18053 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18054 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18055 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18056 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18057 * sysdeps/mach/hurd/check_fds.c: Likewise.
18058 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18059 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18060 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18061 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18062 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18063 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18064 * sysdeps/pthread/aio_notify.c: Likewise.
18065 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18066 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18067 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18068 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18069 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18071 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18073 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18074 version if bit_Slow_SSE4_2 is set.
18075 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18076 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18078 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18081 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18082 trampoline stack frame information.
18083 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18084 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18085 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18086 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18087 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18088 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18089 (_libc_vdso_platform_setup): Initialize the signal trampolines.
18090 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18092 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18093 interrupting a syscall and set with option SA_SIGINFO.
18095 2013-08-20 Joseph Myers <joseph@codesourcery.com>
18098 * math/s_cproj.c (__cproj): Only return an infinity if one part of
18099 argument is infinite.
18100 * math/s_cprojf.c (__cprojf): Likewise.
18101 * math/s_cprojl.c (__cprojl): Likewise.
18102 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18103 * math/libm-test.inc (cproj_test_data): Add more tests.
18105 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18107 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18108 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18109 size. Use __ffs to determine corresponding shift.
18111 2013-08-20 Joseph Myers <joseph@codesourcery.com>
18112 Roland McGrath <roland@hack.frob.com>
18114 * Makefile (INSTALL): Remove trailing blank lines from output of
18117 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18119 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18120 Align 32 bit compat elf_greg to 8 bytes.
18122 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
18124 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18126 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18128 * string/strcoll_l.c (coll_seq): New structure.
18129 (get_next_seq_cached): New function.
18130 (get_next_seq): New function.
18131 (do_compare): New function.
18132 (STRCOLL): Use GNU style definition. Simplify implementation
18133 by using get_next_seq, get_next_seq_cached and do_compare.
18135 2013-08-16 Florian Weimer <fweimer@redhat.com>
18139 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18141 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18143 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18144 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18145 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
18147 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18148 GETDENTS_64BIT_ALIGNED.
18149 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18150 * manual/filesys.texi (Reading/Closing Directory): Document
18151 ENAMETOOLONG return value of readdir_r. Recommend readdir more
18153 * manual/conf.texi (Limits for Files): Add portability note to
18154 NAME_MAX, PATH_MAX.
18155 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18157 2013-08-13 Andreas Schwab <schwab@suse.de>
18160 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18162 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18163 LDBL_MAX_EXP >= 16384]: Add tests for it.
18165 2013-08-12 David S. Miller <davem@davemloft.net>
18167 * version.h (RELEASE): Set to "development".
18168 (VERSION): Set to "2.18.90".
18169 * NEWS: Add 2.19 section.
18171 2013-08-03 David S. Miller <davem@davemloft.net>
18173 * po/ko.po: Update Korean translation from translation project.
18175 2013-08-01 David S. Miller <davem@davemloft.net>
18177 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
18178 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18181 2013-07-30 David S. Miller <davem@davemloft.net>
18183 * po/fr.po: Update French translation from translation project.
18185 2013-07-28 David S. Miller <davem@davemloft.net>
18187 * po/cs.po: Update Czech translation from translation project.
18189 * po/sv.po: Update Swedish translation from translation project.
18191 2013-07-27 David S. Miller <davem@davemloft.net>
18193 * po/eo.po: Update Esperanto translation from translation project.
18195 * po/vi.po: Update Vietnamese translation from translation project.
18197 * po/de.po: Update German translation from translation project.
18199 2013-07-26 David S. Miller <davem@davemloft.net>
18201 * po/bg.po: Update Bulgarian translation from translation project.
18203 * po/nl.po: Update Dutch translation from translation project.
18204 * po/pl.po: Update Polish translation from translation project.
18205 * po/ru.po: Update Russian translation from translation project.
18207 2013-07-24 David S. Miller <davem@davemloft.net>
18209 * po/libc.pot: Update.
18211 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18213 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18214 variable page size.
18215 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18216 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18217 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18219 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18221 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18223 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18224 Andreas Schwab <schwab@suse.de>
18225 Roland McGrath <roland@hack.frob.com>
18226 Joseph Myers <joseph@codesourcery.com>
18227 Carlos O'Donell <carlos@redhat.com>
18230 * config.h.in: Define HAVE_PT_CHOWN.
18231 * config.make.in (build-pt-chown): New variable.
18232 * configure.in (--enable-pt_chown): New configure option.
18233 * configure: Regenerate.
18234 * login/Makefile: Include Makeconfig. Build pt_chown only if
18235 build-pt-chown is enabled.
18236 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18237 pt_chown to fix pty ownership.
18238 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18240 * manual/install.texi (Configuring and compiling): Mention
18241 --enable-pt_chown. Add @findex for grantpt.
18242 * INSTALL: Regenerate.
18244 2013-07-20 David S. Miller <davem@davemloft.net>
18246 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18247 difference between 32-bit and 64-bit.
18249 2013-07-15 Carlos O'Donell <carlos@redhat.com>
18252 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18253 Avoid system header dependency with -ffreestanding.
18254 ($(objpfx)bits/syscall%d): Likewise.
18256 2013-07-13 David S. Miller <davem@davemloft.net>
18258 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18259 underflows from atanl/atan2l due to bug 15319.
18260 (casinh_test_data): Likewise.
18262 2013-07-07 David S. Miller <davem@davemloft.net>
18264 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18266 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
18268 * sysdeps/i386/fpu/libm-test-ulps: Update.
18269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18271 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18273 * configure.in (--enable-lock-elision): Fix message text.
18274 * INSTALL: Regenerate.
18275 * configure: Regenerate.
18277 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18281 2013-07-03 Andreas Jaeger <aj@suse.de>
18283 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18285 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18286 (ptrace_peeksiginfo_args): Add.
18287 (__ptrace_peeksiginfo_flags): Add.
18288 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18289 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18290 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18292 2013-07-03 Allan McRae <allan@archlinux.org>
18294 * sysdeps/i386/fpu/libm-test-ulps: Update.
18296 2013-07-02 David S. Miller <davem@davemloft.net>
18298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18300 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
18302 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18304 2013-07-02 Joseph Myers <joseph@codesourcery.com>
18306 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18309 2013-07-02 Andi Kleen <ak@linux.intel.com>
18311 * config.h.in (ENABLE_LOCK_ELISION): Add.
18312 * configure.in (--enable-lock-elision): Add option.
18313 * manual/install.texi: Document --enable lock elision.
18314 * configure: Regenerate
18315 * INSTALL: Regenerate.
18317 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
18319 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18320 SSE4.2 strcasecmp for libc.a.
18321 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18323 2013-07-02 Joseph Myers <joseph@codesourcery.com>
18326 * soft-fp/op-common.h (_FP_FMA): New macro.
18327 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18328 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
18329 (_FP_MUL_MEAT_1_imm): ... here.
18330 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
18331 (_FP_MUL_MEAT_1_wide): ... here.
18332 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
18333 (_FP_MUL_MEAT_1_hard): ... here.
18334 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18335 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
18336 (_FP_MUL_MEAT_2_wide): ... here.
18337 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
18338 (_FP_MUL_MEAT_2_wide_3mul): ... here.
18339 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
18340 (_FP_MUL_MEAT_2_gmp): ... here.
18341 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18342 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
18343 (_FP_MUL_MEAT_4_wide): ... here.
18344 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
18345 (_FP_MUL_MEAT_4_gmp): ... here.
18346 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18347 (_FP_WFRACBITS_DW_S): Likewise.
18348 (_FP_WFRACXBITS_DW_S): Likewise.
18349 (_FP_HIGHBIT_DW_S): Likewise.
18350 (FP_FMA_S): Likewise.
18351 (_FP_FRAC_HIGH_DW_S): Likewise.
18352 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18353 (_FP_WFRACBITS_DW_D): Likewise.
18354 (_FP_WFRACXBITS_DW_D): Likewise.
18355 (_FP_HIGHBIT_DW_D): Likewise.
18356 (FP_FMA_D): Likewise.
18357 (_FP_FRAC_HIGH_DW_D): Likewise.
18358 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18359 (_FP_WFRACBITS_DW_E): Likewise.
18360 (_FP_WFRACXBITS_DW_E): Likewise.
18361 (_FP_HIGHBIT_DW_E): Likewise.
18362 (FP_FMA_E): Likewise.
18363 (_FP_FRAC_HIGH_DW_E): Likewise.
18364 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18365 (_FP_WFRACBITS_DW_Q): Likewise.
18366 (_FP_WFRACXBITS_DW_Q): Likewise.
18367 (_FP_HIGHBIT_DW_Q): Likewise.
18368 (FP_FMA_Q): Likewise.
18369 (_FP_FRAC_HIGH_DW_Q): Likewise.
18370 * soft-fp/fmasf4.c: New file.
18371 * soft-fp/fmadf4.c: Likewise.
18372 * soft-fp/fmatf4.c: Likewise.
18374 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18376 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18377 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18379 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18381 (index_Slow_SSE4_2): Likewise.
18382 (index_Prefer_PMINUB_for_stringop): Likewise.
18383 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18384 bit_Slow_SSE4_2 is set.
18385 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18386 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18388 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18390 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18391 rtld_global._dl_hwcap2.
18392 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18394 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18395 POWER8 feature descriptions defined in _dl_hwcap2.
18396 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18397 string handling for POWER8 feature bits.
18398 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18399 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18400 _dl_powerpc_cap_flags.
18401 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18402 * sysdeps/powerpc/rtld-global-offsets.sym
18403 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18404 _dl_hwcap2 in the rtld_global_ro structure.
18406 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18408 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18409 hardware capabilities in support of AT_HWCAP2.
18410 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18411 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18413 (_dl_show_auxv): Add support for calling _dl_procinfo to display
18414 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
18415 explicitly the unknown a_type display mechanism is used.
18416 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18417 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18419 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18420 to macro prototype for AT_HWCAP2 support.
18421 * sysdeps/i386/dl-procinfo.h: Likewise.
18422 * sysdeps/s390/dl-procinfo.h: Likewise.
18423 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18424 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
18425 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
18426 return -1 for unknown a_type display fallback.
18427 * sysdeps/sparc/dl-procinfo.h: Likewise.
18428 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18429 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18431 2013-06-28 Joseph Myers <joseph@codesourcery.com>
18433 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18434 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18436 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
18439 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18440 mprotect making __stack_prot writable.
18442 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
18443 Joseph Myers <joseph@codesourcery.com>
18445 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18446 as being properly aligned.
18448 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
18450 * dlfcn/modstatic5.c: New file.
18451 * dlfcn/tststatic5.c: New file.
18452 * dlfcn/Makefile (tests): Add tststatic5.
18453 (tests-static): Likewise.
18454 (modules-names): Add modstatic5.
18455 (tststatic5-ENV): New variable.
18456 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18459 * elf/dl-support.c (_dl_main_map): New variable.
18460 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18461 (_dl_nns, _dl_load_adds): Set to 1.
18462 (_dl_initial_searchlist): Refer to _dl_main_map.
18463 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18464 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18465 call to _dl_get_origin.
18466 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18468 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18469 * dlfcn/modstatic3.c: New file.
18470 * dlfcn/tststatic3.c: New file.
18471 * dlfcn/tststatic4.c: New file.
18472 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18473 (tests-static): Likewise.
18474 (modules-names): Add modstatic3.
18475 (tststatic3-ENV, tststatic4-ENV): New variables.
18476 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18477 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18479 2013-06-26 Joseph Myers <joseph@codesourcery.com>
18481 * configure.in (CC): Require GCC version 4.4 or later.
18482 * configure: Regenerated.
18483 * manual/install.texi (Tools for Compilation): Update GCC version
18485 * INSTALL: Regenerated.
18487 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18490 * string/test-memcmp.c (check2): New.
18491 (main): Call check2.
18493 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18495 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
18498 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18500 (dl_open_worker) [!SHARED]: ... here.
18502 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18504 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18506 2013-06-25 Richard Henderson <rth@redhat.com>
18508 * locale/programs/locarchive.c: Include <libc-internal.h>
18510 2013-06-25 Joseph Myers <joseph@codesourcery.com>
18512 * manual/texinfo.tex: Update to version 2013-06-21.17, with
18513 trailing whitespace removed.
18515 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18518 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18519 * locale/programs/locarchive.c: Include libc-mmap.h.
18520 (prepare_address_space): Take two new outputs (the mmap base and len).
18521 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
18523 (create_archive): Declare new mmap base and len values for
18524 prepare_address_space, and store the result in ah.
18525 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18526 (enlarge_archive): If ah->mmap_base is not NULL, use that and
18527 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18528 Declare new mmap base and len values for
18529 prepare_address_space, and store the result in new_ah.
18530 (open_archive): Declare new mmap base and len values for
18531 prepare_address_space, and store the result in ah.
18532 (close_archive): If ah->mmap_base is not NULL, use that and
18533 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18534 * sysdeps/generic/libc-mmap.h: New file.
18536 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18538 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18539 (ALIGN_UP): Likewise.
18540 (PTR_ALIGN_DOWN): Likewise.
18541 (PTR_ALIGN_UP): Likewise.
18543 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18545 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18546 entry mapped to PPC_PLATFORM_POWER8.
18547 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18549 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18550 (_dl_string_platform): Add case for exporting platform position for
18552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18553 search path to sysdeps/powerpc/powerpc32/power8 directory.
18554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18555 search path to sysdeps/powerpc/powerpc64/power8 directory.
18556 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18557 power7 directories.
18558 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18559 power7 directories.
18561 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18563 * INSTALL: Regenerate.
18565 * nscd/connections.c (nscd_init): Fix comment.
18567 2013-06-22 Joseph Myers <joseph@codesourcery.com>
18569 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18572 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18573 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18575 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18577 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18579 (DL_DST_REQ_STATIC): Remove macro.
18581 2013-06-21 Joseph Myers <joseph@codesourcery.com>
18584 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18585 with a shift of 0 bits.
18587 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18589 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18592 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18595 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18597 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18599 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18600 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18601 accepts -fno-tree-loop-distribute-patterns.
18602 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18603 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18605 * string/memset.c (memset): Likewise.
18606 * string/test-memmove.c (simple_memmove): Disable loop transformation
18608 * string/test-memset.c (simple_memset): Likewise.
18609 * benchtests/bench-memmove.c (simple_memmove): Likewise.
18610 * benchtests/bench-memset.c (simple_memset): Likewise.
18611 * configure: Regenerated.
18613 2013-06-20 Joseph Myers <joseph@codesourcery.com>
18615 * math/test-misc.c (main): Ignore fesetround failure when failures
18616 of subsequent rounding tests would be ignored.
18619 * math/fedisblxcpt.c (fedisableexcept): Return 0.
18620 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18621 * math/fegetenv.c (__fegetenv): Return 0.
18622 * math/fegetexcept.c (fegetexcept): Return 0.
18623 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18625 * math/feholdexcpt.c (feholdexcept): Return 0.
18626 * math/fesetenv.c (__fesetenv): Return 0.
18627 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18628 argument FE_TONEAREST.
18629 * math/feupdateenv.c (__feupdateenv): Return 0.
18630 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18632 2013-06-18 Roland McGrath <roland@hack.frob.com>
18634 * elf/rtld-Rules (rtld-compile-command.S): New variable.
18635 (rtld-compile-command.s, rtld-compile-command.c): New variables.
18636 ($(objpfx)rtld-%.os rules): Use them.
18638 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18640 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18643 2013-06-17 Roland McGrath <roland@hack.frob.com>
18645 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18646 length of target pattern, then descending length of dependency pattern.
18647 * configure.in (AWK): Require gawk 3.1.2 or newer.
18648 * manual/install.texi (Tools for Compilation): Say that we do.
18649 * configure: Regenerated.
18651 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18652 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18653 * scripts/sysd-rules.awk: ... this new script.
18654 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18655 than a glob-style pattern.
18657 2013-06-17 Joseph Myers <joseph@codesourcery.com>
18659 * math/test-misc.c (main): Do not treat incorrectly rounded
18660 conversions as failure unless ROUNDING_TESTS passes.
18662 2013-06-15 Joseph Myers <joseph@codesourcery.com>
18665 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18666 restore exception state around main square root computation, then
18667 check for inexactness explicitly.
18669 * math/libm-test.inc (fma_test_data): Add another test.
18671 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18673 * manual/threads.texi (Non-POSIX Extensions): New document
18674 node. Document pthread_getattr_default_np and
18675 pthread_setattr_default_np.
18677 * Versions.def (libpthread): Add GLIBC_2.18.
18678 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18687 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18689 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18691 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18695 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18698 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18700 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18701 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18703 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18704 H.J. Lu <hjl.tools@gmail.com>
18707 * sysdeps/x86_64/rtld-memset.c: Remove file.
18708 * sysdeps/x86_64/rtld-memset.S: New file.
18710 2013-06-14 Joseph Myers <joseph@codesourcery.com>
18712 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18713 (test_in_one_mode): Take arguments for whether the rounding mode
18714 is supported for each floating-point type.
18715 (do_test): Pass new arguments to test_in_one_mode using
18718 2013-06-13 Roland McGrath <roland@hack.frob.com>
18720 * posix/tst-waitid.c (do_test): Distinguish different instances of
18721 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
18722 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18723 before entering the kernel for waitpid.
18725 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18727 * NEWS: Fix note on clock function precision. Text by Roland
18730 2013-06-13 Roland McGrath <roland@hack.frob.com>
18732 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18733 it into place only when and if the sanity check passes.
18735 2013-06-13 Joseph Myers <joseph@codesourcery.com>
18737 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18738 output for whether conversion result is exact. Take argument
18739 indicating whether type is IBM long double.
18740 (round_for_all): Change need_exact field to ibm_ld.
18741 * stdlib/tst-strtod-round.c (struct exactness): New type.
18742 (struct test): Change bool ld_ok field to struct exactness exact.
18743 (TEST): Update all definitions for change to field.
18744 (tests): Regenerate array contents.
18745 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18746 field value. Check for IBM long double here.
18747 (do_test): Update calls to test_in_one_mode.
18749 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18752 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18753 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18755 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18758 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18759 generated by the compiler on loop optimizations.
18760 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18761 general definitions.
18763 2013-06-12 Joseph Myers <joseph@codesourcery.com>
18765 * math/bug-nextafter.c: Include <math-tests.h>.
18766 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18768 * math/bug-nexttoward.c: Include <math-tests.h>.
18769 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18771 * math/test-misc.c: Include <math-tests.h>.
18772 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18775 2013-06-12 Andreas Jaeger <aj@suse.de>
18777 * po/ia.po: Update Interlingua translation from translation
18780 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18782 * include/fenv.h: Include stdbool.h.
18783 (struct rm_ctx): New structure.
18784 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18786 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18787 (SET_RESTORE_ROUNDF): Likewise.
18788 (SET_RESTORE_ROUNDL): Likewise.
18789 (SET_RESTORE_ROUND_NOEX): Likewise.
18790 (SET_RESTORE_ROUND_NOEXF): Likewise.
18791 (SET_RESTORE_ROUND_NOEXL): Likewise.
18792 (SET_RESTORE_ROUND_53BIT): Likewise.
18793 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18794 (libc_feresetround_noexf_ctx): Likewise.
18795 (libc_feresetround_noexl_ctx): Likewise.
18796 (libc_feholdsetround_53bit_ctx): Likewise.
18797 (libc_feresetround_53bit_ctx): Likewise.
18798 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18799 (libc_feholdexcept_setround_sse_ctx): New function.
18800 (libc_fesetenv_sse_ctx): Likewise.
18801 (libc_feupdateenv_sse_ctx): Likewise.
18802 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18803 (libc_feholdexcept_setround_387_ctx): Likewise.
18804 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18805 (libc_feholdsetround_387_prec_ctx): Likewise.
18806 (libc_feholdsetround_387_ctx): Likewise.
18807 (libc_feholdsetround_387_53bit_ctx): Likewise.
18808 (libc_feholdsetround_sse_ctx): Likewise.
18809 (libc_feresetround_sse_ctx): Likewise.
18810 (libc_feresetround_387_ctx): Likewise.
18811 (libc_feupdateenv_387_ctx): Likewise.
18812 (libc_feholdexcept_setroundf_ctx): Define macro.
18813 (libc_fesetenvf_ctx): Likewise.
18814 (libc_feupdateenvf_ctx): Likewise.
18815 (libc_feholdsetroundf_ctx): Likewise.
18816 (libc_feresetroundf_ctx): Likewise.
18817 (libc_feholdexcept_setround_ctx): Likewise.
18818 (libc_fesetenv_ctx): Likewise.
18819 (libc_feupdateenv_ctx): Likewise.
18820 (libc_feholdsetround_ctx): Likewise.
18821 (libc_feresetround_ctx): Likewise.
18822 (libc_feholdexcept_setroundl_ctx): Likewise.
18823 (libc_feupdateenvl_ctx): Likewise.
18824 (libc_feholdsetroundl_ctx): Likewise.
18825 (libc_feresetroundl_ctx): Likewise.
18826 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18827 (libc_feresetround_53bit_ctx): Likewise.
18829 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18831 * locale/iso-639.def: Convert to UTF-8.
18833 2013-06-11 Joseph Myers <joseph@codesourcery.com>
18835 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18836 (EXCEPTION_TESTS_double): Likewise.
18837 (EXCEPTION_TESTS_long_double): Likewise.
18838 (EXCEPTION_TESTS): Likewise.
18839 * math/libm-test.inc (test_exceptions): Only test exceptions if
18840 EXCEPTION_TESTS (FLOAT).
18842 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18844 * benchtests/Makefile (string-bench): Add strcpy_chk and
18846 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18847 * benchtests/bench-stpcpy_chk.c: New file.
18848 * benchtests/bench-strcpy_chk-ifunc.c: New file.
18849 * benchtests/bench-strcpy_chk.c: New file.
18850 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18852 (do_test): Likewise.
18854 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18856 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18857 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18858 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18859 with tabs where appropriate.
18860 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18862 [PPC_PLATFORM_PPC440]: Likewise.
18863 [PPC_PLATFORM_PPC464]: Likewise.
18864 [PPC_PLATFORM_PPC476]: Likewise.
18865 (_dl_string_platform): Add support for detecting ppc405, ppc440,
18866 ppc464, and ppc476 platform strings merging from ports/
18869 2013-06-11 Andreas Schwab <schwab@suse.de>
18872 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18873 (from_ucs4_idx): Regenerate.
18874 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18875 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18876 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18877 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18878 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18879 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18880 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18881 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18882 from FROM_LOOP and TO_LOOP specific macros.
18883 (BODY): Handle combining characters.
18884 * iconvdata/BIG5HKSCS.irreversible: Update.
18885 * iconvdata/BIG5HKSCS.precomposed: New file.
18886 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18888 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18890 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18892 * include/sys/time.h: Fix indentation and add copyright header.
18894 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18895 (do_test): Likewise.
18896 * string/test-memchr.c (do_one_test): Likewise.
18897 (do_test): Likewise.
18898 * string/test-memcmp.c (do_one_test): Likewise.
18899 (do_test): Likewise.
18900 * string/test-memcpy.c (do_one_test): Likewise.
18901 (do_test): Likewise.
18902 * string/test-memmem.c (do_one_test): Likewise.
18903 (do_test): Likewise.
18904 (do_random_tests): Likewise.
18905 * string/test-memmove.c (do_one_test): Likewise.
18906 (do_test): Likewise.
18907 * string/test-memset.c (do_one_test): Likewise.
18908 (do_test): Likewise.
18909 * string/test-rawmemchr.c (do_one_test): Likewise.
18910 (do_test): Likewise.
18911 * string/test-strcasecmp.c (do_one_test): Likewise.
18912 (do_test): Likewise.
18913 * string/test-strcasestr.c (do_one_test): Likewise.
18914 (do_test): Likewise.
18915 * string/test-strcat.c (do_one_test): Likewise.
18916 (do_test): Likewise.
18917 * string/test-strchr.c (do_one_test): Likewise.
18918 (do_test): Likewise.
18919 * string/test-strcmp.c (do_one_test): Likewise.
18920 (do_test): Likewise.
18921 * string/test-strcpy.c (do_one_test): Likewise.
18922 (do_test): Likewise.
18923 * string/test-string.h: Likewise.
18924 (test_init): Likewise.
18925 * string/test-strlen.c (do_one_test): Likewise.
18926 (do_test): Likewise.
18927 * string/test-strncasecmp.c (do_one_test): Likewise.
18928 (do_test): Likewise.
18929 * string/test-strncat.c (do_one_test): Likewise.
18930 (do_test): Likewise.
18931 * string/test-strncmp.c (do_one_test): Likewise.
18932 (do_test_limit): Likewise.
18933 (do_test): Likewise.
18934 * string/test-strncpy.c (do_one_test): Likewise.
18935 (do_test): Likewise.
18936 * string/test-strnlen.c (do_one_test): Likewise.
18937 (do_test): Likewise.
18938 * string/test-strpbrk.c (do_one_test): Likewise.
18939 (do_test): Likewise.
18940 * string/test-strrchr.c (do_one_test): Likewise.
18941 (do_test): Likewise.
18942 * string/test-strspn.c (do_one_test): Likewise.
18943 (do_test): Likewise.
18944 * string/test-strstr.c (do_one_test): Likewise.
18945 (do_test): Likewise.
18947 * benchtests/Makefile (string-bench): Add string benchmarks.
18948 * benchtests/bench-bcopy-ifunc.c: New file.
18949 * benchtests/bench-bcopy.c: New file.
18950 * benchtests/bench-bzero-ifunc.c: New file.
18951 * benchtests/bench-bzero.c: New file.
18952 * benchtests/bench-memccpy-ifunc.c: New file.
18953 * benchtests/bench-memccpy.c: New file.
18954 * benchtests/bench-memchr-ifunc.c: New file.
18955 * benchtests/bench-memchr.c: New file.
18956 * benchtests/bench-memcmp-ifunc.c: New file.
18957 * benchtests/bench-memcmp.c: New file.
18958 * benchtests/bench-memmem-ifunc.c: New file.
18959 * benchtests/bench-memmem.c: New file.
18960 * benchtests/bench-memmove-ifunc.c: New file.
18961 * benchtests/bench-memmove.c: New file.
18962 * benchtests/bench-mempcpy-ifunc.c: New file.
18963 * benchtests/bench-mempcpy.c: New file.
18964 * benchtests/bench-memset-ifunc.c: New file.
18965 * benchtests/bench-memset.c: New file.
18966 * benchtests/bench-rawmemchr-ifunc.c: New file.
18967 * benchtests/bench-rawmemchr.c: New file.
18968 * benchtests/bench-stpcpy-ifunc.c: New file.
18969 * benchtests/bench-stpcpy.c: New file.
18970 * benchtests/bench-stpncpy-ifunc.c: New file.
18971 * benchtests/bench-stpncpy.c: New file.
18972 * benchtests/bench-strcasecmp-ifunc.c: New file.
18973 * benchtests/bench-strcasecmp.c: New file.
18974 * benchtests/bench-strcasestr-ifunc.c: New file.
18975 * benchtests/bench-strcasestr.c: New file.
18976 * benchtests/bench-strcat-ifunc.c: New file.
18977 * benchtests/bench-strcat.c: New file.
18978 * benchtests/bench-strchr-ifunc.c: New file.
18979 * benchtests/bench-strchr.c: New file.
18980 * benchtests/bench-strchrnul-ifunc.c: New file.
18981 * benchtests/bench-strchrnul.c: New file.
18982 * benchtests/bench-strcmp-ifunc.c: New file.
18983 * benchtests/bench-strcmp.c: New file.
18984 * benchtests/bench-strcpy-ifunc.c: New file.
18985 * benchtests/bench-strcpy.c: New file.
18986 * benchtests/bench-strcspn-ifunc.c: New file.
18987 * benchtests/bench-strcspn.c: New file.
18988 * benchtests/bench-strlen-ifunc.c: New file.
18989 * benchtests/bench-strlen.c: New file.
18990 * benchtests/bench-strncasecmp-ifunc.c: New file.
18991 * benchtests/bench-strncasecmp.c: New file.
18992 * benchtests/bench-strncat-ifunc.c: New file.
18993 * benchtests/bench-strncat.c: New file.
18994 * benchtests/bench-strncmp-ifunc.c: New file.
18995 * benchtests/bench-strncmp.c: New file.
18996 * benchtests/bench-strncpy-ifunc.c: New file.
18997 * benchtests/bench-strncpy.c: New file.
18998 * benchtests/bench-strnlen-ifunc.c: New file.
18999 * benchtests/bench-strnlen.c: New file.
19000 * benchtests/bench-strpbrk-ifunc.c: New file.
19001 * benchtests/bench-strpbrk.c: New file.
19002 * benchtests/bench-strrchr-ifunc.c: New file.
19003 * benchtests/bench-strrchr.c: New file.
19004 * benchtests/bench-strspn-ifunc.c: New file.
19005 * benchtests/bench-strspn.c: New file.
19006 * benchtests/bench-strstr-ifunc.c: New file.
19007 * benchtests/bench-strstr.c: New file.
19009 * benchtests/Makefile: Disable parallel execution of targets.
19010 (string-bench): Add memcpy.
19011 (benchset): New variable to store a list of benchmark sets.
19012 (bench-func): Renamed from bench.
19013 (bench-set): New target.
19014 (bench): Depend on bench-func and bench-set.
19015 * benchtests/README: Add section on benchmark sets.
19016 * benchtests/bench-memcpy-ifunc.c: New file.
19017 * benchtests/bench-memcpy.c: New file.
19018 * benchtests/bench-string.h: New file.
19020 2013-06-11 Andreas Schwab <schwab@suse.de>
19023 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19024 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19025 values in the triple.
19026 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19027 terminator in the group key.
19029 2013-06-11 Andreas Jaeger <aj@suse.de>
19031 * po/zh_TW.po: Update Chinese (traditional) translation from
19032 translation project.
19034 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19036 * include/time.h (__clock_gettime): Add libc_hidden_proto.
19037 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19038 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
19039 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19040 (clock_getcpuclockid): Likewise.
19041 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19042 Add weak_alias and libc_hidden_def.
19043 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19044 * rt/clock_gettime.c (clock_gettime): Rename to
19045 __clock_gettime. Add weak_alias and libc_hidden_def.
19046 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19047 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19048 __clock_nanosleep. Add weak_alias and libc_hidden_def.
19049 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19050 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19052 * rt/clock_settime.c (clock_settime): Rename to
19053 __clock_settime. Add weak_alias and libc_hidden_def.
19054 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19056 2013-06-10 Joseph Myers <joseph@codesourcery.com>
19058 * mach/err_boot.sub: Remove trailing whitespace.
19059 * mach/err_ipc.sub: Likewise.
19060 * mach/err_mach.sub: Likewise.
19062 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19063 (ROUNDING_TESTS_double): Likewise.
19064 (ROUNDING_TESTS_long_double): Likewise.
19065 (ROUNDING_TESTS): Likewise.
19066 * math/libm-test.inc: Include <math-tests.h>.
19067 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19068 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19069 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19070 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19072 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19074 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19077 2013-06-08 Joseph Myers <joseph@codesourcery.com>
19079 * sysdeps/gnu/errlist.awk: Do not generate space at end of
19080 otherwise empty TRANS lines.
19081 * sysdeps/gnu/errlist.c: Regenerated.
19083 * catgets/gencat.c (error_print): Use (void) in function
19085 * crypt/crypt_util.c (__init_des): Likewise.
19086 * crypt/speeds.c (Stop): Likewise.
19088 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19089 * inet/ruserpass.c (token): Likewise.
19090 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19091 * intl/localealias.c (extend_alias_table): Likewise.
19092 * intl/plural-exp.c (init_germanic_plural): Likewise.
19093 * libio/fcloseall.c (__fcloseall): Likewise.
19094 * libio/genops.c (_IO_flush_all): Likewise.
19095 (_IO_flush_all_linebuffered): Likewise.
19096 (_IO_cleanup): Likewise.
19097 (_IO_iter_begin): Likewise.
19098 (_IO_iter_end): Likewise.
19099 (_IO_list_lock): Likewise.
19100 (_IO_list_unlock): Likewise.
19101 (_IO_list_resetlock): Likewise.
19102 * libio/getchar.c (getchar): Likewise.
19103 * libio/getchar_u.c (getchar_unlocked): Likewise.
19104 * libio/getwchar.c (getwchar): Likewise.
19105 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19106 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19107 * login/getpt.c (__getpt): Likewise.
19108 * login/tst-utmp.c (main): Likewise.
19109 * malloc/hooks.c (__malloc_check_init): Likewise.
19110 * malloc/malloc.c (__malloc_stats): Likewise.
19111 * malloc/mtrace.c (tr_break): Likewise.
19112 (mtrace): Likewise.
19113 (muntrace): Likewise.
19114 * misc/fstab.c (endfsent): Likewise.
19115 * misc/getclktck.c (__getclktck): Likewise.
19116 * misc/getdtsz.c (__getdtablesize): Likewise.
19117 * misc/gethostid.c (gethostid): Likewise.
19118 * misc/getpagesize.c (__getpagesize): Likewise.
19119 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19120 (__get_nprocs): Likewise.
19121 (__get_phys_pages): Likewise.
19122 (__get_avphys_pages): Likewise.
19123 * misc/getttyent.c (getttyent): Likewise.
19124 (setttyent): Likewise.
19125 (endttyent): Likewise.
19126 * misc/getusershell.c (getusershell): Likewise.
19127 (endusershell): Likewise.
19128 (setusershell): Likewise.
19129 (initshells): Likewise.
19130 * misc/hsearch.c (__hdestroy): Likewise.
19131 * misc/sync.c (sync): Likewise.
19132 * misc/syslog.c (closelog_internal): Likewise.
19133 (closelog): Likewise.
19134 * misc/ttyslot.c (ttyslot): Likewise.
19135 * misc/vhangup.c (vhangup): Likewise.
19136 * posix/fork.c (__fork): Likewise.
19137 * posix/getegid.c (__getegid): Likewise.
19138 * posix/geteuid.c (__geteuid): Likewise.
19139 * posix/getgid.c (__getgid): Likewise.
19140 * posix/getpid.c (__getpid): Likewise.
19141 * posix/getppid.c (__getppid): Likewise.
19142 * posix/getuid.c (__getuid): Likewise.
19143 * posix/pause.c (pause): Likewise.
19144 * posix/setpgrp.c (setpgrp): Likewise.
19145 * posix/setsid.c (__setsid): Likewise.
19146 * posix/test-vfork.c (noop): Likewise.
19147 * resolv/gethnamaddr.c (_endhtent): Likewise.
19148 (_gethtent): Likewise.
19149 (ht_endhostent): Likewise.
19150 (gethostent): Likewise.
19151 (dns_service): Likewise.
19152 * stdlib/drand48.c (drand48): Likewise.
19153 * stdlib/lrand48.c (lrand48): Likewise.
19154 * stdlib/mrand48.c (mrand48): Likewise.
19155 * stdlib/rand.c (rand): Likewise.
19156 * stdlib/random.c (__random): Likewise.
19157 * stdlib/setenv.c (clearenv): Likewise.
19158 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19159 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19160 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19161 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19162 (__get_nprocs): Likewise.
19163 (__get_phys_pages): Likewise.
19164 (__get_avphys_pages): Likewise.
19165 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19166 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19167 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19168 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19169 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19170 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19171 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19172 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19173 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19174 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19175 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19176 * sysdeps/mach/hurd/sync.c (sync): Likewise.
19177 * sysdeps/posix/clock.c (clock): Likewise.
19178 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19179 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19180 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19181 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19182 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19183 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19184 (__get_nprocs_conf): Likewise.
19185 (__get_phys_pages): Likewise.
19186 (__get_avphys_pages): Likewise.
19187 * time/clock.c (clock): Likewise.
19188 * time/tzset.c (__tzname_max): Likewise.
19190 2013-06-07 Joseph Myers <joseph@codesourcery.com>
19192 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19193 (__bswap_32): Do not use "register".
19194 * crypt/crypt.c (_ufc_doit_r): Likewise.
19195 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19196 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19197 * gmon/gmon.c (__monstartup): Likewise.
19198 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19199 * hurd/hurdmalloc.c (more_memory): Likewise.
19200 (malloc): Likewise.
19202 (realloc): Likewise.
19203 (malloc_fork_prepare): Likewise.
19204 (malloc_fork_parent): Likewise.
19205 (malloc_fork_child): Likewise.
19206 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19207 (_svcauth_des): Likewise.
19208 * inet/inet_lnaof.c (inet_lnaof): Likewise.
19209 * inet/inet_net.c (inet_network): Likewise.
19210 * inet/inet_netof.c (inet_netof): Likewise.
19211 * inet/rcmd.c (__validuser2_sa): Likewise.
19212 * io/fts.c (fts_open): Likewise.
19213 (fts_load): Likewise.
19214 (fts_close): Likewise.
19215 (fts_read): Likewise.
19216 (fts_children): Likewise.
19217 (fts_build): Likewise.
19218 (fts_stat): Likewise.
19219 (fts_sort): Likewise.
19220 (fts_alloc): Likewise.
19221 (fts_lfree): Likewise.
19222 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19223 (_IO_file_xsgetn): Likewise.
19224 (_IO_file_xsgetn_mmap): Likewise.
19225 * libio/iofopncook.c (_IO_cookie_read): Likewise.
19226 (_IO_cookie_write): Likewise.
19227 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19228 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19229 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19230 * malloc/obstack.c (_obstack_begin): Likewise.
19231 (_obstack_begin_1): Likewise.
19232 (_obstack_newchunk): Likewise.
19233 (_obstack_allocated_p): Likewise.
19234 (obstack_free): Likewise.
19235 (_obstack_memory_used): Likewise.
19236 * misc/getttyent.c (getttynam): Likewise.
19237 (getttyent): Likewise.
19240 * misc/getusershell.c (initshells): Likewise.
19241 * misc/syslog.c (__vsyslog_chk): Likewise.
19242 * misc/ttyslot.c (ttyslot): Likewise.
19243 * nis/nis_hash.c (__nis_hash): Likewise.
19244 * posix/fnmatch_loop.c (FCT): Likewise.
19245 * posix/getconf.c (print_all): Likewise.
19247 * posix/getopt.c (exchange): Likewise.
19248 * posix/glob.c (globfree): Likewise.
19249 (prefix_array): Likewise.
19250 (__glob_pattern_type): Likewise.
19251 * resolv/arpa/nameser.h (NS_GET16): Likewise.
19252 (NS_GET32): Likewise.
19253 (NS_PUT16): Likewise.
19254 (NS_PUT32): Likewise.
19255 * resolv/gethnamaddr.c (getanswer): Likewise.
19256 (gethostbyname2): Likewise.
19257 (gethostbyaddr): Likewise.
19258 (_gethtent): Likewise.
19259 (_gethtbyname2): Likewise.
19260 (_gethtbyaddr): Likewise.
19261 * resolv/ns_print.c (dst_s_get_int16): Likewise.
19262 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19263 * resolv/res_init.c (__res_vinit): Likewise.
19264 (net_mask): Likewise.
19265 * resolv/res_mkquery.c (outchar): Likewise.
19267 * stdio-common/printf_fp.c (outchar): Likewise.
19269 * stdio-common/printf_fphex.c (outchar): Likewise.
19271 * stdio-common/printf_size.c (outchar): Likewise.
19273 * stdio-common/test_rdwr.c (main): Likewise.
19274 * stdio-common/tfformat.c (matches): Likewise.
19275 * stdio-common/vfprintf.c (outchar): Likewise.
19276 (printf_unknown): Likewise.
19277 (buffered_vfprintf): Likewise.
19278 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19279 * stdio-common/xbug.c (AppendToBuffer): Likewise.
19280 (ReadFile): Likewise.
19281 * stdlib/qsort.c (SWAP): Likewise.
19282 (_quicksort): Likewise.
19283 * stdlib/setenv.c (__add_to_environ): Likewise.
19284 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19285 * stdlib/strtol_l.c (__strtol_l): Likewise.
19286 * stdlib/tst-strtod.c (main): Likewise.
19287 * stdlib/tst-strtol.c (main): Likewise.
19288 * stdlib/tst-strtoll.c (main): Likewise.
19289 * string/bits/string2.h (__strcmp_cc): Likewise.
19290 (__strcmp_cg): Likewise.
19291 (__strcspn_c1): Likewise.
19292 (__strcspn_c2): Likewise.
19293 (__strcspn_c3): Likewise.
19294 (__strspn_c1): Likewise.
19295 (__strspn_c2): Likewise.
19296 (__strspn_c3): Likewise.
19297 (__strsep_1c): Likewise.
19298 (__strsep_2c): Likewise.
19299 (__strsep_3c): Likewise.
19300 * string/memccpy.c (__memccpy): Likewise.
19301 * string/stpcpy.c (__stpcpy): Likewise.
19302 * string/strcmp.c (strcmp): Likewise.
19303 * string/strrchr.c (strrchr): Likewise.
19304 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19306 * sysdeps/mach/hurd/getcwd.c
19307 (_hurd_canonicalize_directory_name_internal): Likewise.
19308 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19309 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19310 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19311 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19312 Likewise, in both definitions.
19313 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19315 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19316 64] (__bswap_64): Likewise.
19317 * time/test_time.c (main): Likewise.
19318 * time/tzfile.c (__tzfile_read): Likewise.
19319 (__tzfile_compute): Likewise.
19320 * time/tzset.c (__tzset_parse_tz): Likewise.
19321 (tzset_internal): Likewise.
19322 (compute_change): Likewise.
19323 * wcsmbs/wcscat.c (__wcscat): Likewise.
19324 * wcsmbs/wcschr.c (wcschr): Likewise.
19325 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19326 * wcsmbs/wcscspn.c (wcscspn): Likewise.
19327 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19328 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19329 * wcsmbs/wcsspn.c (wcsspn): Likewise.
19330 * wcsmbs/wcsstr.c (wcsstr): Likewise.
19331 * wcsmbs/wmemchr.c (wmemchr): Likewise.
19332 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19333 * wcsmbs/wmemset.c (wmemset): Likewise.
19335 2013-06-06 Joseph Myers <joseph@codesourcery.com>
19337 * scripts/config.guess: Update to version 2013-05-16.
19338 * scripts/config.sub: Update to version 2013-04-24.
19339 * scripts/install-sh: Update to version 2011-11-20.07.
19340 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19341 * scripts/move-if-change: Update to version 2012-01-06 07:23.
19343 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
19345 * debug/fgetws_u_chk.c: Fix leading whitespaces.
19346 * elf/sln.c: Likewise.
19347 * hurd/hurd/ioctl.h: Likewise.
19348 * hurd/hurdmalloc.c: Likewise.
19349 * hurd/xattr.c: Likewise.
19350 * include/shlib-compat.h: Likewise.
19351 * inet/ruserpass.c: Likewise.
19352 * libio/iofgets_u.c: Likewise.
19353 * libio/iofgetws_u.c: Likewise.
19354 * locale/programs/ld-identification.c: Likewise.
19355 * locale/programs/ld-time.c: Likewise.
19356 * mach/msg-destroy.c: Likewise.
19357 * nss/nss_files/files-netgrp.c: Likewise.
19358 * resolv/res_data.c: Likewise.
19359 * soft-fp/op-1.h: Likewise.
19360 * soft-fp/op-2.h: Likewise.
19361 * soft-fp/op-4.h: Likewise.
19362 * soft-fp/op-common.h: Likewise.
19363 * stdio-common/printf_fphex.c: Likewise.
19364 * stdlib/strtod_l.c: Likewise.
19365 * sunrpc/rpc/clnt.h: Likewise.
19366 * sysdeps/generic/framestate.c: Likewise.
19367 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19368 * sysdeps/i386/bsd-setjmp.S: Likewise.
19369 * sysdeps/i386/__longjmp.S: Likewise.
19370 * sysdeps/i386/setjmp.S: Likewise.
19371 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19372 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19373 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19374 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19375 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19376 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19377 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19378 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19379 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19380 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19381 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19382 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19383 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19384 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19385 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19386 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19387 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19388 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19389 * sysdeps/ieee754/support.c: Likewise.
19390 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19391 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19392 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19393 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19394 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19395 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19396 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19397 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19398 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19399 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19400 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19401 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19402 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19403 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19404 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19405 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19406 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19409 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
19411 * posix/transbug.c: Remove executable mode.
19413 2013-06-05 Joseph Myers <joseph@codesourcery.com>
19415 * crypt/speeds.c: Remove trailing whitespace.
19416 * dlfcn/default.c: Likewise.
19417 * elf/ifuncdep2.c: Likewise.
19418 * elf/ifuncmain1.c: Likewise.
19419 * elf/ifuncmain1vis.c: Likewise.
19420 * elf/testobj.h: Likewise.
19421 * elf/tst-stackguard1.c: Likewise.
19422 * gmon/sys/gmon.h: Likewise.
19423 * hurd/hurdmsg.c: Likewise.
19424 * hurd/new-fd.c: Likewise.
19425 * hurd/ports-get.c: Likewise.
19426 * iconvdata/ibm1008_420.c: Likewise.
19427 * inet/tst-getni1.c: Likewise.
19428 * inet/tst-getni2.c: Likewise.
19429 * libio/ioungetc.c: Likewise.
19430 * libio/wfiledoalloc.c: Likewise.
19431 * manual/libm-err-tab.pl: Likewise.
19432 * math/w_dremf.c: Likewise.
19433 * misc/ftruncate.c: Likewise.
19434 * posix/bug-glob2.c: Likewise.
19435 * posix/tst-pcre.c: Likewise.
19436 * posix/wait4.c: Likewise.
19437 * resolv/README: Likewise.
19438 * resolv/res_debug.h: Likewise.
19439 * resolv/tst-inet_ntop.c: Likewise.
19440 * setjmp/bug269-setjmp.c: Likewise.
19441 * soft-fp/extended.h: Likewise.
19442 * soft-fp/op-1.h: Likewise.
19443 * soft-fp/op-2.h: Likewise.
19444 * soft-fp/op-4.h: Likewise.
19445 * soft-fp/op-8.h: Likewise.
19446 * soft-fp/testit.c: Likewise.
19447 * stdio-common/bug16.c: Likewise.
19448 * stdlib/random.c: Likewise.
19449 * sunrpc/rpcsvc/rquota.x: Likewise.
19450 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19451 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19452 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19453 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19454 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19455 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19456 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19457 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19458 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19459 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19460 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19461 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19462 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19463 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19464 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19465 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19466 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19467 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19468 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19469 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19470 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19471 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19472 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19473 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19474 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19475 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19476 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19477 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19478 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19479 * sysdeps/ieee754/s_lib_version.c: Likewise.
19480 * sysdeps/mach/hurd/check_fds.c: Likewise.
19481 * sysdeps/mach/hurd/getsockname.c: Likewise.
19482 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19483 * sysdeps/mach/hurd/recvfrom.c: Likewise.
19484 * sysdeps/powerpc/bits/link.h: Likewise.
19485 * sysdeps/powerpc/dl-procinfo.c: Likewise.
19486 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19487 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19488 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19489 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19490 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19491 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19492 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19493 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19494 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19495 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19496 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19497 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19498 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19499 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19500 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19501 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19502 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19503 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19504 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19505 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19506 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19507 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19508 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19509 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19510 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19511 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19512 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19513 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19514 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19515 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19516 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19517 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19518 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19519 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19520 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19521 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19522 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19523 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19524 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19525 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19526 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19527 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19528 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19529 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19530 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19531 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19532 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19533 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19534 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19535 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19536 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19537 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19538 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19539 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19540 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19541 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19542 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19543 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19544 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19545 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19546 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19547 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19548 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19549 * sysdeps/powerpc/sysdep.h: Likewise.
19550 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19551 * sysdeps/s390/s390-64/sub_n.S: Likewise.
19552 * sysdeps/sh/dl-trampoline.S: Likewise.
19553 * sysdeps/sh/memset.S: Likewise.
19554 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19555 * sysdeps/sh/strlen.S: Likewise.
19556 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19557 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19558 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19559 * sysdeps/sparc/sparc32/rem.S: Likewise.
19560 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19561 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19562 * sysdeps/sparc/sparc32/strchr.S: Likewise.
19563 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19564 * sysdeps/sparc/sparc32/urem.S: Likewise.
19565 * sysdeps/sparc/sparc64/add_n.S: Likewise.
19566 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19567 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19568 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19569 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19570 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19571 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19572 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19573 * sysdeps/unix/bsd/times.c: Likewise.
19574 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19575 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19579 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19580 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19581 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19582 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19583 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19584 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19585 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19586 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19587 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19588 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19589 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19590 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19591 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19592 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19593 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19594 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19595 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19596 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19597 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19598 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19599 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19600 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19601 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19602 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19603 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19604 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19605 * sysdeps/x86_64/strcspn.S: Likewise.
19607 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19609 * locale/C-translit.h: Revert #include <stdint.h> because this is a
19610 generated file. Regenerate properly from gen-translit.pl.
19611 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
19612 locale/C-translit.h.
19614 2013-06-05 Andreas Schwab <schwab@suse.de>
19617 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19618 week as 6 instead of -1.
19619 * time/tst-strptime.c (day_tests): Add test case.
19621 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19623 * sysdeps/generic/math_private.h
19624 (libc_feholdexcept_setround_53bit): Replace with
19625 libc_feholdsetround_53bit.
19626 (libc_feupdateenv_53bit): Replace with
19627 libc_feresetround_53bit.
19628 (SET_RESTORE_ROUND_53BIT): Adjust.
19630 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19632 * string/test-strchrnul.c: Add copyright header.
19634 * posix/tst-getaddrinfo4.c: Increase test timeout.
19636 2013-06-03 Carlos O'Donell <carlos@redhat.com>
19639 * math/libm-test.inc (MAX_EXP): Remove
19641 (ulp): Use MIN_EXP - MANT_DIG.
19642 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19644 2013-05-31 Carlos O'Donell <carlos@redhat.com>
19646 * po/be.po: Revert last change.
19647 * po/zh_CN.po: Likewise.
19648 * po/header.pot: Likewise.
19650 2013-05-31 Joseph Myers <joseph@codesourcery.com>
19652 * Makefile ($(common-objpfx)linkobj/libc.so): Define
19653 link-libc-deps to empty as target-specific variable.
19654 * Makerules (link-libc-args): New variable.
19655 (libc-for-link): Likewise.
19656 (link-libc-deps): Likewise.
19657 (lib%.so): Depend on $(link-libc-deps). Link with
19659 (build-module): Link with $(link-libc-args).
19660 (build-module-asneeded): Likewise.
19661 (build-module-helper-objlist): Filter out $(link-libc-deps) from
19663 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19664 target-specific variable.
19665 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19666 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19667 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19669 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19671 ($(objpfx)libpcprofile.so): Likewise.
19672 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19674 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19675 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19676 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19678 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19679 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19680 * login/Makefile ($(objpfx)libutil.so): Likewise.
19681 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19682 * math/Makefile ($(objpfx)libm.so): Likewise.
19683 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19684 $(objpfx)libnsl.so): Define libc-for-link as target-specific
19685 variable instead of depending directly on libc.
19686 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19687 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19689 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19691 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19692 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19693 ($(objpfx)libanl.so): Likewise.
19694 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19696 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19698 * sysdeps/i386/fpu/Makefile: Remove file.
19699 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19700 ($(objpfx)libm.so): Remove dependency on ld.so.
19702 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
19705 * nis/yp_xdr.c (XDRMAXNAME): Define.
19706 (XDRMAXRECORD): Define.
19707 (xdr_domainname): Use XDRMAXNAME.
19708 (xdr_mapname): Likewise.
19709 (xdr_peername): Likewise.
19710 (xdr_keydat): Use XDRMAXRECORD.
19711 (xdr_valdat): Likewise.
19713 2013-05-30 Jeff Law <law@redhat.com>
19716 * manual/errno.texi (ESTALE): Update to account for more than
19717 just NFS file systems.
19718 * sysdeps/gnu/errlist.c: Regenerated.
19720 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19723 * elf/Makefile (tests): Add tst-null-argv.
19724 (modules-names): Add tst-null-argv-lib.
19725 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19726 (tst-null-argv-ENV): Set environment for tst-null-argv.
19727 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19728 (RTLD_PROGNAME): New macro.
19729 * elf/tst-null-argv.c: New test case.
19730 * elf/tst-null-argv-lib.c: Library for test case.
19731 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19732 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19733 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19734 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19735 * elf/dl-init.c (call_init): Likewise.
19736 (_dl_init): Likewise.
19737 * elf/dl-load.c (print_search_path): Likewise.
19738 (_dl_map_object): Likewise.
19739 * elf/dl-lookup.c (do_lookup_x): Likewise.
19740 (add_dependency): Likewise.
19741 (_dl_lookup_symbol_x): Likewise.
19742 (_dl_debug_bindings): Likewise.
19743 * elf/dl-open.c (_dl_show_scope): Likewise.
19744 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19745 * elf/dl-version.c (match_symbol): Likewise.
19746 (_dl_check_map_versions): Likewise.
19747 * elf/rtld.c (dl_main): Likewise.
19748 (print_unresolved): Use RTLD_PROGNAME.
19749 (print_missing_version): Likewise.
19750 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19751 (elf_machine_rela): Likewise.
19752 * sysdeps/powerpc/powerpc32/dl-machine.c
19753 (__process_machine_rela): Likewise.
19754 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19756 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19758 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19760 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19761 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19763 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19765 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19767 2013-05-28 Carlos O'Donell <carlos@redhat.com>
19769 * po/be.po: Add descriptive title.
19770 * po/zh_CN.po: Likewise.
19771 * po/header.pot: Likewise.
19773 2013-05-28 Mike Frysinger <vapier@gentoo.org>
19775 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19777 (enlarge_archive): Likewise.
19779 2013-05-28 Ben North <ben@redfrontdoor.org>
19781 * manual/arith.texi (frexp): It is the magnitude of the return
19782 value which lies in [0.5, 1), not the return value itself.
19784 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19788 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
19790 * stdio-common/bug26.c (main): Correct fscanf template.
19792 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19793 declare _dl_skip_args.
19795 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19798 * manual/platform.texi: Add missing @end deftypefun.
19800 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19803 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19804 bit of mantissa of 2^16382.
19805 * math/libm-test.inc (hypot_test_data): Add more tests.
19807 * math/libm-test.inc: Add drem and pow10 to list of tested
19809 (pow10_test): New function.
19810 (drem_test): Likewise.
19811 (drem_test_tonearest): Likewise.
19812 (drem_test_towardzero): Likewise.
19813 (drem_test_downward): Likewise.
19814 (drem_test_upward): Likewise.
19815 (main): Call the new functions.
19817 * math/libm-test.inc (finite_test_data): Remove.
19818 (finite_test): Run tests from isfinite_test_data.
19819 (gamma_test_data): Remove.
19820 (gamma_test): Run tests from lgamma_test_data.
19821 * sysdeps/i386/fpu/libm-test-ulps: Update.
19822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19824 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19826 * manual/platform.texi: Add PowerPC PPR function set documentation.
19827 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19830 2013-05-24 Carlos O'Donell <carlos@redhat.com>
19832 * math/libm-test.inc (MAX_EXP): Define.
19834 (ulp): New function.
19835 (check_float_internal): Use ULPDIFF.
19836 (cpow_test): Disable failing test.
19837 (check_ulp): Test ulp() implemetnation.
19838 (main): Call check_ulp before starting tests.
19840 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19842 * math/gen-libm-test.pl (generate_testfile): Do not handle
19843 START_DATA and END_DATA.
19844 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19846 (acos_tonearest_test_data): Likewise.
19847 (acos_towardzero_test_data): Likewise.
19848 (acos_downward_test_data): Likewise.
19849 (acos_upward_test_data): Likewise.
19850 (acosh_test_data): Likewise.
19851 (asin_test_data): Likewise.
19852 (asin_tonearest_test_data): Likewise.
19853 (asin_towardzero_test_data): Likewise.
19854 (asin_downward_test_data): Likewise.
19855 (asin_upward_test_data): Likewise.
19856 (asinh_test_data): Likewise.
19857 (atan_test_data): Likewise.
19858 (atanh_test_data): Likewise.
19859 (atan2_test_data): Likewise.
19860 (cabs_test_data): Likewise.
19861 (cacos_test_data): Likewise.
19862 (cacosh_test_data): Likewise.
19863 (carg_test_data): Likewise.
19864 (casin_test_data): Likewise.
19865 (casinh_test_data): Likewise.
19866 (catan_test_data): Likewise.
19867 (catanh_test_data): Likewise.
19868 (cbrt_test_data): Likewise.
19869 (ccos_test_data): Likewise.
19870 (ccosh_test_data): Likewise.
19871 (ceil_test_data): Likewise.
19872 (cexp_test_data): Likewise.
19873 (cimag_test_data): Likewise.
19874 (clog_test_data): Likewise.
19875 (clog10_test_data): Likewise.
19876 (conj_test_data): Likewise.
19877 (copysign_test_data): Likewise.
19878 (cos_test_data): Likewise.
19879 (cos_tonearest_test_data): Likewise.
19880 (cos_towardzero_test_data): Likewise.
19881 (cos_downward_test_data): Likewise.
19882 (cos_upward_test_data): Likewise.
19883 (cosh_test_data): Likewise.
19884 (cosh_tonearest_test_data): Likewise.
19885 (cosh_towardzero_test_data): Likewise.
19886 (cosh_downward_test_data): Likewise.
19887 (cosh_upward_test_data): Likewise.
19888 (cpow_test_data): Likewise.
19889 (cproj_test_data): Likewise.
19890 (creal_test_data): Likewise.
19891 (csin_test_data): Likewise.
19892 (csinh_test_data): Likewise.
19893 (csqrt_test_data): Likewise.
19894 (ctan_test_data): Likewise.
19895 (ctan_tonearest_test_data): Likewise.
19896 (ctan_towardzero_test_data): Likewise.
19897 (ctan_downward_test_data): Likewise.
19898 (ctan_upward_test_data): Likewise.
19899 (ctanh_test_data): Likewise.
19900 (ctanh_tonearest_test_data): Likewise.
19901 (ctanh_towardzero_test_data): Likewise.
19902 (ctanh_downward_test_data): Likewise.
19903 (ctanh_upward_test_data): Likewise.
19904 (erf_test_data): Likewise.
19905 (erfc_test_data): Likewise.
19906 (exp_test_data): Likewise.
19907 (exp_tonearest_test_data): Likewise.
19908 (exp_towardzero_test_data): Likewise.
19909 (exp_downward_test_data): Likewise.
19910 (exp_upward_test_data): Likewise.
19911 (exp10_test_data): Likewise.
19912 (exp2_test_data): Likewise.
19913 (expm1_test_data): Likewise.
19914 (fabs_test_data): Likewise.
19915 (fdim_test_data): Likewise.
19916 (finite_test_data): Likewise.
19917 (floor_test_data): Likewise.
19918 (fma_test_data): Likewise.
19919 (fma_towardzero_test_data): Likewise.
19920 (fma_downward_test_data): Likewise.
19921 (fma_upward_test_data): Likewise.
19922 (fmax_test_data): Likewise.
19923 (fmin_test_data): Likewise.
19924 (fmod_test_data): Likewise.
19925 (fpclassify_test_data): Likewise.
19926 (frexp_test_data): Likewise.
19927 (gamma_test_data): Likewise.
19928 (hypot_test_data): Likewise.
19929 (ilogb_test_data): Likewise.
19930 (isfinite_test_data): Likewise.
19931 (isgreater_test_data): Likewise.
19932 (isgreaterequal_test_data): Likewise.
19933 (isinf_test_data): Likewise.
19934 (isless_test_data): Likewise.
19935 (islessequal_test_data): Likewise.
19936 (islessgreater_test_data): Likewise.
19937 (isnan_test_data): Likewise.
19938 (isnormal_test_data): Likewise.
19939 (issignaling_test_data): Likewise.
19940 (isunordered_test_data): Likewise.
19941 (j0_test_data): Likewise.
19942 (j1_test_data): Likewise.
19943 (jn_test_data): Likewise.
19944 (ldexp_test_data): Likewise.
19945 (lgamma_test_data): Likewise.
19946 (lrint_test_data): Likewise.
19947 (lrint_tonearest_test_data): Likewise.
19948 (lrint_towardzero_test_data): Likewise.
19949 (lrint_downward_test_data): Likewise.
19950 (lrint_upward_test_data): Likewise.
19951 (llrint_test_data): Likewise.
19952 (llrint_tonearest_test_data): Likewise.
19953 (llrint_towardzero_test_data): Likewise.
19954 (llrint_downward_test_data): Likewise.
19955 (llrint_upward_test_data): Likewise.
19956 (log_test_data): Likewise.
19957 (log10_test_data): Likewise.
19958 (log1p_test_data): Likewise.
19959 (log2_test_data): Likewise.
19960 (logb_test_data): Likewise.
19961 (logb_downward_test_data): Likewise.
19962 (lround_test_data): Likewise.
19963 (llround_test_data): Likewise.
19964 (modf_test_data): Likewise.
19965 (nearbyint_test_data): Likewise.
19966 (nextafter_test_data): Likewise.
19967 (nexttoward_test_data): Likewise.
19968 (pow_test_data): Likewise.
19969 (pow_tonearest_test_data): Likewise.
19970 (pow_towardzero_test_data): Likewise.
19971 (pow_downward_test_data): Likewise.
19972 (pow_upward_test_data): Likewise.
19973 (remainder_test_data): Likewise.
19974 (remainder_tonearest_test_data): Likewise.
19975 (remainder_towardzero_test_data): Likewise.
19976 (remainder_downward_test_data): Likewise.
19977 (remainder_upward_test_data): Likewise.
19978 (remquo_test_data): Likewise.
19979 (rint_test_data): Likewise.
19980 (rint_tonearest_test_data): Likewise.
19981 (rint_towardzero_test_data): Likewise.
19982 (rint_downward_test_data): Likewise.
19983 (rint_upward_test_data): Likewise.
19984 (round_test_data): Likewise.
19985 (scalb_test_data): Likewise.
19986 (scalbn_test_data): Likewise.
19987 (scalbln_test_data): Likewise.
19988 (signbit_test_data): Likewise.
19989 (sin_test_data): Likewise.
19990 (sin_tonearest_test_data): Likewise.
19991 (sin_towardzero_test_data): Likewise.
19992 (sin_downward_test_data): Likewise.
19993 (sin_upward_test_data): Likewise.
19994 (sincos_test_data): Likewise.
19995 (sinh_test_data): Likewise.
19996 (sinh_tonearest_test_data): Likewise.
19997 (sinh_towardzero_test_data): Likewise.
19998 (sinh_downward_test_data): Likewise.
19999 (sinh_upward_test_data): Likewise.
20000 (sqrt_test_data): Likewise.
20001 (tan_test_data): Likewise.
20002 (tan_tonearest_test_data): Likewise.
20003 (tan_towardzero_test_data): Likewise.
20004 (tan_downward_test_data): Likewise.
20005 (tan_upward_test_data): Likewise.
20006 (tanh_test_data): Likewise.
20007 (tgamma_test_data): Likewise.
20008 (trunc_test_data): Likewise.
20009 (y0_test_data): Likewise.
20010 (y1_test_data): Likewise.
20011 (yn_test_data): Likewise.
20012 (significand_test_data): Likewise.
20014 * math/gen-libm-test.pl (@functions): Remove variable.
20015 (generate_testfile): Don't handle START and END lines.
20016 * math/libm-test.inc (START): New macro.
20018 (END_COMPLEX): Likewise.
20019 (acos_test): Use END macro without arguments.
20020 (acos_test_tonearest): Likewise.
20021 (acos_test_towardzero): Likewise.
20022 (acos_test_downward): Likewise.
20023 (acos_test_upward): Likewise.
20024 (acosh_test): Likewise.
20025 (asin_test): Likewise.
20026 (asin_test_tonearest): Likewise.
20027 (asin_test_towardzero): Likewise.
20028 (asin_test_downward): Likewise.
20029 (asin_test_upward): Likewise.
20030 (asinh_test): Likewise.
20031 (atan_test): Likewise.
20032 (atanh_test): Likewise.
20033 (atan2_test): Likewise.
20034 (cabs_test): Likewise.
20035 (cacos_test): Use END_COMPLEX macro without arguments.
20036 (cacosh_test): Likewise.
20037 (carg_test): Use END macro without arguments.
20038 (casin_test): Use END_COMPLEX macro without arguments.
20039 (casinh_test): Likewise.
20040 (catan_test): Likewise.
20041 (catanh_test): Likewise.
20042 (cbrt_test): Use END macro without arguments.
20043 (ccos_test): Use END_COMPLEX macro without arguments.
20044 (ccosh_test): Likewise.
20045 (ceil_test): Use END macro without arguments.
20046 (cexp_test): Use END_COMPLEX macro without arguments.
20047 (cimag_test): Use END macro without arguments.
20048 (clog_test): Use END_COMPLEX macro without arguments.
20049 (clog10_test): Likewise.
20050 (conj_test): Likewise.
20051 (copysign_test): Use END macro without arguments.
20052 (cos_test): Likewise.
20053 (cos_test_tonearest): Likewise.
20054 (cos_test_towardzero): Likewise.
20055 (cos_test_downward): Likewise.
20056 (cos_test_upward): Likewise.
20057 (cosh_test): Likewise.
20058 (cosh_test_tonearest): Likewise.
20059 (cosh_test_towardzero): Likewise.
20060 (cosh_test_downward): Likewise.
20061 (cosh_test_upward): Likewise.
20062 (cpow_test): Use END_COMPLEX macro without arguments.
20063 (cproj_test): Likewise.
20064 (creal_test): Use END macro without arguments.
20065 (csin_test): Use END_COMPLEX macro without arguments.
20066 (csinh_test): Likewise.
20067 (csqrt_test): Likewise.
20068 (ctan_test): Likewise.
20069 (ctan_test_tonearest): Likewise.
20070 (ctan_test_towardzero): Likewise.
20071 (ctan_test_downward): Likewise.
20072 (ctan_test_upward): Likewise.
20073 (ctanh_test): Likewise.
20074 (ctanh_test_tonearest): Likewise.
20075 (ctanh_test_towardzero): Likewise.
20076 (ctanh_test_downward): Likewise.
20077 (ctanh_test_upward): Likewise.
20078 (erf_test): Use END macro without arguments.
20079 (erfc_test): Likewise.
20080 (exp_test): Likewise.
20081 (exp_test_tonearest): Likewise.
20082 (exp_test_towardzero): Likewise.
20083 (exp_test_downward): Likewise.
20084 (exp_test_upward): Likewise.
20085 (exp10_test): Likewise.
20086 (exp2_test): Likewise.
20087 (expm1_test): Likewise.
20088 (fabs_test): Likewise.
20089 (fdim_test): Likewise.
20090 (finite_test): Likewise.
20091 (floor_test): Likewise.
20092 (fma_test): Likewise.
20093 (fma_test_towardzero): Likewise.
20094 (fma_test_downward): Likewise.
20095 (fma_test_upward): Likewise.
20096 (fmax_test): Likewise.
20097 (fmin_test): Likewise.
20098 (fmod_test): Likewise.
20099 (fpclassify_test): Likewise.
20100 (frexp_test): Likewise.
20101 (gamma_test): Likewise.
20102 (hypot_test): Likewise.
20103 (ilogb_test): Likewise.
20104 (isfinite_test): Likewise.
20105 (isgreater_test): Likewise.
20106 (isgreaterequal_test): Likewise.
20107 (isinf_test): Likewise.
20108 (isless_test): Likewise.
20109 (islessequal_test): Likewise.
20110 (islessgreater_test): Likewise.
20111 (isnan_test): Likewise.
20112 (isnormal_test): Likewise.
20113 (issignaling_test): Likewise.
20114 (isunordered_test): Likewise.
20115 (j0_test): Likewise.
20116 (j1_test): Likewise.
20117 (jn_test): Likewise.
20118 (ldexp_test): Likewise.
20119 (lgamma_test): Likewise.
20120 (lrint_test): Likewise.
20121 (lrint_test_tonearest): Likewise.
20122 (lrint_test_towardzero): Likewise.
20123 (lrint_test_downward): Likewise.
20124 (lrint_test_upward): Likewise.
20125 (llrint_test): Likewise.
20126 (llrint_test_tonearest): Likewise.
20127 (llrint_test_towardzero): Likewise.
20128 (llrint_test_downward): Likewise.
20129 (llrint_test_upward): Likewise.
20130 (log_test): Likewise.
20131 (log10_test): Likewise.
20132 (log1p_test): Likewise.
20133 (log2_test): Likewise.
20134 (logb_test): Likewise.
20135 (logb_test_downward): Likewise.
20136 (lround_test): Likewise.
20137 (llround_test): Likewise.
20138 (modf_test): Likewise.
20139 (nearbyint_test): Likewise.
20140 (nextafter_test): Likewise.
20141 (nexttoward_test): Likewise.
20142 (pow_test): Likewise.
20143 (pow_test_tonearest): Likewise.
20144 (pow_test_towardzero): Likewise.
20145 (pow_test_downward): Likewise.
20146 (pow_test_upward): Likewise.
20147 (remainder_test): Likewise.
20148 (remainder_test_tonearest): Likewise.
20149 (remainder_test_towardzero): Likewise.
20150 (remainder_test_downward): Likewise.
20151 (remainder_test_upward): Likewise.
20152 (remquo_test): Likewise.
20153 (rint_test): Likewise.
20154 (rint_test_tonearest): Likewise.
20155 (rint_test_towardzero): Likewise.
20156 (rint_test_downward): Likewise.
20157 (rint_test_upward): Likewise.
20158 (round_test): Likewise.
20159 (scalb_test): Likewise.
20160 (scalbn_test): Likewise.
20161 (scalbln_test): Likewise.
20162 (signbit_test): Likewise.
20163 (sin_test): Likewise.
20164 (sin_test_tonearest): Likewise.
20165 (sin_test_towardzero): Likewise.
20166 (sin_test_downward): Likewise.
20167 (sin_test_upward): Likewise.
20168 (sincos_test): Likewise.
20169 (sinh_test): Likewise.
20170 (sinh_test_tonearest): Likewise.
20171 (sinh_test_towardzero): Likewise.
20172 (sinh_test_downward): Likewise.
20173 (sinh_test_upward): Likewise.
20174 (sqrt_test): Likewise.
20175 (tan_test): Likewise.
20176 (tan_test_tonearest): Likewise.
20177 (tan_test_towardzero): Likewise.
20178 (tan_test_downward): Likewise.
20179 (tan_test_upward): Likewise.
20180 (tanh_test): Likewise.
20181 (tgamma_test): Likewise.
20182 (trunc_test): Likewise.
20183 (y0_test): Likewise.
20184 (y1_test): Likewise.
20185 (yn_test): Likewise.
20186 (significand_test): Likewise.
20188 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
20191 * libio/genops.c (_IO_no_init): Initialize wide struct info.
20193 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
20196 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20197 __ppc_mdoio and __ppc_mdoom.
20198 * manual/platform.texi: Document new functions __ppc_yield,
20199 __ppc_mdoio and __ppc_mdoom.
20201 2013-05-22 Carlos O'Donell <carlos@redhat.com>
20203 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20204 (main): Mention "tls" pseudo-hwcap is legacy.
20205 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20207 2013-05-22 Joseph Myers <joseph@codesourcery.com>
20209 * math/gen-libm-test.pl (parse_args): Output only string of
20210 arguments as text for test name, not full call or descriptions of
20211 tests for extra outputs.
20212 (generate_testfile): Do not pass function name to parse_args.
20213 Generate this_func variable from START.
20214 * math/libm-test.inc (struct test_f_f_data): Rename test_name
20216 (struct test_ff_f_data): Likewise.
20217 (test_ff_f_data_nexttoward): Likewise.
20218 (struct test_fi_f_data): Likewise.
20219 (struct test_fl_f_data): Likewise.
20220 (struct test_if_f_data): Likewise.
20221 (struct test_fff_f_data): Likewise.
20222 (struct test_c_f_data): Likewise.
20223 (struct test_f_f1_data): Likewise. Remove field extra_name.
20224 (struct test_fF_f1_data): Likewise.
20225 (struct test_ffI_f1_data): Likewise.
20226 (struct test_c_c_data): Rename test_name field to arg_str.
20227 (struct test_cc_c_data): Likewise.
20228 (struct test_f_i_data): Likewise.
20229 (struct test_ff_i_data): Likewise.
20230 (struct test_f_l_data): Likewise.
20231 (struct test_f_L_data): Likewise.
20232 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
20234 (COMMON_TEST_SETUP): New macro.
20235 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20236 (COMMON_TEST_CLEANUP): Likewise.
20237 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20238 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
20240 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20241 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
20243 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20244 (RUN_TEST_fff_f): Take argument string. Call new setup and
20246 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20247 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
20249 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20250 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
20252 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20253 (RUN_TEST_fF_f1): Take argument string. Call new setup and
20255 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20256 (RUN_TEST_fI_f1): Take argument string. Call new setup and
20258 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20259 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
20261 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20262 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
20264 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20265 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
20267 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20268 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
20270 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20271 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
20273 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20274 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
20276 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20277 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
20279 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20280 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
20282 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20283 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
20285 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20286 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
20288 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20289 (RUN_TEST_fFF_11): Take argument string. Call new setup and
20291 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20293 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20295 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20296 to _sifields.sigfault.
20297 (si_addr_lsb): Define new macro.
20298 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20299 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20300 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20302 2013-05-03 Carlos O'Donell <carlos at redhat.com>
20305 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20307 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20309 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20310 loading the domain.
20312 2013-05-22 Joseph Myers <joseph@codesourcery.com>
20314 * math/gen-libm-test.pl (parse_args): Do not include expected
20315 result in test name.
20316 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20317 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20318 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20319 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20320 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20323 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20325 * benchtests/Makefile: Sort function entries.
20327 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20328 tanh, asinh, acosh, atanh.
20329 * benchtests/acos-inputs: New file.
20330 * benchtests/acosh-inputs: New file.
20331 * benchtests/asin-inputs: New file.
20332 * benchtests/asinh-inputs: New file.
20333 * benchtests/atanh-inputs: New file.
20334 * benchtests/cosh-inputs: New file.
20335 * benchtests/log-inputs: New file.
20336 * benchtests/sinh-inputs: New file.
20337 * benchtests/tanh-inputs: New file.
20339 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
20342 * posix/tst-getaddrinfo4.c: New test.
20343 * posix/Makefile (tests): Add it.
20345 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20348 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20349 when no services were used.
20350 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20351 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20353 2013-05-21 Andreas Schwab <schwab@suse.de>
20356 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20357 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20359 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20360 redundant variable declarations and reallocation of buffer when
20361 parsing as IPv6 address. Always set NSS status when called from
20362 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
20363 buffer too small. Correct computation of needed size.
20364 * nss/Makefile (tests): Add test-digits-dots.
20365 * nss/test-digits-dots.c: New test.
20367 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20369 * benchtests/Makefile: Remove instructions for adding
20371 * benchtests/README: New file to explain how to execute and
20372 enhance the benchmark tests.
20374 2013-05-21 Andreas Schwab <schwab@suse.de>
20377 * setjmp/Makefile (tests): Add tst-sigsetjmp.
20378 * setjmp/tst-sigsetjmp.c: New test.
20380 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
20382 * sysdeps/x86_64/memset.S (memset): New implementation.
20383 (__bzero): Likewise.
20384 (__memset_tail): New function.
20386 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
20388 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20389 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20390 __memcpy_sse2_unaligned ifunc selection.
20391 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20392 Add memcpy-sse2-unaligned.S.
20393 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20394 Add: __memcpy_sse2_unaligned.
20396 2013-05-19 Joseph Myers <joseph@codesourcery.com>
20399 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20400 math_force_eval before restoring floating-point envrionment.
20401 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20402 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20404 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20406 (__nearbyintl): Use math_force_eval before restoring
20407 floating-point environment.
20408 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20410 * math/gen-libm-test.pl (special_functions): Remove.
20411 (parse_args): Don't handle TEST_extra. Handle functions with no
20413 * math/libm-test.inc (struct test_sincos_data): Replace with
20414 struct test_fFF_11_data.
20415 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20416 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20417 (sincos_test_data): Change element type to struct
20418 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
20419 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20420 RUN_TEST_LOOP_sincos.
20421 * math/README.libm-test: Don't mention special handling of
20422 individual functions.
20423 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20424 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20425 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20426 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20427 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20430 * math/gen-libm-test.pl (get_variable): Remove function.
20431 (parse_args): Don't show pointer parameters to call in test
20432 names. Use "extra output N" in test names for extra outputs
20433 rather than naming variables.
20435 2013-05-18 Joseph Myers <joseph@codesourcery.com>
20438 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20439 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20440 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20442 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20444 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20447 * math/gen-libm-test.pl (@tests): Remove variable.
20448 ($count): Likewise.
20449 (new_test): Remove function.
20450 (show_exceptions): New function.
20451 (special_functions): Use show_exceptions instead of new_test.
20452 (parse_args): Likewise.
20453 (generate_testfile): Pass only function name in generated call to
20454 print_max_error or print_complex_max_error.
20455 (get_ulps): Do not handle complex tests specially.
20456 (output_test): Rename to ...
20457 (get_all_ulps_for_test): ... this. Return a string rather than
20458 printing to a file. Require ulps to be present.
20459 (output_ulps): Generate arrays rather than #defines.
20460 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20461 (struct ulp_data): New type.
20462 (BUILD_COMPLEX_ULP): Remove macro.
20463 (compare_ulp_data): New function.
20464 (find_ulps): Likewise.
20465 (find_test_ulps): Likewise.
20466 (find_function_ulps): Likewise.
20467 (find_complex_function_ulps): Likewise.
20468 (print_max_error): Determine allowed ulps using
20469 find_function_ulps.
20470 (print_complex_max_error): Determine allowed ulps using
20471 find_complex_function_ulps.
20472 (check_float_internal): Determine max ulps using find_test_ulps.
20473 (check_float): Do not take max_ulp parameter. Update call to
20474 check_float_internal.
20475 (check_complex): Likewise.
20476 (check_int): Do not take max_ulp parameter.
20477 (check_long): Likewise.
20478 (check_bool): Likewise.
20479 (check_longlong): Likewise.
20480 (struct test_f_f_data): Remove max_ulp field.
20481 (struct test_ff_f_data): Likewise.
20482 (struct test_ff_f_data_nexttoward): Likewise.
20483 (struct test_fi_f_data): Likewise.
20484 (struct test_fl_f_data): Likewise.
20485 (struct test_if_f_data): Likewise.
20486 (struct test_fff_f_data): Likewise.
20487 (struct test_c_f_data): Likewise.
20488 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20489 (struct test_fF_f1_data): Likewise.
20490 (struct test_ffI_f1_data): Likewise.
20491 (struct test_c_c_data): Remove max_ulp field.
20492 (struct test_cc_c_data): Likewise.
20493 (struct test_f_i_data): Likewise.
20494 (struct test_ff_i_data): Likewise.
20495 (struct test_f_l_data): Likewise.
20496 (struct test_f_L_data): Likewise.
20497 (struct test_sincos_data): Likewise.
20498 (RUN_TEST_f_f): Do not handle ulps.
20499 (RUN_TEST_LOOP_f_f): Likewise.
20500 (RUN_TEST_2_f): Likewise.
20501 (RUN_TEST_LOOP_2_f): Likewise.
20502 (RUN_TEST_fff_f): Likewise.
20503 (RUN_TEST_LOOP_fff_f): Likewise.
20504 (RUN_TEST_c_f): Likewise.
20505 (RUN_TEST_LOOP_c_f): Likewise.
20506 (RUN_TEST_f_f1): Likewise.
20507 (RUN_TEST_LOOP_f_f1): Likewise.
20508 (RUN_TEST_fF_f1): Likewise.
20509 (RUN_TEST_LOOP_fF_f1): Likewise.
20510 (RUN_TEST_fI_f1): Likewise.
20511 (RUN_TEST_LOOP_fI_f1): Likewise.
20512 (RUN_TEST_ffI_f1): Likewise.
20513 (RUN_TEST_LOOP_ffI_f1): Likewise.
20514 (RUN_TEST_c_c): Likewise.
20515 (RUN_TEST_LOOP_c_c): Likewise.
20516 (RUN_TEST_cc_c): Likewise.
20517 (RUN_TEST_LOOP_cc_c): Likewise.
20518 (RUN_TEST_f_i): Likewise.
20519 (RUN_TEST_LOOP_f_i): Likewise.
20520 (RUN_TEST_f_i_tg): Likewise.
20521 (RUN_TEST_LOOP_f_i_tg): Likewise.
20522 (RUN_TEST_ff_i_tg): Likewise.
20523 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20524 (RUN_TEST_f_b): Likewise.
20525 (RUN_TEST_LOOP_f_b): Likewise.
20526 (RUN_TEST_f_b_tg): Likewise.
20527 (RUN_TEST_LOOP_f_b_tg): Likewise.
20528 (RUN_TEST_f_l): Likewise.
20529 (RUN_TEST_LOOP_f_l): Likewise.
20530 (RUN_TEST_f_L): Likewise.
20531 (RUN_TEST_LOOP_f_L): Likewise.
20532 (RUN_TEST_sincos): Likewise.
20533 (RUN_TEST_LOOP_sincos): Likewise.
20535 2013-05-17 Joseph Myers <joseph@codesourcery.com>
20539 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20540 main case of finite arguments, set rounding mode to FE_TONEAREST
20541 and discard exceptions.
20542 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20544 (remainder_tonearest_test_data): New variable.
20545 (remainder_test_tonearest): New function.
20546 (remainder_towardzero_test_data): New variable.
20547 (remainder_test_towardzero): New function.
20548 (remainder_downward_test_data): New variable.
20549 (remainder_test_downward): New function.
20550 (remainder_upward_test_data): New variable.
20551 (remainder_test_upward): New function.
20552 (main): Call the new test functions.
20554 * math/libm-test.inc (struct test_f_f1_data): Remove field
20556 (struct test_fF_f1_data): Likewise.
20557 (struct test_ffI_f1_data): Likewise.
20558 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
20559 based on value of EXTRA_EXPECTED.
20560 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20561 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
20562 EXTRA_VAR based on value of EXTRA_EXPECTED.
20563 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20564 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
20565 EXTRA_VAR based on value of EXTRA_EXPECTED.
20566 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20567 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
20568 EXTRA_VAR based on value of EXTRA_EXPECTED.
20569 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20570 * math/gen-libm-test.pl (parse_args): Don't output initializers
20571 for extra output values.
20573 * math/libm-test.inc (check_int): Expect result to be exactly
20574 equal to expected value and do not handle ulps.
20575 (check_long): Likewise.
20576 (check_longlong): Likewise.
20578 * math/libm-test.inc (ceil_test_data): Test for "inexact"
20580 (cimag_test_data): Likewise.
20581 (conj_test_data): Likewise.
20582 (copysign_test_data): Likewise.
20583 (cproj_test_data): Likewise.
20584 (creal_test_data): Likewise.
20585 (fabs_test_data): Likewise.
20586 (fdim_test_data): Likewise.
20587 (finite_test_data): Likewise.
20588 (floor_test_data): Likewise.
20589 (fmax_test_data): Likewise.
20590 (fmin_test_data): Likewise.
20591 (fmod_test_data): Likewise.
20592 (fpclassify_test_data): Likewise.
20593 (frexp_test_data): Likewise.
20594 (ilogb_test_data): Likewise.
20595 (isfinite_test_data): Likewise.
20596 (isgreater_test_data): Likewise.
20597 (isgreaterequal_test_data): Likewise.
20598 (isinf_test_data): Likewise.
20599 (isless_test_data): Likewise.
20600 (islessequal_test_data): Likewise.
20601 (islessgreater_test_data): Likewise.
20602 (isnan_test_data): Likewise.
20603 (isnormal_test_data): Likewise.
20604 (issignaling_test_data): Likewise.
20605 (isunordered_test_data): Likewise.
20606 (ldexp_test_data): Likewise.
20607 (lrint_test_data): Likewise.
20608 (lrint_test_data) [TEST_FLOAT]: Disable one test.
20609 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20610 (lrint_tonearest_test_data): Test for "inexact" exceptions.
20611 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20612 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20613 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20615 (lrint_towardzero_test_data): Test for "inexact" exceptions.
20616 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20617 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20618 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20620 (lrint_downward_test_data): Test for "inexact" exceptions.
20621 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20622 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20623 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20625 (lrint_upward_test_data): Test for "inexact" exceptions.
20626 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20628 (llrint_test_data): Test for "inexact" exceptions.
20629 (llrint_test_data) [TEST_FLOAT]: Disable one test.
20630 (llrint_tonearest_test_data): Test for "inexact" exceptions.
20631 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20632 (llrint_towardzero_test_data): Test for "inexact" exceptions.
20633 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20634 (llrint_downward_test_data): Test for "inexact" exceptions.
20635 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20636 (llrint_upward_test_data): Test for "inexact" exceptions.
20637 (logb_test_data): Likewise.
20638 (logb_downward_test_data): Likewise.
20639 (nextafter_test_data): Likewise.
20640 (nexttoward_test_data): Likewise.
20641 (remainder_test_data): Likewise.
20642 (remquo_test_data): Likewise.
20643 (scalbn_test_data): Likewise.
20644 (scalbln_test_data): Likewise.
20645 (signbit_test_data): Likewise.
20646 (sqrt_test_data): Likewise.
20647 (significand_test_data): Likewise.
20649 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20652 * benchtests/bench-modf.c (struct args): Mark arg0 as
20654 * scripts/bench.pl: Mark members of struct args as volatile.
20656 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20659 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20660 negative infinity on POWER6 or lower.
20661 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20663 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20666 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20667 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20668 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20669 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20670 (_FP_SETQNAN): New macro.
20671 (_FP_SETQNAN_SEMIRAW): Likewise.
20672 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20673 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20674 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20675 (FP_EXTEND): Use _FP_FRAC_SNANP.
20676 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20677 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20679 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20681 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20684 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20686 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20687 with DIVIDE_BY_ZERO_EXCEPTION.
20688 (gamma_test_data): Likewise.
20689 (lgamma_test_data): Likewise.
20690 (log_test_data): Likewise.
20691 (log10_test_data): Likewise.
20692 (log2_test_data): Likewise.
20693 (tgamma_test_data): Likewise.
20695 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20696 (acos_test_tonearest): Likewise.
20697 (acos_test_towardzero): Likewise.
20698 (acos_test_downward): Likewise.
20699 (acos_test_upward): Likewise.
20700 (acosh_test): Likewise.
20701 (asin_test): Likewise.
20702 (asin_test_tonearest): Likewise.
20703 (asin_test_towardzero): Likewise.
20704 (asin_test_downward): Likewise.
20705 (asin_test_upward): Likewise.
20706 (asinh_test): Likewise.
20707 (atan_test): Likewise.
20708 (atanh_test): Likewise.
20709 (atan2_test): Likewise.
20710 (cabs_test): Likewise.
20711 (cacos_test): Likewise.
20712 (cacosh_test): Likewise.
20713 (casin_test): Likewise.
20714 (casinh_test): Likewise.
20715 (catan_test): Likewise.
20716 (catanh_test): Likewise.
20717 (cbrt_test): Likewise.
20718 (ccos_test): Likewise.
20719 (ccosh_test): Likewise.
20720 (cexp_test): Likewise.
20721 (clog_test): Likewise.
20722 (clog10_test): Likewise.
20723 (cos_test): Likewise.
20724 (cos_test_tonearest): Likewise.
20725 (cos_test_towardzero): Likewise.
20726 (cos_test_downward): Likewise.
20727 (cos_test_upward): Likewise.
20728 (cosh_test): Likewise.
20729 (cosh_test_tonearest): Likewise.
20730 (cosh_test_towardzero): Likewise.
20731 (cosh_test_downward): Likewise.
20732 (cosh_test_upward): Likewise.
20733 (cpow_test): Likewise.
20734 (csin_test): Likewise.
20735 (csinh_test): Likewise.
20736 (csqrt_test): Likewise.
20737 (ctan_test): Likewise.
20738 (ctan_test_tonearest): Likewise.
20739 (ctan_test_towardzero): Likewise.
20740 (ctan_test_downward): Likewise.
20741 (ctan_test_upward): Likewise.
20742 (ctanh_test): Likewise.
20743 (ctanh_test_tonearest): Likewise.
20744 (ctanh_test_towardzero): Likewise.
20745 (ctanh_test_downward): Likewise.
20746 (ctanh_test_upward): Likewise.
20747 (erf_test): Likewise.
20748 (erfc_test): Likewise.
20749 (exp_test): Likewise.
20750 (exp_test_tonearest): Likewise.
20751 (exp_test_towardzero): Likewise.
20752 (exp_test_downward): Likewise.
20753 (exp_test_upward): Likewise.
20754 (exp10_test): Likewise.
20755 (exp2_test): Likewise.
20756 (expm1_test): Likewise.
20757 (fmod_test): Likewise.
20758 (gamma_test): Likewise.
20759 (hypot_test): Likewise.
20760 (j0_test): Likewise.
20761 (j1_test): Likewise.
20762 (jn_test): Likewise.
20763 (lgamma_test): Likewise.
20764 (log_test): Likewise.
20765 (log10_test): Likewise.
20766 (log1p_test): Likewise.
20767 (log2_test): Likewise.
20768 (logb_test_downward): Likewise.
20769 (pow_test): Likewise.
20770 (pow_test_tonearest): Likewise.
20771 (pow_test_towardzero): Likewise.
20772 (pow_test_downward): Likewise.
20773 (pow_test_upward): Likewise.
20774 (remainder_test): Likewise.
20775 (remquo_test): Likewise.
20776 (sin_test): Likewise.
20777 (sin_test_tonearest): Likewise.
20778 (sin_test_towardzero): Likewise.
20779 (sin_test_downward): Likewise.
20780 (sin_test_upward): Likewise.
20781 (sincos_test): Likewise.
20782 (sinh_test): Likewise.
20783 (sinh_test_tonearest): Likewise.
20784 (sinh_test_towardzero): Likewise.
20785 (sinh_test_downward): Likewise.
20786 (sinh_test_upward): Likewise.
20787 (sqrt_test): Likewise.
20788 (tan_test): Likewise.
20789 (tan_test_tonearest): Likewise.
20790 (tan_test_towardzero): Likewise.
20791 (tan_test_downward): Likewise.
20792 (tan_test_upward): Likewise.
20793 (tanh_test): Likewise.
20794 (tgamma_test): Likewise.
20795 (y0_test): Likewise.
20796 (y1_test): Likewise.
20797 (yn_test): Likewise.
20799 * math/gen-libm-test.pl (adjust_arg): Remove function.
20800 (special_function): Remove argument $in_func. Only handle
20801 generating output for tables of tests, not inside functions.
20802 (parse_args): Likewise.
20803 (generate_testfile): Remove variable $in_func. Update call to
20805 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20806 (MINUS_ZERO_INIT): Rename macro to minus_zero.
20807 (PLUS_INFTY_INIT): Rename macro to plus_infty.
20808 (MINUS_INFTY_INIT): Rename macro to minus_infty.
20809 (QNAN_VALUE_INIT): Rename macro to qnan_value.
20810 (MAX_VALUE_INIT): Rename macro to max_value.
20811 (MIN_VALUE_INIT): Rename macro to min_value.
20812 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20813 (plus_zero): Remove variable.
20814 (minus_zero): Likewise.
20815 (plus_infty): Likewise.
20816 (minus_infty): Likewise.
20817 (qnan_value): Likewise.
20818 (max_value): Likewise.
20819 (min_value): Likewise.
20820 (min_subnorm_value): Likewise.
20822 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20824 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20825 uint64_t or uint32_t usage.
20826 * crypt/sha256-block.c: Likewise.
20827 * crypt/sha256-crypt.c: Likewise.
20828 * crypt/sha256.c: Likewise.
20829 * crypt/sha512-block.c: Likewise.
20830 * crypt/sha512-crypt.c: Likewise.
20831 * crypt/sha512.c: Likewise.
20832 * debug/backtrace-tst.c: Likewise.
20833 * debug/pcprofiledump.c: Likewise.
20834 * elf/cache.c: Likewise.
20835 * elf/dl-cache.c: Likewise.
20836 * elf/dl-misc.c: Likewise.
20837 * elf/dl-profile.c: Likewise.
20838 * elf/dl-support.c: Likewise.
20839 * elf/ldconfig.c: Likewise.
20840 * elf/sprof.c: Likewise.
20841 * iconv/dummy-repertoire.c: Likewise.
20842 * iconv/iconv_charmap.c: Likewise.
20843 * iconv/skeleton.c: Likewise.
20844 * iconvdata/8bit-generic.c: Likewise.
20845 * iconvdata/cp737.h: Likewise.
20846 * iconvdata/cp775.h: Likewise.
20847 * iconvdata/ibm1008.h: Likewise.
20848 * iconvdata/ibm1025.h: Likewise.
20849 * iconvdata/ibm1046.h: Likewise.
20850 * iconvdata/ibm1097.h: Likewise.
20851 * iconvdata/ibm1112.h: Likewise.
20852 * iconvdata/ibm1122.h: Likewise.
20853 * iconvdata/ibm1123.h: Likewise.
20854 * iconvdata/ibm1124.h: Likewise.
20855 * iconvdata/ibm1129.h: Likewise.
20856 * iconvdata/ibm1130.h: Likewise.
20857 * iconvdata/ibm1132.h: Likewise.
20858 * iconvdata/ibm1133.h: Likewise.
20859 * iconvdata/ibm1137.h: Likewise.
20860 * iconvdata/ibm1140.h: Likewise.
20861 * iconvdata/ibm1141.h: Likewise.
20862 * iconvdata/ibm1142.h: Likewise.
20863 * iconvdata/ibm1143.h: Likewise.
20864 * iconvdata/ibm1144.h: Likewise.
20865 * iconvdata/ibm1145.h: Likewise.
20866 * iconvdata/ibm1146.h: Likewise.
20867 * iconvdata/ibm1147.h: Likewise.
20868 * iconvdata/ibm1148.h: Likewise.
20869 * iconvdata/ibm1149.h: Likewise.
20870 * iconvdata/ibm1153.h: Likewise.
20871 * iconvdata/ibm1154.h: Likewise.
20872 * iconvdata/ibm1155.h: Likewise.
20873 * iconvdata/ibm1156.h: Likewise.
20874 * iconvdata/ibm1157.h: Likewise.
20875 * iconvdata/ibm1158.h: Likewise.
20876 * iconvdata/ibm1160.h: Likewise.
20877 * iconvdata/ibm1161.h: Likewise.
20878 * iconvdata/ibm1162.h: Likewise.
20879 * iconvdata/ibm1163.h: Likewise.
20880 * iconvdata/ibm1164.h: Likewise.
20881 * iconvdata/ibm1166.h: Likewise.
20882 * iconvdata/ibm1167.h: Likewise.
20883 * iconvdata/ibm12712.h: Likewise.
20884 * iconvdata/ibm1390.h: Likewise.
20885 * iconvdata/ibm1399.h: Likewise.
20886 * iconvdata/ibm16804.h: Likewise.
20887 * iconvdata/ibm4517.h: Likewise.
20888 * iconvdata/ibm4899.h: Likewise.
20889 * iconvdata/ibm4909.h: Likewise.
20890 * iconvdata/ibm4971.h: Likewise.
20891 * iconvdata/ibm5347.h: Likewise.
20892 * iconvdata/ibm803.h: Likewise.
20893 * iconvdata/ibm856.h: Likewise.
20894 * iconvdata/ibm901.h: Likewise.
20895 * iconvdata/ibm902.h: Likewise.
20896 * iconvdata/ibm9030.h: Likewise.
20897 * iconvdata/ibm9066.h: Likewise.
20898 * iconvdata/ibm921.h: Likewise.
20899 * iconvdata/ibm922.h: Likewise.
20900 * iconvdata/ibm9448.h: Likewise.
20901 * iconvdata/isiri-3342.h: Likewise.
20902 * iconvdata/jis0201.h: Likewise.
20903 * include/link.h: Likewise.
20904 * include/netdb.h: Likewise.
20905 * inet/check_native.c: Likewise.
20906 * inet/check_pf.c: Likewise.
20907 * inet/getipv4sourcefilter.c: Likewise.
20908 * inet/getnameinfo.c: Likewise.
20909 * inet/getsourcefilter.c: Likewise.
20910 * inet/htonl.c: Likewise.
20911 * inet/setipv4sourcefilter.c: Likewise.
20912 * inet/setsourcefilter.c: Likewise.
20913 * inet/test-inet6_opt.c: Likewise.
20914 * inet/tst-network.c: Likewise.
20915 * locale/C-collate.c: Likewise.
20916 * locale/C-ctype.c: Likewise.
20917 * locale/C-time.c: Likewise.
20918 * locale/C-translit.h: Likewise.
20919 * locale/loadarchive.c: Likewise.
20920 * locale/programs/3level.h: Likewise.
20921 * locale/programs/charmap.c: Likewise.
20922 * locale/programs/charmap.h: Likewise.
20923 * locale/programs/ld-address.c: Likewise.
20924 * locale/programs/ld-collate.c: Likewise.
20925 * locale/programs/ld-ctype.c: Likewise.
20926 * locale/programs/ld-identification.c: Likewise.
20927 * locale/programs/ld-measurement.c: Likewise.
20928 * locale/programs/ld-messages.c: Likewise.
20929 * locale/programs/ld-monetary.c: Likewise.
20930 * locale/programs/ld-name.c: Likewise.
20931 * locale/programs/ld-numeric.c: Likewise.
20932 * locale/programs/ld-paper.c: Likewise.
20933 * locale/programs/ld-telephone.c: Likewise.
20934 * locale/programs/ld-time.c: Likewise.
20935 * locale/programs/linereader.c: Likewise.
20936 * locale/programs/locale.c: Likewise.
20937 * locale/programs/locarchive.c: Likewise.
20938 * locale/programs/locfile.h: Likewise.
20939 * locale/programs/repertoire.c: Likewise.
20940 * locale/programs/simple-hash.c: Likewise.
20941 * locale/programs/simple-hash.h: Likewise.
20942 * malloc/memusage.c: Likewise.
20943 * malloc/memusagestat.c: Likewise.
20944 * nis/nis_defaults.c: Likewise.
20945 * nis/nis_hash.c: Likewise.
20946 * nis/nis_print.c: Likewise.
20947 * nis/nis_xdr.c: Likewise.
20948 * nscd/connections.c: Likewise.
20949 * nscd/hstcache.c: Likewise.
20950 * nscd/nscd_gethst_r.c: Likewise.
20951 * nscd/nscd_getserv_r.c: Likewise.
20952 * nscd/nscd_helper.c: Likewise.
20953 * nscd/servicescache.c: Likewise.
20954 * nss/makedb.c: Likewise.
20955 * nss/nss_db/db-XXX.c: Likewise.
20956 * nss/nss_db/db-initgroups.c: Likewise.
20957 * nss/nss_db/db-netgrp.c: Likewise.
20958 * nss/nss_files/files-network.c: Likewise.
20959 * nss/nss_files/files-parse.c: Likewise.
20960 * posix/bug-regex5.c: Likewise.
20961 * posix/fnmatch_loop.c: Likewise.
20962 * posix/regcomp.c: Likewise.
20963 * posix/regexec.c: Likewise.
20964 * posix/tst-rfc3484-2.c: Likewise.
20965 * posix/tst-rfc3484-3.c: Likewise.
20966 * posix/tst-rfc3484.c: Likewise.
20967 * resolv/nss_dns/dns-canon.c: Likewise.
20968 * resolv/nss_dns/dns-network.c: Likewise.
20969 * resolv/res_init.c: Likewise.
20970 * resolv/res_mkquery.c: Likewise.
20971 * resolv/tst-aton.c: Likewise.
20972 * stdlib/cxa_atexit.c: Likewise.
20973 * stdlib/cxa_finalize.c: Likewise.
20974 * stdlib/gen-fpioconst.c: Likewise.
20975 * stdlib/strtol_l.c: Likewise.
20976 * string/tst-endian.c: Likewise.
20977 * sunrpc/auth_des.c: Likewise.
20978 * sunrpc/clnt_udp.c: Likewise.
20979 * sunrpc/rtime.c: Likewise.
20980 * sunrpc/svcauth_des.c: Likewise.
20981 * sunrpc/xdr.c: Likewise.
20982 * sunrpc/xdr_intXX_t.c: Likewise.
20983 * sunrpc/xdr_rec.c: Likewise.
20984 * sysdeps/generic/ldconfig.h: Likewise.
20985 * sysdeps/generic/ldsodefs.h: Likewise.
20986 * sysdeps/generic/memusage.h: Likewise.
20987 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20988 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20989 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20990 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20991 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20992 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20993 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20994 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20995 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20996 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20997 * sysdeps/posix/getaddrinfo.c: Likewise.
20998 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20999 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21000 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21001 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21002 * sysdeps/powerpc/test-gettimebase.c: Likewise.
21003 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21004 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21005 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21006 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21007 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21008 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21009 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21010 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21011 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21012 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21013 * sysdeps/x86_64/dl-tls.h: Likewise.
21014 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21015 * time/alt_digit.c: Likewise.
21016 * time/era.c: Likewise.
21017 * wcsmbs/tst-c16c32-1.c: Likewise.
21019 2013-05-16 Joseph Myers <joseph@codesourcery.com>
21021 * math/libm-test.inc (struct test_sincos_data): New type.
21022 (RUN_TEST_LOOP_sincos): New macro.
21023 (sincos_test_data): New variable.
21024 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21026 2013-05-16 Richard Henderson <rth@redhat.com>
21028 * math/atest-exp2.c (LIMB64): New macro.
21029 (CONSTSZ): New macro.
21030 (mp_exp1, mp_exp_m1, mp_log2): New variables.
21032 (print_mpn_fp): ... to function scope.
21033 (read_mpn_hex): Remove.
21034 (get_log2): Remove.
21035 (exp2_mpn): Use mp_log2.
21036 (main): Use mp_exp1.
21038 2013-05-16 Joseph Myers <joseph@codesourcery.com>
21040 * math/libm-test.inc: Remove comment about not testing "inexact"
21042 (INEXACT_EXCEPTION): New macro.
21043 (NO_INEXACT_EXCEPTION): Likewise.
21044 (INVALID_EXCEPTION_OK): Update value.
21045 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21046 (OVERFLOW_EXCEPTION_OK): Likewise.
21047 (UNDERFLOW_EXCEPTION_OK): Likewise.
21048 (IGNORE_ZERO_INF_SIGN): Likewise.
21049 (ERRNO_UNCHANGED): Likewise.
21050 (ERRNO_EDOM): Likewise.
21051 (ERRNO_ERANGE): Likewise.
21052 (test_exceptions): Handle testing "inexact" exceptions.
21053 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21054 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21055 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21056 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21058 (rint_towardzero_test_data): Likewise.
21059 (rint_downward_test_data): Likewise.
21060 (rint_upward_test_data): Likewise.
21062 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21063 with OVERFLOW_EXCEPTION.
21064 (exp10_test_data): Likewise.
21065 (exp2_test_data): Likewise.
21066 (expm1_test_data): Likewise.
21067 (lgamma_test_data): Likewise.
21068 (pow_test_data): Likewise.
21069 (tgamma_test_data): Likewise.
21070 (yn_test_data): Remove duplicate test of overflow.
21072 * math/libm-test.inc (struct test_cc_c_data): New type.
21073 (RUN_TEST_LOOP_cc_c): New macro.
21074 (cpow_test_data): New variable.
21075 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21077 * math/libm-test.inc (struct test_f_L_data): New type.
21078 (RUN_TEST_LOOP_f_L): New macro.
21079 (llrint_test_data): New variable.
21080 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21081 (llrint_tonearest_test_data): New variable.
21082 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21083 (llrint_towardzero_test_data): New variable.
21084 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21085 (llrint_downward_test_data): New variable.
21086 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21087 (llrint_upward_test_data): New variable.
21088 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21089 (llround_test_data): New variable.
21090 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21092 2013-05-13 Peter Collingbourne <pcc@google.com>
21094 * math/atest-exp2.c (get_log2): Remove const attribute.
21096 2013-05-15 Joseph Myers <joseph@codesourcery.com>
21098 * math/libm-test.inc (struct test_f_l_data): New type.
21099 (RUN_TEST_LOOP_f_l): New macro.
21100 (lrint_test_data): New variable.
21101 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21102 (lrint_tonearest_test_data): New variable.
21103 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21104 (lrint_towardzero_test_data): New variable.
21105 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21106 (lrint_downward_test_data): New variable.
21107 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21108 (lrint_upward_test_data): New variable.
21109 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21110 (lround_test_data): New variable.
21111 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21113 2013-05-15 Peter Collingbourne <pcc@google.com>
21115 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21116 (EXTRACT_WORDS64) Use where appropriate.
21117 (INSERT_WORDS64) Likewise.
21119 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21120 constraints with x constraints.
21121 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21123 * malloc/obstack.c (_obstack_compat): Add initializer.
21125 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
21127 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21128 si_trapno and add si_addr_lsb to _sifields.sigfault.
21129 (si_trapno): Remove macro.
21130 (si_addr_lsb): Define new macro.
21131 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21133 2013-05-15 Joseph Myers <joseph@codesourcery.com>
21135 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21136 instead of TEST_f_l.
21137 (llrint_test_tonearest): Likewise.
21138 (llrint_test_towardzero): Likewise.
21139 (llrint_test_downward): Likewise.
21140 (llrint_test_upward): Likewise.
21141 (llround_test): Likewise.
21143 * math/libm-test.inc (struct test_f_i_data): Add comment.
21144 (RUN_TEST_LOOP_f_b): New macro.
21145 (RUN_TEST_LOOP_f_b_tg): Likewise.
21146 (finite_test_data): New variable.
21147 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21148 (isfinite_test_data): New variable.
21149 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21150 (isinf_test_data): New variable.
21151 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21152 (isnan_test_data): New variable.
21153 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21154 (isnormal_test_data): New variable.
21155 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21156 (issignaling_test_data): New variable.
21157 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21158 (signbit_test_data): New variable.
21159 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21161 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21162 with INVALID_EXCEPTION.
21163 (acosh_test_data): Likewise.
21164 (asin_test_data): Likewise.
21165 (atanh_test_data): Likewise.
21166 (fmod_test_data): Likewise.
21167 (log_test_data): Likewise.
21168 (log10_test_data): Likewise.
21169 (log2_test_data): Likewise.
21170 (pow_test_data): Likewise.
21171 (sqrt_test_data): Likewise.
21172 (y0_test_data): Likewise.
21173 (y1_test_data): Likewise.
21174 (yn_test_data): Likewise.
21176 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21179 * math/libm-test.inc (struct test_ff_i_data): New type.
21180 (RUN_TEST_LOOP_ff_i_tg): New macro.
21181 (isgreater_test_data): New variable.
21182 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21183 (isgreaterequal_test_data): New variable.
21184 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21185 (isless_test_data): New variable.
21186 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21187 (islessequal_test_data): New variable.
21188 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21189 (islessgreater_test_data): New variable.
21190 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21191 (isunordered_test_data): New variable.
21192 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21194 2013-05-14 David S. Miller <davem@davemloft.net>
21196 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21198 2013-05-14 Joseph Myers <joseph@codesourcery.com>
21200 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21202 * math/libm-test.inc (struct test_fF_f1_data): Change type of
21204 (struct test_f_i_data): Change type of max_ulp to int.
21206 * math/libm-test.inc (test_ffI_f1_data): New type.
21207 (RUN_TEST_LOOP_ffI_f1): New macro.
21208 (remquo_test_data): New variable.
21209 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21211 * setjmp/tst-setjmp-fp.c: New file.
21212 * setjmp/Makefile (tests): Add tst-setjmp-fp.
21213 (link-libm): New variable.
21214 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21216 * math/libm-test.inc (struct test_f_i_data): New type.
21217 (RUN_TEST_LOOP_f_i): New macro.
21218 (RUN_TEST_LOOP_f_i_tg): Likewise.
21219 (fpclassify_test_data): New variable.
21220 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21221 (ilogb_test_data): New variable.
21222 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21224 * math/libm-test.inc (scalbln_test): Correct function name in END
21227 * math/libm-test.inc (struct test_f_f1_data): Add comment.
21228 (RUN_TEST_LOOP_fI_f1): New macro.
21229 (frexp_test_data): New variable.
21230 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21232 * math/libm-test.inc (struct test_fF_f1_data): New type.
21233 (RUN_TEST_LOOP_fF_f1): New macro.
21234 (modf_test_data): New variable.
21235 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21237 * math/libm-test.inc (struct test_f_f1_data): New type.
21238 (RUN_TEST_LOOP_f_f1): New macro.
21239 (gamma_test_data): New variable.
21240 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21241 (lgamma_test_data): New variable.
21242 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21244 2013-05-13 Carlos O'Donell <carlos@redhat.com>
21246 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21247 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21248 (main): Comment "tls" pseudo-hwcap.
21250 2013-05-13 Joseph Myers <joseph@codesourcery.com>
21252 * math/libm-test.inc (struct test_fl_f_data): New type.
21253 (RUN_TEST_LOOP_fl_f): New variable.
21254 (scalbln_test_data): New variable.
21255 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21257 * math/libm-test.inc (struct test_fi_f_data): New type.
21258 (RUN_TEST_LOOP_fi_f): New macro.
21259 (ldexp_test_data): New variable.
21260 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21261 (scalbn_test_data): New variable.
21262 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21264 * math/libm-test.inc (struct test_c_f_data): New type.
21265 (RUN_TEST_LOOP_c_f): New macro.
21266 (cabs_test_data): New variable.
21267 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21268 (carg_test_data): New variable.
21269 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21270 (cimag_test_data): New variable.
21271 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21272 (creal_test_data): New variable.
21273 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21275 * math/libm-test.inc (struct test_if_f_data): New type.
21276 (RUN_TEST_LOOP_if_f): New macro.
21277 (jn_test_data): New variable.
21278 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21279 (yn_test_data): New variable.
21280 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21282 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21284 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21286 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21287 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21289 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21291 * benchtests/Makefile (CPPFLAGS-nonlib): Add
21292 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21293 (bench-deps): Add bench-timing.h.
21294 * benchtests-bench-skeleton.c: Include bench-timing.h.
21295 (main): Use TIMING_* macros instead of clock_gettime.
21296 * benchtests/bench-timing.h: New file.
21299 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21300 Renamed from _LIB_VERSION.
21301 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21303 2013-05-12 Joseph Myers <joseph@codesourcery.com>
21305 * math/libm-test.inc (struct test_fff_f_data): New type.
21306 (RUN_TEST_LOOP_fff_f): New macro.
21307 (fma_test_data): New variable.
21308 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21309 (fma_towardzero_test_data): New variable.
21310 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21311 (fma_downward_test_data): New variable.
21312 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21313 (fma_upward_test_data): New variable.
21314 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21316 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21317 (struct test_c_c_data): New type.
21318 (RUN_TEST_LOOP_c_c): New macro.
21319 (cacos_test_data): New variable.
21320 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21321 (cacosh_test_data): New variable.
21322 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21323 (casin_test_data): New variable.
21324 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21325 (casinh_test_data): New variable.
21326 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21327 (catan_test_data): New variable.
21328 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21329 (catanh_test_data): New variable.
21330 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21331 (ccos_test_data): New variable.
21332 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21333 (ccosh_test_data): New variable.
21334 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21335 (cexp_test_data): New variable.
21336 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21337 (clog_test_data): New variable.
21338 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21339 (clog10_test_data): New variable.
21340 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21341 (conj_test_data): New variable.
21342 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21343 (cproj_test_data): New variable.
21344 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21345 (csin_test_data): New variable.
21346 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21347 (csinh_test_data): New variable.
21348 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21349 (csqrt_test_data): New variable.
21350 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21351 (ctan_test_data): New variable.
21352 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21353 (ctan_tonearest_test_data): New variable.
21354 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21355 (ctan_towardzero_test_data): New variable.
21356 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21357 (ctan_downward_test_data): New variable.
21358 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21359 (ctan_upward_test_data): New variable.
21360 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21361 (ctanh_test_data): New variable.
21362 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21363 (ctanh_tonearest_test_data): New variable.
21364 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21365 (ctanh_towardzero_test_data): New variable.
21366 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21367 (ctanh_downward_test_data): New variable.
21368 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21369 (ctanh_upward_test_data): New variable.
21370 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21371 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21374 * math/libm-test.inc (struct test_ff_f_data): New type.
21375 (struct test_ff_f_data_nexttoward): Likewise.
21376 (RUN_TEST_LOOP_2_f): New macro.
21377 (RUN_TEST_LOOP_ff_f): Likewise.
21378 (atan2_test_data): New variable.
21379 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21380 (copysign_test_data): New variable.
21381 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21382 (fdim_test_data): New variable.
21383 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21384 (fmax_test_data): New variable.
21385 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21386 (fmin_test_data): New variable.
21387 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21388 (fmod_test_data): New variable.
21389 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21390 (hypot_test_data): New variable.
21391 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21392 (nextafter_test_data): New variable.
21393 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21394 (nexttoward_test_data): New variable.
21395 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21396 (pow_test_data): New variable.
21397 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21398 (pow_tonearest_test_data): New variable.
21399 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21400 (pow_towardzero_test_data): New variable.
21401 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21402 (pow_downward_test_data): New variable.
21403 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21404 (pow_upward_test_data): New variable.
21405 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21406 (remainder_test_data): New variable.
21407 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21408 (scalb_test_data): New variable.
21409 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21410 * sysdeps/i386/fpu/libm-test-ulps: Update.
21412 2013-05-11 Joseph Myers <joseph@codesourcery.com>
21414 * math/libm-test.inc (fma_test): Use max_value instead of local
21416 (nextafter_test): Likewise.
21418 * math/libm-test.inc (acos_towardzero_test_data): New variable.
21419 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21420 (acos_downward_test_data): New variable.
21421 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21422 (acos_upward_test_data): New variable.
21423 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21424 (acosh_test_data): New variable.
21425 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21426 (asin_test_data): New variable.
21427 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21428 (asin_tonearest_test_data): New variable.
21429 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21430 (asin_towardzero_test_data): New variable.
21431 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21432 (asin_downward_test_data): New variable.
21433 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21434 (asin_upward_test_data): New variable.
21435 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21436 (asinh_test_data): New variable.
21437 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21438 (atan_test_data): New variable.
21439 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21440 (atanh_test_data): New variable.
21441 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21442 (cbrt_test_data): New variable.
21443 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21444 (ceil_test_data): New variable.
21445 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21446 (cos_test_data): New variable.
21447 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21448 (cos_tonearest_test_data): New variable.
21449 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21450 (cos_towardzero_test_data): New variable.
21451 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21452 (cos_downward_test_data): New variable.
21453 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21454 (cos_upward_test_data): New variable.
21455 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21456 (cosh_test_data): New variable.
21457 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21458 (cosh_tonearest_test_data): New variable.
21459 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21460 (cosh_towardzero_test_data): New variable.
21461 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21462 (cosh_downward_test_data): New variable.
21463 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21464 (cosh_upward_test_data): New variable.
21465 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21466 (erf_test_data): New variable.
21467 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21468 (erfc_test_data): New variable.
21469 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21470 (exp_test_data): New variable.
21471 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21472 (exp_tonearest_test_data): New variable.
21473 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21474 (exp_towardzero_test_data): New variable.
21475 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21476 (exp_downward_test_data): New variable.
21477 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21478 (exp_upward_test_data): New variable.
21479 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21480 (exp10_test_data): New variable.
21481 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21482 (exp2_test_data): New variable.
21483 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21484 (expm1_test_data): New variable.
21485 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21486 (fabs_test_data): New variable.
21487 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21488 (floor_test_data): New variable.
21489 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21490 (j0_test_data): New variable.
21491 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21492 (j1_test_data): New variable.
21493 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21494 (log_test_data): New variable.
21495 (log_test): Run tests with RUN_TEST_LOOP_f_f.
21496 (log10_test_data): New variable.
21497 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21498 (log1p_test_data): New variable.
21499 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21500 (log2_test_data): New variable.
21501 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21502 (logb_test_data): New variable.
21503 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21504 (logb_downward_test_data): New variable.
21505 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21506 (nearbyint_test_data): New variable.
21507 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21508 (rint_test_data): New variable.
21509 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21510 (rint_tonearest_test_data): New variable.
21511 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21512 (rint_towardzero_test_data): New variable.
21513 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21514 (rint_downward_test_data): New variable.
21515 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21516 (rint_upward_test_data): New variable.
21517 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21518 (round_test_data): New variable.
21519 (round_test): Run tests with RUN_TEST_LOOP_f_f.
21520 (sin_test_data): New variable.
21521 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21522 (sin_tonearest_test_data): New variable.
21523 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21524 (sin_towardzero_test_data): New variable.
21525 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21526 (sin_downward_test_data): New variable.
21527 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21528 (sin_upward_test_data): New variable.
21529 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21530 (sinh_test_data): New variable.
21531 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21532 (sinh_tonearest_test_data): New variable.
21533 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21534 (sinh_towardzero_test_data): New variable.
21535 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21536 (sinh_downward_test_data): New variable.
21537 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21538 (sinh_upward_test_data): New variable.
21539 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21540 (sqrt_test_data): New variable.
21541 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21542 (tan_test_data): New variable.
21543 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21544 (tan_tonearest_test_data): New variable.
21545 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21546 (tan_towardzero_test_data): New variable.
21547 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21548 (tan_downward_test_data): New variable.
21549 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21550 (tan_upward_test_data): New variable.
21551 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21552 (tanh_test_data): New variable.
21553 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21554 (tgamma_test_data): New variable.
21555 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21556 (trunc_test_data): New variable.
21557 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21558 (y0_test_data): New variable.
21559 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21560 (y1_test_data): New variable.
21561 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21562 (significand_test_data): New variable.
21563 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21565 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
21568 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21570 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
21572 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21574 2013-05-10 Andreas Jaeger <aj@suse.de>
21577 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21578 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21580 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21582 * math/gen-libm-test.pl (adjust_arg): New function.
21583 (special_functions): Handle generating output in both functions
21585 (parse_args): Likewise.
21586 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
21587 $in_func argument to parse_args.
21588 * math/libm-test.inc (struct test_f_f_data): New type.
21589 (IF_ROUND_INIT_): New macro.
21590 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21591 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21592 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21593 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21594 (ROUND_RESTORE_): Likewise.
21595 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21596 (ROUND_RESTORE_FE_TONEAREST): Likewise.
21597 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21598 (ROUND_RESTORE_FE_UPWARD): Likewise.
21599 (RUN_TEST_LOOP_f_f): New macro.
21600 (acos_test_data): New variable.
21601 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21602 (acos_tonearest_test_data): New variable.
21603 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21605 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21607 * benchtests/bench-skeleton.c (startup): Fix coding style.
21609 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21612 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21613 negative infinity argument.
21614 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21615 negative infinity argument.
21616 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21617 negative infinity argument.
21618 * math/libm-test.inc (tgamma_test): Expect errno to be set for
21621 2013-05-10 Florian Weimer <fweimer@redhat.com>
21623 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21624 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21625 * iconv/iconv_prog.c (main): Likewise.
21626 * locale/programs/charmap-dir.c (charmap_readdir)
21627 (fopen_uncompressed): Likewise.
21628 * locale/programs/locfile.c (siblings_uncached)
21629 (write_locale_data): Use lstat64 instead of lstat.
21630 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21633 2013-05-10 Andreas Jaeger <aj@suse.de>
21636 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21638 Include <locale.h>.
21640 2013-05-09 Carlos O'Donell <carlos@redhat.com>
21642 * elf/dl-close.c (_dl_close_worker): Add comments.
21644 2013-05-09 Joseph Myers <joseph@codesourcery.com>
21647 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21649 (__ieee754_rem_pio2l): Update comments.
21652 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21654 (__ieee754_rem_pio2l): Update comments.
21656 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21657 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21659 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21662 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21663 (M_PI_34_LOG10El): Likewise.
21664 (M_PI2_LOG10El): Likewise.
21665 (M_PI4_LOG10El): Likewise.
21666 (M_PI_LOG10El): Likewise.
21668 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21672 2013-05-08 Joseph Myers <joseph@codesourcery.com>
21674 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21675 (MINUS_ZERO_INIT): Likewise.
21676 (PLUS_INFTY_INIT): Likewise.
21677 (MINUS_INFTY_INIT): Likewise.
21678 (QNAN_VALUE_INIT): Likewise.
21679 (MAX_VALUE_INIT): Likewise.
21680 (MIN_VALUE_INIT): Likewise.
21681 (MIN_SUBNORM_VALUE_INIT): Likewise.
21682 (plus_zero): Initialize with PLUS_ZERO_INIT.
21683 (minus_zero): Initialize with MINUS_ZERO_INIT.
21684 (plus_infty): Initialize with PLUS_INFTY_INIT.
21685 (minus_infty): Initialize with MINUS_INFTY_INIT.
21686 (qnan_value): Initialize with QNAN_VALUE_INIT.
21687 (max_value): Initialize with MAX_VALUE_INIT.
21688 (min_value): Initialize with MIN_VALUE_INIT.
21689 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21691 * math/libm-test.inc (RUN_TEST_if_f): New macro.
21692 (jn_test): Use TEST_if_f instead of TEST_ff_f.
21693 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21694 (yn_test): Use TEST_if_f instead of TEST_ff_f.
21696 * math/libm-test.inc (RUN_TEST_f_f): New macro.
21697 (RUN_TEST_2_f): Likewise.
21698 (RUN_TEST_ff_f): Likewise.
21699 (RUN_TEST_fi_f): Likewise.
21700 (RUN_TEST_fl_f): Likewise.
21701 (RUN_TEST_fff_f): Likewise.
21702 (RUN_TEST_c_f): Likewise.
21703 (RUN_TEST_f_f1): Likewise.
21704 (RUN_TEST_fF_f1): Likewise.
21705 (RUN_TEST_fI_f1): Likewise.
21706 (RUN_TEST_ffI_f1): Likewise.
21707 (RUN_TEST_c_c): Likewise.
21708 (RUN_TEST_cc_c): Likewise.
21709 (RUN_TEST_f_i): Likewise.
21710 (RUN_TEST_f_i_tg): Likewise.
21711 (RUN_TEST_ff_i_tg): Likewise.
21712 (RUN_TEST_f_b): Likewise.
21713 (RUN_TEST_f_b_tg): Likewise.
21714 (RUN_TEST_f_l): Likewise.
21715 (RUN_TEST_f_L): Likewise.
21716 (RUN_TEST_sincos): Likewise.
21717 * math/gen-libm-test.pl (new_test): Take new argument to indicate
21718 whether to show exceptions. Do not include ");\n" in return
21720 (special_functions): Output call to RUN_TEST_sincos instead of
21721 check_float calls. Update calls to new_test.
21722 (parse_args): Output call to single RUN_TEST_* macro instead of
21723 check_* calls and other assignments. Update calls to new_test.
21729 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21730 input to result for tgamma overflow.
21731 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21732 (gamma_coeff): New variable.
21733 (NCOEFF): New macro.
21734 (gamma_positive): New function.
21735 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21736 underflow here. Use gamma_positive instead of exp (lgamma) for
21738 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21739 (gamma_coeff): New variable.
21740 (NCOEFF): New macro.
21741 (gammaf_positive): New function.
21742 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21743 underflow here. Use gamma_positive instead of exp (lgamma) for
21745 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21746 (gamma_coeff): New variable.
21747 (NCOEFF): New macro.
21748 (gammal_positive): New function.
21749 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21750 underflow here. Use gamma_positive instead of exp (lgamma) for
21752 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21753 (gamma_coeff): New variable.
21754 (NCOEFF): New macro.
21755 (gammal_positive): New function.
21756 (__ieee754_gammal_r): Handle positive infinity, overflow and
21757 underflow here. Handle NaN the same as positive infinity. Remove
21758 check x < 0xffffffff for negative integers. Use gamma_positive
21759 instead of exp (lgamma) for other arguments.
21760 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21761 (gamma_coeff): New variable.
21762 (NCOEFF): New macro.
21763 (gammal_positive): New function.
21764 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21765 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21766 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21767 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21768 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21769 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21770 * sysdeps/generic/math_private.h (__gamma_productf): New
21772 (__gamma_product): Likewise.
21773 (__gamma_productl): Likewise.
21774 * math/Makefile (libm-calls): Add gamma_product.
21775 * math/libm-test.inc (tgamma_test): Add more tests.
21776 * sysdeps/i386/fpu/libm-test-ulps: Update.
21777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21779 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
21781 * benchtests/bench-skeleton.c (main): Preheat CPU.
21783 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21785 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21787 2013-05-07 Roland McGrath <roland@hack.frob.com>
21789 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21790 and _dl_skip_args_internal.
21792 2013-05-07 Carlos O'Donell <carlos@redhat.com>
21794 * manual/message.texi (Message Translation): Talk about users.
21795 Message to key mapping impacts design.
21797 2013-05-06 Roland McGrath <roland@hack.frob.com>
21799 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21801 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21803 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21804 * sysdeps/wordsize-64/glob64.c: ... here.
21806 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21807 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21810 * debug/getlogin_r_chk.c: Moved to ...
21811 * login/getlogin_r_chk.c: ... here.
21812 * debug/Makefile (routines): Move getlogin_r_chk to ...
21813 * login/Makefile (routines): ... here.
21814 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21815 * login/Versions (libc: GLIBC_2.4): ... here.
21817 * io/poll.c (__poll): Renamed from poll.
21818 Add libc_hidden_def.
21819 (poll): Define as weak alias.
21821 * debug/ptsname_r_chk.c: Moved to ...
21822 * login/ptsname_r_chk.c: ... here.
21823 * debug/Makefile (routines): Move ptsname_r_chk to ...
21824 * login/Makefile (routines): ... here.
21825 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21826 * login/Versions (libc: GLIBC_2.4): ... here.
21828 * posix/getlogin.c: Moved to ...
21829 * login/getlogin.c: ... here.
21830 * posix/getlogin_r.c: Moved to ...
21831 * login/getlogin_r.c: ... here.
21832 * posix/getlogin_r.c: Moved to ...
21833 * login/getlogin_r.c: ... here.
21834 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21835 * login/Makefile (routines): ... here.
21836 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21837 * login/Versions (libc: GLIBC_2.0): ... here.
21839 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21840 (setrlimit): Define as weak alias.
21842 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21843 Call __ names for open, ftruncate, and close.
21844 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21845 (truncate): Define as weak alias.
21847 2013-05-06 Joseph Myers <joseph@codesourcery.com>
21849 * math/gen-libm-test.pl (parse_args): Initialize x before each
21850 test of frexp, modf and remquo.
21852 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21853 test signgam value.
21855 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21859 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21861 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21863 2013-05-06 Roland McGrath <roland@hack.frob.com>
21865 * elf/dl-writev.h: New file.
21866 * elf/dl-misc.c: Include it.
21867 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21868 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21870 2013-05-04 Joseph Myers <joseph@codesourcery.com>
21872 * math/libm-test.inc (noXFails): Remove variable.
21873 (noXPasses): Likewise.
21874 (BUILD_COMPLEX_INT): Remove macro.
21875 (print_screen): Remove xfail argument.
21876 (print_screen_max_error): Likewise.
21877 (update_stats): Likewise.
21878 (print_max_error): Likewise. Update calls to other affected
21880 (print_complex_max_error): Likewise.
21881 (test_single_exception): Update calls to print_screen.
21882 (test_single_errno): Likewise.
21883 (check_float_internal): Remove xfail argument. Update calls to
21884 other affected functions.
21885 (check_float): Likewise.
21886 (check_complex): Likewise.
21887 (check_int): Likewise.
21888 (check_long): Likewise.
21889 (check_bool): Likewise.
21890 (check_longlong): Likewise.
21891 (main): Don't print noXFails and noXPasses.
21892 * math/gen-libm-test.pl (top level): Don't mention expected
21893 failure handling in comment.
21894 (new_test): Don't handle expected failures.
21895 (parse_args): Don't mention expected failure handling in comment.
21896 (generate_testfile): Don't handle expected failures.
21897 (parse_ulps): Likewise.
21898 (print_ulps_file): Likewise.
21899 (get_failure): Remove function.
21900 (output_test): Don't handle expected failures.
21901 * make/README.libm-test: Don't mention expected failure handling.
21903 * math/libm-test.inc (plus_zero): Make const. Add initializer.
21904 (minus_zero): Likewise.
21905 (plus_infty): Likewise.
21906 (minus_infty): Likewise.
21907 (qnan_value): Likewise.
21908 (max_value): Likewise.
21909 (min_value): Likewise.
21910 (min_subnorm_value): Likewise.
21911 (initialize): Do not initialize those variables dynamically.
21913 2013-05-03 Roland McGrath <roland@hack.frob.com>
21915 * io/open.c (__open_2): Moved to ...
21916 * io/open_2.c: ... this new file.
21917 * io/open64.c (__open64_2): Moved to ...
21918 * io/open64_2.c: ... this new file.
21919 * io/openat.c (__openat_2): Moved to ...
21920 * io/openat_2.c: ... this new file.
21921 * io/openat64.c (__openat64_2): Moved to ...
21922 * io/openat64_2.c: ... this new file.
21923 * io/Makefile (routines): Add them.
21924 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21925 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21926 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21927 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21928 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21929 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21930 (__openat64): Add hidden_ver.
21931 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21932 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21934 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21935 Separately conditionalize setting of GLRO(dl_sysinfo) so
21936 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21937 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21939 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21941 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21942 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21944 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21945 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21946 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21947 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21948 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21950 2013-05-03 Joseph Myers <joseph@codesourcery.com>
21952 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21953 test signgam value.
21955 * math/libm-test.inc (hypot_test): Do not use
21956 IGNORE_ZERO_INF_SIGN.
21958 2013-05-03 Andreas Jaeger <aj@suse.de>
21960 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21962 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21963 (PF_MAX): Adjust for VSOCK change.
21965 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21969 2013-05-02 Carlos O'Donell <carlos@redhat.com>
21972 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21973 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21974 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21976 2013-05-02 David S. Miller <davem@davemloft.net>
21978 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21980 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
21982 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21984 2013-05-01 Roland McGrath <roland@hack.frob.com>
21986 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21988 2013-05-01 Richard Smith <richard@metafoo.co.uk>
21991 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21992 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21993 Use __attribute__ ((__gnu_inline__)).
21994 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21995 Don't use __attribute__ ((__gnu_inline__)).
21997 2013-05-01 Joseph Myers <joseph@codesourcery.com>
22000 * math/s_catan.c (__catan): Handle small real or imaginary part of
22001 input specially to avoid spurious underflow.
22002 * math/s_catanf.c (__catanf): Likewise.
22003 * math/s_catanh.c (__catanh): Likewise.
22004 * math/s_catanhf.c (__catanhf): Likewise.
22005 * math/s_catanhl.c (__catanhl): Likewise.
22006 * math/s_catanl.c (__catanl): Likewise.
22007 * math/libm-test.inc (catan_test): Add more tests.
22008 (catanh_test): Likewise.
22009 * sysdeps/i386/fpu/libm-test-ulps: Update.
22010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22012 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22014 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22016 2013-04-30 Joseph Myers <joseph@codesourcery.com>
22019 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22020 accurately for denominator in atan2.
22021 * math/s_catanf.c (__catanf): Likewise.
22022 * math/s_catanh.c (__catanh): Likewise.
22023 * math/s_catanhf.c (__catanhf): Likewise.
22024 * math/s_catanhl.c (__catanhl): Likewise.
22025 * math/s_catanl.c (__catanl): Likewise.
22026 * math/libm-test.inc (catan_test): Add more tests.
22027 (catanh_test): Likewise.
22028 * sysdeps/i386/fpu/libm-test-ulps: Update.
22029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22031 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22033 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22035 * benchtests/Makefile (bench): Remove slow benchmarks.
22036 * benchtests/atan-inputs: Add slow benchmark inputs.
22037 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22038 (BENCH_FUNC): Accept variant offset.
22040 * benchtests/bench-skeleton.c (main): Run benchmark for each
22042 * benchtests/cos-inputs: Add slow benchmark inputs.
22043 * benchtests/exp-inputs: Likewise.
22044 * benchtests/pow-inputs: Likewise.
22045 * benchtests/sin-inputs: Likewise.
22046 * benchtests/slowatan-inputs: Remove.
22047 * benchtests/slowatan.c: Remove.
22048 * benchtests/slowcos-inputs: Remove.
22049 * benchtests/slowcos.c: Remove.
22050 * benchtests/slowexp-inputs: Remove.
22051 * benchtests/slowexp.c: Remove.
22052 * benchtests/slowpow-inputs: Remove.
22053 * benchtests/slowpow.c: Remove.
22054 * benchtests/slowsin-inputs: Remove.
22055 * benchtests/slowsin.c: Remove.
22056 * benchtests/slowtan-inputs: Remove.
22057 * benchtests/slowtan.c: Remove.
22058 * benchtests/tan-inputs: Add slow benchmark inputs.
22059 * scripts/bench.pl: Parse comments and directives.
22061 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
22063 ($(objpfx)bench-%.c): Remove *-ITER.
22064 * benchtests/bench-modf.c: Remove definition of ITER.
22065 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22066 (main): Loop for DURATION seconds instead of fixed number of
22068 * scripts/bench.pl: Don't expect iterations in parameters.
22070 2013-04-29 Roland McGrath <roland@hack.frob.com>
22072 * io/fchdir.c (__fchdir): Renamed from fchdir.
22073 (fchdir): Define as weak alias.
22075 2013-04-29 Joseph Myers <joseph@codesourcery.com>
22077 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22078 (ERRNO_EDOM): Likewise.
22079 (ERRNO_ERANGE): Likewise.
22080 (noErrnoTests): New variable.
22081 (init_max_error): Set errno to 0.
22082 (test_single_errno): New function.
22083 (test_errno): Likewise.
22084 (check_float_internal): Call test_errno. Set errno to 0.
22085 (check_complex): Refer to errno tests in comment.
22086 (check_int): Call test_errno. Set errno to 0.
22087 (check_long): Likewise.
22088 (check_bool): Likewise.
22089 (check_longlong): Likewise.
22090 (cos_test): Use ERRNO_* flags for errno tests instead of
22092 (expm1_test): Likewise.
22093 (fmod_test): Likewise.
22094 (ilogb_test): Likewise.
22095 (lgamma_test): Likewise.
22096 (pow_test): Likewise.
22097 (remainder_test): Likewise.
22098 (sin_test): Likewise.
22099 (tan_test): Likewise.
22100 (yn_test): Likewise.
22101 (initialize): Set errno to 0.
22102 (main): Print number of errno tests.
22103 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22105 2013-04-29 Andreas Jaeger <aj@suse.de>
22108 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22112 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22113 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22117 * stdlib/random.c (__initstate): Return NULL if
22121 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22122 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22125 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22129 2013-04-29 Joseph Myers <joseph@codesourcery.com>
22131 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22132 of individual tests.
22133 (casin_test): Likewise.
22134 (casinh_test): Likewise.
22136 2013-04-27 Joseph Myers <joseph@codesourcery.com>
22139 * math/s_catan.c (__catan): Handle arguments with large real or
22140 imaginary part separately without squaring.
22141 * math/s_catanf.c (__catanf): Likewise.
22142 * math/s_catanh.c (__catanh): Likewise.
22143 * math/s_catanhf.c (__catanhf): Likewise.
22144 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22146 (__catanhl): Handle arguments with large real or imaginary part
22147 separately without squaring.
22148 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22150 (__catanl): Handle arguments with large real or imaginary part
22151 separately without squaring.
22152 * math/libm-test.inc (catan_test): Add more tests.
22153 (catanh_test): Likewise.
22154 * sysdeps/i386/fpu/libm-test-ulps: Update.
22155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22157 2013-04-27 Andreas Jaeger <aj@suse.de>
22160 * stdlib/stdlib.h: Update guards for qecvt.
22161 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22164 2013-04-27 Allan McRae <allan@archlinux.org>
22166 * sysdeps/i386/fpu/libm-test-ulps: Update.
22168 2013-04-26 Joseph Myers <joseph@codesourcery.com>
22171 * math/s_catan.c: Include <float.h>.
22172 (__catan): Ensure underflow exception occurs for underflowed
22174 * math/s_catanf.c: Include <float.h>.
22175 (__catanf): Ensure underflow exception occurs for underflowed
22177 * math/s_catanh.c: Include <float.h>.
22178 (__catanh): Ensure underflow exception occurs for underflowed
22180 * math/s_catanhf.c: Include <float.h>.
22181 (__catanhf): Ensure underflow exception occurs for underflowed
22183 * math/s_catanhl.c: Include <float.h>.
22184 (__catanhl): Ensure underflow exception occurs for underflowed
22186 * math/s_catanl.c: Include <float.h>.
22187 (__catanl): Ensure underflow exception occurs for underflowed
22189 * math/libm-test.inc (catan_test): Add more tests.
22190 (catanh_test): Likewise.
22193 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22194 underflowed result.
22195 * math/s_ccoshf.c (__ccoshf): Likewise.
22196 * math/s_ccoshl.c (__ccoshl): Likewise.
22197 * math/s_csin.c (__csin): Likewise.
22198 * math/s_csinf.c (__csinf): Likewise.
22199 * math/s_csinh.c (__csinh): Likewise.
22200 * math/s_csinhf.c (__csinhf): Likewise.
22201 * math/s_csinhl.c (__csinhl): Likewise.
22202 * math/s_csinl.c (__csinl): Likewise.
22203 * math/libm-test.inc (ccos_test): Add more tests.
22204 (ccosh_test): Likewise.
22205 (csin_test): Likewise.
22206 (csinh_test): Likewise.
22208 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22210 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22211 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22212 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22213 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22214 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22215 powerpc/power5+/fpu folders.
22216 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22219 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22221 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22223 2013-04-25 Joseph Myers <joseph@codesourcery.com>
22225 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22226 additions to variable.
22227 [$(config-machine) = x86_64] (modules-names): Likewise.
22228 ($(objpfx)tst-audit3): Remove dependency.
22229 ($(objpfx)tst-audit3.out): Likewise.
22230 ($(objpfx)tst-audit4): Likewise.
22231 ($(objpfx)tst-audit4.out): Likewise.
22232 ($(objpfx)tst-audit5): Likewise.
22233 ($(objpfx)tst-audit5.out): Likewise.
22234 ($(objpfx)tst-audit6): Likewise.
22235 ($(objpfx)tst-audit6.out): Likewise.
22236 ($(objpfx)tst-audit7): Likewise.
22237 ($(objpfx)tst-audit7.out): Likewise.
22238 (tst-audit3-ENV): Remove variable.
22239 (tst-audit4-ENV): Likewise.
22240 (tst-audit5-ENV): Likewise.
22241 (tst-audit6-ENV): Likewise.
22242 (tst-audit7-ENV): Likewise.
22243 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22244 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22245 addition to variable.
22246 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22247 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22248 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22249 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22250 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22251 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22252 tst-audit3, tst-audit4 and tst-audit5.
22253 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22254 tst-audit6 and tst-audit7.
22255 [$(subdir) = elf] (modules-names): Add audit modules for those
22257 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22258 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22259 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22260 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22261 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22262 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22263 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22264 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22265 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22266 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22267 [$(subdir) = elf] (tst-audit3-ENV): New variable.
22268 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22269 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22270 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22271 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22272 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22274 [$(subdir) = elf && $(config-cflags-avx) = yes]
22275 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22276 [$(subdir) = elf && $(config-cflags-avx) = yes]
22277 (CFLAGS-tst-auditmod4a.c): Likewise.
22278 [$(subdir) = elf && $(config-cflags-avx) = yes]
22279 (CFLAGS-tst-auditmod4b.c): Likewise.
22280 [$(subdir) = elf && $(config-cflags-avx) = yes]
22281 (CFLAGS-tst-auditmod6b.c): Likewise.
22282 [$(subdir) = elf && $(config-cflags-avx) = yes]
22283 (CFLAGS-tst-auditmod6c.c): Likewise.
22284 [$(subdir) = elf && $(config-cflags-avx) = yes]
22285 (CFLAGS-tst-auditmod7b.c): Likewise.
22286 * elf/tst-audit3.c: Move to ...
22287 * sysdeps/x86_64/tst-audit3.c: ... here.
22288 * elf/tst-audit4.c: Move to ...
22289 * sysdeps/x86_64/tst-audit4.c: ... here.
22290 * elf/tst-audit5.c: Move to ...
22291 * sysdeps/x86_64/tst-audit5.c: ... here.
22292 * elf/tst-audit6.c: Move to ...
22293 * sysdeps/x86_64/tst-audit6.c: ... here.
22294 * elf/tst-audit7.c: Move to ...
22295 * sysdeps/x86_64/tst-audit7.c: ... here.
22296 * elf/tst-auditmod3a.c: Move to ...
22297 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22298 * elf/tst-auditmod3b.c: Move to ...
22299 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22300 * elf/tst-auditmod4a.c: Move to ...
22301 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22302 * elf/tst-auditmod4b.c: Move to ...
22303 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22304 * elf/tst-auditmod5a.c: Move to ...
22305 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22306 * elf/tst-auditmod5b.c: Move to ...
22307 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22308 * elf/tst-auditmod6a.c: Move to ...
22309 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22310 * elf/tst-auditmod6b.c: Move to ...
22311 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22312 * elf/tst-auditmod6c.c: Move to ...
22313 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22314 * elf/tst-auditmod7a.c: Move to ...
22315 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22316 * elf/tst-auditmod7b.c: Move to ...
22317 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22319 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
22322 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22323 define unconditionally.
22324 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22325 define unconditionally.
22326 (INT8_C, INT16_C, etc.): Likewise.
22328 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
22330 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22331 __ehdr_start with hidden visibility.
22333 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22335 2013-04-24 Carlos O'Donell <carlos@redhat.com>
22337 * math/libm-test.inc (cos_test): Use accurate hex constants.
22338 (sincost_test): Likewise.
22340 2013-04-24 Joseph Myers <joseph@codesourcery.com>
22342 * math/libm-test.inc (catan_test): Add more tests.
22343 (catanh_test): Likewise.
22345 * math/s_catanf.c (__catanf): Use suffixed floating-point
22347 * math/s_catanhf.c (__catanhf): Likewise.
22348 * math/s_catanhl.c (__catanhl): Likewise.
22349 * math/s_catanl.c (__catanl): Likewise.
22352 * math/s_catan.c (__catan): Calculate imaginary part of result
22353 with log1p not log unless computing log of number close to 0.
22354 * math/s_catanf.c (__catanf): Likewise.
22355 * math/s_catanl.c (__catanl): Likewise.
22356 * math/s_catanh.c (__catanh): Calculate real part of result with
22357 log1p not log unless computing log of number close to 0.
22358 * math/s_catanhf.c (__catanhf): Likewise.
22359 * math/s_catanhl.c (__catanhl): Likewise.
22360 * math/libm-test.inc (catan_test): Add more tests.
22361 (catanh_test): Likewise.
22362 * sysdeps/i386/fpu/libm-test-ulps: Update.
22363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22365 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22367 * benchtests/Makefile: Mention files in which fast and slow
22368 paths of math functions are implemented.
22370 2013-04-23 Roland McGrath <roland@hack.frob.com>
22372 * sysdeps/posix/timespec_get.c: New file.
22374 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22376 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22378 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22380 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22381 powerpc/power5/fpu folders.
22382 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22383 * benchtests/Makefile: Add modf testcase.
22384 * benchtests/bench-modf.c: New file: Benchmark test for mo
22386 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22389 * time/Makefile (tests): Add tst-strptime-whitespace.
22390 * time/strptime_l.c (get_number): Use ISSPACE.
22391 (__strptime_internal): Likewise.
22392 * time/tst-strptime-whitespace.c: New test case.
22394 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
22396 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22398 (_nss_files_init): Set it here.
22400 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
22402 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22403 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22406 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
22408 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22410 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22412 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22415 2013-04-21 David S. Miller <davem@davemloft.net>
22417 * po/ru.po: Update Russion translation from translation project.
22419 2013-04-17 Adam Conrad <adconrad@0c3.net>
22421 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22424 2013-04-17 Carlos O'Donell <carlos@redhat.com>
22426 * configure.in: Remove i386 configure warning. Remove i386 case.
22427 * configure: Regenerate.
22428 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22429 Add example to error message.
22430 * sysdeps/i386/configure: Regenerate.
22432 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22434 * benchtests/Makefile (bench): Add cos, tan, slowcos and
22436 * benchtests/cos-inputs: New file.
22437 * benchtests/slowcos-inputs: New file.
22438 * benchtests/slowcos.c: New file.
22439 * benchtests/slowtan-inputs: New file.
22440 * benchtests/slowtan.c: New file.
22441 * benchtests/tan-inputs: New file.
22443 2013-04-16 Roland McGrath <roland@hack.frob.com>
22445 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22448 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22450 * benchtests/Makefile: Include cppflags-iterator.mk to add
22451 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22453 * Makefile.in (bench-clean): New target.
22454 * benchtests/Makefile (bench-clean): Likewise.
22456 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
22458 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22460 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
22462 * stdio-common/tstdiomisc.c: Fix coding-style violation.
22464 2013-04-15 Andreas Schwab <schwab@suse.de>
22466 * nscd/grpcache.c (cache_addgr): Properly check for short write.
22467 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22468 * nscd/pwdcache.c (cache_addpw): Likewise.
22469 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
22472 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22474 * benchtests/Makefile (bench): Write all output to
22475 bench-out.tmp together.
22477 2013-04-15 Andreas Schwab <schwab@suse.de>
22479 * nscd/nscd.c (main): Don't fork again after closing files.
22481 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22483 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22485 * benchtests/Rules (bench-deps): Collect dependencies into a
22486 single variable. Add Makefile to dependencies.
22487 ($(objpfx)bench-%.c): Depend on bench-deps.
22489 2013-04-12 Roland McGrath <roland@hack.frob.com>
22490 Xavier Roche <roche+kml2@exalead.com>
22493 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22494 just that it's a file descriptor.
22495 * manual/llio.texi (Synchronizing AIO Operations): Update description
22496 for EBADF error from aio_fsync.
22498 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22500 * Rules (bench): Move target definition...
22501 * benchtests/Makefile: ... here.
22503 2013-04-11 Carlos O'Donell <carlos@redhat.com>
22505 * math/libm-test.inc (cos_test): Fix PI/2 test.
22506 (sincos_test): Likewise.
22507 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22508 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22510 2013-04-11 Andreas Schwab <schwab@suse.de>
22513 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22514 accept exponent character only when digits were seen.
22515 * stdio-common/Makefile (tests): Add bug26.
22516 * stdio-common/bug26.c: New file.
22519 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22522 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22524 * Makeconfig (rtld-prefix): Define built linker prefix.
22525 * Rules (run-bench): Use it.
22526 * math/Makefile (run-regen-ulps): Likewise.
22528 * Rules (bench): Remove eval.
22530 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22531 Roland McGrath <roland@hack.frob.com>
22532 Ondrej Bilka <neleai@seznam.cz>
22535 * time/getdate.c: Include ctype.h and alloca.h.
22536 (__getdate_r): Trim leading and trailing spaces of input.
22537 * time/tst-getdate.c (tests): Add tests with leading and
22540 2013-04-08 Roland McGrath <roland@hack.frob.com>
22543 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22544 when computing value.
22546 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22548 * math/README.libm-test (How can I generate "libm-test-ulps"?):
22549 Use testrun.sh to run libm tests.
22552 * elf/dl-open.c (dl_open_worker): memset all of seen array.
22554 2013-04-06 Marko Myllynen <myllynen@redhat.com>
22557 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22559 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22561 * Makefile.in (regen-ulps): New target.
22562 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22563 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22564 [ifneq (no,$(PERL)] (regen-ulps): New target.
22565 [ifeq (no,$(PERL)] (regen-ulps): New target.
22566 * math/libm-test.inc (ulps_file_name): Define.
22567 (output_dir): New variable.
22568 (options): Add "output-dir" option.
22569 (parse_opt): Handle 'o' case.
22570 (main): If output_dir is non-NULL use it as a prefix
22572 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22574 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22576 [BZ #10060, #10062]
22577 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22578 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22579 fail configure if __sync_val_compare_and_swap is not inlined.
22580 * sysdeps/i386/configure: Regenerate.
22581 * configure.in: Build for i686 when configured for i386.
22582 * configure: Regenerate.
22583 * README: Remove i386 reference.
22585 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22587 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22588 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22590 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
22592 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22593 (lmsnanval): New variables.
22594 (F): Add conversion tests.
22595 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22596 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22598 * stdio-common/tstdiomisc.c (F): Properly collect individual
22601 [BZ #14686, #15336]
22602 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22603 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22604 Instead, use input NaN values or generate a qNaN by arithmetic
22605 operation. Also fix bugs to comply with the standard.
22606 * math/libm-test.inc (remainder_test): Add more tests.
22608 [BZ #15335, #15342]
22609 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22610 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22611 input NaN values or generate a qNaN by arithmetic operation.
22613 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22616 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22619 2013-04-03 Joseph Myers <joseph@codesourcery.com>
22622 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22623 underflowed result.
22624 * math/s_cexpf.c (__cexpf): Likewise.
22625 * math/s_cexpl.c (__cexpl): Likewise.
22626 * math/libm-test.inc (cexp_test): Add more tests.
22628 2013-04-03 Andreas Schwab <schwab@suse.de>
22631 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22632 order arrays from heap if bigger than alloca cutoff.
22634 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
22636 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22637 (SNAN_TESTS_double): Refer to GCC PR56831.
22638 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22641 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22643 * Rules (bench): Move bench.out after the run is complete.
22645 * Rules (bench): Echo currently running benchmark.
22647 * benchtests/Makefile (bench): Add atan and slowatan.
22648 * benchtests/atan-inputs: New file.
22649 * benchtests/slowatan-inputs: New file.
22650 * benchtests/slowatan.c: New file.
22652 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22653 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22657 * sysdeps/unix/sysv/linux/kernel-features.h
22658 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22659 __ASSUME_XFS_RESTRICTED_CHOWN.
22660 * sysdeps/unix/sysv/linux/pathconf.c
22661 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22662 Save and restore errno.
22664 2013-04-02 Joseph Myers <joseph@codesourcery.com>
22667 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22668 arguments using __kernel_casinh.
22669 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22670 arguments using __kernel_casinhf.
22671 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22672 arguments using __kernel_casinhl.
22673 * math/libm-test.inc (cacosh_test): Add more tests.
22674 * sysdeps/i386/fpu/libm-test-ulps: Update.
22675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22677 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22679 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22680 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22682 * bench/Makefile (bench): Add sin and slowsin.
22683 * benchtests/sin-inputs: New file.
22684 * benchtests/slowsin-inputs: New file.
22685 * benchtests/slowsin.c: New file.
22687 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22688 (bench): Add slowexp and slowpow.
22689 (exp-ITER): Increase iterations.
22690 (pow-ITER): Likewise.
22691 * benchtests/exp-inputs: Change input.
22692 * benchtests/pow-inputs: Likewise.
22693 * benchtests/slowexp-inputs: New file.
22694 * benchtests/slowexp.c: New file.
22695 * benchtests/slowpow-inputs: New file.
22696 * benchtests/slowpow.c: New file.
22698 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22700 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22702 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22703 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22704 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22705 * benchtests/Makefile: Add rint benchtest.
22706 * benchtests/rint-inputs: Input for rint benchtest.
22708 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
22710 * Versions.def (libm): Add GLIBC_2.18.
22711 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22712 hidden libm prototypes.
22713 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22714 * math/Makefile (libm-calls): Add s_issignaling.
22715 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22716 __issignalingf, __issignalingl. Adjust all libm.abilist files.
22717 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22719 * math/math.h [__USE_GNU] (issignaling): New macro.
22720 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22721 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22722 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22723 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22724 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22725 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22726 * manual/arith.texi (issignaling): New section.
22727 * manual/libm-err-tab.pl (@all_functions): Update comment.
22728 * math/gen-libm-test.pl (parse_args): Apply special handling for
22730 * math/libm-test.inc (print_float, issignaling_test): New
22732 (check_float_internal): Add issignaling checks.
22733 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22734 default definition.
22735 * sysdeps/powerpc/math-tests.h: New file.
22736 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22738 * math/test-snan.c (TEST_FUNC): Likewise.
22740 2013-03-30 David S. Miller <davem@davemloft.net>
22742 * po/de.po: Update from translation team.
22744 2013-03-30 Joseph Myers <joseph@codesourcery.com>
22747 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22748 imaginary part less than 1.0 and real part less than 0.5
22750 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22751 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22752 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22753 (cacos_test): Add more tests.
22754 (casin_test): Likewise.
22755 (casinh_test): Likewise.
22756 * sysdeps/i386/fpu/libm-test-ulps: Update.
22757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22759 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22761 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22762 ONE with its value.
22764 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22765 (__pow_mp): Replace ONE and MONE with their values.
22766 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22767 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22768 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22769 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22770 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22771 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22773 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22775 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22776 (__pow_mp): Replace ZERO and MZERO with their values.
22777 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22778 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22779 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22780 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22781 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22782 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22785 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22787 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22789 2013-03-28 Roland McGrath <roland@hack.frob.com>
22791 * include/stdlib.h [!SHARED] (__call_tls_dtors):
22792 Declare with __attribute__ ((weak)).
22793 * stdlib/exit.c (__libc_atexit) [!SHARED]:
22794 Call __call_tls_dtors only if it's not NULL.
22796 2013-03-28 Roland McGrath <roland@hack.frob.com>
22798 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22799 didn't do it already, then set _dl_phdr and _dl_phnum based on the
22800 magic __ehdr_start linker symbol if it's defined.
22801 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22802 them up here if it was already done.
22804 * elf/dl-support.c (_dl_phdr): Make pointer to const.
22805 (_dl_aux_init): Use const in cast when setting it.
22806 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22807 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22808 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22810 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22812 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22813 * csu/libc-tls.c: Nor here.
22814 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22816 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22817 (__libc_message): Never call vsyslog.
22819 2013-03-28 Alan Modra <amodra@gmail.com>
22821 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22823 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22826 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22829 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22833 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22836 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22837 Don't add gid passed as argument.
22839 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22841 2013-03-27 Joseph Myers <joseph@codesourcery.com>
22844 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22845 imaginary part between 1.0 and 1.5 and real part less than 0.5
22847 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22848 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22849 * math/libm-test.inc (cacos_test): Add more tests.
22850 (casin_test): Likewise.
22851 (casinh_test): Likewise.
22852 * sysdeps/i386/fpu/libm-test-ulps: Update.
22853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22855 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22857 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22860 (denorm): Likewise.
22861 (__dbl_mp): Likewise.
22862 (add_magnitudes): Likewise.
22863 (sub_magnitudes): Likewise.
22871 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22873 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22874 (__dubcos): Likewise.
22875 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22876 (__ieee754_acos): Likewise.
22877 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22878 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22879 (__exp1): Likewise.
22880 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22881 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22883 (my_log2): Likewise.
22884 (checkint): Likewise.
22885 * sysdeps/ieee754/dbl-64/e_remainder.c
22886 (__ieee754_remainder): Likewise.
22887 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22888 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22889 (bsloww): Likewise.
22890 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22892 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22893 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22894 MANTISSA_STORE_T to store computations on mantissa. Use
22895 macros for rounding and division.
22896 (denorm): Likewise.
22897 (__dbl_mp): Likewise.
22898 (add_magnitudes): Likewise.
22899 (sub_magnitudes): Likewise.
22902 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22903 powers of two in terms of TWOPOW macro.
22904 (mp_no): Make type of mantissa as MANTISSA_T.
22905 [!RADIXI]: Define RADIXI.
22906 [!TWO52]: Define TWO52.
22907 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22909 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22911 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22912 llroundl symbol when building for PPC32.
22914 2013-03-24 Mark H Weaver <mhw@netris.org>
22916 * manual/arith.texi (Normalization Functions): Fix prototypes for
22917 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22919 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22922 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22923 high value to check if expl overflow.
22924 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22925 to check for underflow and overflow.
22926 * math/libm-test.inc: Add exp test.
22928 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22931 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22934 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22936 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22939 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22941 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22942 wrap blocks consisting of several statements.
22944 * sysdeps/generic/math-tests.h: New file.
22945 * sysdeps/i386/fpu/math-tests.h: Likewise.
22946 * math/test-snan.c: Include it.
22947 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22949 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22952 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22953 (__ieee754_j0l): Do not improve calculations using cos of twice
22954 input for inputs above LDBL_MAX / 2.0L.
22955 (__ieee754_y0l): Likewise.
22956 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22957 (__ieee754_j1l): Do not improve calculations using cos of twice
22958 input for inputs above LDBL_MAX / 2.0L.
22959 (__ieee754_y1l): Likewise.
22960 * math/libm-test.inc (j0_test): Add another test.
22961 (j1_test): Likewise.
22962 (y0_test): Likewise.
22963 (y1_test): Likewise.
22964 * sysdeps/i386/fpu/libm-test-ulps: Update.
22966 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22968 * Rules ($(objpfx)bench-%.c): Include code from a C source
22971 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22974 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22975 imaginary part 1.0 and real part less than 0.5 specially.
22976 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22977 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22978 * math/libm-test.inc (cacos_test): Add more tests.
22979 (casin_test): Likewise.
22980 (casinh_test): Likewise.
22981 * sysdeps/i386/fpu/libm-test-ulps: Update.
22982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22984 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22986 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22987 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22989 2013-03-20 Joseph Myers <joseph@codesourcery.com>
22991 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22992 * config.make.in (config-cflags-sse4): Remove variable.
22993 (config-cflags-avx): Likewise.
22994 (config-cflags-sse2avx): Likewise.
22995 (config-cflags-novzeroupper): Likewise.
22996 (config-asflags-i686): Likewise.
22997 (have-mfma4): Likewise.
22998 (have-as-vis3): Likewise.
23000 * configure.in (MIG): Do not AC_SUBST.
23001 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23002 (libc_cv_cc_sse4): Do not AC_SUBST.
23003 (libc_cv_cc_avx): Likewise.
23004 (libc_cv_cc_sse2avx): Likewise.
23005 (libc_cv_cc_novzeroupper): Likewise.
23006 (libc_cv_cc_fma4): Likewise.
23007 (libc_cv_as_i686): Likewise.
23008 (libc_cv_sparc_as_vis3): Likewise.
23009 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23011 (config-asflags-i686): Likewise.
23012 (config-cflags-avx): Likewise.
23013 (config-cflags-sse2avx): Likewise.
23014 (have-mfma4): Likewise.
23015 (config-cflags-novzeroupper): Likewise.
23016 * sysdeps/mach/configure.in (MIG): Likewise.
23017 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23018 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23020 (config-cflags-avx): Likewise.
23021 (config-cflags-sse2avx): Likewise.
23022 (have-mfma4): Likewise.
23023 (config-cflags-novzeroupper): Likewise.
23024 * configure: Regenerated.
23025 * sysdeps/i386/configure: Likewise.
23026 * sysdeps/mach/configure: Likewise.
23027 * sysdeps/sparc/configure: Likewise.
23028 * sysdeps/x86_64/configure: Likewise.
23030 2013-03-20 Roland McGrath <roland@hack.frob.com>
23033 * locale/programs/localedef.c (options): Put N_ translation marker
23034 on argument names, not just descriptions.
23036 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23038 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23040 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
23043 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23045 2013-03-19 Roland McGrath <roland@hack.frob.com>
23047 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23048 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23049 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23050 [!BEFORE_ABORT] (before_abort): New function.
23051 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23052 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23053 (writev_for_fatal): New function.
23054 (WRITEV_FOR_FATAL): New macro; call that.
23055 (backtrace_and_maps): New function.
23056 (BEFORE_ABORT): New macro; call that.
23057 (struct str_list): Type removed.
23058 (__libc_message, __libc_fatal): Functions removed.
23059 Include <sysdeps/posix/libc_fatal.c> instead.
23061 2013-03-19 Joseph Myers <joseph@codesourcery.com>
23063 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23065 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23068 2013-03-19 Andreas Schwab <schwab@suse.de>
23070 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23071 * sysdeps/gnu/configure: Regenerate.
23073 * configure.in: Substitute libc_cv_rtlddir.
23074 * configure: Regenerate.
23075 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23076 * Makeconfig (rtlddir, inst_rtlddir): New variables.
23077 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23078 * elf/Makefile (install-others, CFLAGS-interp.c)
23079 (ldso_install, common-ldd-rewrite): Likewise.
23080 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23081 $(inst_slibdir)/$(rtld-installed-name).
23082 * scripts/rellns-sh: Add -p option.
23083 * Makerules (make-shlib-link): Use rellns-sh to get relative name
23086 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23088 * manual/nptl.texi: Renamed to ...
23089 * manual/threads.texi: ... this.
23090 * manual/Makefile (chapters): Update.
23092 2013-03-18 Roland McGrath <roland@hack.frob.com>
23095 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23096 on argument names, not just descriptions.
23097 * malloc/memusagestat.c (options): Likewise.
23098 * nss/getent.c (options): Likewise.
23100 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
23103 * iconv/iconv_prog.c (options): Put N_ translation marker
23104 on argument names, not just descriptions.
23105 * iconv/iconvconfig.c (options): Likewise.
23107 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
23109 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23110 implementation which is faster on all x86_64 architectures.
23111 Tested on AMD, Intel Nehalem, SNB, IVB.
23112 * sysdeps/x86_64/strnlen.S: Likewise.
23114 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23115 Remove all multiarch strlen and strnlen versions.
23116 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23117 Remove strlen and strnlen related parts.
23119 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23120 Inline strlen part.
23121 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23123 * sysdeps/x86_64/multiarch/strlen.S: Remove.
23124 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23125 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23126 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23127 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23128 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23130 2013-03-17 Carlos O'Donell <carlos@redhat.com>
23132 * manual/memory.texi (Malloc Tunable Parameters):
23133 Sort parameters alphabetically. Add comments for missing entries.
23135 2013-03-17 David S. Miller <davem@davemloft.net>
23137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23139 2013-03-16 Joseph Myers <joseph@codesourcery.com>
23142 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23143 for arguments at most half maximum finite value.
23144 * math/libm-test.inc (j0_test): Add more tests.
23145 (j1_test): Likewise.
23146 (y0_test): Likewise.
23147 (y1_test): Likewise.
23148 * sysdeps/i386/fpu/libm-test-ulps: Update.
23149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23152 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23153 1 / x and functions P and Q for arguments above 0x1p256L.
23154 (__ieee754_y0l): Likewise.
23155 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23156 (__ieee754_y1l): Likewise.
23157 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23158 (j1_test): Likewise.
23159 (y0_test): Likewise.
23160 (y1_test): Likewise.
23162 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
23164 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23167 2013-03-15 Roland McGrath <roland@hack.frob.com>
23169 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23170 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23171 zero since it's initialized to EXEC_PAGESIZE.
23173 * sysdeps/unix/sysv/linux/ldsodefs.h
23174 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23175 * sysdeps/generic/ldsodefs.h: ... here.
23177 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
23179 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23181 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23183 * math/test-snan.c: Renamed from
23184 sysdeps/powerpc/fpu/test-powerpc-snan.c.
23185 * math/Makefile (tests): Add test-snan.
23186 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23189 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23190 SUFFIX. Initialize qNaN_var with __builtin_nan family of
23192 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
23193 __builtin_nan family of functions.
23194 * math/libm-test.inc (initialize): Initialize qnan_value with
23195 __builtin_nan family of functions.
23196 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23198 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23200 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
23201 storage class. Initialize qNaN_var and sNaN_var with
23202 __builtin_nan and __builtin_nans families of functions,
23205 * math/libm-test.inc (acosh_test): Also test with qNaN input.
23206 (sqrt_test): Remove duplicate test with qNaN input.
23207 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23208 (round_test, signbit_test, significand_test): Note missing +/-Inf
23209 as well as qNaN tests.
23211 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23212 qNaN_var. Fix a few strings, too.
23213 * math/libm-test.inc (nan_value): Rename to qnan_value.
23214 * math/gen-libm-test.pl (%beautify): Adjust to that.
23215 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23216 * math/test-misc.c (main): Likewise.
23217 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23218 to __qnan_bytes, and __qnan_union, respectively.
23219 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23221 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23222 and lqnanval, respectively.
23223 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23224 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23225 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23226 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23228 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23229 * math/test-misc.c (main) [__x86_64__]: Enable test for long
23232 * math/test-misc.c (main): Fix copy'n'pastos.
23233 * misc/tst-efgcvt.c (special): Likewise.
23235 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23236 Remove declarations.
23238 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23240 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23241 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23242 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23243 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23245 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23247 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23248 macro to return vdso values correctly in IFUNC implementations.
23249 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23250 Optimization by using IFUNC.
23252 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23253 Richard Henderson <rth@redhat.com>
23254 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23256 * Makefile.in (bench): New target.
23257 * NEWS: Mention the benchmark framework.
23258 * Rules (bench): Likewise.
23259 (binaries-bench): Generate binaries for functions to
23261 * benchtests/Makefile: New makefile for benchmark tests.
23262 * benchtests/bench-skeleton.c: New skeleton file for benchmark
23264 * benchtests/exp-inputs: New input file for EXP function.
23265 * benchtests/pow-inputs: New input file for POW function.
23266 * scripts/bench.pl: New script to generate source files for
23267 benchmark programs.
23269 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23271 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23272 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23273 computations on mantissa. Use macros for rounding and
23275 (denorm): Likewise.
23276 (__dbl_mp): Likewise.
23277 (add_magnitudes): Likewise.
23278 (sub_magnitudes): Likewise.
23281 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23282 powers of two in terms of TWOPOW macro.
23283 (mp_no): Make type of mantissa as MANTISSA_T.
23284 [!RADIXI]: Define RADIXI.
23285 [!TWO52]: Define TWO52.
23286 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23288 * manual/nptl.texi (cindex): Modify threads to pthreads.
23290 2013-03-15 Joseph Myers <joseph@codesourcery.com>
23292 * sysdeps/x86_64/preconfigure: Regenerated.
23294 2013-03-14 Joseph Myers <joseph@codesourcery.com>
23297 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23299 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23300 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23302 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23303 * math/libm-test.inc (j0_test): Do not allow one spurious
23304 underflow exception.
23305 (y1_test): Likewise.
23307 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23309 * manual/Makefile (chapters): Add nptl.
23310 * manual/debug.texi (Debugging Support): Add link to Threads
23312 * manual/nptl.texi: New file.
23314 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23316 2013-03-14 Petr Baudis <pasky@ucw.cz>
23318 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23319 for non-NULL pointer before the memory validity test. Pointed
23320 out by Holger Brunck <holger.brunck@keymile.com>.
23322 2013-03-13 Andreas Schwab <schwab@suse.de>
23324 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23327 2013-03-13 Joseph Myers <joseph@codesourcery.com>
23329 * timezone/zic.c: Update from tzcode 2013b.
23331 2013-03-12 Carlos O'Donell <carlos@redhat.com>
23333 * manual/install.texi (Configuring and compiling):
23334 Mention i686 and i586.
23335 * INSTALL: Regenerate.
23337 2013-03-12 Roland McGrath <roland@hack.frob.com>
23339 * sysdeps/init_array/elf-init.c: New file.
23341 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23342 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23344 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23345 __gmon_start__ as global, but as static with a .preinit_array pointer.
23346 * sysdeps/init_array/gmon-start.c: New file. Use that.
23347 * sysdeps/init_array/crti.S: New file, empty except for comments.
23348 * sysdeps/init_array/crtn.S: Likewise.
23350 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
23352 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23354 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23355 Remove Prefer_SSE_for_memop.
23356 * sysdeps/x86_64/multiarch/init-arch.h: Remove
23357 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23358 HAS_PREFER_SSE_FOR_MEMOP.
23359 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23361 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23362 Remove bzero, memset ifunc support.
23363 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23364 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23365 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23366 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23368 2013-03-11 Andreas Schwab <schwab@suse.de>
23371 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23373 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23374 (GLIBC_2.16): Remove pthread_atfork.
23376 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
23378 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23379 (ptestcases.h): Likewise.
23381 2013-03-08 Roland McGrath <roland@hack.frob.com>
23383 * Makeconfig ($(common-objpfx)config.status): Depend on
23384 sysdeps/*/preconfigure{,.in} too.
23386 2013-03-08 Joseph Myers <joseph@codesourcery.com>
23388 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23389 (__free_hook): Use void * instead of __malloc_ptr_t.
23390 (__malloc_hook): Likewise.
23391 (__realloc_hook): Likewise.
23392 (__memalign_hook): Likewise.
23393 (__after_morecore_hook): Likewise.
23394 * malloc/arena.c (save_malloc_hook): Likewise.
23395 (save_free_hook): Likewise.
23396 * malloc/hooks.c (malloc_hook_ini): Likewise.
23397 (realloc_hook_ini): Likewise.
23398 (memalign_hook_ini): Likewise.
23399 * malloc/malloc.c (malloc_hook_ini): Likewise.
23400 (realloc_hook_ini): Likewise.
23401 (memalign_hook_ini): Likewise.
23402 (__free_hook): Likewise.
23403 (__malloc_hook): Likewise.
23404 (__realloc_hook): Likewise.
23405 (__memalign_hook): Likewise.
23406 (__libc_malloc): Likewise.
23407 (__libc_free): Likewise.
23408 (__libc_realloc): Likewise.
23409 (__libc_memalign): Likewise.
23410 (__libc_valloc): Likewise.
23411 (__libc_pvalloc): Likewise.
23412 (__libc_calloc): Likewise.
23413 (__posix_memalign): Likewise.
23414 * malloc/morecore.c (__sbrk): Likewise.
23415 (__default_morecore): Likewise.
23417 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23419 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23420 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23421 __malloc_ptrdiff_t.
23423 * malloc/malloc.h (__malloc_size_t): Remove macro.
23424 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23426 (old_memalign_hook): Likewise.
23427 (old_realloc_hook): Likewise.
23428 (struct hdr): Likewise.
23430 (mallochook): Likewise.
23431 (memalignhook): Likewise.
23432 (reallochook): Likewise.
23433 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23434 (tr_old_realloc_hook): Likewise.
23435 (tr_old_memalign_hook): Likewise.
23436 (tr_mallochook): Likewise.
23437 (tr_reallochook): Likewise.
23438 (tr_memalignhook): Likewise.
23440 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23442 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23443 default_ldbl_pack and using as default implementation.
23444 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23446 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23447 redundant definition.
23448 (ldbl_insert_mantissa): Likewise.
23449 (ldbl_canonicalize): Likewise.
23450 (ldbl_nearbyint): Likewise.
23451 (ldbl_pack): Rename to ldbl_pack_ppc.
23452 (ldbl_unpack): Rename to ldbl_unpack_ppc.
23453 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23454 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23456 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23458 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23459 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23460 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23461 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23462 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23463 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23464 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23465 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23467 2013-03-07 Andreas Jaeger <aj@suse.de>
23469 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23472 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23474 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23475 Include mpa.h and declare __MPEXP.
23476 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23477 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23478 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23479 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23480 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23481 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23482 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23484 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23485 (__slowpow): Use long double EXPL and LOGL functions to
23487 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23488 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23489 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23490 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23491 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23492 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23494 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23495 intermediate variable to calculate exponent.
23497 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23501 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23502 [!NO__SQR]: Define __sqr.
23503 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23504 and NO__SQR. Remove all code except __mul and __sqr. Include
23505 sysdeps/ieee754/dbl-64/mpa.c.
23506 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23509 * posix/Makefile (tests): Add tst-pathconf.
23510 * posix/tst-pathconf.c: New test case.
23511 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23513 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23515 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
23517 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23519 2013-03-06 Andreas Jaeger <aj@suse.de>
23521 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23522 definition via __MAP_ANONYMOUS.
23524 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23525 it's not part of Linux headers.
23527 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23528 (MAP_HUGE_MASK): Define.
23530 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23532 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23533 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23535 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23536 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23538 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23539 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23541 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23543 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23544 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23545 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23546 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23547 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23548 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23550 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23553 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23554 Handle f2fs and efivarfs.
23556 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23559 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23560 (EFIVARFS_MAGIC): Add.
23561 (F2FS_LINK_MAX): Add.
23563 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23565 * stdio-common/vfprintf.c: Replace __builtin_expect with
23568 2013-03-06 Joseph Myers <joseph@codesourcery.com>
23571 * sysdeps/generic/bp-sym.h: Remove file.
23572 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23573 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23574 <bp-sym.h> and <bp-asm.h>.
23575 (__longjmp): Don't use BP_SYM.
23576 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23578 (memcpy): Don't use BP_SYM.
23579 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23580 <bp-sym.h> and <bp-asm.h>.
23581 (memcpy): Don't use BP_SYM.
23582 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23584 (memcpy): Don't use BP_SYM.
23585 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23587 (memset): Don't use BP_SYM.
23588 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23589 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23590 (__bzero): Don't use BP_SYM.
23591 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23592 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23593 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23594 <bp-sym.h> and <bp-asm.h>.
23595 (memcmp): Don't use BP_SYM. Remove comment about bounded
23597 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23598 <bp-sym.h> and <bp-asm.h>.
23599 (memcpy): Don't use BP_SYM.
23600 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23601 <bp-sym.h> and <bp-asm.h>.
23602 (memset): Don't use BP_SYM.
23603 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23604 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23605 (__bzero): Don't use BP_SYM.
23606 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23607 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23608 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23609 <bp-sym.h> and <bp-asm.h>.
23610 (strncmp): Don't use BP_SYM. Remove comment about bounded
23612 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23613 <bp-sym.h> and <bp-asm.h>.
23614 (memcpy): Don't use BP_SYM.
23615 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23616 <bp-sym.h> and <bp-asm.h>.
23617 (memset): Don't use BP_SYM.
23618 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23619 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23620 (__bzero): Don't use BP_SYM.
23621 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23622 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23623 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23624 <bp-sym.h> and <bp-asm.h>.
23625 (__memchr): Don't use BP_SYM.
23626 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23627 <bp-sym.h> and <bp-asm.h>.
23628 (memcmp): Don't use BP_SYM. Remove comment about bounded
23630 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23631 <bp-sym.h> and <bp-asm.h>.
23632 (memcpy): Don't use BP_SYM.
23633 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23634 <bp-sym.h> and <bp-asm.h>.
23635 (__mempcpy): Don't use BP_SYM.
23636 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23637 <bp-sym.h> and <bp-asm.h>.
23638 (__memrchr): Don't use BP_SYM.
23639 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23640 <bp-sym.h> and <bp-asm.h>.
23641 (memset): Don't use BP_SYM.
23642 (__bzero): Likewise.
23643 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23644 <bp-sym.h> and <bp-asm.h>.
23645 (__rawmemchr): Don't use BP_SYM.
23646 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23647 <bp-sym.h> and <bp-asm.h>.
23648 (__STRCMP): Don't use BP_SYM.
23649 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23650 <bp-sym.h> and <bp-asm.h>.
23651 (strchr): Don't use BP_SYM.
23652 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23653 <bp-sym.h> and <bp-asm.h>.
23654 (__strchrnul): Don't use BP_SYM.
23655 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23656 <bp-sym.h> and <bp-asm.h>.
23657 (strlen): Don't use BP_SYM.
23658 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23659 <bp-sym.h> and <bp-asm.h>.
23660 (strncmp): Don't use BP_SYM. Remove comment about bounded
23662 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23663 <bp-sym.h> and <bp-asm.h>.
23664 (__strnlen): Don't use BP_SYM.
23665 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23666 <bp-sym.h> and <bp-asm.h>.
23667 (__GI__setjmp): Don't use BP_SYM.
23668 (_setjmp): Likewise.
23669 (__sigsetjmp): Likewise.
23670 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23671 (L(start_addresses)): Don't use BP_SYM.
23672 (_start): Likewise.
23673 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23675 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23676 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23677 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23678 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23679 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23681 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23682 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
23683 about bounded pointers.
23684 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23685 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23686 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23688 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23689 about bounded pointers. Remove GKM FIXME comments.
23690 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23691 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23693 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23694 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
23695 Remove GKM FIXME comments.
23696 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23697 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23698 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23700 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23701 about bounded pointers. Remove GKM FIXME comment.
23702 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23704 (strncmp): Don't use BP_SYM. Remove comment about bounded
23706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23707 <bp-sym.h> and <bp-asm.h>.
23708 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23710 <bp-sym.h> and <bp-asm.h>.
23711 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23714 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23716 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23719 2013-03-05 David S. Miller <davem@davemloft.net>
23721 * po/es.po: Update from translation team.
23723 2013-03-05 Andreas Jaeger <aj@suse.de>
23725 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23726 <bits/mman-linux.h>.
23727 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23729 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23730 <bits/mman-linux.h> to end of file.
23731 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23733 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23734 <bits/mman-linux.h> to end of file.
23735 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23737 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23738 <bits/mman-linux.h> to end of file.
23740 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23741 (MCL_CURRENT, MCL_FUTURE): Define here.
23743 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23746 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23748 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23750 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23752 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23753 fourth parameter needed for rt_sigprocmask syscall.
23754 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23755 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23756 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23757 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23758 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23759 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23761 2013-03-04 Joseph Myers <joseph@codesourcery.com>
23764 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23765 comment about bounded pointers.
23766 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23767 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23769 2013-03-04 Andreas Jaeger <aj@suse.de>
23771 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23772 common definitions.
23774 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23775 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23776 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23777 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23778 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23779 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23781 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23784 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23785 __ieee754_sqrl instead of __sqrl.
23787 2013-03-01 Joseph Myers <joseph@codesourcery.com>
23789 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23790 * sysdeps/powerpc/fpu_control.h: ... here.
23791 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23792 * sysdeps/powerpc/bits/fenvinline.h: ... here.
23793 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23794 * sysdeps/powerpc/bits/mathinline.h: ... here.
23796 2013-03-01 Roland McGrath <roland@hack.frob.com>
23798 * elf/dl-hwcaps.c (_dl_important_hwcaps):
23799 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23800 to just [NEED_DL_SYSINFO_DSO].
23801 * elf/dl-support.c: Likewise.
23802 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23803 * elf/rtld.c (dl_main): Likewise.
23804 * elf/setup-vdso.h (setup_vdso): Likewise.
23805 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23806 * sysdeps/unix/sysv/linux/dl-sysdep.c
23807 (_dl_discover_osversion): Likewise.
23809 2013-03-01 Carlos O'Donell <carlos@redhat.com>
23811 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23812 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23814 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23816 * NEWS: Mention libm performance improvements and non-x86 PI
23819 * csu/libc-start.c (__pthread_initialize_minimal): Change
23820 function arguments.
23821 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23823 2013-02-28 Joseph Myers <joseph@codesourcery.com>
23826 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23827 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23828 <bp-sym.h> and <bp-asm.h>.
23829 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23830 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23832 (memcpy): Don't use BP_SYM.
23833 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23835 (__mpn_add_n): Don't use BP_SYM.
23836 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23837 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23839 (__mpn_addmul_1): Don't use BP_SYM.
23840 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23841 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23843 (_setjmp): Don't use BP_SYM.
23844 (__novmx_setjmp): Likewise.
23845 (__GI__setjmp): Likewise.
23846 (__vmx_setjmp): Likewise.
23847 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23849 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23850 (__bzero): Don't use BP_SYM.
23851 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23852 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23853 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23854 <bp-sym.h> and <bp-asm.h>.
23855 (memcpy): Don't use BP_SYM.
23856 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23857 <bp-sym.h> and <bp-asm.h>.
23858 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23859 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23860 <bp-sym.h> and <bp-asm.h>.
23861 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23862 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23864 (__mpn_lshift): Don't use BP_SYM.
23865 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23866 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23868 (memset): Don't use BP_SYM.
23869 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23870 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23871 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23873 (__mpn_mul_1): Don't use BP_SYM.
23874 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23875 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23876 <bp-sym.h> and <bp-asm.h>.
23877 (memcmp): Don't use BP_SYM.
23878 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23879 <bp-sym.h> and <bp-asm.h>.
23880 (memcpy): Don't use BP_SYM.
23881 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23882 <bp-sym.h> and <bp-asm.h>.
23883 (memset): Don't use BP_SYM.
23884 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23885 <bp-sym.h> and <bp-asm.h>.
23886 (strncmp): Don't use BP_SYM.
23887 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23888 <bp-sym.h> and <bp-asm.h>.
23889 (memcpy): Don't use BP_SYM.
23890 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23891 <bp-sym.h> and <bp-asm.h>.
23892 (memset): Don't use BP_SYM.
23893 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23894 <bp-sym.h> and <bp-asm.h>.
23895 (__memchr): Don't use BP_SYM.
23896 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23897 <bp-sym.h> and <bp-asm.h>.
23898 (memcmp): Don't use BP_SYM.
23899 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23900 <bp-sym.h> and <bp-asm.h>.
23901 (memcpy): Don't use BP_SYM.
23902 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23903 <bp-sym.h> and <bp-asm.h>.
23904 (__mempcpy): Don't use BP_SYM.
23905 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23906 <bp-sym.h> and <bp-asm.h>.
23907 (__memrchr): Don't use BP_SYM.
23908 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23909 <bp-sym.h> and <bp-asm.h>.
23910 (memset): Don't use BP_SYM.
23911 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23912 <bp-sym.h> and <bp-asm.h>.
23913 (__rawmemchr): Don't use BP_SYM.
23914 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23915 <bp-sym.h> and <bp-asm.h>.
23916 (__STRCMP): Don't use BP_SYM.
23917 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23918 <bp-sym.h> and <bp-asm.h>.
23919 (strchr): Don't use BP_SYM.
23920 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23921 <bp-sym.h> and <bp-asm.h>.
23922 (__strchrnul): Don't use BP_SYM.
23923 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23924 <bp-sym.h> and <bp-asm.h>.
23925 (strlen): Don't use BP_SYM.
23926 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23927 <bp-sym.h> and <bp-asm.h>.
23928 (strncmp): Don't use BP_SYM.
23929 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23930 <bp-sym.h> and <bp-asm.h>.
23931 (__strnlen): Don't use BP_SYM.
23932 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23934 (__mpn_rshift): Don't use BP_SYM.
23935 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23936 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23937 <bp-sym.h> and <bp-asm.h>.
23938 (__sigsetjmp): Don't use BP_SYM.
23939 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23940 (L(start_addresses)): Don't use BP_SYM.
23941 (_start): Likewise.
23942 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23944 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23945 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23946 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23947 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23949 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23950 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23951 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23952 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23954 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23956 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23957 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23959 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23961 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23962 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23963 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23965 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23967 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23969 (strncmp): Don't use BP_SYM,
23970 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23972 (__mpn_sub_n): Don't use BP_SYM.
23973 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23974 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23976 (__mpn_submul_1): Don't use BP_SYM.
23977 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23979 <bp-sym.h> and <bp-asm.h>.
23980 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23982 <bp-sym.h> and <bp-asm.h>.
23983 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23986 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23988 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23989 Use ZK to minimize writes to Z.
23990 (sub_magnitudes): Simplify code a bit.
23991 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23992 Use ZK to minimize writes to Z.
23993 (sub_magnitudes): Simplify code a bit.
23995 2013-02-27 Roland McGrath <roland@hack.frob.com>
23997 * csu/gmon-start.c: Add special exception to license text.
23999 2013-02-27 Richard Henderson <rth@redhat.com>
24001 * scripts/config.guess: Update from config.git.
24002 * scripts/config.sub: Likewise.
24004 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24006 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24008 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24010 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24012 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24014 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24016 2013-02-26 Roland McGrath <roland@hack.frob.com>
24018 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24019 [$(build-shared = yes].
24021 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24023 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24024 (__mul): Reduce iterations for calculating mantissa.
24026 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24028 (__mpranred): Likewise.
24031 * malloc/memusagestat.c (main): Draw graphs for heap and stack
24032 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24034 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
24036 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24037 Define __attribute__.
24039 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24041 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24043 * posix/regex_internal.h (__attribute): Remove.
24044 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24045 (re_string_context_at): Likewise.
24046 (bitset_not): Use __attribute__ and mark function as possibly
24048 (bitset_merge): Likewise.
24049 (bitset_mask): Likewise.
24050 (re_string_char_size_at): Likewise.
24051 (re_string_wchar_at): Likewise.
24052 (re_string_elem_size_at): Likewise.
24054 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24056 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24060 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24064 (denorm): Likewise.
24065 (__dbl_mp): Likewise.
24066 (add_magnitudes): Likewise.
24067 (sub_magnitudes): Likewise.
24071 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24074 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24077 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24080 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24081 up changes with default code.
24082 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24085 2013-02-24 Allan McRae <allan@archlinux.org>
24087 * manual/socket.texi (The Internet Namespace): Order menu items
24088 to match that in the file.
24090 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24091 node listing of the info page menu.
24093 2013-02-21 Joseph Myers <joseph@codesourcery.com>
24096 * sysdeps/i386/bp-asm.h: Remove file.
24097 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24098 (PARMS): Do not use macros from bp-asm.h.
24102 (__mpn_add_n): Do not use BP_SYM
24103 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24105 (PARMS): Do not use macros from bp-asm.h.
24108 (__mpn_addmul_1): Do not use BP_SYM
24109 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24111 (PARMS): Do not use macros from bp-asm.h.
24112 (SIGMSK): Likewise.
24113 (_setjmp): Likewise. Do not use BP_SYM.
24114 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24116 (PARMS): Do not use macros from bp-asm.h.
24117 (SIGMSK): Likewise.
24118 (setjmp): Likewise. Do not use BP_SYM.
24119 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24121 (PARMS): Do not use macros from bp-asm.h.
24122 (__frexp): Do not use BP_SYM.
24124 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24126 (PARMS): Do not use macros from bp-asm.h.
24127 (__frexpf): Do not use BP_SYM.
24128 (frexpf): Likewise.
24129 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24131 (PARMS): Do not use macros from bp-asm.h.
24132 (__frexpl): Do not use BP_SYM.
24133 (frexpl): Likewise.
24134 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24136 (PARMS): Do not use macros from bp-asm.h.
24137 (__remquo): Do not use BP_SYM.
24138 (remquo): Likewise.
24139 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24141 (PARMS): Do not use macros from bp-asm.h.
24142 (__remquof): Do not use BP_SYM.
24143 (remquof): Likewise.
24144 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24146 (PARMS): Do not use macros from bp-asm.h.
24147 (__remquol): Do not use BP_SYM.
24148 (remquol): Likewise.
24149 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24151 (PARMS): Do not use macros from bp-asm.h.
24154 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
24155 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24157 (PARMS): Do not use macros from bp-asm.h.
24158 (strlen): Do not use BP_SYM.
24159 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24161 (PARMS): Do not use macros from bp-asm.h.
24165 (__mpn_add_n): Do not use BP_SYM.
24166 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24168 (PARMS): Do not use macros from bp-asm.h.
24171 (__mpn_addmul_1): Do not use BP_SYM.
24172 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24175 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24177 (PARMS): Do not use macros from bp-asm.h.
24180 (__mpn_lshift): Do not use BP_SYM.
24181 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24183 (PARMS): Do not use macros from bp-asm.h.
24187 (memcpy): Likewise. Do not use BP_SYM.
24188 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24189 libc_hidden_def and weak_alias.
24190 (mempcpy): Do not use BP_SYM in weak_alias.
24191 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24193 (PARMS): Do not use macros from bp-asm.h.
24196 [!BZERO_P] (CHR): Likewise.
24197 (memset): Likewise. Do not use BP_SYM.
24198 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24200 (PARMS): Do not use macros from bp-asm.h.
24203 (__mpn_mul_1): Do not use BP_SYM.
24204 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24206 (PARMS): Do not use macros from bp-asm.h.
24209 (__mpn_rshift): Do not use BP_SYM.
24210 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24212 (PARMS): Do not use macros from bp-asm.h.
24215 (strchr): Likewise. Do not use BP_SYM.
24216 (index): Do not use BP_SYM in weak_alias.
24217 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24219 (PARMS): Do not use macros from bp-asm.h.
24222 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
24223 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24225 (PARMS): Do not use macros from bp-asm.h.
24226 (strlen): Do not use BP_SYM.
24227 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24229 (PARMS): Do not use macros from bp-asm.h.
24233 (__mpn_sub_n): Do not use BP_SYM.
24234 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24236 (PARMS): Do not use macros from bp-asm.h.
24239 (__mpn_submul_1): Do not use BP_SYM.
24240 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24242 (PARMS): Do not use macros from bp-asm.h.
24246 (__mpn_add_n): Do not use BP_SYM.
24247 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24250 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24252 (PARMS): Do not use macros from bp-asm.h.
24255 (memcmp): Do not use BP_SYM.
24256 (bcmp): Do not use BP_SYM in weak_alias.
24257 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24259 (PARMS): Do not use macros from bp-asm.h.
24263 (memcpy): Likewise. Do not use BP_SYM.
24264 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24266 (PARMS): Do not use macros from bp-asm.h.
24270 (memmove): Likewise. Do not use BP_SYM.
24271 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24273 (PARMS): Do not use macros from bp-asm.h.
24277 (__mempcpy): Likewise. Do not use BP_SYM.
24278 (mempcpy): Do not use BP_SYM in weak_alias.
24279 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24281 (PARMS): Do not use macros from bp-asm.h.
24284 [!BZERO_P] (CHR): Likewise.
24285 (memset): Likewise. Do not use BP_SYM.
24286 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24288 (PARMS): Do not use macros from bp-asm.h.
24290 (strcmp): Do not use BP_SYM.
24291 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24293 (PARMS): Do not use macros from bp-asm.h.
24296 [USE_AS_STRTOK_R] (SAVE): Likewise.
24297 (FUNCTION): Likewise. Do not use BP_SYM.
24298 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24300 (strtok_r): Likewise.
24301 (__GI___strtok_r): Likewise.
24302 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24303 (PARMS): Do not use macros from bp-asm.h.
24306 (__mpn_lshift): Do not use BP_SYM.
24307 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24308 (PARMS): Do not use macros from bp-asm.h.
24311 (__memchr): Do not use BP_SYM.
24312 (memchr): Do not use BP_SYM in weak_alias.
24313 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24314 (PARMS): Do not use macros from bp-asm.h.
24317 (memcmp): Do not use BP_SYM.
24318 (bcmp): Do not use BP_SYM in weak_alias.
24319 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24320 (PARMS): Do not use macros from bp-asm.h.
24323 (__mpn_mul_1): Do not use BP_SYM.
24324 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24326 (PARMS): Do not use macros from bp-asm.h.
24329 (__rawmemchr): Do not use BP_SYM.
24330 (rawmemchr): Do not use BP_SYM in weak_alias.
24331 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24332 (PARMS): Do not use macros from bp-asm.h.
24335 (__mpn_rshift): Do not use BP_SYM.
24336 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24337 (PARMS): Do not use macros from bp-asm.h.
24338 (SIGMSK): Likewise.
24339 (__sigsetjmp): Likewise. Do not use BP_SYM.
24340 * sysdeps/i386/start.S: Do not include "bp-sym.h".
24341 (_start): Do not use BP_SYM.
24342 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24343 (PARMS): Do not use macros from bp-asm.h.
24346 (__stpcpy): Likewise. Do not use BP_SYM.
24347 (stpcpy): Do not use BP_SYM in weak_alias.
24348 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24350 (PARMS): Do not use macros from bp-asm.h.
24354 (__stpncpy): Likewise. Do not use BP_SYM.
24355 (stpncpy): Do not use BP_SYM in weak_alias.
24356 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24357 (PARMS): Do not use macros from bp-asm.h.
24360 (strchr): Likewise. Do not use BP_SYM.
24361 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24363 (PARMS): Do not use macros from bp-asm.h.
24366 (__strchrnul): Likewise. Do not use BP_SYM.
24367 (strchrnul): Do not use BP_SYM in weak_alias.
24368 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24370 (PARMS): Do not use macros from bp-asm.h.
24372 (strcspn): Do not use BP_SYM.
24373 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24375 (PARMS): Do not use macros from bp-asm.h.
24378 (strpbrk): Likewise. Do not use BP_SYM.
24379 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24381 (PARMS): Do not use macros from bp-asm.h.
24384 (strrchr): Likewise. Do not use BP_SYM.
24385 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24386 (PARMS): Do not use macros from bp-asm.h.
24388 (strspn): Do not use BP_SYM.
24389 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24390 (PARMS): Do not use macros from bp-asm.h.
24394 (FUNCTION): Likewise. Do not use BP_SYM.
24395 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24397 (strtok_r): Likewise.
24398 (__GI___strtok_r): Likewise.
24399 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24400 (PARMS): Do not use macros from bp-asm.h.
24404 (__mpn_sub_n): Do not use BP_SYM.
24405 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24407 (PARMS): Do not use macros from bp-asm.h.
24410 (__mpn_submul_1): Do not use BP_SYM.
24411 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24413 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24415 (PARMS): Do not use macros from bp-asm.h.
24420 (__clone): Do not use BP_SYM.
24421 (clone): Do not use BP_SYM in weak_alias.
24422 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24424 (PARMS): Do not use macros from bp-asm.h.
24426 (__mmap64): Do not use BP_SYM.
24427 (mmap64): Do not use BP_SYM in weak_alias.
24428 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24429 <bp-sym.h> and <bp-asm.h>.
24430 (PARMS): Do not use macros from bp-asm.h.
24431 (__posix_fadvise64_l64): Do not use BP_SYM.
24432 * sysdeps/unix/sysv/linux/i386/semtimedop.S
24433 (PARMS): Do not use macros from bp-asm.h.
24435 (semtimedop): Do not use BP_SYM.
24436 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24439 2013-02-21 Allan McRae <allan@archlinux.org>
24441 * manual/message.texi (Charset conversion in gettext):
24442 Move @end statement to beginning of line.
24444 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24446 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24448 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24451 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24452 (denorm): Likewise.
24453 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24454 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24456 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24458 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24459 tail-call to the resolved function if pltexit isn't needed.
24461 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24463 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24464 or Y being zero as being unlikely.
24465 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24468 2013-02-20 Carlos O'Donell <carlos@redhat.com>
24470 * manual/nss.texi (System Databases and Name Service Switch):
24471 Remove frobnicate @pxref.
24473 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24475 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24476 __attribute__ ((unused)) to __attribute__ ((__unused__)).
24478 2013-02-20 Petr Machata <pmachata@redhat.com>
24480 * elf/elf.h (R_ARM_TARGET1): New macro.
24481 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24482 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24483 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24484 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24485 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24486 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24487 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24488 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24489 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24490 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24491 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24492 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24493 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24494 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24495 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24496 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24497 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24498 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24499 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24500 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24501 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24502 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24503 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24504 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24505 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24506 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24507 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24508 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24509 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24510 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24511 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24512 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24513 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24514 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24515 (R_ARM_THM_GOT_BREL12): Likewise.
24516 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24517 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24518 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24519 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24520 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24521 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24522 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24523 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24524 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24526 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24528 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24529 __attribute_used__ to __attribute__ ((unused)).
24531 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24533 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24535 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24536 comment formatting.
24537 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24539 2013-02-19 Joseph Myers <joseph@codesourcery.com>
24542 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24544 (ENTER): Remove both macro definitions.
24546 (CHECK_BOUNDS_LOW): Likewise.
24547 (CHECK_BOUNDS_HIGH): Likewise.
24548 (CHECK_BOUNDS_BOTH): Likewise.
24549 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24550 (RETURN_BOUNDED_POINTER): Likewise.
24551 (RETURN_NULL_BOUNDED_POINTER): Likewise.
24552 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24553 (POP_ERRNO_LOCATION_RETURN): Likewise.
24554 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24555 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24556 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24558 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24559 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24560 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24561 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24562 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24563 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24564 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24565 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24566 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24567 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24568 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24569 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24570 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24571 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24573 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24574 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24576 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24577 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24578 * sysdeps/i386/i586/memset.S (memset): Likewise.
24579 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24580 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24581 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24583 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24584 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24585 Change uses of L(2) to L(out).
24586 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24587 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24588 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24589 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24590 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24592 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24593 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24595 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24596 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24597 (RETURN): Do not use macro LEAVE.
24598 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24599 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24600 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24601 * sysdeps/i386/i686/memset.S (memset): Likewise.
24602 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24603 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24604 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24605 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24607 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24608 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
24609 L(1_2) and L(1_3) into L(1).
24610 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24611 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24612 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24613 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24614 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24615 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24616 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24617 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24618 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24620 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24621 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24622 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24623 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24624 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24625 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24626 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24627 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24628 * sysdeps/i386/strcspn.S (strcspn): Likewise.
24629 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24630 * sysdeps/i386/strrchr.S (strrchr): Likewise.
24631 * sysdeps/i386/strspn.S (strspn): Likewise.
24632 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24634 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24635 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24636 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24637 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
24638 L(1_3) into L(1_1).
24639 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24640 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24641 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24643 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24645 2013-02-19 Jakub Jelinek <jakub@redhat.com>
24647 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24650 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24652 * math/atest-exp.c (exp_mpn): Remove ROUND.
24653 * math/atest-exp2.c (exp_mpn): Likewise.
24654 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24656 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24657 * stdlib/tst-tls-atexit-lib.c: Likewise.
24658 * stdlib/tst-tls-atexit.c: Likewise.
24660 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24662 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24663 and __attribute_alloc_size__.
24665 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24667 * include/programs/xmalloc.h: Change __attribute_alloc_size to
24668 __attribute_alloc_size__.
24669 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24670 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24672 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24674 * include/programs/xmalloc.h: New file.
24675 * catgets/gencat.c: Include it.
24676 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24677 * elf/pldd.c: Likewise.
24678 * iconv/iconv_charmap.c: Likewise.
24679 * iconv/iconvconfig.c: Likewise.
24680 * iconv/strtab.c: Likewise.
24681 * locale/programs/locale.c: Likewise.
24682 * locale/programs/localedef.h: Likewise.
24683 * locale/programs/simple-hash.c: Likewise.
24684 * nscd/nscd.h: Likewise.
24685 * nss/makedb.c: Likewise.
24686 * sysdeps/generic/ldconfig.h: Likewise.
24688 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24690 * Versions.def: Add GLIBC_2.18.
24691 * include/link.h (struct link_map): New member l_tls_dtor_count.
24692 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24693 (__call_tls_dtors): Likewise.
24694 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24695 __cxa_thread_atexit_impl.
24696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24704 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24707 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24709 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24710 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24712 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24713 (tests): Add test case tst-tls-atexit.
24714 (modules-names): Add shared library for tst-tls-atexit.
24715 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24716 (GLIBC_PRIVATE): Add __call_tls_dtors.
24717 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24719 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24720 * stdlib/tst-tls-atexit.c: New test case.
24721 * stdlib/tst-tls-atexit-lib.c: New test case.
24723 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24725 * elf/Versions (ld): Add _dl_find_dso_for_object.
24726 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24727 * elf/dl-open.c (_dl_find_dso_for_object): New function.
24728 (dl_open_worker): Use _dl_find_dso_for_object.
24729 * elf/dl-sym.c (do_sym): Likewise.
24730 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24732 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24734 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24735 Syntactic changes only.
24736 (_dl_runtime_profile): Do a tail-call to the resolved function.
24738 2013-02-17 Joseph Myers <joseph@codesourcery.com>
24741 * sysdeps/x86_64/bp-asm.h: Remove file.
24742 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24743 <bp-sym.h> and <bp-asm.h>.
24744 (__clone): Do not use BP_SYM.
24745 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24746 <bp-sym.h> and <bp-asm.h>.
24747 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24748 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24750 (_setjmp): Do not use BP_SYM.
24751 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24753 (setjmp): Do not use BP_SYM.
24754 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24756 (mempcpy): Do not use BP_SYM in weak_alias.
24757 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24759 (strchr): Do not use BP_SYM.
24760 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24762 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24763 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24764 (_start): Do not use BP_SYM.
24765 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24767 (strcat): Do not use BP_SYM.
24768 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24770 (STRCMP): Do not use BP_SYM.
24771 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24773 (STRCPY): Do not use BP_SYM.
24774 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24776 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24778 (FUNCTION): Do not use BP_SYM.
24779 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24781 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24783 2013-02-17 Andreas Jaeger <aj@suse.de>
24785 * time/Versions: Sort entries.
24786 * string/Versions: Likewise.
24787 * resolv/Versions: Likewise.
24788 * posix/Versions: Likewise.
24789 * iconv/Versions: Likewise.
24790 * elf/Versions: Likewise.
24791 * wcsmbs/Versions: Likewise.
24793 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24795 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24796 loop termination condition.
24798 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24799 variable to calculate EZ.
24802 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24803 the lower precision input.
24805 2013-02-15 Joseph Myers <joseph@codesourcery.com>
24808 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24809 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24810 (run-via-rtld-prefix): Do not handle %-bp tests.
24811 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24812 (all-object-suffixes): Remove .ob.
24813 (bppfx): Remove variable.
24814 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24815 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24816 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24817 [$(build-bounded) = yes] (libtype.ob): Likewise.
24818 * Makerules (elide-routines.ob): Remove variable.
24819 (do-tests-clean): Do not handle *-bp.out.
24820 (common-mostlyclean): Do not handle *-bp and *-bp.out.
24821 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24822 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24823 (tests): Do not include $(tests-bp.out).
24824 (xtests): Do not include $(xtests-bp.out).
24825 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24826 [$(build-bounded) = yes] ($(addprefix
24827 $(objpfx),$(binaries-bounded))): Remove rule.
24828 ($(objpfx)%-bp.out): Remove rule.
24829 * config.make.in (build-bounded): Remove variable.
24830 * crypt/Makefile [$(build-bounded) = yes]
24831 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24832 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24833 append to variable.
24834 [$(build-bounded) = yes] (install-lib): Likewise.
24835 [$(build-bounded) = yes] (generated): Likewise.
24836 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24838 * intl/Makefile [$(build-bounded) = yes]
24839 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24840 * math/Makefile [$(build-bounded) = yes]
24841 ($(tests:%=$(objpfx)%-bp): Likewise.
24842 * misc/Makefile [$(build-bounded) = yes]
24843 ($(objpfx)tst-tsearch-bp): Likewise.
24844 * nptl/Makeconfig (bounded-thread-library): Remove variable.
24845 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24847 * string/Makefile (o-objects.ob): Remove variable.
24848 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24849 (CFLAGS-.ob): Remove variable.
24850 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24851 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24852 both definitions of variable.
24853 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24854 (ASFLAGS-.ob): Remove variable.
24856 2013-02-14 Joseph Myers <joseph@codesourcery.com>
24859 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24860 Remove __BOUNDED_POINTERS__ from condition.
24861 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24862 * string/bits/string2.h [!__NO_STRING_INLINES &&
24863 !__BOUNDED_POINTERS__]: Likewise.
24864 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24866 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24867 Remove conditional code.
24868 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24869 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24870 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24874 * csu/libc-start.c: Do not include <bp-sym.h>.
24875 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24876 * elf/dl-open.c: Do not include <bp-sym.h>.
24877 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24878 * math/fegetenv.c: Do not include <bp-sym.h>.
24879 (fegetenv): Do not use BP_SYM in versioned symbols.
24880 * nptl/sysdeps/pthread/bits/libc-lockP.h
24881 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24884 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24886 (__pthread_mutex_destroy): Likewise.
24887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24888 (__pthread_mutex_lock): Likewise.
24889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24890 (__pthread_mutex_trylock): Likewise.
24891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24892 (__pthread_mutex_unlock): Likewise.
24893 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24894 (__pthread_mutexattr_init): Likewise.
24895 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24896 (__pthread_mutexattr_destroy): Likewise.
24897 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24898 (__pthread_mutexattr_settype): Likewise.
24899 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24900 (__pthread_rwlock_init): Likewise.
24901 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24902 (__pthread_rwlock_destroy): Likewise.
24903 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24904 (__pthread_rwlock_rdlock): Likewise.
24905 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24906 (__pthread_rwlock_tryrdlock): Likewise.
24907 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24908 (__pthread_rwlock_wrlock): Likewise.
24909 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24910 (__pthread_rwlock_trywrlock): Likewise.
24911 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24912 (__pthread_rwlock_unlock): Likewise.
24913 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24914 (__pthread_key_create): Likewise.
24915 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24916 (__pthread_setspecific): Likewise.
24917 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24918 (__pthread_getspecific): Likewise.
24919 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24921 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24922 (_pthread_cleanup_push_defer): Likewise.
24923 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24924 (_pthread_cleanup_pop_restore): Likewise.
24925 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24926 (pthread_setcancelstate): Likewise.
24927 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24929 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24930 (memchr): Do not use BP_SYM in weak_alias.
24931 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24932 (fegetenv): Do not use BP_SYM in versioned symbols.
24933 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24934 (fesetenv): Do not use BP_SYM in versioned symbols.
24935 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24936 (feupdateenv): Do not use BP_SYM in versioned symbols.
24937 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24938 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24939 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24940 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24941 (open64): Do not use BP_SYM in weak_alias.
24942 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24943 (fegetenv): Do not use BP_SYM in versioned symbols.
24944 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24945 (fesetenv): Do not use BP_SYM in versioned symbols.
24946 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24947 (feupdateenv): Do not use BP_SYM in versioned symbols.
24948 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24949 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24950 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24951 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24952 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24953 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24954 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24956 (__libc_start_main): Do not use BP_SYM.
24958 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24960 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24961 redundant return line.
24963 (denorm): Likewise.
24964 (dbl_mp): Likewise.
24965 (sub_magnitudes): Likewise.
24971 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24973 (denorm): Likewise.
24974 (dbl_mp): Likewise.
24975 (sub_magnitudes): Likewise.
24982 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24984 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24985 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24988 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24989 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24990 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24991 of __mul for squares.
24992 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24994 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24996 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24997 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24999 2013-02-13 Joseph Myers <joseph@codesourcery.com>
25002 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25004 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25005 prototype or function definition. Rename ubp_* variables and
25006 parameters. Remove argv definitions conditional on
25007 [__BOUNDED_POINTERS__].
25008 * debug/backtrace.c (__backtrace): Do not use __unbounded.
25009 * elf/dl-runtime.c (_dl_fixup): Likewise.
25010 * include/set-hooks.h (RUN_HOOK): Likewise.
25011 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25013 * string/strcpy.c (strcpy): Do not use __unbounded.
25014 * sysdeps/generic/frame.h (struct layout): Likewise.
25015 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25016 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25017 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25018 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25019 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25020 (__backtrace): Likewise.
25021 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25023 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25024 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25025 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25027 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25028 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25029 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25030 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25031 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25032 Do not use __unbounded.
25033 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25034 Rename __unboundedrlimits parameter to rlimits in prototype.
25035 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25036 Do not use __unbounded.
25037 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25038 not use __ptrvalue.
25039 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25040 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25041 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25042 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25043 __ptrvalue or __unbounded.
25044 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25045 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25047 (__new_msgctl): Do not use __ptrvalue.
25048 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25050 (__libc_msgrcv): Do not use __ptrvalue.
25051 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25052 startup_info): Do not use __unbounded.
25053 (__libc_start_main): Likewise. Rename ubp_* variables and
25054 parameters. Remove argv definitions conditional on
25055 [__BOUNDED_POINTERS__].
25056 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25058 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25060 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25062 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25064 (__new_shmctl): Do not use __ptrvalue.
25065 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25066 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25068 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25069 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25070 (__libc_sigaction): Likewise.
25071 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25072 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25074 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25076 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
25078 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
25080 * string/mempcpy.c: Implement by calling memcpy.
25082 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25084 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25086 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25089 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25090 values in the mantissa.
25092 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25093 minimize writes to Z.
25094 (sub_magnitudes): Simplify code a bit.
25096 2013-02-12 Roland McGrath <roland@hack.frob.com>
25098 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25099 from the message. The linker prefixes all warnings with that already.
25101 2013-02-12 Andreas Schwab <schwab@suse.de>
25104 * posix/regexec.c (extend_buffers): Add parameter min_len.
25105 (check_matching): Pass minimum needed length.
25106 (clean_state_log_if_needed): Likewise.
25107 (get_subexp): Likewise.
25108 * posix/Makefile (tests): Add bug-regex34.
25109 (bug-regex34-ENV): Define.
25110 * posix/bug-regex34.c: New file.
25113 * posix/regcomp.c (parse_bracket_exp): When looking up collating
25114 elements compare against the byte sequence of it, not its name.
25115 * posix/Makefile (tests): Add bug-regex35.
25116 (bug-regex35-ENV): Define.
25117 * posix/bug-regex35.c: New file.
25119 2013-02-11 Tom de Vries <tom@codesourcery.com>
25121 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
25123 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25124 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25125 (CHECK_EOL): Add undef.
25127 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
25129 * bits/stdlib-bsearch.h: New file.
25130 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25131 * stdlib/stdlib.h: Likewise.
25133 2013-02-11 Roland McGrath <roland@hack.frob.com>
25135 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25136 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25138 * manual/search.texi (Array Search Function): Add missing const in
25140 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25141 declaration to use rlim_t.
25142 (Basic Scheduling Functions): Remove erroneous const from
25143 sched_getparam prototype. Remove erroneous * from
25144 sched_get_priority_max and sched_get_priority_min prototypes.
25145 (Resource Usage): Fix summary @comment on vtimes to refer to
25146 sys/vtimes.h rather than vtimes.h.
25147 Add missing *s in vtimes prototype.
25148 (Limits on Resources): Fix ulimit prototype to return long int.
25149 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25150 prototypes to use long int rather than double.
25151 (BSD Random): Fix initstate and setstate to use char *, not void *.
25152 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25153 prototype to make second argument 'struct aiocb64 *const[]'.
25154 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25155 (Status of AIO Operations): Remove erroneous const in aio_return and
25156 aio_return64 prototypes.
25157 (Synchronizing I/O): Fix sync prototype to return void.
25158 * manual/startup.texi (Suboptions): Remove an erroneous const in
25159 getsubopt prototype.
25160 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25161 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25162 use size_t rather than int.
25163 (Scanning All Users): Likewise for getpwent_r.
25164 (Setting Groups): Add missing const to setgroups prototype.
25165 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25166 * manual/socket.texi (Host Names): Fix gethostbyaddr and
25167 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25168 'const void *' rather than 'const char *'.
25169 (Host Address Functions): Likewise for inet_ntop.
25170 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25171 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25172 ssize_t for return value.
25173 (Sending Data): Likewise for send, sendto, sendmsg.
25174 (Socket Option Functions): Add a missing const in setsockopt prototype.
25175 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25176 use wchar_t for the argument.
25177 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25178 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25180 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25181 double/float/long double for second argument.
25182 Fix return types of significand, significandf, significandl.
25183 * manual/filesys.texi (Setting Permissions): Use mode_t for second
25184 argument in fchmod prototype.
25185 (File Owner): Use uid_t and gid_t in fchown prototype.
25186 (File Times): Add const to utimes, futimes, and lutimes prototypes.
25187 (Making Special Files): Use mode_t and dev_t in mknod prototype.
25188 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25189 use 'const struct dirent **' as argument types to CMP function pointer
25191 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25192 (File Times): Fix summary magic @comment for struct utimbuf and utime
25193 to refer to utime.h, not time.h.
25194 * manual/string.texi (Argz Functions): Add missing const in
25195 argz_extract and argz_next prototypes.
25196 (Finding Tokens in a String): Likewise for basename.
25197 (String/Array Comparison): Fix typo in wcscasecmp prototype.
25198 (Copying and Concatenation): Fix typo in wmemmove prototype.
25199 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25200 (Signal Stack): Remove erroneous const in sigstack prototype.
25201 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25203 (Simple Calendar Time): Likewise for stime.
25204 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25206 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25207 say sys/sysctl.h instead.
25208 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25209 and vsyslog prototypes.
25211 2013-02-11 Tom de Vries <tom@codesourcery.com>
25213 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25216 2013-02-11 Roland McGrath <roland@hack.frob.com>
25218 * misc/sys/mman.h: Fix typo in mremap comment.
25220 2013-02-08 Roland McGrath <roland@hack.frob.com>
25222 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25223 the '\0' terminator.
25225 2013-02-08 Joseph Myers <joseph@codesourcery.com>
25228 * debug/segfault.c: Don't include <bp-checks.h>.
25229 * sysdeps/generic/bp-checks.h: Remove file.
25230 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25231 (__GETDENTS): Don't use CHECK_N.
25232 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25233 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25234 (__getgroups): Don't use CHECK_N.
25235 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25236 (setgroups): Don't use CHECK_N.
25237 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25238 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25239 (__libc_msgrcv): Don't use CHECK_N.
25240 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25241 (__libc_msgsnd): Don't use CHECK_N.
25242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25244 (__libc_pread): Don't use CHECK_N.
25245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25246 include <bp-checks.h>.
25247 (__libc_pread64): Don't use CHECK_N.
25248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25249 include <bp-checks.h>.
25250 (__libc_pwrite): Don't use CHECK_N.
25251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25252 include <bp-checks.h>.
25253 (__libc_pwrite64): Don't use CHECK_N.
25254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25256 (__libc_pread): Don't use CHECK_N.
25257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25258 include <bp-checks.h>.
25259 (__libc_pread64): Don't use CHECK_N.
25260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25261 include <bp-checks.h>.
25262 (__libc_pwrite): Don't use CHECK_N.
25263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25264 include <bp-checks.h>.
25265 (__libc_pwrite64): Don't use CHECK_N.
25266 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25267 (do_pread): Don't use CHECK_N.
25268 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25269 (do_pread64): Don't use CHECK_N.
25270 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25271 (do_pwrite): Don't use CHECK_N.
25272 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25273 (do_pwrite64): Don't use CHECK_N.
25274 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25275 (__libc_readv): Don't use CHECK_N.
25276 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25277 (semop): Don't use CHECK_N.
25278 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25280 (semtimedop): Don't use CHECK_N.
25281 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25282 (__libc_pread): Don't use CHECK_N.
25283 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25285 (__libc_pread64): Don't use CHECK_N.
25286 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25288 (__libc_pwrite): Don't use CHECK_N.
25289 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25291 (__libc_pwrite64): Don't use CHECK_N.
25292 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25294 (__libc_msgrcv): Don't use CHECK_N.
25295 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25296 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
25297 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25298 (__libc_writev): Don't use CHECK_N.
25300 2013-02-08 Roland McGrath <roland@hack.frob.com>
25302 * string/strcpy.c: Removed unused variable.
25304 * Makeconfig (+sysdep-includes): Define with := rather than =.
25305 Use an existing include/ subdir of each sysdeps dir before it.
25307 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25309 * nscd/connection.c (register_traced_file): Comment function.
25310 [HAVE_INOTIFY] (union __inev): Define.
25311 [HAVE_INOTIFY] (inotify_check_files): New function.
25312 [HAVE_INOTIFY] (clear_db_cache): Likewise.
25313 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25315 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25317 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25319 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25320 loaded if not already and that a failure is permanent.
25322 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25325 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25326 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25328 2013-02-08 Joseph Myers <joseph@codesourcery.com>
25331 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25332 (CHECK_1_NULL_OK): Likewise.
25333 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25334 (__fxstat): Do not use CHECK_1.
25335 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25337 (___fxstat64): Do not use CHECK_1.
25338 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25340 (__fxstatat): Do not use CHECK_1.
25341 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25343 (__fxstatat64): Do not use CHECK_1.
25344 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25346 (__fxstat): Do not use CHECK_1.
25347 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25349 (__fxstatat): Do not use CHECK_1.
25350 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25352 (__getresgid): Do not use CHECK_1.
25353 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25355 (__getresuid): Do not use CHECK_1.
25356 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25358 (__lxstat): Do not use CHECK_1.
25359 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25361 (__old_msgctl): Do not use CHECK_1.
25362 (__new_msgctl): Likewise.
25363 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25365 (__new_setrlimit): Do not use CHECK_1.
25366 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25368 (__old_shmctl): Do not use CHECK_1.
25369 (__new_shmctl): Likewise.
25370 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25372 (__xstat): Do not use CHECK_1.
25373 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25374 (__lxstat): Do not use CHECK_1.
25375 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25377 (___lxstat64): Do not use CHECK_1.
25378 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25379 (__old_msgctl): Do not use CHECK_1.
25380 (__new_msgctl): Likewise.
25381 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25383 (__gettimeofday): Do not use CHECK_1.
25384 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25385 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25386 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25388 (__gettimeofday): Do not use CHECK_1.
25389 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25390 (__old_shmctl): Do not use CHECK_1_NULL_OK.
25391 (__new_shmctl): Do not use CHECK_1.
25392 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25394 (do_sigtimedwait): Do not use CHECK_1.
25395 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25397 (do_sigwaitinfo): Do not use CHECK_1.
25398 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25400 (msgctl): Do not use CHECK_1.
25401 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25403 (shmctl): Do not use CHECK_1.
25404 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25405 (ustat): Do not use CHECK_1.
25406 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25408 (__fxstat): Do not use CHECK_1.
25409 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25411 (__fxstatat): Do not use CHECK_1.
25412 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25414 (__lxstat): Do not use CHECK_1.
25415 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25417 (__xstat): Do not use CHECK_1.
25418 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25419 (__xstat): Do not use CHECK_1.
25420 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25421 (___xstat64): Do not use CHECK_1.
25424 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25426 (CHECK_BOUNDS_HIGH): Likewise.
25427 * string/strcpy.c: Do not include <bp-checks.h>.
25428 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25430 2013-02-07 Roland McGrath <roland@hack.frob.com>
25432 * nscd/nscd-client.h (__nscd_drop_map_ref):
25433 Add __attribute__ ((unused)).
25434 * nis/nss-nisplus.h (niserr2nss): Likewise.
25436 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25437 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25439 * csu/libc-tls.c (init_static_tls, init_slotinfo):
25440 Remove inline keyword.
25441 * include/rounding-mode.h (round_away): Likewise.
25442 * libio/wfileops.c (adjust_wide_data): Likewise.
25443 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25444 (__m128i_strloadu_tolower): Likewise.
25445 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25446 (__m128i_strloadu_tolower): Likewise.
25447 * time/mktime.c (ydhms_diff): Likewise.
25448 * locale/elem-hash.h (elem_hash): Likewise.
25449 * locale/setlocale.c (setdata): Likewise.
25450 * posix/regex_internal.h (re_string_char_size_at): Likewise.
25451 (re_string_wchar_at): Likewise.
25452 (bitset_not, bitset_merge, bitset_mask): Likewise.
25453 [!(__GNUC__ > 3)] (inline): Remove macro.
25454 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25455 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25456 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25457 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25458 * string/memcmp.c (memcmp_bytes): Likewise.
25459 * locale/programs/locarchive.c (compute_hashval): Likewise.
25460 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25461 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25462 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25463 * nss/getent.c (print_rpc, print_protocols): Likewise.
25464 (print_passwd, print_group, print_aliases): Likewise.
25465 * nis/nss-nisplus.h (niserr2nss): Likewise.
25466 * nscd/connections.c (restart_p): Likewise.
25467 Change return type to bool.
25469 2013-02-05 Roland McGrath <roland@hack.frob.com>
25471 * Makeconfig (all-Depend-files): Add existing
25472 $(sorted-subdirs:=/Depend) files.
25473 (all-subdirs): Remove nss.
25474 * sysdeps/unix/inet/Subdirs: Add it here instead.
25475 * hesiod/Depend: New file.
25477 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25478 instead of calling alloca.
25480 * io/lseek.c (__lseek): Rename to __libc_lseek.
25481 Define __lseek as an alias.
25483 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25485 2013-02-04 Carlos O'Donell <carlos@redhat.com>
25487 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25488 else clause and remove check for non-standard endianness.
25490 2013-02-04 David S. Miller <davem@davemloft.net>
25492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25494 2013-02-04 Joseph Myers <joseph@codesourcery.com>
25497 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25498 (__ubp_memchr): Remove prototype.
25499 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25500 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25501 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25502 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25503 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25505 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25506 (__ubp_memchr): Likewise.
25507 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25508 (__ubp_memchr): Likewise.
25509 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25510 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25511 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25512 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25514 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25515 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25516 (__getcwd): Do not use CHECK_STRING.
25517 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25519 (__real_chown): Do not use CHECK_STRING.
25520 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25522 (fchownat): Do not use CHECK_STRING.
25523 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25525 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25527 (__lchown): Do not use CHECK_STRING.
25528 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25529 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25530 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25531 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25533 include <bp-checks.h>.
25534 (truncate64): Do not use CHECK_STRING.
25535 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25537 (__real_chown): Do not use CHECK_STRING.
25538 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25540 (__lchown): Do not use CHECK_STRING.
25541 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25543 (__chown): Do not use CHECK_STRING.
25544 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25546 (truncate64): Do not use CHECK_STRING.
25547 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25549 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25550 (__xmknod): Do not use CHECK_STRING.
25551 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25553 (__xmknodat): Do not use CHECK_STRING.
25554 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25555 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25557 2013-02-04 Andreas Schwab <schwab@suse.de>
25560 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25561 * include/netdb.h: Likewise for h_errno.
25562 * elf/tst-stackguard1.c: Include <tls.h>.
25564 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
25566 * elf/link.h (struct link_map): Extend the l_addr comment.
25567 * include/link.h (struct link_map): Likewise.
25569 2013-02-01 Joseph Myers <joseph@codesourcery.com>
25572 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25573 (BOUNDED_1): Remove macro.
25574 * debug/backtrace.c: Don't include <bp-checks.h>.
25575 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25576 (__backtrace): Likewise.
25577 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25579 (__backtrace): Don't use BOUNDED_1.
25580 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25582 (__backtrace): Don't use BOUNDED_1.
25583 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25584 (__backtrace): Don't use BOUNDED_1.
25585 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25586 (shmat): Don't use BOUNDED_N.
25588 2013-01-31 Joseph Myers <joseph@codesourcery.com>
25591 * sysdeps/generic/bp-start.h: Remove file.
25592 * csu/libc-start.c: Don't include <bp-start.h>.
25593 (LIBC_START_MAIN): Set up __environ directly instead of using
25594 INIT_ARGV_and_ENVIRON.
25595 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25599 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25601 (CHECK_FCNTL): Likewise.
25602 (CHECK_N_PAGES): Likewise.
25605 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25607 (CHECK_SIGSET_NULL_OK): Likewise.
25608 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25610 (sigpending): Don't use CHECK_SIGSET.
25611 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25613 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25614 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25616 (do_sigsuspend): Don't use CHECK_SIGSET.
25617 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25619 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25620 (do_sigwait): Don't use CHECK_SIGSET.
25621 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25623 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25624 include <bp-checks.h>.
25625 (sigpending): Don't use CHECK_SIGSET.
25626 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25627 include <bp-checks.h>.
25628 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25629 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25631 (sigpending): Don't use CHECK_SIGSET.
25632 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25634 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25637 * sysdeps/generic/bp-semctl.h: Remove file.
25638 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25639 <bp-checks.h> and <bp-semctl.h>.
25640 (__old_semctl): Don't use CHECK_SEMCTL.
25641 (__new_semctl): Likewise.
25642 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25644 (__old_semctl): Don't use CHECK_SEMCTL.
25645 (__new_semctl): Likewise.
25646 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25647 <bp-checks.h> and <bp-semctl.h>.
25648 (__old_semctl): Don't use CHECK_SEMCTL.
25649 (__new_semctl): Likewise.
25650 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25651 <bp-checks.h> and <bp-semctl.h>.
25652 (semctl): Don't use CHECK_SEMCTL.
25655 * Makerules (elide-bp-thunks): Remove variable.
25656 (elide-routines.oS): Don't use $(elide-bp-thunks).
25657 (elide-routines.os): Likewise.
25658 (elide-routines.o): Likewise.
25659 (elide-routines.op): Likewise.
25660 (elide-routines.og): Likewise.
25661 (objects): Don't use $(bp-thunks).
25662 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25664 (common-generated): Do not add s-proto-bp.d.
25665 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25668 Do not generate makefile rules for bounded-pointer thunks.
25669 * sysdeps/generic/bp-thunks.h: Remove file.
25670 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25671 * sysdeps/unix/s-proto-bp.S: Likewise.
25674 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25675 parts of result separately when argument is not close to line from
25676 -i to i and one part of argument is small.
25677 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25678 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25679 * math/libm-test.inc (cacos_test): Add more tests.
25680 (casin_test): Likewise.
25681 (casinh_test): Likewise.
25682 * sysdeps/i386/fpu/libm-test-ulps: Update.
25683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25685 2013-01-31 David S. Miller <davem@davemloft.net>
25687 * po/de.po: Update from translation team.
25689 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
25691 * time/tzfile.c: Include stdint.h for SIZE_MAX.
25693 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
25695 * configure.in (_AC_PROG_CC_C89): New definition.
25696 * configure: Regenerate.
25698 * configure.in (AC_PROG_CPP): New definition.
25699 * configure: Regenerate.
25701 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25703 * debug/tst-backtrace.h: New file.
25704 * debug/tst-backtrace2.c: Include tst-backtrace.h.
25705 (ret): Remove variable.
25707 (FAIL): Remove macro.
25708 (NO_INLINE): Likewise.
25709 (fn1): Use match function instead of strstr.
25710 * debug/tst-backtrace3.c: Include tst-backtrace.h.
25711 (ret): Remove variable.
25713 (FAIL): Remove macro.
25714 (NO_INLINE): Likewise.
25715 (fn): Use match function instead of strstr.
25716 * debug/tst-backtrace4.c: Include tst-backtrace.h.
25717 (ret): Remove variable.
25719 (FAIL): Remove macro.
25720 (NO_INLINE): Likewise.
25721 (handle_signal): Use match function instead of strstr.
25722 * debug/tst-backtrace5.c: Include tst-backtrace.h.
25723 (ret): Remove variable.
25725 (FAIL): Remove macro.
25726 (NO_INLINE): Likewise.
25727 (handle_signal): Use match function instead of strstr.
25729 2013-01-23 Roland McGrath <roland@hack.frob.com>
25731 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25733 2013-01-23 David S. Miller <davem@davemloft.net>
25735 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25736 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25737 argument of CAS if possible.
25738 * sysdeps/sparc/sparc64/bits/atomic.h
25739 (__arch_compare_and_exchange_val_32_acq): Likewise.
25740 (__arch_compare_and_exchange_val_64_acq): Likewise.
25742 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25744 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25745 * sysdeps/posix/ulimit.c: ... this.
25746 Include <limits.h>.
25747 * sysdeps/unix/bsd/ulimit.c: Remove file.
25749 2013-01-23 Adam Conrad <adconrad@0c3.net>
25751 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25752 (LDFLAGS-tst-array5): Likewise.
25754 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25757 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25758 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25759 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25760 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25762 2013-01-21 David S. Miller <davem@davemloft.net>
25764 * sysdeps/sparc/backtrace.c: New file.
25765 * sysdeps/sparc/sparc32/backtrace.h: New file.
25766 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25767 * sysdeps/sparc/sparc64/backtrace.h: New file.
25768 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25769 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25772 2013-01-21 Andreas Schwab <schwab@suse.de>
25775 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25778 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25780 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25782 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25784 2013-01-18 Joseph Myers <joseph@codesourcery.com>
25785 Mark Mitchell <mark@codesourcery.com>
25786 Tom de Vries <tom@codesourcery.com>
25787 Paul Pluzhnikov <ppluzhnikov@google.com>
25789 * debug/tst-backtrace2.c: New file.
25790 * debug/tst-backtrace3.c: Likewise.
25791 * debug/tst-backtrace4.c: Likewise.
25792 * debug/tst-backtrace5.c: Likewise.
25793 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25794 (CFLAGS-tst-backtrace3.c): Likewise.
25795 (CFLAGS-tst-backtrace4.c): Likewise.
25796 (CFLAGS-tst-backtrace5.c): Likewise.
25797 (LDFLAGS-tst-backtrace2): Likewise.
25798 (LDFLAGS-tst-backtrace3): Likewise.
25799 (LDFLAGS-tst-backtrace4): Likewise.
25800 (LDFLAGS-tst-backtrace5): Likewise.
25801 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25802 tst-backtrace4 and tst-backtrace5.
25804 2013-01-18 Anton Blanchard <anton@samba.org>
25805 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25807 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25808 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25809 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25810 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25812 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25813 "+r" and remove output regs list as redundant. Add explicit inline
25814 asm to specify register of return val to work around compiler codegen
25815 bug. Remove (int) cast on return value. Add return type parameter to
25816 use in macro so that this macro does not truncate return value for
25818 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25819 pass to INTERNAL_VSYSCALL_NCS.
25820 (INLINE_VSYSCALL): Add 'long int' as return type to
25821 INTERNAL_VSYSCALL_NCS macro invocation.
25822 (INTERNAL_VSYSCALL): Add 'long int' as return type to
25823 INTERNAL_VSYSCALL_NCS macro invocation.
25824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25826 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25829 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25830 Fix application of SIMD FP exception mask.
25832 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25833 mp_no from a power of two.
25834 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25835 __mpexp_twomm1. Use __pow_mp.
25837 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25840 2013-01-17 David S. Miller <davem@davemloft.net>
25842 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25844 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25847 * include/complex.h: Condition contents on [!_COMPLEX_H].
25848 (__kernel_casinhf): New prototype.
25849 (__kernel_casinh): Likewise.
25850 (__kernel_casinhl): Likewise.
25851 * math/Makefile (libm_calls): Add k_casinh.
25852 * math/k_casinh.c: New file.
25853 * math/k_casinhf.c: Likewise.
25854 * math/k_casinhl.c: Likewise.
25855 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25856 finite nonzero arguments.
25857 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25858 finite nonzero arguments.
25859 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25860 finite nonzero arguments.
25861 * math/s_casinh.c: Do not include <float.h>.
25862 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25863 * math/s_casinhf.c: Do not include <float.h>.
25864 (__casinhf): Move code for finite nonzero arguments to
25866 * math/s_casinhl.c: Do not include <float.h>.
25867 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25869 (__casinhl): Move code for finite nonzero arguments to
25871 * math/libm-test.inc (cacos_test): Add more tests.
25872 * sysdeps/i386/fpu/libm-test-ulps: Update.
25873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25875 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
25877 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25878 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25879 [!HAVE_MREMAP]: Remove [defined linux] case.
25880 * malloc/arena.c: Do not include <malloc-sysdep.h>.
25882 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25884 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25886 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
25888 * elf/elf.h (R_386_SIZE32): New relocation.
25889 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25891 (elf_machine_rela): Likewise.
25892 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25893 R_X86_64_SIZE64 and R_X86_64_SIZE32.
25895 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25897 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25898 (FP_FAST_FMA): Do not define.
25899 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25900 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25901 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25902 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25903 !_SOFT_FLOAT]: Likewise.
25904 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25905 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25907 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25908 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25909 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25910 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25911 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25912 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25915 2013-01-16 Andreas Schwab <schwab@suse.de>
25918 * include/stdlib.h (__mktemp): Add declaration.
25919 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25920 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25922 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25924 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25926 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25927 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25928 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25930 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25931 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25933 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25935 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25936 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25937 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25939 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25940 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25942 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25944 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25946 2013-01-15 David S. Miller <davem@davemloft.net>
25948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25949 trunc{,f} to libm-sysdep_routes.
25950 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25960 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25961 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25962 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25963 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25964 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25965 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25968 nearbyint{,f} to libm-sysdep_routes.
25969 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25980 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25982 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25983 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25985 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25986 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25987 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25989 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25990 libc_feholdexcept and libc_fesetenv.
25992 2013-01-15 Mike Frysinger <vapier@gentoo.org>
25994 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25996 2013-01-14 David S. Miller <davem@davemloft.net>
25998 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25999 (SPARC_ASM_VIS2_IFUNC): Likewise.
26000 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26002 use of 'siam' instruction.
26003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26009 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26010 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26011 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26012 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26021 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26022 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26023 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26024 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26031 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26032 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26033 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26034 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26036 routines to libm-sysdep_routines.
26037 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26040 fdim/fdimf to libm-sysdep_routines.
26041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26049 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26050 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26051 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26052 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26054 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26056 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26057 to optimize copies.
26059 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26060 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26061 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26063 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26064 local variable MPTWO.
26065 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26068 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26070 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26073 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26075 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26077 2013-01-13 Mike Frysinger <vapier@gentoo.org>
26079 * manual/pattern.texi (glob_t): Document gl_flags.
26080 (glob64_t): Likewise.
26082 2013-01-11 David S. Miller <davem@davemloft.net>
26084 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26085 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26086 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
26087 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26088 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26089 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26090 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26091 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26092 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26093 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26094 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26095 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26096 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26098 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26099 sparc V9 rather than using V8 code.
26100 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26101 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26103 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26105 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26108 2013-01-11 Roland McGrath <roland@hack.frob.com>
26110 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26111 not in the main loop.
26112 * configure: Regenerated.
26114 2013-01-11 Joseph Myers <joseph@codesourcery.com>
26116 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26117 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26119 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
26120 [!__GLIBC_HAVE_LONG_LONG] case.
26121 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26122 condition to just #else.
26123 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26124 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26125 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26126 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26128 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26129 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26130 #elif condition to just #else.
26131 * sysdeps/unix/sysv/linux/sys/sysmacros.h
26132 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26133 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26134 #elif condition to just #else.
26136 2013-01-11 Steve Ellcey <sellcey@mips.com>
26138 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26139 (EF_MIPS_ARCH_64): Fix value.
26140 (EF_MIPS_ARCH_32R2): New.
26141 (EF_MIPS_ARCH_64R2): New.
26143 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
26145 * Makeconfig (+link-pie-before-libc): New.
26146 (+link-pie-after-libc): Likewise.
26147 (+link-pie-tests): Likewise.
26148 (+link-pie): Rewritten.
26149 (link-before-libc): Remove $(config-LDFLAGS).
26150 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26151 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26152 (config-LDFLAGS): Renamed to ...
26153 (rtld-LDFLAGS): This.
26154 (rtld-tests-LDFLAGS): New macro.
26155 (link-libc-rpath-link): Likewise.
26156 (link-libc-tests-rpath-link): Likewise.
26157 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26158 (link-libc): Prepand $(link-libc-rpath-link).
26159 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26160 (test-program-prefix): New macro.
26161 (test-via-rtld-prefix): Likewise.
26162 (test-program-cmd): Likewise.
26163 (host-test-program-cmd): Likewise.
26164 * Makefile ($(common-objpfx)testrun.sh): Replace
26165 $(run-program-prefix) with $(test-program-prefix).
26166 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26168 ($(common-objpfx)shlib.lds): Likewise.
26169 (build-module-helper): Likewise.
26170 ($(common-objpfx)format.lds): Likewise.
26171 * Rules (binaries-pie-tests): New.
26172 (binaries-pie-notests): Likewise.
26173 (binaries-pie): Rewritten.
26174 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26175 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26176 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26177 (make-test-out): Replace $(host-built-program-cmd) with
26178 $(host-test-program-cmd).
26179 * config.make.in (build-hardcoded-path-in-tests): New variable.
26180 * configure.in (--enable-hardcoded-path-in-tests): New configure
26182 (hardcoded_path_in_tests): New AC_SUBST.
26183 * configure: Regenerated.
26184 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26185 $(built-program-cmd) with $(test-program-cmd).
26186 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26187 (test_program_cmd): This.
26188 * elf/Makefile ($(objpfx)order.out): Run test with
26189 $(test-program-prefix).
26190 ($(objpfx)order2.out): Likewise.
26191 ($(objpfx)tst-initorder.out): Likewise.
26192 ($(objpfx)tst-initorder2.out): Likewise.
26193 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26194 $(test-program-cmd).
26195 ($(objpfx)tst-array1-static.out): Likewise.
26196 ($(objpfx)tst-array2.out): Likewise.
26197 ($(objpfx)tst-array3.out): Likewise.
26198 ($(objpfx)tst-array4.out): Likewise.
26199 ($(objpfx)tst-array5.out): Likewise.
26200 ($(objpfx)tst-array5-static.out): Likewise.
26201 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26202 $(test-program-cmd).
26203 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26204 $(run-program-prefix) with $(test-program-prefix).
26205 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26206 (test_program_prefix): This.
26207 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26208 $(run-program-prefix) with $(test-program-prefix).
26209 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26210 (test_program_prefix): This.
26211 * iconvdata/tst-tables.sh: Likewise.
26212 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26213 $(run-program-prefix) with $(test-program-prefix).
26214 ($(objpfx)tst-translit.out): Likewise.
26215 ($(objpfx)tst-gettext2.out): Likewise.
26216 ($(objpfx)tst-gettext4.out): Likewise.
26217 ($(objpfx)tst-gettext6.out): Likewise.
26218 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26219 (test_program_prefix): This.
26220 * intl/tst-gettext2.sh: Likewise.
26221 * intl/tst-gettext4.sh Likewise.
26222 * intl/tst-gettext6.sh: Likewise.
26223 * intl/tst-translit.sh: Likewise.
26224 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26225 with $(test-program-cmd).
26226 * libio/Makefile ($(objpfx)test-freopen.out): Replace
26227 $(run-program-prefix) with $(test-program-prefix).
26228 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26229 (test_program_prefix): This.
26230 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26231 $(run-program-prefix) with $(test-program-prefix).
26232 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26233 (test_program_prefix): This.
26234 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26235 * posix/Makefile ($(objpfx)globtest.out): Replace
26236 $(run-via-rtld-prefix) and $(test-wrapper) with
26237 $(test-program-prefix) and $(test-via-rtld-prefix).
26238 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26239 $(test-program-prefix).
26240 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26241 $(host-test-program-cmd).
26242 (tst-spawn-ARGS): Likewise.
26243 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26244 $(test-program-prefix).
26245 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26246 (test_via_rtld_prefix): This.
26247 (test_wrapper): Renamed to ...
26248 (test_program_prefix): This.
26249 (run_program_prefix): Replaced by test_program_prefix.
26250 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26251 (test_program_prefix): This.
26252 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26253 with $(host-test-program-cmd).
26254 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26255 $(run-program-prefix) with $(test-program-prefix).
26256 ($(objpfx)tst-printf.out): Likewise.
26257 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26258 $(test-program-cmd).
26259 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26260 (test_program_prefix): This.
26261 * stdio-common/tst-unbputc.sh: Likewise.
26262 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26263 $(run-program-prefix) with $(test-program-prefix).
26264 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26265 (test_program_prefix): This.
26266 * string/Makefile ($(objpfx)tst-svc.out): Replace
26267 $(built-program-cmd) with $(test-program-cmd).
26269 2013-01-11 Andreas Jaeger <aj@suse.de>
26272 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26273 value. Sync with Linux 3.7.
26275 2013-01-10 David S. Miller <davem@davemloft.net>
26277 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26278 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26279 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26281 2013-01-10 Roland McGrath <roland@hack.frob.com>
26283 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26285 * configure: Regenerated.
26287 2013-01-10 David S. Miller <davem@davemloft.net>
26289 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26290 sparc V9 rather than using V8 code.
26291 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26292 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26294 2013-01-10 Roland McGrath <roland@hack.frob.com>
26296 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26297 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26298 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26299 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26300 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26301 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26302 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26303 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26304 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26305 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26306 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26307 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26308 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26309 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26310 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26311 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26312 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26313 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26314 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26315 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26316 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26317 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26318 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26319 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26320 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26321 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26322 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26324 2013-01-10 David S. Miller <davem@davemloft.net>
26326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26328 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26330 * posix/Makefile (tests-static): New variable.
26331 (tests): Add $(tests-static).
26332 (tst-exec-static-ARGS): New variable.
26333 (tst-spawn-static-ARGS): Likewise.
26334 * posix/tst-exec-static.c: New file.
26335 * posix/tst-spawn-static.c: Likewise.
26336 * posix/tst-exec.c: Support run directly.
26337 * posix/tst-spawn.c: Likewise.
26339 2013-01-10 Joseph Myers <joseph@codesourcery.com>
26341 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26343 * math/bits/mathcalls.h (llrint): Likewise.
26344 (llround): Likewise.
26345 * stdlib/stdlib.h (struct drand48_data): Likewise.
26346 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26347 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26348 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26350 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26352 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26353 (elf_greg_t): Likewise.
26354 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26355 (__jmp_buf): Likewise.
26356 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26358 (llrint): Likewise, for all definitions.
26359 (llrintl): Likewise.
26361 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26362 Remove [__GNUC__] condition.
26363 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26364 condition to just [__USE_ISOC99].
26365 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26367 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26370 * sysdeps/unix/sysv/linux/x86/bits/environments.h
26371 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26373 (_POSIX_V6_ILP32_OFF32): Likewise.
26374 (_XBS5_ILP32_OFF32): Likewise.
26375 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26376 (__ILP32_OFFBIG_LDFLAGS): Likewise.
26378 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26380 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26382 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26383 doubles __mpexp_twomm1. Adjust usage.
26384 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26387 2013-01-10 Andreas Schwab <schwab@suse.de>
26390 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26391 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26393 2013-01-09 David S. Miller <davem@davemloft.net>
26396 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26397 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26398 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26399 (TCP_FASTOPEN): Define.
26400 (tcp_repair_opt): New structure.
26401 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26403 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26404 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26405 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26406 (tcp_cookie_transactions): New structure.
26408 2013-01-09 Anton Blanchard <anton@samba.org>
26410 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26411 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26412 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26413 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26415 2013-01-09 Joseph Myers <joseph@codesourcery.com>
26417 * include/features.h (__USE_ANSI): Remove.
26419 2013-01-09 Roland McGrath <roland@hack.frob.com>
26421 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26423 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26425 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
26427 * sysdeps/s390/fpu/libm-test-ulps: Update.
26429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26431 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26435 (denorm): Likewise.
26436 (__mp_dbl): Likewise.
26437 (__dbl_mp): Likewise.
26438 (add_magnitudes): Likewise.
26439 (sub_magnitudes): Likewise.
26445 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26449 (denorm): Likewise.
26450 (__mp_dbl): Likewise.
26451 (__dbl_mp): Likewise.
26452 (add_magnitudes): Likewise.
26453 (sub_magnitudes): Likewise.
26459 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26463 (denorm): Likewise.
26464 (__mp_dbl): Likewise.
26465 (__dbl_mp): Likewise.
26466 (add_magnitudes): Likewise.
26467 (sub_magnitudes): Likewise.
26474 2013-01-08 Joseph Myers <joseph@codesourcery.com>
26476 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26477 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26478 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26479 2 && __USE_EXTERN_INLINES]: Likewise.
26481 2013-01-08 Andreas Jaeger <aj@suse.de>
26484 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26486 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26487 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26489 2013-01-07 Anton Blanchard <anton@samba.org>
26491 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26492 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26493 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26494 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26495 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26496 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26497 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26498 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26499 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26500 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26501 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26502 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26503 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26504 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26505 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26506 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26507 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26508 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26509 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26510 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26511 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26512 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26513 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26514 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26515 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26516 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26517 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26518 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26519 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26520 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26521 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26522 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26523 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26524 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26525 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26526 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26527 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26528 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26529 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26530 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26531 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26532 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26533 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26535 2013-01-07 Joseph Myers <joseph@codesourcery.com>
26537 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26538 (__MALLOC_PMT): Likewise.
26539 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26540 [__GNUC__], only on [_LIBC].
26541 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26542 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26543 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26544 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26545 forward declaration.
26546 (realloc_hook_ini): Likewise.
26547 (memalign_hook_ini): Likewise.
26548 (__libc_memalign): Do not use __MALLOC_PMT in variable
26550 (__libc_valloc): Likewise.
26551 (__libc_pvalloc): Likewise.
26552 (__libc_calloc): Likewise.
26553 (__posix_memalign): Likewise.
26556 * math/s_casinh.c: Include <float.h>.
26557 (__casinh): Do not do computation with squaring and square root
26558 for large arguments.
26559 * math/s_casinhf.c: Include <float.h>.
26560 (__casinhf): Do not do computation with squaring and square root
26561 for large arguments.
26562 * math/s_casinhl.c: Include <float.h>.
26563 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26564 (__casinhl): Do not do computation with squaring and square root
26565 for large arguments.
26566 * math/libm-test.inc (casin_test): Add more tests.
26567 (casinh_test): Likewise.
26568 * sysdeps/i386/fpu/libm-test-ulps: Update.
26569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26571 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
26573 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26574 (__x86_64_raw_data_cache_size): Likewise.
26575 (__x86_64_data_cache_size_half): Likewise.
26576 (__x86_64_raw_data_cache_size_half): Likewise.
26577 (__x86_64_shared_cache_size): Likewise.
26578 (__x86_64_raw_shared_cache_size): Likewise.
26579 (__x86_64_shared_cache_size_half): Likewise.
26580 (__x86_64_raw_shared_cache_size_half): Likewise.
26581 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26583 (__x86_data_cache_size): This.
26584 (__x86_64_raw_data_cache_size): Renamed to ...
26585 (__x86_raw_data_cache_size): This.
26586 (__x86_64_data_cache_size_half): Renamed to ...
26587 (__x86_data_cache_size_half): This.
26588 (__x86_64_raw_data_cache_size_half): Renamed to ...
26589 (__x86_raw_data_cache_size_half): This.
26590 (__x86_64_shared_cache_size): Renamed to ...
26591 (__x86_shared_cache_size): This.
26592 (__x86_64_raw_shared_cache_size): Renamed to ...
26593 (__x86_raw_shared_cache_size): This.
26594 (__x86_64_shared_cache_size_half): Renamed to ...
26595 (__x86_shared_cache_size_half): This.
26596 (__x86_64_raw_shared_cache_size_half): Renamed to ...
26597 (__x86_raw_shared_cache_size_half): This.
26598 * sysdeps/x86_64/memcpy.S: Updated.
26599 * sysdeps/x86_64/memset.S: Likewise.
26600 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26601 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26602 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26604 2013-01-04 David S. Miller <davem@davemloft.net>
26606 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26608 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
26610 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26611 1 to avoid redefinition warning.
26612 (__USE_GNU): Don't define.
26613 (init_signaling_nan): Protoize.
26615 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26617 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26619 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26620 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26621 (__cpymn): Likewise.
26622 (norm): Remove commented code.
26623 (denorm): Likewise.
26624 (__mp_dbl): Likewise.
26626 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26627 (__cpymn): Likewise.
26628 (norm): Remove commented code.
26629 (denorm): Likewise.
26630 (__mp_dbl): Likewise.
26633 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26634 mp_no value for 1.0 and 2.0.
26635 (norm): Use RADIXI instead of radixi.d.
26636 (denorm): Likewise.
26637 (__mul): Use 0.0 instead of zero.d.
26638 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26639 mp_no value for 1.0 and 2.0.
26640 (norm): Use RADIXI instead of radixi.d.
26641 (denorm): Likewise.
26642 (__mul): Use 0.0 instead of zero.d.
26644 2013-01-04 Joseph Myers <joseph@codesourcery.com>
26647 * math/s_casinh.c (__casinh): Reduce finite argument to first
26648 quadrant then set signs of results at the end.
26649 * math/s_casinhf.c (__casinhf): Likewise.
26650 * math/s_casinhl.c (__casinhl): Likewise.
26651 * math/libm-test.inc (casin_test): Add more tests.
26652 (casinh_test): Likewise.
26653 * sysdeps/i386/fpu/libm-test-ulps: Update.
26654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26656 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26658 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26660 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26662 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26664 (denorm): Likewise.
26665 (__mp_dbl): Likewise.
26668 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26669 and adjust the header comment.
26671 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26672 variable name from declaration.
26674 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
26676 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26677 Initialize COMMON_CPUID_INDEX_7 element.
26678 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26679 (CPUID_RTM): Likewise.
26680 (HAS_RTM): Likewise.
26681 (COMMON_CPUID_INDEX_7): New enum.
26683 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
26686 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26687 size is zero, record memory as freed.
26689 2013-01-03 Andreas Jaeger <aj@suse.de>
26691 * po/ia.po: Add new Interlingua translation.
26693 2012-01-03 Allan McRae <allan@archlinux.org>
26695 * locale/programs/localedef.c: Fix description of '--posix' flag.
26697 2013-01-02 Joseph Myers <joseph@codesourcery.com>
26699 * NEWS: Update dates in second copyright notice.
26700 * README: Update copyright dates in example.
26701 * manual/libc.texinfo: Update copyright dates.
26702 * scripts/test-installation.pl: Update copyright date in --version
26705 * hurd/ctty-input.c: Fix copyright notice formatting.
26706 * hurd/ctty-output.c: Likewise.
26707 * hurd/dtable.c: Likewise.
26708 * hurd/hurd-raise.c: Likewise.
26709 * hurd/hurdprio.c: Likewise.
26710 * hurd/msgportdemux.c: Likewise.
26711 * misc/sys/file.h: Likewise.
26712 * misc/sys/ioctl.h: Likewise.
26713 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26714 * sysdeps/mach/hurd/chdir.c: Likewise.
26715 * sysdeps/mach/hurd/fchdir.c: Likewise.
26716 * sysdeps/mach/hurd/rename.c: Likewise.
26717 * sysdeps/mach/hurd/rmdir.c: Likewise.
26718 * sysdeps/mach/hurd/seekdir.c: Likewise.
26719 * sysdeps/mach/hurd/setsid.c: Likewise.
26720 * sysdeps/posix/wait3.c: Likewise.
26722 * All files with FSF copyright notices: Update copyright dates
26723 using scripts/update-copyrights.
26724 * intl/plural.c: Regenerated.
26725 * locale/programs/charmap-kw.h: Likewise.
26726 * locale/programs/locfile-kw.h: Likewise.
26728 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26730 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26733 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26734 calculation loop and add branch prediction.
26736 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26737 check access beyond bounds of m1np.
26739 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26741 (__inv): Remove local variable MPTWO to use the global
26743 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26744 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26746 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26747 MP3HALFS static const.
26749 2013-01-01 David S. Miller <davem@davemloft.net>
26751 * po/ca.po: Update from translation team.
26753 2013-01-01 Joseph Myers <joseph@codesourcery.com>
26755 * scripts/update-copyrights: New file.
26756 * Makeconfig: Reformat copyright notice.
26757 * ctype/ctype.h: Likewise.
26758 * debug/swprintf_chk.c: Likewise.
26759 * elf/dl-cache.c: Likewise.
26760 * elf/dl-debug.c: Likewise.
26761 * elf/dl-object.c: Likewise.
26762 * grp/initgroups.c: Likewise.
26763 * hurd/Makefile: Likewise.
26764 * hurd/hurd/signal.h: Likewise.
26765 * hurd/hurdfault.c: Likewise.
26766 * hurd/hurdioctl.c: Likewise.
26767 * hurd/hurdlookup.c: Likewise.
26768 * hurd/intr-msg.c: Likewise.
26769 * iconv/gconv_open.c: Likewise.
26770 * libio/swprintf.c: Likewise.
26771 * locale/lc-ctype.c: Likewise.
26772 * locale/nl_langinfo.c: Likewise.
26773 * mach/Machrules: Likewise.
26774 * mach/Makefile: Likewise.
26775 * malloc/obstack.h: Likewise.
26776 * manual/Makefile: Likewise.
26777 * manual/tsort.awk: Likewise.
26778 * misc/bits/stab.def: Likewise.
26779 * nis/nis_print_group_entry.c: Likewise.
26780 * nis/nis_table.c: Likewise.
26781 * nis/nss_compat/compat-pwd.c: Likewise.
26782 * nis/nss_compat/compat-spwd.c: Likewise.
26783 * po/Makefile: Likewise.
26784 * posix/fnmatch.c: Likewise.
26785 * posix/regex.h: Likewise.
26786 * resolv/Makefile: Likewise.
26787 * resolv/nss_dns/dns-network.c: Likewise.
26788 * resolv/res_hconf.c: Likewise.
26789 * scripts/gen-sorted.awk: Likewise.
26790 * soft-fp/soft-fp.h: Likewise.
26791 * stdio-common/printf.h: Likewise.
26792 * stdlib/monetary.h: Likewise.
26793 * stdlib/random.c: Likewise.
26794 * stdlib/random_r.c: Likewise.
26795 * sysdeps/generic/Makefile: Likewise.
26796 * sysdeps/gnu/Makefile: Likewise.
26797 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26798 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26799 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26800 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26801 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26802 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26803 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26804 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26805 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26806 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26807 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26808 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26809 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26810 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26811 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26812 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26813 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26814 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26815 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26816 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26817 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26818 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26819 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26820 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26821 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26822 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26823 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26824 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26825 * sysdeps/mach/hurd/errnos.awk: Likewise.
26826 * sysdeps/mach/hurd/fork.c: Likewise.
26827 * sysdeps/mach/hurd/getcwd.c: Likewise.
26828 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26829 * sysdeps/mach/hurd/mmap.c: Likewise.
26830 * sysdeps/mach/hurd/utimes.c: Likewise.
26831 * sysdeps/mach/hurd/xmknod.c: Likewise.
26832 * sysdeps/posix/profil.c: Likewise.
26833 * sysdeps/posix/readdir_r.c: Likewise.
26834 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26835 * sysdeps/powerpc/bits/setjmp.h: Likewise.
26836 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26837 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26838 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26839 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26840 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26841 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26842 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26843 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26844 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26845 * sysdeps/pthread/lio_listio.c: Likewise.
26846 * sysdeps/sparc/dl-procinfo.h: Likewise.
26847 * sysdeps/unix/i386/sysdep.S: Likewise.
26848 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26849 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26850 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26851 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26853 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26854 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26855 * sysdeps/unix/sysv/linux/speed.c: Likewise.
26856 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26857 * sysdeps/wordsize-32/divdi3.c: Likewise.
26858 * time/sys/time.h: Likewise.
26859 * wcsmbs/Makefile: Likewise.
26861 2013-01-01 David S. Miller <davem@davemloft.net>
26863 * po/fr.po: Update from translation team.
26865 * catgets/gencat.c: Update copyright year.
26866 * csu/version.c: Likewise.
26867 * debug/catchsegv.sh: Likewise.
26868 * debug/pcprofiledump.c: Likewise.
26869 * debug/xtrace.sh: Likewise.
26870 * elf/ldconfig.c: Likewise.
26871 * elf/ldd.bash.in: Likewise.
26872 * elf/pldd.c: Likewise.
26873 * elf/sotruss.ksh: Likewise.
26874 * elf/sprof.c: Likewise.
26875 * iconv/iconv_prog.c: Likewise.
26876 * iconv/iconvconfig.c: Likewise.
26877 * locale/programs/locale.c: Likewise.
26878 * locale/programs/localedef.c: Likewise.
26879 * login/programs/pt_chown.c: Likewise.
26880 * malloc/memusage.sh: Likewise.
26881 * malloc/memusagestat.c: Likewise.
26882 * malloc/mtrace.pl: Likewise.
26883 * nscd/nscd.c: Likewise.
26884 * nss/getent.c: Likewise.
26885 * nss/makedb.c: Likewise.
26886 * posix/getconf.c: Likewise.
26888 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26890 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26893 2012-12-30 Mike Frysinger <vapier@gentoo.org>
26895 * math/bits/mathcalls.h (modf): Use __nonnull.
26897 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26899 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26900 (split): Use macro CN instead of the bare value.
26901 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26903 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26904 instead of the bare value.
26905 (power1): Likewise.
26907 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26909 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26911 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26913 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26915 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26916 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26917 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26918 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26920 2012-12-28 Andreas Jaeger <aj@suse.de>
26922 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26923 values are from Linux 3.7.
26925 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26926 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26928 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26930 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26933 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26935 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26936 variables with preprocessor constants.
26937 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26938 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26939 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26941 2012-12-27 Bruno Haible <bruno@clisp.org>
26944 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26947 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26949 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26950 and use variable directly.
26951 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26953 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26955 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26956 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26958 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26959 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26960 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26961 include directive. Remove local variable MPONE.
26962 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26963 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26964 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26966 2012-12-25 David S. Miller <davem@davemloft.net>
26968 * version.h (RELEASE): Set to "development".
26969 (VERSION): Set to "2.17.90".
26970 * NEWS: Add 2.18 section.
26972 2012-12-21 David S. Miller <davem@davemloft.net>
26974 * po/hr.po: Update from translation team.
26976 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26978 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26980 2012-12-19 Steve Ellcey <sellcey@mips.com>
26982 * NEWS: Mention new memcpy for MIPS.
26984 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26986 * manual/contrib.texi (Contributors): Spelling correction.
26988 2012-12-15 David S. Miller <davem@davemloft.net>
26990 * po/ru.po: Update from translation team.
26992 2012-12-13 David S. Miller <davem@davemloft.net>
26994 * NEWS: Mention IFUNC testsuite enhancements.
26996 * po/pl.po: Update from translation team.
26997 * po/bg.po: Likewise.
26999 * manual/contrib.texi (Contributors): Update entries for Hongjiu
27000 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
27002 2012-12-11 David S. Miller <davem@davemloft.net>
27004 * po/sv.po: Update from translation team.
27006 * po/vi.po: Update from translation team.
27008 * po/cs.po: Update from translation team.
27010 * po/de.po: Update from translation team.
27011 * po/eo.po: Likewise.
27012 * po/nl.po: Likewise.
27014 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27017 * manual/argp.texi (Argp Helper Functions): Move node to follow
27018 Argp Parsing State.
27021 * manual/conf.texi (Limits on File System Capacity): Mention if
27022 terminating null is included in the max size.
27024 2012-12-10 Andreas Jaeger <aj@suse.de>
27026 * po/cs.po: Update from translation team.
27028 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27030 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27031 void pointer and cast to uintptr_t.
27032 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27034 * sysdeps/s390/s390-64/memcpy.S: Likewise.
27035 * sysdeps/s390/s390-64/memset.S: Likewise.
27037 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
27040 * menual/message.texi (Message Translation): Fix typos.
27041 (Helper programs for gettext): Likewise.
27043 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
27046 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27049 2012-12-07 David S. Miller <davem@davemloft.net>
27051 * po/libc.pot: Update.
27053 2012-12-07 Richard Henderson <rth@redhat.com>
27056 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27057 normal/normal case to before the switch.
27058 (_FP_DIV): Likewise.
27060 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
27061 Mike Frysinger <vapier@gentoo.org>
27063 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27064 check for __NR_fadvise64_64.
27066 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
27068 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27069 0, not just to plain "0" as a statement.
27070 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27073 2012-12-06 Joseph Myers <joseph@codesourcery.com>
27075 * NEWS: Use sourceware.org in Bugzilla URL.
27077 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27080 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27082 * stdio-common/tst-put-error.c (do_test): Add newline to the
27083 padded test to ensure flush.
27085 2012-12-05 Jeff Law <law@redhat.com>
27087 * sunrpc/etc.rpc (fedfs_admin): Add entry.
27089 2012-12-05 Joseph Myers <joseph@codesourcery.com>
27091 * README: Don't refer to ports add-on as distributed separately.
27092 Mention AArch64 in list of systems supported in the ports add-on.
27094 * LICENSES: Add more non-FSF copyright and license notices.
27096 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27099 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27101 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27102 10000 as width of padded output.
27104 2012-12-04 Joseph Myers <joseph@codesourcery.com>
27106 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27108 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27109 variable LX with __attribute__ ((unused)).
27110 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27112 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27113 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27114 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27115 with __attribute__ ((unused)).
27117 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
27119 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27121 2012-12-04 Joseph Myers <joseph@codesourcery.com>
27123 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27124 (CFLAGS-nldbl-acos.c): New variable.
27125 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27126 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27127 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27128 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27129 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27130 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27131 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27132 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27133 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27134 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27135 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27136 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27137 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27138 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27139 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27140 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27141 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27142 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27143 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27144 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27145 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27146 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27147 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27148 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27149 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27150 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27151 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27152 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27153 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27154 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27155 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27156 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27157 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27158 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27159 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27160 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27161 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27162 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27163 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27164 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27165 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27166 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27167 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27168 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27169 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27170 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27171 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27172 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27173 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27174 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27175 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27176 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27177 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27178 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27179 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27180 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27181 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27182 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27183 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27184 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27185 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27186 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27187 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27188 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27189 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27190 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27191 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27192 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27193 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27194 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27195 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27196 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27197 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27198 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27199 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27200 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27201 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27202 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27203 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27204 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27205 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27206 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27207 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27208 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27209 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27210 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27211 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27212 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27213 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27214 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27215 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27216 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27217 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27218 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27219 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27220 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27221 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27224 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27227 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27228 whole low double instead of just low 47 bits when splitting values
27231 2012-12-03 Allan McRae <allan@archlinux.org>
27233 * manual/stdio.texi (Predefined Printf Handlers): Remove
27234 @hsep and @vsep usage.
27236 2012-12-03 Mike Frysinger <vapier@gentoo.org>
27238 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27239 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27241 2012-12-03 Jeff Law <law@redhat.com>
27243 * time/sys/time.h (settimeofday): Do not mark TV argument
27246 2012-12-01 Mike Frysinger <vapier@gentoo.org>
27248 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27249 when currently writing and seek to current position when not.
27250 * libio/Makefile (tests): Remove bug-fclose1.
27251 * libio/bug-fclose1.c: Delete.
27253 2012-12-01 Joseph Myers <joseph@codesourcery.com>
27255 * manual/arith.texi (feenableexcept): Fix typo.
27256 (fedisableexcept): Likewise.
27258 2012-11-30 Roland McGrath <roland@hack.frob.com>
27260 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27261 second, differently-typed declaration, rather than a cast.
27263 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27265 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27266 * include/rpc/svc.h: ... here.
27268 2012-11-30 Aurelien Jarno <aurel32@debian.org>
27271 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27272 depending n and resplen2 to catch cases where answer
27275 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
27277 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27278 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27280 2012-11-29 Mike Frysinger <vapier@gentoo.org>
27282 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27284 2012-11-29 Roland McGrath <roland@hack.frob.com>
27286 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27288 2012-11-28 Jeff Law <law@redhat.com>
27291 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27292 dataset_temporary. Track alloca usage into alloca_used.
27293 If dataset is large allocate and release it via malloc/free.
27295 2012-06-04 Florian Weimer <fweimer@redhat.com>
27298 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27300 2012-11-28 David S. Miller <davem@davemloft.net>
27302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27304 2012-11-28 Joseph Myers <joseph@codesourcery.com>
27307 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27308 of pi/2 rounded to nearest to 64 bits.
27309 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27310 nearest to 64 bits.
27311 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27314 2012-11-28 Jeff Law <law@redhat.com>
27315 Martin Osvald <mosvald@redhat.com>
27318 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27319 * sunrpc/svc.c: Include time.h.
27320 (__svc_accept_failed): New function.
27321 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27322 any reason other than EINTR, call __svc_accept_failed.
27323 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27324 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27326 2012-11-28 Andreas Schwab <schwab@suse.de>
27328 * scripts/abilist.awk: Also handle indirect functions in .opd
27331 2012-11-28 Joseph Myers <joseph@codesourcery.com>
27334 * sysdeps/x86/fpu/powl_helper.c: New file.
27335 * sysdeps/x86/fpu/Makefile: Likewise.
27336 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27338 (__ieee754_powl): Use __powl_helper for finite arguments except
27339 integer exponents below 8.
27340 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27342 (__ieee754_powl): Use __powl_helper for finite arguments except
27343 integer exponents below 8.
27344 * math/libm-test.inc (pow_test): Add more tests and enable some
27345 previously disabled tests.
27346 * sysdeps/i386/fpu/libm-test-ulps: Update.
27347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27349 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27350 Carlos O'Donell <carlos_odonell@mentor.com>
27352 * nss/makedb.c (is_prime): Assert that input is odd and greater
27353 than 4. Note that fact in a comment too.
27354 (next_prime): Add 4 to input.
27356 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27359 * libio/Makefile (tests): Add test case tst-fwrite-error.
27360 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27361 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27362 * libio/tst-fwrite-error.c: New test case.
27364 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
27366 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27367 before casting to void *.
27368 * include/libc-internal.h (__pointer_type): New macro.
27369 (__integer_if_pointer_type_sub): Likewise.
27370 (__integer_if_pointer_type): Likewise.
27371 (cast_to_integer): Likewise.
27372 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27373 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27374 before casting to atomic64_t.
27375 (atomic_exchange_acq): Likewise.
27376 (__arch_exchange_and_add_body): Likewise.
27377 (__arch_add_body): Likewise.
27378 (atomic_add_negative): Likewise.
27379 (atomic_add_zero): Likewise.
27381 2012-11-26 Joseph Myers <joseph@codesourcery.com>
27383 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27384 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27385 (add_fdes): Likewise.
27386 (linear_search_fdes): Likewise.
27387 (binary_search_unencoded_fdes): Likewise.
27389 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
27391 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27393 2012-11-24 Adam Conrad <adconrad@0c3.net>
27395 * configure.in: Autodetect C++ header directories.
27396 * configure: Regenerated.
27398 2012-11-23 Mike Frysinger <vapier@gentoo.org>
27400 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27402 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
27404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27406 2012-11-22 Joseph Myers <joseph@codesourcery.com>
27408 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27409 LDBL_MANT_DIG == 106]: Disable some tests.
27410 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27412 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27416 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27417 input for small inputs. Return +/- pi/2 for large inputs.
27418 * math/libm-test.inc (atan_test): Add more tests.
27420 * sysdeps/generic/unwind-dw2-fde-glibc.c
27421 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27422 __attribute__ ((unused)).
27425 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27426 x * y if x and y are nonzero and z is zero.
27429 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27430 nonzero exponents with absolute value below 0x1p-117 to +/-
27434 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27435 up arguments below 2**-450, not just those below 2**-500.
27436 * math/libm-test.inc (hypot_test): Add another test.
27439 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27440 Return a+b for ratio over 2**120, not 2**60.
27441 * math/libm-test.inc (hypot_test): Add another test.
27443 * math/libm-test.inc (clog_test): Use
27444 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27445 (clog10_test): Likewise.
27448 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27450 2012-11-22 Andreas Schwab <schwab@suse.de>
27452 * sysdeps/i386/fpu/libm-test-ulps: Update.
27454 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
27456 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27457 printf output with newline.
27459 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
27462 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27463 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27464 -z nodlopen, -z initfirst and -z execstack support.
27465 * configure: Regenerated.
27467 * elf/elf.h (DF_1_NODIRECT): New macro.
27468 (DF_1_IGNMULDEF): Likewise.
27469 (DF_1_NOKSYMS): Likewise.
27470 (DF_1_NOHDR): Likewise.
27471 (DF_1_EDITED): Likewise.
27472 (DF_1_NORELOC): Likewise.
27473 (DF_1_SYMINTPOSE): Likewise.
27474 (DF_1_GLOBAUDIT): Likewise.
27475 (DF_1_SINGLETON): Likewise.
27476 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27477 DT_1_SUPPORTED_MASK bits.
27478 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27480 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
27482 * sysdeps/unix/make-syscalls.sh: Document prefixes.
27484 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
27486 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27489 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27490 (sendmmsg): Move declarations...
27491 * socket/sys/socket.h: ... here.
27492 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27493 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27495 * socket/recvmmsg.c: ... this new file.
27496 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27497 (sendmmsg): Rename to __sendmmsg, create weak alias and make
27498 definition of __sendmmsg hidden.
27499 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27500 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27501 Move ENOSYS stub into and include it from...
27502 * socket/sendmmsg.c: ... this new file.
27503 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27504 (sysdep_routines): Move recvmmsg and sendmmsg...
27505 * socket/Makefile (routines): ... here.
27506 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27507 (GLIBC_PRIVATE): Add __sendmmsg.
27508 * include/sys/socket.h (__sendmmsg): Add declarations.
27509 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27512 2012-11-20 Joseph Myers <joseph@codesourcery.com>
27514 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27515 variable I1 with __attribute__ ((unused)).
27516 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27518 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27520 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27521 DUMMY variables with __attribute__ ((unused)).
27523 * bits/byteswap.h: Include <bits/types.h>.
27524 (__bswap_64): Use __uint64_t instead of unsigned long long int.
27526 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27528 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27529 string_t. Do not manually set errno.
27530 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27531 length with __strnlen. Make sure to both set errno and return it on
27534 2012-11-19 David S. Miller <davem@davemloft.net>
27536 With help from Joseph Myers.
27537 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27538 very large arguments properly.
27539 * math/libm-test.inc (atan_test): New tests.
27540 (atan2_test): New tests.
27541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27542 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27544 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27547 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27550 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27551 [POSIX] (EADDRNOTAVAIL): Likewise.
27552 [POSIX] (EAFNOSUPPORT): Likewise.
27553 [POSIX] (EALREADY): Likewise.
27554 [POSIX] (ECONNABORTED): Likewise.
27555 [POSIX] (ECONNREFUSED): Likewise.
27556 [POSIX] (ECONNRESET): Likewise.
27557 [POSIX] (EDESTADDRREQ): Likewise.
27558 [POSIX] (EDQUOT): Likewise.
27559 [POSIX] (EHOSTUNREACH): Likewise.
27560 [POSIX] (EIDRM): Likewise.
27561 [POSIX] (EISCONN): Likewise.
27562 [POSIX] (ELOOP): Likewise.
27563 [POSIX] (EMULTIHOP): Likewise.
27564 [POSIX] (ENETDOWN): Likewise.
27565 [POSIX] (ENETUNREACH): Likewise.
27566 [POSIX] (ENOBUFS): Likewise.
27567 [POSIX] (ENODATA): Likewise.
27568 [POSIX] (ENOLINK): Likewise.
27569 [POSIX] (ENOMSG): Likewise.
27570 [POSIX] (ENOPROTOOPT): Likewise.
27571 [POSIX] (ENOSR): Likewise.
27572 [POSIX] (ENOSTR): Likewise.
27573 [POSIX] (ENOTCONN): Likewise.
27574 [POSIX] (ENOTSOCK): Likewise.
27575 [POSIX] (EOPNOTSUPP): Likewise.
27576 [POSIX] (EOVERFLOW): Likewise.
27577 [POSIX] (EPROTO): Likewise.
27578 [POSIX] (EPROTONOSUPPORT): Likewise.
27579 [POSIX] (EPROTOTYPE): Likewise.
27580 [POSIX] (ESTALE): Likewise.
27581 [POSIX] (ETIME): Likewise.
27582 [POSIX] (ETXTBSY): Likewise.
27583 [POSIX] (EWOULDBLOCK): Likewise.
27584 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27585 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27586 [POSIX] (SEEK_CUR): Likewise.
27587 [POSIX] (SEEK_END): Likewise.
27588 [POSIX || UNIX98] (mode_t): Do not require.
27589 [POSIX] (off_t): Likewise.
27590 [POSIX] (pid_t): Likewise.
27591 [POSIX] (sys/stat.h): Do not allow header.
27592 [POSIX] (unistd.h): Likewise.
27593 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27594 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27595 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27596 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27598 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27599 sigevent): Specify elements.
27600 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27602 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27603 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27605 * conform/data/cpio.h-data [POSIX]: Disable whole file.
27606 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27607 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27608 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27609 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27610 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27611 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27612 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27613 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27614 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27615 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27616 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27617 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27618 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27620 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27622 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27624 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27626 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27627 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27628 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27629 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27630 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27631 Specify lower bound on value.
27632 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27633 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27634 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27635 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27636 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27637 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27638 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27639 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27641 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27643 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27644 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27645 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27646 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27647 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27648 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27649 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27650 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27651 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27652 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27653 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27654 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27655 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27656 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27657 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27658 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27660 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27662 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27663 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27664 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27665 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27666 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27667 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27669 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27670 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27671 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27672 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27673 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
27674 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27675 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27677 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27678 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27679 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27680 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27681 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27682 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27683 specify as optional.
27684 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27685 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27686 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27687 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27688 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27689 [XPG3] (NL_LANGMAX): Likewise.
27690 [POSIX || XPG3] (NL_MSGMAX): Likewise.
27691 [POSIX || XPG3] (NL_NMAX): Likewise.
27692 [POSIX || XPG3] (NL_SETMAX): Likewise.
27693 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27694 [XPG3] (NZERO): Likewise.
27695 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27696 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27697 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27698 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27699 (REG_ERANGE): Expect.
27700 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27702 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27703 Use (void) in prototype.
27704 [POSIX] (*_t): Allow.
27705 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27706 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27707 (WRDE_BADVAL): Expect.
27709 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27711 [XPG3 || XPG4] (O_RSYNC): Likewise.
27712 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27714 [XPG3 || XPG4] (pthread_sigmask): Likewise.
27715 [XPG3 || XPG4] (sigqueue): Likewise.
27716 [XPG3 || XPG4] (sigtimedwait): Likewise.
27717 [XPG3 || XPG4] (sigwaitinfo): Likewise.
27718 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27719 [XPG3 || XPG4] (vsnprintf): Likewise.
27720 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27722 [XPG3 || XPG4] (blksize_t): Likewise.
27723 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27725 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27726 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27727 [XPG3 || XPG4] (struct itimerspec): Likewise.
27728 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27729 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27730 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27731 [XPG3 || XPG4] (clockid_t): Likewise.
27732 [XPG3 || XPG4] (timer_t): Likewise.
27733 [XPG3 || XPG4] (clock_getres): Likewise.
27734 [XPG3 || XPG4] (clock_gettime): Likewise.
27735 [XPG3 || XPG4] (clock_settime): Likewise.
27736 [XPG3 || XPG4] (nanosleep): Likewise.
27737 [XPG3 || XPG4] (timer_create): Likewise.
27738 [XPG3 || XPG4] (timer_delete): Likewise.
27739 [XPG3 || XPG4] (timer_gettime): Likewise.
27740 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27741 [XPG3 || XPG4] (timer_settime): Likewise.
27742 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27743 [XPG3 || XPG4] (getlogin_r): Likewise.
27744 [XPG3 || XPG4] (pread): Likewise.
27745 [XPG3 || XPG4] (pthread_atfork): Likewise.
27746 [XPG3 || XPG4] (pwrite): Likewise.
27749 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27752 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27754 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27755 finalizing MALLSTREAM.
27757 * sysdeps/mach/hurd/syncfs.c: New file.
27759 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27762 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27763 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27764 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27765 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27766 (_nss_dns_gethostbyname4_r): Likewise.
27767 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27768 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27770 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27773 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27775 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27777 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27778 * elf/cache.c (print_entry): Print ",AArch64" for
27781 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27782 * elf/cache.c (print_entry): Print ",hard-float" for
27785 2012-11-18 David S. Miller <davem@davemloft.net>
27787 With help from Joseph Myers.
27788 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27790 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27792 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27793 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27795 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27796 * math/libm-test.inc (y0_test): New tests.
27797 (y1_test): New tests.
27798 * sysdeps/i386/fpu/libm-test-ulps: Update.
27799 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27800 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27802 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
27804 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27806 * configure: Regenerated.
27808 2012-11-17 David S. Miller <davem@davemloft.net>
27811 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27812 nonzero exponents with absolute value below 0x1p-128 to +/-
27815 2012-11-17 Joseph Myers <joseph@codesourcery.com>
27817 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27819 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27821 * posix/getconf-speclist.c: New file.
27822 * posix/posix-envs.def: Likewise.
27823 * posix/confstr.c (START_ENV_GROUP): New macro.
27824 (END_ENV_GROUP): Likewise.
27825 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27826 (KNOWN_PRESENT_ENV_STRING): Likewise.
27827 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27828 (UNKNOWN_ENVIRONMENT): Likewise.
27829 (confstr): Include posix-envs.def instead of handling
27830 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27831 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27832 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27833 (END_ENV_GROUP): Likewise.
27834 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27835 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27836 (UNKNOWN_ENVIRONMENT): Likewise.
27837 (__sysconf): Include posix-envs.def instead of handling associated
27838 cases directly here.
27839 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27840 preprocessing getconf-speclist.c rather than running getconf or
27841 generating empty file.
27843 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
27845 * scripts/check-local-headers.sh: Ignore 'mach' headers.
27847 2012-11-16 Andrej Lajovic <natrij@gmail.com>
27850 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27852 2012-11-16 David S. Miller <davem@davemloft.net>
27854 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27855 smaller than LDBL_EPSILON/2.0L, just return xm1.
27857 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
27859 * elf/tst-array1.c (init): Set constructor priority to 1000.
27860 (fini): Set destructor priority to 1000.
27861 * elf/tst-array2dep.c: Likewise.
27863 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27866 * libio/fileops.c (_IO_new_file_write): Correctly return error.
27867 (_IO_new_file_xsputn): Also return EOF if none of the input
27868 data was written when overflow failed.
27869 * libio/iopadn.c (_IO_padn): Likewise.
27870 * libio/iowpadn.c (_IO_wpadn): Likewise.
27871 * stdio-common/tst-put-error.c: Add copyright notice.
27872 (do_test): Add case for printing padded string.
27873 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27874 _IO_padn returned error.
27875 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27876 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27879 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27881 * libio/libioP.h: Add comment note that the references to C++
27882 bits are now obsolete.
27884 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27886 * math/libm-test.inc (check_complex): Use asprintf.
27888 2012-11-14 Joseph Myers <joseph@codesourcery.com>
27890 * debug/pcprofiledump.c (print_version): Update copyright year.
27891 * malloc/memusagestat.c (print_version): Likewise.
27893 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
27896 * elf/Makefile (tests): Add tst-audit8.
27897 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27898 ($(objpfx)tst-audit8.out): New target.
27899 (tst-audit8-ENV): New variable.
27900 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27901 audit if l_reloc_result is NULL.
27902 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27903 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27904 * elf/tst-audit8.c: New file.
27906 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27908 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27909 * misc/Makefile (CFLAGS-select.c): Define.
27910 * posix/Makefile (CFLAGS-pause.c): Define.
27912 2012-11-13 David S. Miller <davem@davemloft.net>
27914 * crypt/Makefile: Move test targets after toplevel Rules
27915 inclusion. Grab any necessary sysdep routines when linking.
27916 * crypt/md5.c (md5_process_block): Remove define, we will always
27917 name it __md5_process_block.
27918 (md5_finish_ctx): Update md5_process_block call.
27919 (md5_stream): Likewise.
27920 (md5_process_bytes): Likewise.
27921 (md5_process_block): Rename to __md5_process_block and move to ...
27922 * crypt/md5-block.c: ... here.
27923 * crypt/sha256.c (sha256_process_block): Move to ...
27924 * crypt/sha256-block.c: ... here.
27925 * crypt/sha512.c (sha512_process_block): Move to ...
27926 * crypt/sha512-block.c: ... here.
27927 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27929 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27930 * sysdeps/sparc/sparc64/multiarch/Makefile
27931 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27933 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27934 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27936 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27937 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27938 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27939 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27940 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27941 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27942 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27943 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27944 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27946 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27947 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27949 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27951 2012-11-13 Joseph Myers <joseph@codesourcery.com>
27953 * timezone/tzselect.ksh: Update from tzcode git revision
27954 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27955 * timezone/zdump.c: Likewise.
27956 * timezone/zic.c: Likewise.
27957 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27958 in TZVERSION setting, not $(PKGVERSION).
27959 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27960 REPORT_BUGS_TO settings.
27963 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27966 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27968 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27969 detection to immediately after _FP_ROUND().
27970 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27973 2012-11-11 David S. Miller <davem@davemloft.net>
27975 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27977 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27978 __close rather than their public counterparts.
27980 2012-11-10 Joseph Myers <joseph@codesourcery.com>
27982 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27984 [UNIX98] (sem_timedwait): Do not expect.
27985 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27986 [XPG4 || UNIX98] (sockatmark): Do not expect.
27987 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27988 (clock_getcpuclockid): Do not expect.
27989 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27990 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27992 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27993 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27994 [UNIX98] (vwscanf): Likewise.
27995 [UNIX98] (vswscanf): Likewise.
27997 2012-11-09 Joseph Myers <joseph@codesourcery.com>
27999 * timezone/version.h: Remove file.
28000 * timezone/README: Do not refer to version.h.
28001 * timezone/Makefile ($(objpfx)zic.o): New dependency on
28002 $(objpfx)version.h.
28003 ($(objpfx)zdump.o): Likewise.
28004 ($(objpfx)version.h): New target.
28006 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28008 * timezone/README: Don't mention modification to tzselect.ksh.
28009 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28010 work on unmodified tzselect.ksh. Substitute version numbers in
28013 * Makefile (format-me): Remove.
28014 (INSTALL): Adjust indentation. Use commands directly instead of
28015 using $(format-me).
28017 * aclocal.m4 (ACX_PKGVERSION): New macro.
28018 (ACX_BUGURL): Likewise.
28019 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28020 (PKGVERSION): New AC_DEFINE_UNQUOTED.
28021 (REPORT_BUGS_TO): Likewise.
28022 * configure: Regenerated.
28023 * config.h.in (PKGVERSION): New macro.
28024 (REPORT_BUGS_TO): Likewise.
28025 * config.make.in (PKGVERSION): New variable.
28026 (PKGVERSION_TEXI): Likewise.
28027 (REPORT_BUGS_TO): Likewise.
28028 (REPORT_BUGS_TEXI): Likewise.
28029 * Makefile (format-me): Use -I$(common-objpfx)manual.
28030 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28031 ($(common-objpfx)manual/%): New target.
28032 (manual/%): Remove target.
28033 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28034 (print_version): Use PKGVERSION.
28035 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28036 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28037 and REPORT_BUGS_TO.
28038 ($(objpfx)xtrace): Likewise.
28039 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28040 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28041 (print_version): Use PKGVERSION.
28042 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28043 (do_version): Use PKGVERSION.
28044 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28046 (common-ldd-rewrite): Likewise.
28047 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28048 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28049 (print_version): Use PKGVERSION.
28050 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28051 * elf/pldd.c (argp_program_bug_address): Remove variable.
28052 (more_help): New function.
28053 (argp): Use more_help.
28054 (print_version): Use PKGVERSION.
28055 * elf/sln.c (main): Use PKGVERSION.
28056 (usage): Use REPORT_BUGS_TO.
28057 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28058 (top level): Use PKGVERSION.
28059 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28060 (print_version): Use PKGVERSION.
28061 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28062 (print_version): Use PKGVERSION.
28063 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28064 (print_version): Use PKGVERSION.
28065 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28066 (print_version): Use PKGVERSION.
28067 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28068 (print_version): Use PKGVERSION.
28069 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28070 (print_version): Use PKGVERSION.
28071 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28073 ($(objpfx)memusage): Likewise.
28074 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28075 (do_version): Use PKGVERSION.
28076 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28077 (print_version): Use PKGVERSION.
28078 * malloc/mtrace.pl ($PACKAGE): Remove variable.
28079 ($PKGVERSION): New variable.
28080 ($REPORT_BUGS_TO): Likewise.
28081 (usage): Use $REPORT_BUGS_TO.
28082 (top level): Use $PKGVERSION.
28083 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28084 ($(objpfx)pkgvers.texi): New rule.
28085 ($(objpfx)stamp-pkgvers): Likewise.
28086 * manual/install.texi: Include pkgvers.texi.
28087 (--with-pkgversion): Document new configure option.
28088 (--with-bugurl): Likewise.
28089 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28090 than necessarily for this particular distribution. Use
28091 REPORT_BUGS_TO for where to report bugs.
28092 * INSTALL: Regenerated.
28093 * manual/libc.texinfo: Include pkgvers.texi.
28094 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28095 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28096 (print_version): Use PKGVERSION.
28097 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28098 (print_version): Use PKGVERSION.
28099 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28100 (print_version): Use PKGVERSION.
28101 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28102 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28104 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28105 (print_version): Use PKGVERSION.
28106 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28107 (print_version): Use PKGVERSION.
28108 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28111 * timezone/checktab.awk: Update from tzcode 2012i.
28112 * timezone/ialloc.c: Likewise.
28113 * timezone/private.h: Likewise.
28114 * timezone/scheck.c: Likewise.
28115 * timezone/tzfile.h: Likewise.
28116 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28117 (TZVERSION): Hardcode tzcode version number.
28118 * timezone/zdump.c: Update from tzcode 2012i.
28119 * timezone/zic.c: Likewise.
28120 * timezone/version.h: New file.
28121 * timezone/README: Describe version.h. Update upstream location.
28124 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28125 (mktemp): Enable declaration.
28126 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28127 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28128 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28129 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28131 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28133 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28135 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28137 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28139 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28143 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28144 offset in buffer as u_int32_t not u_long. Consistently use memcpy
28145 for copies of such integer values.
28146 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28147 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28149 2012-11-09 Andreas Jaeger <aj@suse.de>
28151 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28152 definitions and declarations that are provided by
28153 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28155 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28157 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28158 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28159 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28162 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28164 * elf/elf.h: Update comment before AArch64 relocations.
28166 2012-11-07 David S. Miller <davem@davemloft.net>
28168 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28169 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28170 (__start_context): Declare.
28171 (__makecontext_ret): Delete.
28172 (__makecontext): Hook up __start_context instead of
28174 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28175 (sysdep_routines): Add __start_context when in stdlib.
28177 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28179 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28180 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28181 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
28183 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
28184 (READELF): New variable. Use it instead of hardcoded "readelf".
28186 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
28188 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28189 * sysdeps/x86/Makefile: Here.
28190 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28191 * sysdeps/x86/tst-xmmymm.sh: This.
28193 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28195 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28197 [UNIX98] (pthread_barrier_t): Do not expect.
28198 [UNIX98] (pthread_barrierattr_t): Likewise.
28199 [UNIX98] (pthread_spinlock_t): Likewise.
28200 [UNIX98] (pthread_barrier_destroy): Likewise.
28201 [UNIX98] (pthread_barrier_init): Likewise.
28202 [UNIX98] (pthread_barrier_wait): Likewise.
28203 [UNIX98] (pthread_barrierattr_destroy): Likewise.
28204 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28205 [UNIX98] (pthread_barrierattr_init): Likewise.
28206 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28207 [UNIX98] (pthread_getcpuclockid): Likewise.
28208 [UNIX98] (pthread_mutex_timedlock): Likewise.
28209 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28210 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28211 [UNIX98] (pthread_sigmask): Likewise.
28212 [UNIX98] (pthread_spin_destroy): Likewise.
28213 [UNIX98] (pthread_spin_init): Likewise.
28214 [UNIX98] (pthread_spin_lock): Likewise.
28215 [UNIX98] (pthread_spin_trylock): Likewise.
28216 [UNIX98] (pthread_spin_unlock): Likewise.
28217 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28219 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28220 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28221 [XPG3 || XPG4] (pthread_cond_t): Likewise.
28222 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28223 [XPG3 || XPG4] (pthread_key_t): Likewise.
28224 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28225 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28226 [XPG3 || XPG4] (pthread_once_t): Likewise.
28227 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28228 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28229 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28230 [XPG3 || XPG4] (pthread_t): Likewise.
28232 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28234 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28236 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28237 Change function return type to int.
28239 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28240 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28241 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28242 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28243 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28244 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28245 [!POSIX] (posix_madvise): Likewise.
28246 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28248 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28249 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28250 (mode_t): Likewise.
28251 (posix_mem_offset): Likewise.
28252 (posix_typed_mem_get_info): Likewise.
28253 (posix_typed_mem_open): Likewise.
28255 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28256 Change condition to [XOPEN2K8].
28258 * conform/conformtest.pl: Preprocess allow-header data with -x c
28259 instead of from stdin.
28260 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28261 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28262 [C99-based standards] (cerfc): Likewise.
28263 [C99-based standards] (cexp2): Likewise.
28264 [C99-based standards] (cexpm1): Likewise.
28265 [C99-based standards] (clog10): Likewise.
28266 [C99-based standards] (clog1p): Likewise.
28267 [C99-based standards] (clog2): Likewise.
28268 [C99-based standards] (clgamma): Likewise.
28269 [C99-based standards] (ctgamma): Likewise.
28270 [C99-based standards] (cerff): Likewise.
28271 [C99-based standards] (cerfcf): Likewise.
28272 [C99-based standards] (cexp2f): Likewise.
28273 [C99-based standards] (cexpm1f): Likewise.
28274 [C99-based standards] (clog10f): Likewise.
28275 [C99-based standards] (clog1pf): Likewise.
28276 [C99-based standards] (clog2f): Likewise.
28277 [C99-based standards] (clgammaf): Likewise.
28278 [C99-based standards] (ctgammaf): Likewise.
28279 [C99-based standards] (cerfl): Likewise.
28280 [C99-based standards] (cerfcl): Likewise.
28281 [C99-based standards] (cexp2l): Likewise.
28282 [C99-based standards] (cexpm1l): Likewise.
28283 [C99-based standards] (clog10l): Likewise.
28284 [C99-based standards] (clog1pl): Likewise.
28285 [C99-based standards] (clog2l): Likewise.
28286 [C99-based standards] (clgammal): Likewise.
28287 [C99-based standards] (ctgammal): Likewise.
28288 * conform/data/inttypes.h-data [C99-based standards]: Include
28289 stdint.h-data. Remove all expectations for stdint.h contents.
28290 [C99-based standards] (PRI*): Do not allow.
28291 [C99-based standards] (SCN*): Likewise.
28292 [C99-based standards] (*_t): Likewise.
28293 [C99-based-standards] (PRId8): Expect macro.
28294 [C99-based-standards] (PRIi8): Likewise.
28295 [C99-based-standards] (PRIo8): Likewise.
28296 [C99-based-standards] (PRIu8): Likewise.
28297 [C99-based-standards] (PRIx8): Likewise.
28298 [C99-based-standards] (PRIX8): Likewise.
28299 [C99-based-standards] (SCNd8): Likewise.
28300 [C99-based-standards] (SCNi8): Likewise.
28301 [C99-based-standards] (SCNo8): Likewise.
28302 [C99-based-standards] (SCNu8): Likewise.
28303 [C99-based-standards] (SCNx8): Likewise.
28304 [C99-based-standards] (PRIdLEAST8): Likewise.
28305 [C99-based-standards] (PRIiLEAST8): Likewise.
28306 [C99-based-standards] (PRIoLEAST8): Likewise.
28307 [C99-based-standards] (PRIuLEAST8): Likewise.
28308 [C99-based-standards] (PRIxLEAST8): Likewise.
28309 [C99-based-standards] (PRIXLEAST8): Likewise.
28310 [C99-based-standards] (SCNdLEAST8): Likewise.
28311 [C99-based-standards] (SCNiLEAST8): Likewise.
28312 [C99-based-standards] (SCNoLEAST8): Likewise.
28313 [C99-based-standards] (SCNuLEAST8): Likewise.
28314 [C99-based-standards] (SCNxLEAST8): Likewise.
28315 [C99-based-standards] (PRIdFAST8): Likewise.
28316 [C99-based-standards] (PRIiFAST8): Likewise.
28317 [C99-based-standards] (PRIoFAST8): Likewise.
28318 [C99-based-standards] (PRIuFAST8): Likewise.
28319 [C99-based-standards] (PRIxFAST8): Likewise.
28320 [C99-based-standards] (PRIXFAST8): Likewise.
28321 [C99-based-standards] (SCNdFAST8): Likewise.
28322 [C99-based-standards] (SCNiFAST8): Likewise.
28323 [C99-based-standards] (SCNoFAST8): Likewise.
28324 [C99-based-standards] (SCNuFAST8): Likewise.
28325 [C99-based-standards] (SCNxFAST8): Likewise.
28326 [C99-based-standards] (PRId16): Likewise.
28327 [C99-based-standards] (PRIi16): Likewise.
28328 [C99-based-standards] (PRIo16): Likewise.
28329 [C99-based-standards] (PRIu16): Likewise.
28330 [C99-based-standards] (PRIx16): Likewise.
28331 [C99-based-standards] (PRIX16): Likewise.
28332 [C99-based-standards] (SCNd16): Likewise.
28333 [C99-based-standards] (SCNi16): Likewise.
28334 [C99-based-standards] (SCNo16): Likewise.
28335 [C99-based-standards] (SCNu16): Likewise.
28336 [C99-based-standards] (SCNx16): Likewise.
28337 [C99-based-standards] (PRIdLEAST16): Likewise.
28338 [C99-based-standards] (PRIiLEAST16): Likewise.
28339 [C99-based-standards] (PRIoLEAST16): Likewise.
28340 [C99-based-standards] (PRIuLEAST16): Likewise.
28341 [C99-based-standards] (PRIxLEAST16): Likewise.
28342 [C99-based-standards] (PRIXLEAST16): Likewise.
28343 [C99-based-standards] (SCNdLEAST16): Likewise.
28344 [C99-based-standards] (SCNiLEAST16): Likewise.
28345 [C99-based-standards] (SCNoLEAST16): Likewise.
28346 [C99-based-standards] (SCNuLEAST16): Likewise.
28347 [C99-based-standards] (SCNxLEAST16): Likewise.
28348 [C99-based-standards] (PRIdFAST16): Likewise.
28349 [C99-based-standards] (PRIiFAST16): Likewise.
28350 [C99-based-standards] (PRIoFAST16): Likewise.
28351 [C99-based-standards] (PRIuFAST16): Likewise.
28352 [C99-based-standards] (PRIxFAST16): Likewise.
28353 [C99-based-standards] (PRIXFAST16): Likewise.
28354 [C99-based-standards] (SCNdFAST16): Likewise.
28355 [C99-based-standards] (SCNiFAST16): Likewise.
28356 [C99-based-standards] (SCNoFAST16): Likewise.
28357 [C99-based-standards] (SCNuFAST16): Likewise.
28358 [C99-based-standards] (SCNxFAST16): Likewise.
28359 [C99-based-standards] (PRId32): Likewise.
28360 [C99-based-standards] (PRIi32): Likewise.
28361 [C99-based-standards] (PRIo32): Likewise.
28362 [C99-based-standards] (PRIu32): Likewise.
28363 [C99-based-standards] (PRIx32): Likewise.
28364 [C99-based-standards] (PRIX32): Likewise.
28365 [C99-based-standards] (SCNd32): Likewise.
28366 [C99-based-standards] (SCNi32): Likewise.
28367 [C99-based-standards] (SCNo32): Likewise.
28368 [C99-based-standards] (SCNu32): Likewise.
28369 [C99-based-standards] (SCNx32): Likewise.
28370 [C99-based-standards] (PRIdLEAST32): Likewise.
28371 [C99-based-standards] (PRIiLEAST32): Likewise.
28372 [C99-based-standards] (PRIoLEAST32): Likewise.
28373 [C99-based-standards] (PRIuLEAST32): Likewise.
28374 [C99-based-standards] (PRIxLEAST32): Likewise.
28375 [C99-based-standards] (PRIXLEAST32): Likewise.
28376 [C99-based-standards] (SCNdLEAST32): Likewise.
28377 [C99-based-standards] (SCNiLEAST32): Likewise.
28378 [C99-based-standards] (SCNoLEAST32): Likewise.
28379 [C99-based-standards] (SCNuLEAST32): Likewise.
28380 [C99-based-standards] (SCNxLEAST32): Likewise.
28381 [C99-based-standards] (PRIdFAST32): Likewise.
28382 [C99-based-standards] (PRIiFAST32): Likewise.
28383 [C99-based-standards] (PRIoFAST32): Likewise.
28384 [C99-based-standards] (PRIuFAST32): Likewise.
28385 [C99-based-standards] (PRIxFAST32): Likewise.
28386 [C99-based-standards] (PRIXFAST32): Likewise.
28387 [C99-based-standards] (SCNdFAST32): Likewise.
28388 [C99-based-standards] (SCNiFAST32): Likewise.
28389 [C99-based-standards] (SCNoFAST32): Likewise.
28390 [C99-based-standards] (SCNuFAST32): Likewise.
28391 [C99-based-standards] (SCNxFAST32): Likewise.
28392 [C99-based-standards] (PRId64): Likewise.
28393 [C99-based-standards] (PRIi64): Likewise.
28394 [C99-based-standards] (PRIo64): Likewise.
28395 [C99-based-standards] (PRIu64): Likewise.
28396 [C99-based-standards] (PRIx64): Likewise.
28397 [C99-based-standards] (PRIX64): Likewise.
28398 [C99-based-standards] (SCNd64): Likewise.
28399 [C99-based-standards] (SCNi64): Likewise.
28400 [C99-based-standards] (SCNo64): Likewise.
28401 [C99-based-standards] (SCNu64): Likewise.
28402 [C99-based-standards] (SCNx64): Likewise.
28403 [C99-based-standards] (PRIdLEAST64): Likewise.
28404 [C99-based-standards] (PRIiLEAST64): Likewise.
28405 [C99-based-standards] (PRIoLEAST64): Likewise.
28406 [C99-based-standards] (PRIuLEAST64): Likewise.
28407 [C99-based-standards] (PRIxLEAST64): Likewise.
28408 [C99-based-standards] (PRIXLEAST64): Likewise.
28409 [C99-based-standards] (SCNdLEAST64): Likewise.
28410 [C99-based-standards] (SCNiLEAST64): Likewise.
28411 [C99-based-standards] (SCNoLEAST64): Likewise.
28412 [C99-based-standards] (SCNuLEAST64): Likewise.
28413 [C99-based-standards] (SCNxLEAST64): Likewise.
28414 [C99-based-standards] (PRIdFAST64): Likewise.
28415 [C99-based-standards] (PRIiFAST64): Likewise.
28416 [C99-based-standards] (PRIoFAST64): Likewise.
28417 [C99-based-standards] (PRIuFAST64): Likewise.
28418 [C99-based-standards] (PRIxFAST64): Likewise.
28419 [C99-based-standards] (PRIXFAST64): Likewise.
28420 [C99-based-standards] (SCNdFAST64): Likewise.
28421 [C99-based-standards] (SCNiFAST64): Likewise.
28422 [C99-based-standards] (SCNoFAST64): Likewise.
28423 [C99-based-standards] (SCNuFAST64): Likewise.
28424 [C99-based-standards] (SCNxFAST64): Likewise.
28425 [C99-based-standards] (PRIdMAX): Likewise.
28426 [C99-based-standards] (PRIiMAX): Likewise.
28427 [C99-based-standards] (PRIoMAX): Likewise.
28428 [C99-based-standards] (PRIuMAX): Likewise.
28429 [C99-based-standards] (PRIxMAX): Likewise.
28430 [C99-based-standards] (PRIXMAX): Likewise.
28431 [C99-based-standards] (SCNdMAX): Likewise.
28432 [C99-based-standards] (SCNiMAX): Likewise.
28433 [C99-based-standards] (SCNoMAX): Likewise.
28434 [C99-based-standards] (SCNuMAX): Likewise.
28435 [C99-based-standards] (SCNxMAX): Likewise.
28436 [C99-based-standards] (PRIdPTR): Likewise.
28437 [C99-based-standards] (PRIiPTR): Likewise.
28438 [C99-based-standards] (PRIoPTR): Likewise.
28439 [C99-based-standards] (PRIuPTR): Likewise.
28440 [C99-based-standards] (PRIxPTR): Likewise.
28441 [C99-based-standards] (PRIXPTR): Likewise.
28442 [C99-based-standards] (SCNdPTR): Likewise.
28443 [C99-based-standards] (SCNiPTR): Likewise.
28444 [C99-based-standards] (SCNoPTR): Likewise.
28445 [C99-based-standards] (SCNuPTR): Likewise.
28446 [C99-based-standards] (SCNxPTR): Likewise.
28447 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28449 * conform/data/stdint.h-data: Update comments to clarify
28451 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
28453 [C99-based standards] (INT8_MAX): Likewise.
28454 [C99-based standards] (INT16_MIN): Likewise.
28455 [C99-based standards] (INT16_MAX): Likewise.
28456 [C99-based standards] (INT32_MIN): Likewise.
28457 [C99-based standards] (INT32_MAX): Likewise.
28458 [C99-based standards] (INT64_MIN): Likewise.
28459 [C99-based standards] (INT64_MAX): Likewise.
28460 [C99-based standards] (UINT8_MAX): Likewise.
28461 [C99-based standards] (UINT16_MAX): Likewise.
28462 [C99-based standards] (UINT32_MAX): Likewise.
28463 [C99-based standards] (UINT64_MAX): Likewise.
28464 [C99-based standards] (INT_LEAST8_MIN): Likewise.
28465 [C99-based standards] (INT_LEAST8_MAX): Likewise.
28466 [C99-based standards] (INT_LEAST16_MIN): Likewise.
28467 [C99-based standards] (INT_LEAST16_MAX): Likewise.
28468 [C99-based standards] (INT_LEAST32_MIN): Likewise.
28469 [C99-based standards] (INT_LEAST32_MAX): Likewise.
28470 [C99-based standards] (INT_LEAST64_MIN): Likewise.
28471 [C99-based standards] (INT_LEAST64_MAX): Likewise.
28472 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28473 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28474 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28475 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28476 [C99-based standards] (INT_FAST8_MIN): Likewise.
28477 [C99-based standards] (INT_FAST8_MAX): Likewise.
28478 [C99-based standards] (INT_FAST16_MIN): Likewise.
28479 [C99-based standards] (INT_FAST16_MAX): Likewise.
28480 [C99-based standards] (INT_FAST32_MIN): Likewise.
28481 [C99-based standards] (INT_FAST32_MAX): Likewise.
28482 [C99-based standards] (INT_FAST64_MIN): Likewise.
28483 [C99-based standards] (INT_FAST64_MAX): Likewise.
28484 [C99-based standards] (UINT_FAST8_MAX): Likewise.
28485 [C99-based standards] (UINT_FAST16_MAX): Likewise.
28486 [C99-based standards] (UINT_FAST32_MAX): Likewise.
28487 [C99-based standards] (UINT_FAST64_MAX): Likewise.
28488 [C99-based standards] (INTPTR_MIN): Likewise.
28489 [C99-based standards] (INTPTR_MAX): Likewise.
28490 [C99-based standards] (UINTPTR_MAX): Likewise.
28491 [C99-based standards] (INTMAX_MIN): Likewise.
28492 [C99-based standards] (INTMAX_MAX): Likewise.
28493 [C99-based standards] (UINTMAX_MAX): Likewise.
28494 [C99-based standards] (PTRDIFF_MIN): Likewise.
28495 [C99-based standards] (PTRDIFF_MAX): Likewise.
28496 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28497 [C99-based standards] (SIZE_MAX): Likewise.
28498 [C99-based standards] (WCHAR_MAX): Likewise.
28499 [C99-based standards] (WINT_MAX): Likewise.
28500 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
28501 constraint on value.
28502 [C99-based standards] (WCHAR_MIN): Likewise.
28503 [C99-based standards] (WINT_MIN): Likewise.
28504 [C99-based standards] (*_t): Allow.
28505 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28506 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28507 Include math.h-data and complex.h-data. Remove all expectations
28508 of math.h and complex.h contents.
28509 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28511 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28512 (struct tm): Expect tag.
28513 [C99-based-standards] (wcstof): Expect function.
28514 [C99-based-standards] (wcstold): Likewise.
28515 [C99-based-standards] (wcstoll): Likewise.
28516 [C99-based-standards] (wcstoull): Likewise.
28517 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28518 macro-int-constant. Specify type.
28519 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
28520 constraint on value.
28521 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28523 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28525 [ISO C standards]: Do not allow headers.
28526 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28527 wcs[abcdefghijklmnopqrstuvwxyz]*.
28528 [ISO C standards] (*_t): Do not allow.
28529 * conform/data/wctype.h-data [C99-based standards] (iswblank):
28531 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28532 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28534 [ISO C standards]: Do not allow headers.
28535 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28536 is[abcdefghijklmnopqrstuvwxyz]*.
28537 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28538 to[abcdefghijklmnopqrstuvwxyz]*.
28539 [ISO C standards] (*_t): Do not allow.
28540 * conform/data/stdalign.h-data: New file.
28541 * conform/data/stdbool.h-data: Likewise.
28542 * conform/data/stdnoreturn.h-data: Likewise.
28544 2012-11-07 Roland McGrath <roland@hack.frob.com>
28547 * manual/filesys.texi (Directory Entries): Typo fix.
28548 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28550 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28552 * elf/elf.h (EM_AARCH64): New macro.
28553 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28554 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28555 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28556 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28557 (R_AARCH64_TLSDESC): Likewise.
28558 (NT_ARM_TLS): Likewise.
28559 (NT_ARM_HW_BREAK): Likewise.
28560 (NT_ARM_HW_WATCH): Likewise.
28562 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28565 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28566 (__ieee754_powl): Saturate nonzero exponents with absolute value
28567 below 0x1p-79 to +/- 0x1p-79.
28568 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28569 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28570 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28571 nonzero exponents with absolute value below 0x1p-32 to +/-
28573 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28574 (__ieee754_powl): Saturate nonzero exponents with absolute value
28575 below 0x1p-79 to +/- 0x1p-79.
28576 * math/libm-test.inc (pow_test): Add more tests.
28578 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28580 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28581 _dl_s390_cap_flags with kernel. Increase string length.
28582 (_dl_s390_platforms): Add z196 and zEC12.
28584 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28586 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28587 Change XOPEN21K to XOPEN2K.
28589 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
28591 * string/memmove.c: Use memcpy when possible.
28593 2012-11-06 Andreas Jaeger <aj@suse.de>
28595 * po/eo.po: Update from translation team.
28597 2012-11-06 Joseph Myers <joseph@codesourcery.com>
28600 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28601 exponent and small x and y exponents, scale x or y up. Increase
28602 by 2 the exponent used in scaling up.
28603 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28604 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28605 * math/libm-test.inc (fma_test): Add more tests.
28606 (fma_test_towardzero): Likewise.
28607 (fma_test_downward): Likewise.
28608 (fma_test_upward): Likewise.
28610 2012-11-05 Joseph Myers <joseph@codesourcery.com>
28613 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28617 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28618 namespace for names of struct fields.
28619 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28621 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28622 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28624 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28627 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28629 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28631 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28635 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28638 2012-11-04 Joseph Myers <joseph@codesourcery.com>
28641 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28642 definitely overflow as x * y not x * y + z.
28643 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28644 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28645 * math/libm-test.inc (fma_test): Add more tests.
28646 (fma_test_towardzero): Likewise.
28647 (fma_test_downward): Likewise.
28648 (fma_test_upward): Likewise.
28650 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28654 * include/stub-tag.h: Remove file.
28655 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28657 * manual/maint.texi (Porting): Don't reference it.
28658 * Makerules ($(objpfx)stubs): Likewise.
28659 * dirent/closedir.c: Don't include <stub-tag.h>.
28660 * dirent/dirfd.c: Likewise.
28661 * dirent/fdopendir.c: Likewise.
28662 * dirent/getdents.c: Likewise.
28663 * dirent/getdents64.c: Likewise.
28664 * dirent/opendir.c: Likewise.
28665 * dirent/readdir.c: Likewise.
28666 * dirent/readdir64.c: Likewise.
28667 * dirent/readdir64_r.c: Likewise.
28668 * dirent/readdir_r.c: Likewise.
28669 * dirent/rewinddir.c: Likewise.
28670 * dirent/seekdir.c: Likewise.
28671 * dirent/telldir.c: Likewise.
28672 * gmon/profil.c: Likewise.
28673 * grp/setgroups.c: Likewise.
28674 * inet/if_index.c: Likewise.
28675 * io/access.c: Likewise.
28676 * io/chdir.c: Likewise.
28677 * io/chmod.c: Likewise.
28678 * io/chown.c: Likewise.
28679 * io/close.c: Likewise.
28680 * io/dup.c: Likewise.
28681 * io/dup2.c: Likewise.
28682 * io/dup3.c: Likewise.
28683 * io/euidaccess.c: Likewise.
28684 * io/faccessat.c: Likewise.
28685 * io/fchdir.c: Likewise.
28686 * io/fchmod.c: Likewise.
28687 * io/fchmodat.c: Likewise.
28688 * io/fchown.c: Likewise.
28689 * io/fchownat.c: Likewise.
28690 * io/fcntl.c: Likewise.
28691 * io/flock.c: Likewise.
28692 * io/fstatfs.c: Likewise.
28693 * io/fstatfs64.c: Likewise.
28694 * io/fstatvfs.c: Likewise.
28695 * io/fstatvfs64.c: Likewise.
28696 * io/futimens.c: Likewise.
28697 * io/fxstat.c: Likewise.
28698 * io/fxstat64.c: Likewise.
28699 * io/fxstatat.c: Likewise.
28700 * io/fxstatat64.c: Likewise.
28701 * io/getcwd.c: Likewise.
28702 * io/isatty.c: Likewise.
28703 * io/lchmod.c: Likewise.
28704 * io/lchown.c: Likewise.
28705 * io/link.c: Likewise.
28706 * io/linkat.c: Likewise.
28707 * io/lseek.c: Likewise.
28708 * io/lseek64.c: Likewise.
28709 * io/lxstat64.c: Likewise.
28710 * io/mkdir.c: Likewise.
28711 * io/mkdirat.c: Likewise.
28712 * io/mkfifo.c: Likewise.
28713 * io/mkfifoat.c: Likewise.
28714 * io/open.c: Likewise.
28715 * io/open64.c: Likewise.
28716 * io/openat.c: Likewise.
28717 * io/openat64.c: Likewise.
28718 * io/pipe.c: Likewise.
28719 * io/pipe2.c: Likewise.
28720 * io/poll.c: Likewise.
28721 * io/posix_fadvise.c: Likewise.
28722 * io/posix_fadvise64.c: Likewise.
28723 * io/posix_fallocate.c: Likewise.
28724 * io/posix_fallocate64.c: Likewise.
28725 * io/read.c: Likewise.
28726 * io/readlink.c: Likewise.
28727 * io/readlinkat.c: Likewise.
28728 * io/rmdir.c: Likewise.
28729 * io/sendfile.c: Likewise.
28730 * io/sendfile64.c: Likewise.
28731 * io/statfs.c: Likewise.
28732 * io/statfs64.c: Likewise.
28733 * io/statvfs.c: Likewise.
28734 * io/statvfs64.c: Likewise.
28735 * io/symlink.c: Likewise.
28736 * io/symlinkat.c: Likewise.
28737 * io/ttyname.c: Likewise.
28738 * io/ttyname_r.c: Likewise.
28739 * io/umask.c: Likewise.
28740 * io/unlink.c: Likewise.
28741 * io/unlinkat.c: Likewise.
28742 * io/utime.c: Likewise.
28743 * io/utimensat.c: Likewise.
28744 * io/write.c: Likewise.
28745 * io/xmknod.c: Likewise.
28746 * io/xmknodat.c: Likewise.
28747 * io/xstat.c: Likewise.
28748 * io/xstat64.c: Likewise.
28749 * login/getpt.c: Likewise.
28750 * login/grantpt.c: Likewise.
28751 * login/unlockpt.c: Likewise.
28752 * math/e_acoshl.c: Likewise.
28753 * math/e_acosl.c: Likewise.
28754 * math/e_asinl.c: Likewise.
28755 * math/e_atan2l.c: Likewise.
28756 * math/e_atanhl.c: Likewise.
28757 * math/e_coshl.c: Likewise.
28758 * math/e_expl.c: Likewise.
28759 * math/e_fmodl.c: Likewise.
28760 * math/e_gammal_r.c: Likewise.
28761 * math/e_hypotl.c: Likewise.
28762 * math/e_j0l.c: Likewise.
28763 * math/e_j1l.c: Likewise.
28764 * math/e_jnl.c: Likewise.
28765 * math/e_lgammal_r.c: Likewise.
28766 * math/e_log10l.c: Likewise.
28767 * math/e_log2l.c: Likewise.
28768 * math/e_logl.c: Likewise.
28769 * math/e_powl.c: Likewise.
28770 * math/e_rem_pio2l.c: Likewise.
28771 * math/e_sinhl.c: Likewise.
28772 * math/e_sqrtl.c: Likewise.
28773 * math/fclrexcpt.c: Likewise.
28774 * math/fedisblxcpt.c: Likewise.
28775 * math/feenablxcpt.c: Likewise.
28776 * math/fegetenv.c: Likewise.
28777 * math/fegetexcept.c: Likewise.
28778 * math/fegetround.c: Likewise.
28779 * math/feholdexcpt.c: Likewise.
28780 * math/fesetenv.c: Likewise.
28781 * math/fesetround.c: Likewise.
28782 * math/feupdateenv.c: Likewise.
28783 * math/fgetexcptflg.c: Likewise.
28784 * math/fraiseexcpt.c: Likewise.
28785 * math/fsetexcptflg.c: Likewise.
28786 * math/ftestexcept.c: Likewise.
28787 * math/k_cosl.c: Likewise.
28788 * math/k_rem_pio2l.c: Likewise.
28789 * math/k_sinl.c: Likewise.
28790 * math/k_tanl.c: Likewise.
28791 * math/s_asinhl.c: Likewise.
28792 * math/s_atanl.c: Likewise.
28793 * math/s_cbrtl.c: Likewise.
28794 * math/s_erfl.c: Likewise.
28795 * math/s_expm1l.c: Likewise.
28796 * math/s_log1pl.c: Likewise.
28797 * math/s_tanhl.c: Likewise.
28798 * misc/acct.c: Likewise.
28799 * misc/brk.c: Likewise.
28800 * misc/chflags.c: Likewise.
28801 * misc/chroot.c: Likewise.
28802 * misc/fchflags.c: Likewise.
28803 * misc/fgetxattr.c: Likewise.
28804 * misc/flistxattr.c: Likewise.
28805 * misc/fremovexattr.c: Likewise.
28806 * misc/fsetxattr.c: Likewise.
28807 * misc/fsync.c: Likewise.
28808 * misc/ftruncate.c: Likewise.
28809 * misc/futimes.c: Likewise.
28810 * misc/futimesat.c: Likewise.
28811 * misc/getdomain.c: Likewise.
28812 * misc/getdtsz.c: Likewise.
28813 * misc/gethostid.c: Likewise.
28814 * misc/gethostname.c: Likewise.
28815 * misc/getloadavg.c: Likewise.
28816 * misc/getpagesize.c: Likewise.
28817 * misc/getsysstats.c: Likewise.
28818 * misc/getxattr.c: Likewise.
28819 * misc/gtty.c: Likewise.
28820 * misc/ioctl.c: Likewise.
28821 * misc/lgetxattr.c: Likewise.
28822 * misc/listxattr.c: Likewise.
28823 * misc/llistxattr.c: Likewise.
28824 * misc/lremovexattr.c: Likewise.
28825 * misc/lsetxattr.c: Likewise.
28826 * misc/lutimes.c: Likewise.
28827 * misc/madvise.c: Likewise.
28828 * misc/mincore.c: Likewise.
28829 * misc/mlock.c: Likewise.
28830 * misc/mlockall.c: Likewise.
28831 * misc/mmap.c: Likewise.
28832 * misc/mprotect.c: Likewise.
28833 * misc/msync.c: Likewise.
28834 * misc/munlock.c: Likewise.
28835 * misc/munlockall.c: Likewise.
28836 * misc/munmap.c: Likewise.
28837 * misc/preadv.c: Likewise.
28838 * misc/preadv64.c: Likewise.
28839 * misc/ptrace.c: Likewise.
28840 * misc/pwritev.c: Likewise.
28841 * misc/pwritev64.c: Likewise.
28842 * misc/readv.c: Likewise.
28843 * misc/reboot.c: Likewise.
28844 * misc/remap_file_pages.c: Likewise.
28845 * misc/removexattr.c: Likewise.
28846 * misc/revoke.c: Likewise.
28847 * misc/select.c: Likewise.
28848 * misc/setdomain.c: Likewise.
28849 * misc/setegid.c: Likewise.
28850 * misc/seteuid.c: Likewise.
28851 * misc/sethostid.c: Likewise.
28852 * misc/sethostname.c: Likewise.
28853 * misc/setregid.c: Likewise.
28854 * misc/setreuid.c: Likewise.
28855 * misc/setxattr.c: Likewise.
28856 * misc/sstk.c: Likewise.
28857 * misc/stty.c: Likewise.
28858 * misc/swapoff.c: Likewise.
28859 * misc/swapon.c: Likewise.
28860 * misc/sync.c: Likewise.
28861 * misc/syncfs.c: Likewise.
28862 * misc/syscall.c: Likewise.
28863 * misc/truncate.c: Likewise.
28864 * misc/ualarm.c: Likewise.
28865 * misc/usleep.c: Likewise.
28866 * misc/ustat.c: Likewise.
28867 * misc/utimes.c: Likewise.
28868 * misc/vhangup.c: Likewise.
28869 * misc/writev.c: Likewise.
28870 * posix/_exit.c: Likewise.
28871 * posix/alarm.c: Likewise.
28872 * posix/execve.c: Likewise.
28873 * posix/fexecve.c: Likewise.
28874 * posix/fork.c: Likewise.
28875 * posix/fpathconf.c: Likewise.
28876 * posix/getaddrinfo.c: Likewise.
28877 * posix/getegid.c: Likewise.
28878 * posix/geteuid.c: Likewise.
28879 * posix/getgid.c: Likewise.
28880 * posix/getgroups.c: Likewise.
28881 * posix/getlogin.c: Likewise.
28882 * posix/getlogin_r.c: Likewise.
28883 * posix/getpgid.c: Likewise.
28884 * posix/getpid.c: Likewise.
28885 * posix/getppid.c: Likewise.
28886 * posix/getresgid.c: Likewise.
28887 * posix/getresuid.c: Likewise.
28888 * posix/getsid.c: Likewise.
28889 * posix/getuid.c: Likewise.
28890 * posix/glob64.c: Likewise.
28891 * posix/nanosleep.c: Likewise.
28892 * posix/pathconf.c: Likewise.
28893 * posix/pause.c: Likewise.
28894 * posix/posix_madvise.c: Likewise.
28895 * posix/pread.c: Likewise.
28896 * posix/pread64.c: Likewise.
28897 * posix/pwrite.c: Likewise.
28898 * posix/pwrite64.c: Likewise.
28899 * posix/sched_getaffinity.c: Likewise.
28900 * posix/sched_getp.c: Likewise.
28901 * posix/sched_gets.c: Likewise.
28902 * posix/sched_primax.c: Likewise.
28903 * posix/sched_primin.c: Likewise.
28904 * posix/sched_rr_gi.c: Likewise.
28905 * posix/sched_setaffinity.c: Likewise.
28906 * posix/sched_setp.c: Likewise.
28907 * posix/sched_sets.c: Likewise.
28908 * posix/sched_yield.c: Likewise.
28909 * posix/setgid.c: Likewise.
28910 * posix/setlogin.c: Likewise.
28911 * posix/setpgid.c: Likewise.
28912 * posix/setresgid.c: Likewise.
28913 * posix/setresuid.c: Likewise.
28914 * posix/setsid.c: Likewise.
28915 * posix/setuid.c: Likewise.
28916 * posix/sleep.c: Likewise.
28917 * posix/spawni.c: Likewise.
28918 * posix/sysconf.c: Likewise.
28919 * posix/times.c: Likewise.
28920 * posix/wait.c: Likewise.
28921 * posix/wait3.c: Likewise.
28922 * posix/wait4.c: Likewise.
28923 * posix/waitpid.c: Likewise.
28924 * resolv/gai_sigqueue.c: Likewise.
28925 * resource/getpriority.c: Likewise.
28926 * resource/getrlimit.c: Likewise.
28927 * resource/getrusage.c: Likewise.
28928 * resource/nice.c: Likewise.
28929 * resource/setpriority.c: Likewise.
28930 * resource/setrlimit.c: Likewise.
28931 * resource/ulimit.c: Likewise.
28932 * rt/aio_cancel.c: Likewise.
28933 * rt/aio_fsync.c: Likewise.
28934 * rt/aio_read.c: Likewise.
28935 * rt/aio_sigqueue.c: Likewise.
28936 * rt/aio_suspend.c: Likewise.
28937 * rt/aio_write.c: Likewise.
28938 * rt/clock_getres.c: Likewise.
28939 * rt/clock_gettime.c: Likewise.
28940 * rt/clock_nanosleep.c: Likewise.
28941 * rt/clock_settime.c: Likewise.
28942 * rt/lio_listio.c: Likewise.
28943 * rt/mq_close.c: Likewise.
28944 * rt/mq_getattr.c: Likewise.
28945 * rt/mq_notify.c: Likewise.
28946 * rt/mq_open.c: Likewise.
28947 * rt/mq_receive.c: Likewise.
28948 * rt/mq_send.c: Likewise.
28949 * rt/mq_setattr.c: Likewise.
28950 * rt/mq_timedreceive.c: Likewise.
28951 * rt/mq_timedsend.c: Likewise.
28952 * rt/mq_unlink.c: Likewise.
28953 * rt/shm_open.c: Likewise.
28954 * rt/shm_unlink.c: Likewise.
28955 * rt/timer_create.c: Likewise.
28956 * rt/timer_delete.c: Likewise.
28957 * rt/timer_getoverr.c: Likewise.
28958 * rt/timer_gettime.c: Likewise.
28959 * rt/timer_settime.c: Likewise.
28960 * setjmp/__longjmp.c: Likewise.
28961 * setjmp/setjmp.c: Likewise.
28962 * signal/kill.c: Likewise.
28963 * signal/killpg.c: Likewise.
28964 * signal/raise.c: Likewise.
28965 * signal/sigaction.c: Likewise.
28966 * signal/sigaltstack.c: Likewise.
28967 * signal/sigblock.c: Likewise.
28968 * signal/sigignore.c: Likewise.
28969 * signal/sigintr.c: Likewise.
28970 * signal/signal.c: Likewise.
28971 * signal/sigpause.c: Likewise.
28972 * signal/sigpending.c: Likewise.
28973 * signal/sigqueue.c: Likewise.
28974 * signal/sigreturn.c: Likewise.
28975 * signal/sigset.c: Likewise.
28976 * signal/sigsetmask.c: Likewise.
28977 * signal/sigstack.c: Likewise.
28978 * signal/sigsuspend.c: Likewise.
28979 * signal/sigtimedwait.c: Likewise.
28980 * signal/sigvec.c: Likewise.
28981 * signal/sigwait.c: Likewise.
28982 * signal/sigwaitinfo.c: Likewise.
28983 * signal/sysv_signal.c: Likewise.
28984 * socket/accept.c: Likewise.
28985 * socket/accept4.c: Likewise.
28986 * socket/bind.c: Likewise.
28987 * socket/connect.c: Likewise.
28988 * socket/getpeername.c: Likewise.
28989 * socket/getsockname.c: Likewise.
28990 * socket/getsockopt.c: Likewise.
28991 * socket/isfdtype.c: Likewise.
28992 * socket/listen.c: Likewise.
28993 * socket/recv.c: Likewise.
28994 * socket/recvfrom.c: Likewise.
28995 * socket/recvmsg.c: Likewise.
28996 * socket/send.c: Likewise.
28997 * socket/sendmsg.c: Likewise.
28998 * socket/sendto.c: Likewise.
28999 * socket/setsockopt.c: Likewise.
29000 * socket/shutdown.c: Likewise.
29001 * socket/sockatmark.c: Likewise.
29002 * socket/socket.c: Likewise.
29003 * socket/socketpair.c: Likewise.
29004 * stdio-common/ctermid.c: Likewise.
29005 * stdio-common/cuserid.c: Likewise.
29006 * stdio-common/remove.c: Likewise.
29007 * stdio-common/rename.c: Likewise.
29008 * stdio-common/renameat.c: Likewise.
29009 * stdio-common/tempname.c: Likewise.
29010 * stdlib/getcontext.c: Likewise.
29011 * stdlib/makecontext.c: Likewise.
29012 * stdlib/setcontext.c: Likewise.
29013 * stdlib/swapcontext.c: Likewise.
29014 * stdlib/system.c: Likewise.
29015 * streams/fattach.c: Likewise.
29016 * streams/fdetach.c: Likewise.
29017 * streams/getmsg.c: Likewise.
29018 * streams/getpmsg.c: Likewise.
29019 * streams/putmsg.c: Likewise.
29020 * streams/putpmsg.c: Likewise.
29021 * sysdeps/unix/bsd/getpt.c: Likewise.
29022 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29023 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29024 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29027 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29028 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29029 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29030 * sysvipc/msgctl.c: Likewise.
29031 * sysvipc/msgget.c: Likewise.
29032 * sysvipc/msgrcv.c: Likewise.
29033 * sysvipc/msgsnd.c: Likewise.
29034 * sysvipc/semctl.c: Likewise.
29035 * sysvipc/semget.c: Likewise.
29036 * sysvipc/semop.c: Likewise.
29037 * sysvipc/semtimedop.c: Likewise.
29038 * sysvipc/shmat.c: Likewise.
29039 * sysvipc/shmctl.c: Likewise.
29040 * sysvipc/shmdt.c: Likewise.
29041 * sysvipc/shmget.c: Likewise.
29042 * termios/tcdrain.c: Likewise.
29043 * termios/tcflow.c: Likewise.
29044 * termios/tcflush.c: Likewise.
29045 * termios/tcgetattr.c: Likewise.
29046 * termios/tcgetpgrp.c: Likewise.
29047 * termios/tcsendbrk.c: Likewise.
29048 * termios/tcsetattr.c: Likewise.
29049 * termios/tcsetpgrp.c: Likewise.
29050 * time/adjtime.c: Likewise.
29051 * time/clock.c: Likewise.
29052 * time/getitimer.c: Likewise.
29053 * time/gettimeofday.c: Likewise.
29054 * time/setitimer.c: Likewise.
29055 * time/settimeofday.c: Likewise.
29056 * time/stime.c: Likewise.
29057 * time/time.c: Likewise.
29059 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
29061 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29064 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29066 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29068 2012-11-03 Joseph Myers <joseph@codesourcery.com>
29071 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29072 FE_TONEAREST before applying Dekker multiplication and Knuth
29073 addition. Clear inexact exceptions and check for exact zero
29074 results afterwards.
29075 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29076 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29077 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29078 * math/libm-test.inc (fma_test): Add more tests.
29079 (fma_test_towardzero): Likewise.
29080 (fma_test_downward): Likewise.
29081 (fma_test_upward): Likewise.
29082 * sysdeps/generic/math_private.h (default_libc_fesetround): New
29084 (libc_fesetround): New macro.
29085 (libc_fesetroundf): Likewise.
29086 (libc_fesetroundl): Likewise.
29087 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29089 (libc_fesetround_387): Likewise.
29090 (libc_fesetroundf): New macro.
29091 (libc_fesetround): Likewise.
29092 (libc_fesetroundl): Likewise.
29093 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29095 (libc_fesetroundf): New macro.
29096 (libc_fesetround): Likewise.
29097 (libc_fesetroundl): Likewise.
29098 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29099 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29100 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29102 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29103 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29105 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29106 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29108 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29112 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29113 integer constant usable in #if and use that to give value to enum
29115 (FE_DIVBYZERO): Likewise.
29116 (FE_UNDERFLOW): Likewise.
29117 (FE_OVERFLOW): Likewise.
29118 (FE_INVALID): Likewise.
29119 (FE_INVALID_SNAN): Likewise.
29120 (FE_INVALID_ISI): Likewise.
29121 (FE_INVALID_IDI): Likewise.
29122 (FE_INVALID_ZDZ): Likewise.
29123 (FE_INVALID_IMZ): Likewise.
29124 (FE_INVALID_COMPARE): Likewise.
29125 (FE_INVALID_SOFTWARE): Likewise.
29126 (FE_INVALID_SQRT): Likewise.
29127 (FE_INVALID_INTEGER_CONVERSION): Likewise.
29128 (FE_TONEAREST): Likewise.
29129 (FE_TOWARDZERO): Likewise.
29130 (FE_UPWARD): Likewise.
29131 (FE_DOWNWARD): Likewise.
29132 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29133 (FE_DIVBYZERO): Likewise.
29134 (FE_OVERFLOW): Likewise.
29135 (FE_UNDERFLOW): Likewise.
29136 (FE_INEXACT): Likewise.
29137 (FE_TONEAREST): Likewise.
29138 (FE_DOWNWARD): Likewise.
29139 (FE_UPWARD): Likewise.
29140 (FE_TOWARDZERO): Likewise.
29141 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29142 (FE_UNDERFLOW): Likewise.
29143 (FE_OVERFLOW): Likewise.
29144 (FE_DIVBYZERO): Likewise.
29145 (FE_INVALID): Likewise.
29146 (FE_TONEAREST): Likewise.
29147 (FE_TOWARDZERO): Likewise.
29148 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29149 (FE_OVERFLOW): Likewise.
29150 (FE_UNDERFLOW): Likewise.
29151 (FE_DIVBYZERO): Likewise.
29152 (FE_INEXACT): Likewise.
29153 (FE_TONEAREST): Likewise.
29154 (FE_TOWARDZERO): Likewise.
29155 (FE_UPWARD): Likewise.
29156 (FE_DOWNWARD): Likewise.
29157 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29158 (FE_DIVBYZERO): Likewise.
29159 (FE_OVERFLOW): Likewise.
29160 (FE_UNDERFLOW): Likewise.
29161 (FE_INEXACT): Likewise.
29162 (FE_TONEAREST): Likewise.
29163 (FE_DOWNWARD): Likewise.
29164 (FE_UPWARD): Likewise.
29165 (FE_TOWARDZERO): Likewise.
29167 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
29169 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29171 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
29173 * scripts/cross-test-ssh.sh (command): Use newlines to separate
29174 commands. Quote $PWD.
29175 (blacklist_exports): Don't use remove_newlines. Replace "declare
29177 (remove_newlines): Remove.
29179 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
29181 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29182 * stdlib/stdlib.h (atof): Moved to ...
29183 * include/bits/stdlib-float.h: Here. New file.
29184 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29185 * stdlib/bits/stdlib-float.h: New file.
29186 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29188 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29191 2012-11-02 Joseph Myers <joseph@codesourcery.com>
29193 * conform/conformtest.pl (@headers): Add fenv.h.
29194 * conform/data/fenv.h-data: New file.
29195 * include/fenv.h [_ISOMAC]: Disable all contents of file except
29196 include of <math/fenv.h>.
29198 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29199 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29200 && !UNIX98]. Enables tests for XOPEN2K8.
29201 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29202 POSIX2008]: Likewise.
29204 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29205 (struct rusage): Do not expect type or its members.
29208 * math/math.h (FP_NAN): Define macro to integer constant usable in
29209 #if and use that to give value to enum constant.
29210 (FP_INFINITE): Likewise.
29211 (FP_ZERO): Likewise.
29212 (FP_SUBNORMAL): Likewise.
29213 (FP_NORMAL): Likewise.
29215 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
29217 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29218 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29221 2012-11-02 Roland McGrath <roland@hack.frob.com>
29223 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29224 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29225 autoconf-time if not.
29226 * configure.in: Remove AC_PREREQ.
29228 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29230 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29231 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29232 of the internal implementation.
29234 2012-11-02 Joseph Myers <joseph@codesourcery.com>
29236 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29237 except include of <misc/sys/syslog.h>.
29239 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29242 function returns with a NULL context exit with zero.
29244 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29246 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29248 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
29250 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29251 (run_program_cmd): This.
29252 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29253 (tst_langinfo): New variable. Use it.
29255 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
29257 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29258 floating point opcodes.
29260 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29262 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29265 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29267 * sysdeps/mach/hurd/powerpc: Remove directory.
29268 * sysdeps/mach/powerpc: Likewise.
29270 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29272 * scripts/check-local-headers.sh: Ignore c++ headers.
29274 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29276 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29277 __libc_cleanup_region_start argument.
29279 2012-11-01 Joseph Myers <joseph@codesourcery.com>
29283 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29284 x * y using scaling, not as x * y + z.
29285 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29286 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29287 * math/libm-test.inc (fma_test): Add more tests.
29288 (fma_test_towardzero): Likewise.
29289 (fma_test_downward): Likewise.
29290 (fma_test_upward): Likewise.
29292 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29294 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29296 2012-10-31 Joseph Myers <joseph@codesourcery.com>
29298 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29301 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
29303 * rt/tst-shm.c (worker): Correct checking for mmap failure.
29305 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29312 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29315 Fix the order of the list for glibc 2.17.
29316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29319 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29321 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29323 2012-10-31 Joseph Myers <joseph@codesourcery.com>
29326 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29327 for low part of x being zero before using __atanl (y).
29328 * math/libm-test.inc (atan2_test): Add another test.
29330 * manual/install.texi (Configuring and compiling): Document
29331 general use of test-wrapper and test-wrapper-env.
29332 * INSTALL: Regenerated.
29334 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29335 (__fma): Do not extract and scale down low bits on after-rounding
29336 systems when result rounded to normal precision would have normal
29338 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29339 (__fmal): Do not extract and scale down low bits on after-rounding
29340 systems when result rounded to normal precision would have normal
29342 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29343 (__fmal): Do not extract and scale down low bits on after-rounding
29344 systems when result rounded to normal precision would have normal
29346 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29348 (fma_test): Add more tests.
29349 (fma_test_towardzero): Likewise.
29350 (fma_test_downward): Likewise.
29351 (fma_test_upward): Likewise.
29353 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
29355 * sysdeps/i386/tininess.h: Renamed to ...
29356 * sysdeps/x86/tininess.h: This.
29357 * sysdeps/x86_64/tininess.h: Removed.
29359 2012-10-30 Joseph Myers <joseph@codesourcery.com>
29361 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29362 input. Use $(build-program-cmd).
29363 ($(objpfx)tst-array1-static.out): Likewise.
29364 ($(objpfx)tst-array2.out): Likewise.
29365 ($(objpfx)tst-array3.out): Likewise.
29366 ($(objpfx)tst-array4.out): Likewise.
29367 ($(objpfx)tst-array5.out): Likewise.
29368 ($(objpfx)tst-array5-static.out): Likewise.
29370 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
29372 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29375 * nss/nsswitch.h (nss_interface_function): Provide new
29376 macro for use with NSS functions.
29377 * grp/initgroups.c: Use new macro.
29378 * nss/getXXbyYY.c: Likewise.
29379 * nss/getXXbyYY_r.c: Likewise.
29380 * nss/getXXent.c: Likewise.
29381 * nss/getXXent_r.c: Likewise.
29382 * sysdeps/posix/getaddrinfo.c: Likewise.
29384 2012-10-30 Andreas Jaeger <aj@suse.de>
29386 * po/ru.po: Update Russion translation from translation project.
29388 2012-10-30 Joseph Myers <joseph@codesourcery.com>
29392 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29393 result and shift together with sticky bit instead of replicating
29394 round-to-nearest rounding.
29395 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29396 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29397 * math/libm-test.inc (fma_test): Add more tests. Do not permit
29398 missing underflow exceptions.
29399 (fma_test_towardzero): Add more tests.
29400 (fma_test_downward): Likewise.
29401 (fma_test_upward): Likewise.
29404 * sysdeps/generic/tininess.h: New file.
29405 * sysdeps/i386/tininess.h: Likewise.
29406 * sysdeps/sh/tininess.h: Likewise.
29407 * sysdeps/x86_64/tininess.h: Likewise.
29408 * stdlib/tst-strtod-underflow.c: Likewise.
29409 * stdlib/tst-tininess.c: Likewise.
29410 * stdlib/strtod_l.c: Include <tininess.h>.
29411 (round_and_return): Do not set errno for exact underflow cases.
29412 Force an underflow exception when setting errno for underflow.
29413 Determine underflow based on rounding to normal precision if
29414 TININESS_AFTER_ROUNDING.
29415 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29416 ERANGE for exact underflow cases.
29417 * stdlib/Makefile (tests): Add tst-tininess and
29418 tst-strtod-underflow.
29419 ($(objpfx)tst-tininess): Use $(link-libm).
29420 ($(objpfx)tst-strtod-underflow): Likewise.
29422 2012-10-30 Andreas Jaeger <aj@suse.de>
29425 * elf/Makefile (tests): Remove conditional for have-initfini-array
29426 since this is now always required and the variable does not exist
29428 (tests-static): Likewise.
29429 (modules-names): Likewise.
29431 * po/eo.po: Add Esperanto translation from translation project.
29433 * elf/tst-array1.c (fini_array): Make writeable so that it can be
29434 merged with constructor/destructor.
29435 (init_array): Likewise.
29436 * elf/tst-array2dep.c (fini_array): Likewise.
29437 (init_array): Likewise.
29439 2012-10-29 Mike Frysinger <vapier@gentoo.org>
29441 * manual/message.texi: Delete @cartouche tags.
29443 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
29445 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29447 * sysdeps/mach/hurd/fsync.c: Likewise.
29449 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29450 [_POSIX_REALTIME_SIGNALS]: Change condition to
29451 [_POSIX_REALTIME_SIGNALS > 0].
29453 2012-10-27 Andreas Jaeger <aj@suse.de>
29455 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29456 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29457 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29458 [__WORDSIZE != 64]: Likewise.
29460 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
29462 * iconvdata/tst-table.sh: Remove ${SHELL}.
29463 * iconvdata/tst-tables.sh: Likewise.
29465 2012-10-25 David S. Miller <davem@davemloft.net>
29467 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29468 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29471 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29473 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29474 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29475 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29478 2012-10-25 Roland McGrath <roland@hack.frob.com>
29480 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29481 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29484 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29485 Jim Blandy <jimb@codesourcery.com>
29487 * scripts/cross-test-ssh.sh: New file.
29488 * manual/install.texi (Configuring and compiling): Document use of
29490 * INSTALL: Regenerated.
29492 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
29494 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29497 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29499 * Makeconfig (run-program-prefix): Fix comment.
29501 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29502 Jim Blandy <jimb@codesourcery.com>
29504 * Makeconfig (test-wrapper): New variable,
29505 (test-wrapper-env): Likewise.
29506 [$(cross-compiling) = yes && $(test-wrapper) != ""]
29507 (run-built-tests): Define to yes.
29508 (run-program-prefix): Use $(test-wrapper).
29509 (built-program-cmd): Likewise.
29510 * Rules (make-test-out): Use $(test-wrapper-env) and
29511 $(host-built-program-cmd).
29512 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29513 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29515 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29516 $(test-wrapper-env) to tst-rtld-load-self.sh.
29517 ($(objpfx)order2.out): Use $(test-wrapper).
29518 ($(objpfx)tst-initorder.out): Likewise.
29519 ($(objpfx)tst-initorder2.out): Likewise.
29520 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29521 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29522 (test_wrapper_env): New variable. Use it to run ld.so.
29523 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29524 Use it to run ld.so.
29525 (test_wrapper_env): Likewise.
29526 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29527 $(test-wrapper) to run-iconv-test.sh.
29528 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29529 (ICONV): Use $test_wrapper.
29530 * posix/Makefile ($(objpfx)globtest.out): Pass
29531 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29532 globtest.sh, not $(run-program-prefix).
29533 * posix/globtest.sh (run_via_rtld_prefix): New variable.
29534 (test_wrapper): Likewise.
29535 (test_wrapper_env): Likewise. Use it to run globtest with HOME
29536 set together with run_via_rtld_prefix.
29537 (run_program_prefix): Define in terms of test_wrapper and
29538 run_via_rtld_prefix.
29540 2012-10-24 Roland McGrath <roland@hack.frob.com>
29542 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29543 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29547 * include/time.h: Remove librt_hidden_proto (clock_gettime).
29548 Declare __clock_getres, __clock_gettime, __clock_settime,
29549 __clock_nanosleep, and __clock_getcpuclockid.
29550 * rt/clock_gettime.c: Define __clock_gettime as an alias.
29551 Remove librt_hidden_def (clock_gettime).
29552 * sysdeps/unix/clock_gettime.c: Likewise.
29553 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29554 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29555 * rt/clock_getres.c: Define __clock_getres as an alias.
29556 * sysdeps/posix/clock_getres.c: Likewise.
29557 * rt/clock_settime.c: Define __clock_settime as an alias.
29558 * sysdeps/unix/clock_settime.c: Likewise.
29559 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29560 * sysdeps/unix/clock_nanosleep.c: Likewise.
29561 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29562 * rt/clock-compat.c: New file.
29563 * rt/Makefile (librt-routines): Add clock-compat and move
29564 $(clock-routines) to ...
29565 (routines): ... here, new variable.
29566 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29567 Don't add get_clockfreq here.
29568 * rt/Versions (libc: GLIBC_2.17): New version set.
29569 Add clock_* symbols here.
29570 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
29571 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29572 (GLIBC_2.17): Add clock_* symbols.
29573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29575 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29580 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29581 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29584 * NEWS: Mention the move.
29586 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29587 Use __open, __read, __close rather than their public counterparts.
29588 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29589 (__get_clockfreq_via_cpuinfo): Likewise.
29590 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29591 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29593 * config.h.in (HAVE_IFUNC): New #undef.
29594 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29596 * configure: Regenerated.
29598 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29600 * configure.in: Move READELF check to start of file.
29601 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29602 libc_cv_asm_gnu_indirect_function in the process.
29603 * configure: Regenerated.
29605 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29607 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29608 send the output to /dev/null.
29609 (libc_cv_cc_with_libunwind): Likewise.
29610 (libc_cv_as_noexecstack): Likewise.
29611 * configure: Regenerate.
29613 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29615 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29617 * posix/globtest.sh (TMPDIR): Do not set.
29618 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29619 (testout): Likewise.
29621 2012-10-24 Andreas Jaeger <aj@suse.de>
29623 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29624 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29625 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29626 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29627 posix_fadvise64, posix_fallocate64.
29629 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29630 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29631 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29633 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29635 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29637 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29638 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29639 <bits/fcntl-linux.h>.
29640 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29642 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29643 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29644 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29645 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29646 [__WORDSIZE != 64]: Likewise.
29648 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29650 * Makeconfig (run-built-tests): New variable.
29651 * Rules [$(cross-compiling) = yes]: Change condition to
29652 [$(run-built-tests) = no].
29653 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29654 to [$(run-built-tests) = yes].
29655 * elf/Makefile [$(cross-compiling) = no]: Likewise
29656 * grp/Makefile [$(cross-compiling) = no]: Likewise.
29657 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29658 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29659 * intl/Makefile [$(cross-compiling) = no]: Likewise.
29660 * io/Makefile [$(cross-compiling) = no]: Likewise.
29661 * libio/Makefile [$(cross-compiling) = no]: Likewise.
29662 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29663 * misc/Makefile [$(cross-compiling) = no]: Likewise.
29664 * posix/Makefile [$(cross-compiling) = no]: Likewise.
29665 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29666 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29667 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29668 * string/Makefile [$(cross-compiling) = no]: Likewise.
29670 * posix/Makefile ($(objpfx)globtest.out): Pass
29671 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29672 $(rtld-installed-name).
29673 * posix/globtest.sh (elf_objpfx): Remove variable.
29674 (rtld_installed_name): Likewise.
29675 (library_path): Likewise.
29676 (run_program_prefix): New variable. Use for running globtest
29679 2012-10-23 Jim Blandy <jimb@codesourcery.com>
29680 Joseph Myers <joseph@codesourcery.com>
29682 * Makeconfig (host-built-program-cmd): New variable.
29683 * elf/Makefile (tst-stackguard1-ARGS): Use
29684 $(host-built-program-cmd).
29685 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29686 (tst-spawn-ARGS): Likewise.
29687 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29689 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29690 Jim Blandy <jimb@codesourcery.com>
29692 * Makeconfig (run-via-rtld-prefix): New variable.
29693 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29694 (built-program-cmd): Likewise.
29696 2012-10-22 Andreas Jaeger <aj@suse.de>
29698 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29699 __O_RSYNC if it exists, otherwise to O_SYNC.
29701 2012-10-22 Jim Blandy <jimb@codesourcery.com>
29702 Joseph Myers <joseph@codesourcery.com>
29704 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29706 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29708 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29711 2012-10-22 Andreas Jaeger <aj@suse.de>
29713 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29715 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29717 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29718 bits/fcntl-linux.h.
29720 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29721 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29723 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29725 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29728 2012-10-21 Jim Blandy <jimb@codesourcery.com>
29729 Joseph Myers <joseph@codesourcery.com>
29731 * config.make.in (NM): New variable.
29733 2012-10-21 Andreas Jaeger <aj@suse.de>
29735 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29736 definitions and declarations that are provided by
29737 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29739 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29742 * elf/Makefile (tests-static): Add tst-leaks1-static.
29743 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29744 ($(objpfx)tst-leaks1-static): New rule.
29745 ($(objpfx)tst-leaks1-static-mem): Likewise.
29746 (tst-leaks1-static-ENV): New macro.
29747 * elf/dl-open.c (dl_open_worker): Check the main application
29748 only if SHARED is defined.
29749 * elf/tst-leaks1-static.c: New file.
29751 2012-10-20 Andreas Jaeger <aj@suse.de>
29753 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29754 generic values for Linux.
29755 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29756 and declarations that are provided by <bits/fcntl-linux.h> and
29757 include <bits/fcntl-linux.h>.
29758 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29759 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29761 2012-10-20 Roland McGrath <roland@hack.frob.com>
29763 * io/fcntl.h: Move include of <bits/types.h> to the top and
29764 include it unconditionally.
29766 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29768 * wcsmbs/Makefile (tests-ifunc): New variable.
29769 (tests): Add $(tests-ifunc).
29770 * wcsmbs/test-wcschr-ifunc.c: New file.
29771 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29772 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29773 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29774 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29775 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29777 * string/Makefile (tests-ifunc): New variable.
29778 (tests): Add $(tests-ifunc).
29779 * string/test-memccpy.c (TEST_NAME): New macro.
29780 * string/test-memchr.c (TEST_NAME): Likewise.
29781 * string/test-memcmp.c (TEST_NAME): Likewise.
29782 * string/test-memcpy.c (TEST_NAME): Likewise.
29783 * string/test-memmem.c (TEST_NAME): Likewise.
29784 * string/test-memmove.c (TEST_NAME): Likewise.
29785 * string/test-memset.c (TEST_NAME): Likewise.
29786 * string/test-rawmemchr.c (TEST_NAME): Likewise.
29787 * string/test-stpcpy.c (TEST_NAME): Likewise.
29788 * string/test-stpncpy.c (TEST_NAME): Likewise.
29789 * string/test-strcasecmp.c (TEST_NAME): Likewise.
29790 * string/test-strcasestr.c (TEST_NAME): Likewise.
29791 * string/test-strcat.c (TEST_NAME): Likewise.
29792 * string/test-strchr.c (TEST_NAME): Likewise.
29793 * string/test-strcmp.c(TEST_NAME): Likewise.
29794 * string/test-strcpy.c (TEST_NAME): Likewise.
29795 * string/test-strcspn.c (TEST_NAME): Likewise.
29796 * string/test-strlen.c (TEST_NAME): Likewise.
29797 * string/test-strncasecmp.c (TEST_NAME): Likewise.
29798 * string/test-strncmp.c (TEST_NAME): Likewise.
29799 * string/test-strncpy.c (TEST_NAME): Likewise.
29800 * string/test-strnlen.c (TEST_NAME): Likewise.
29801 * string/test-strpbrk.c (TEST_NAME): Likewise.
29802 * string/test-strrchr.c (TEST_NAME): Likewise.
29803 * string/test-strspn.c (TEST_NAME): Likewise.
29804 * string/test-strstr.c (TEST_NAME): Likewise.
29805 * string/test-bcopy-ifunc.c: New file.
29806 * string/test-bzero-ifunc.c: Likewise.
29807 * string/test-memccpy-ifunc.c: Likewise.
29808 * string/test-memchr-ifunc.c: Likewise.
29809 * string/test-memcmp-ifunc.c: Likewise.
29810 * string/test-memcpy-ifunc.c: Likewise.
29811 * string/test-memmem-ifunc.c: Likewise.
29812 * string/test-memmove-ifunc.c: Likewise.
29813 * string/test-mempcpy-ifunc.c: Likewise.
29814 * string/test-memset-ifunc.c: Likewise.
29815 * string/test-rawmemchr-ifunc.c: Likewise.
29816 * string/test-stpcpy-ifunc.c: Likewise.
29817 * string/test-stpncpy-ifunc.c: Likewise.
29818 * string/test-strcasecmp-ifunc.c: Likewise.
29819 * string/test-strcasestr-ifunc.c: Likewise.
29820 * string/test-strcat-ifunc.c: Likewise.
29821 * string/test-strchr-ifunc.c: Likewise.
29822 * string/test-strchrnul-ifunc.c: Likewise.
29823 * string/test-strcmp-ifunc.c: Likewise.
29824 * string/test-strcpy-ifunc.c: Likewise.
29825 * string/test-strcspn-ifunc.c: Likewise.
29826 * string/test-strlen-ifunc.c: Likewise.
29827 * string/test-strncasecmp-ifunc.c: Likewise.
29828 * string/test-strncat-ifunc.c: Likewise.
29829 * string/test-strncmp-ifunc.c: Likewise.
29830 * string/test-strncpy-ifunc.c: Likewise.
29831 * string/test-strnlen-ifunc.c: Likewise.
29832 * string/test-strpbrk-ifunc.c: Likewise.
29833 * string/test-strrchr-ifunc.c: Likewise.
29834 * string/test-strspn-ifunc.c: Likewise.
29835 * string/test-strstr-ifunc.c: Likewise.
29837 * debug/Makefile (tests-ifunc): New variable.
29838 (tests): Add $(tests-ifunc).
29839 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29840 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29841 * debug/test-stpcpy_chk-ifunc.c: New file.
29842 * debug/test-strcpy_chk-ifunc.c: Likewise.
29844 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29847 * elf/dl-load.c (open_verify): Retry read if the entire ELF
29848 header is not read in.
29850 2012-10-19 Joseph Myers <joseph@codesourcery.com>
29852 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
29853 script to $(SHELL) as $<. Pass $(common-objpfx) to script
29854 directly. Pass built executable to script as
29855 $(built-program-cmd).
29856 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
29857 $testprogram without using LD_LIBRARY_PATH and $ldso.
29859 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29860 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29861 $(rtld-installed-name).
29862 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29863 (rtld_installed_name): Likewise.
29864 (library_path): Likewise.
29865 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
29866 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29867 $(run-program-prefix) to tst-tables.sh.
29868 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
29869 it to run tst-table-from and tst-table-to.
29870 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29871 Pass it to tst-table.sh.
29872 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29873 $(run-program-prefix) to tst-gettext.sh.
29874 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29876 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29878 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
29879 to run tst-gettext.
29880 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
29881 to run tst-gettext2.
29882 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
29883 to run tst-translit.
29884 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29885 $(run-program-prefix) to tst-mtrace.sh.
29886 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
29888 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29889 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29890 $(rtld-installed-name).
29891 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29892 (rtld_installed_name): Likewise.
29893 (run_program_prefix): New variable. Use it to run wordexp-test.
29895 * Makeconfig (ARCH): Remove all definitions.
29896 (machine): Likewise.
29897 [ARCH]: Remove conditional code.
29898 [!objdir]: Give error.
29899 [!objdir] (objpfx): Remove.
29900 [!objdir] (common-objpfx): Likewise.
29901 [!objdir] (common-objdir): Likewise.
29902 * configure.in (config_makefile): Remove. Hardcode Makefile in
29903 AC_CONFIG_FILES call.
29904 * configure: Regenerated.
29907 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29909 (testout): Likewise.
29911 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29912 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29913 $(rtld-installed-name).
29914 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29915 (rtld_installed_name): Likwise.
29916 (runit): Remove function.
29917 (run_getconf): New variable, Use it for running getconf binary.
29919 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29922 * string/test-memmem.c (check_result): New function.
29923 (do_one_test): Use it.
29924 (check1): New function.
29925 (test_main): Use it.
29927 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29929 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29931 2012-10-18 Joseph Myers <joseph@codesourcery.com>
29933 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29934 (_G_LSEEK64): Likewise.
29935 (_G_MMAP64): Likewise.
29936 (_G_FSTAT64): Likewise.
29937 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29938 (_G_LSEEK64): Likewise.
29939 (_G_MMAP64): Likewise.
29940 (_G_FSTAT64): Likewise.
29941 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29942 unconditional. Call __mmap64 directly.
29943 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29944 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29945 __lseek64 directly.
29946 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29947 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29949 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29950 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29951 __lseek64 directly.
29952 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29953 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29954 __lseek64 directly.
29955 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29956 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29957 __lseek64 directly.
29958 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29959 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29960 __fxstat64 directly.
29961 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29962 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29964 (freopen64) [!_G_OPEN64]: Remove conditional code.
29965 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29967 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29968 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29970 (ftello64) [!_G_LSEEK64]: Remove conditional code.
29971 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29973 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29974 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29976 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29977 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29979 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29980 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29982 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29983 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29985 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29987 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29990 * manual/memory.texi (Malloc Tunable Parameters): Add note
29991 about free list pointers overwriting some perturb bytes.
29992 Wording suggested by Roland McGrath.
29994 2012-10-17 Joseph Myers <joseph@codesourcery.com>
29996 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29997 (lgamma_test): Likewise.
29998 (tgamma_test): Likewise.
30000 2012-10-16 Florian Weimer <fweimer@redhat.com>
30003 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30004 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30006 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
30008 * NEWS: Mention BZ #14716.
30009 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30010 when removing AVAILABLE1_USES_J macro.
30012 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
30014 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30015 (__bswap_64): __uint64_t for unsigned 64-bit int.
30017 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
30019 * include/string.h (memmem): Declare libc hidden alias.
30020 * string/memmem.c (memmem): Define libc hidden alias.
30021 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30022 __read, __close instead of open, read, close.
30024 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
30026 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30027 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30029 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30030 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30031 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30033 (__rawmemchr_sse2): Likewise.
30034 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30035 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30036 (__strchr_sse2): Likewise.
30037 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30038 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30039 (__strcasecmp_sse2): Likewise.
30040 (__strncasecmp_sse2): Likewise.
30041 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30042 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30043 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30044 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30045 (__strrchr_sse2): Likewise.
30046 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30048 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30049 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30050 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30051 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30052 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30053 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30054 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30055 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30056 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30057 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30058 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30059 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30060 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30061 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30062 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30063 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30064 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30065 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30066 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30067 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30068 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30069 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30070 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30071 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30072 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30073 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30074 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30075 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30076 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30077 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30079 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30081 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30082 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30083 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30084 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30086 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30088 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30089 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30090 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30091 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30093 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30094 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30095 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30096 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30097 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30098 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30099 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30100 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30101 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30102 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30103 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30104 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30105 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30106 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30107 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30108 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30109 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30110 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30111 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30112 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30113 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30114 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30115 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30116 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30117 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30118 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30119 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30120 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30121 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30122 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30123 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30124 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30125 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30126 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30127 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30128 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30129 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30130 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30131 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30132 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30133 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30135 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30136 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30137 * include/ifunc-impl-list.h: New file.
30138 * misc/ifunc-impl-list.c: Likewise.
30139 * misc/Makefile (routines): Add ifunc-impl-list.
30140 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30141 * string/test-string.h: Include <ifunc-impl-list.h>.
30142 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30143 TEST_NAME]: New variables.
30144 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30146 (test_init): Call __libc_ifunc_impl_list to initialize
30147 func_list if TEST_IFUNC and TEST_NAME are defined.
30149 * string/Makefile (strop-tests): Add bcopy and bzero.
30150 * string/test-bcopy.c: New file.
30151 * string/test-bzero.c: Likewise.
30152 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30154 * string/test-memset.c: Support bzero test if TEST_BZERO is
30156 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30158 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30160 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30163 2012-10-10 Joseph Myers <joseph@codesourcery.com>
30165 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30166 * configure: Regenerated.
30168 * Makeconfig (+link-static-before-libc): Don't include
30169 $(link-static-libc).
30171 * libio/libio.h (_IO_pos_t): Remove.
30173 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30175 * NEWS: Add note about FIPS mode. Wording suggested by Roland
30178 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30180 * crypt/crypt-entry.c: Include fips-private.h.
30181 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30182 * crypt/md5c-test.c (main): Tolerate disabled MD5.
30183 * sysdeps/unix/sysv/linux/fips-private.h: New file.
30184 * sysdeps/generic/fips-private.h: New file, dummy fallback.
30186 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30188 * crypt/crypt-private.h: Include stdbool.h.
30189 (_ufc_setup_salt_r): Return bool.
30190 * crypt/crypt-entry.c: Include errno.h.
30191 (__crypt_r): Return NULL with EINVAL for bad salt.
30192 * crypt/crypt_util.c (bad_for_salt): New.
30193 (_ufc_setup_salt_r): Check that salt is long enough and within
30194 the specified alphabet.
30195 * crypt/badsalttest.c: New file.
30196 * crypt/Makefile (tests): Add it.
30197 ($(objpfx)badsalttest): New.
30199 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
30201 * NEWS: Add entry for BZ #14602.
30203 2012-10-09 Joseph Myers <joseph@codesourcery.com>
30205 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30207 * math/libm-test.inc: Update comment listing what functions and
30209 (isgreater_test): New function.
30210 (isgreaterequal_test): Likewise.
30211 (isless_test): Likewise.
30212 (islessequal_test): Likewise.
30213 (islessgreater_test): Likewise.
30214 (isunordered_test): Likewise.
30215 (main): Call the new functions.
30217 2012-10-09 Roland McGrath <roland@hack.frob.com>
30219 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30220 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30221 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30222 * sysdeps/i386/configure: Regenerated.
30223 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30224 * sysdeps/mach/configure: Regenerated.
30225 * sysdeps/mach/hurd/configure: Regenerated.
30226 * sysdeps/powerpc/configure: Regenerated.
30227 * sysdeps/powerpc/powerpc32/configure: Regenerated.
30228 * sysdeps/powerpc/powerpc64/configure: Regenerated.
30229 * sysdeps/s390/s390-32/configure: Regenerated.
30230 * sysdeps/s390/s390-64/configure: Regenerated.
30231 * sysdeps/sh/configure: Regenerated.
30232 * sysdeps/sparc/configure: Regenerated.
30233 * sysdeps/unix/sysv/linux/configure: Regenerated.
30234 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30235 * sysdeps/x86_64/configure: Regenerated.
30237 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30238 defined. Don't check if MAP is NULL.
30240 2012-10-09 Joseph Myers <joseph@codesourcery.com>
30242 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30243 (_G_stat64): Likewise.
30244 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30245 (_G_stat64): Likewise.
30246 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30247 instead of struct _G_stat64.
30248 * libio/fileops.c (mmap_remap_check): Likewise.
30249 (decide_maybe_mmap): Likewise.
30250 (_IO_new_file_seekoff): Likewise.
30251 (_IO_file_stat): Likewise.
30252 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30254 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30255 instead of struct _G_stat64.
30256 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30258 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
30261 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30263 (CHECK_EOL): New macro.
30264 (two_way_short_needle): Check beginning of haystack for EOL. Use
30266 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30267 Replace with CHECK_EOL.
30268 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30269 Replace with CHECK_EOL.
30271 2012-10-08 Joseph Myers <joseph@codesourcery.com>
30273 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30275 * math/libm-test.inc: Update comment listing what functions and
30277 (finite_test): New function.
30278 (isinf_test): Likewise.
30279 (isnan_test): Likewise.
30280 (fpclassify_test): Test subnormal input.
30281 (isfinite_test): Likewise.
30282 (isnormal_test): Likewise.
30283 (main): Call the new functions.
30285 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
30288 * Makerules (%.dynsym): Force C locale when running
30289 $(OBJDUMP) --dynamic-syms.
30291 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
30293 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30296 2012-10-06 David S. Miller <davem@davemloft.net>
30298 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30299 upper 32-bits of the length value in %o2 since we use branch-on-register
30300 tests which consider the entire 64-bit register.
30302 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
30304 * string/test-strstr.c (check2): Add a test for page boundary.
30306 2012-10-05 David S. Miller <davem@davemloft.net>
30308 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30309 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30311 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30313 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30314 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30315 and bzero when HWCAP_SPARC_CRYPTO is present.
30317 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
30320 * string/test-strstr.c (check2): New function.
30321 (test_main): Call check2.
30323 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30325 * string/bug-strcasestr1.c (do_test): Moved to ...
30326 * string/test-strcasestr.c (check1): Here. New function.
30327 (do_one_test): Break out result checking code into ...
30328 (check_result): This. New function.
30329 (do_one_test): Call check_result.
30330 (test_main): Call check1.
30331 * string/bug-strchr1.c (do_test): Moved to ...
30332 * string/test-strchr.c (check1): Here. New function.
30333 (do_one_test): Break out result checking code into ...
30334 (check_result): This. New function.
30335 (do_one_test): Call check_result.
30336 (test_main): Call check1.
30337 * string/bug-strstr1.c (main): Moved to ...
30338 * string/test-strstr.c (check1): Here. New function.
30339 (do_one_test): Break out result checking code into ...
30340 (check_result): This. New function.
30341 (do_one_test): Call check_result.
30342 (test_main): Call check1.
30343 * string/bug-strcasestr1.c: Removed.
30344 * string/bug-strchr1.c: Likewise.
30345 * string/bug-strstr1.c: Likewise.
30347 * elf/Makefile (dl-routines): Add hwcaps.
30348 * elf/dl-support.c (_dl_important_hwcaps): Removed.
30349 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30350 (_dl_important_hwcaps): Moved to ...
30351 * elf/dl-hwcaps.c: Here. New file.
30352 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30355 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30356 if IS_IN_rtld isn't defined.
30358 * elf/dl-support.c (_dl_sysinfo_map): New.
30359 Include "get-dynamic-info.h" and "setup-vdso.h".
30360 (_dl_non_dynamic_init): Call setup_vdso.
30361 * elf/dynamic-link.h: Don't include <assert.h>.
30362 (elf_get_dynamic_info): Moved to ...
30363 * elf/get-dynamic-info.h: Here. New file.
30364 * elf/dynamic-link.h: Include "get-dynamic-info.h".
30365 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30366 * elf/setup-vdso.h: Here. New file.
30367 * elf/rtld.c: Include "setup-vdso.h".
30368 (dl_main): Call setup_vdso.
30370 2012-10-05 Joseph Myers <joseph@codesourcery.com>
30372 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30373 creal in comment listing functions tested. List finite, isinf,
30374 isnan, isless, islessequal, isgreater, isgreaterequal,
30375 islessgreater, isunordered, lgamma_r and pow10 as functions and
30376 macros not tested. Mention which functions not tested are aliases
30377 for other functions. Fix typo. Note that signs of NaNs are not
30380 * scripts/config.guess: Update from config.git.
30381 * scripts/config.sub: Likewise.
30383 2012-10-04 Roland McGrath <roland@hack.frob.com>
30385 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30386 * misc/madvise.c (madvise): Renamed to __madvise.
30387 Make madvise a weak alias.
30388 * include/sys/mman.h: Declare __madvise.
30389 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30390 * sysdeps/unix/syscalls.list
30391 (madvise): Make __madvise the strong name, and madvise a weak alias.
30392 * sysdeps/unix/sysv/linux/syscalls.list
30393 (madvise, mmap): Remove redundant entries.
30394 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30395 * malloc/malloc.c (mtrim): Likewise.
30396 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30398 2012-10-03 Roland McGrath <roland@hack.frob.com>
30400 * sysdeps/mach/hurd/dl-cache.c: File removed.
30401 * config.h.in (USE_LDCONFIG): New #undef.
30402 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30403 * configure: Regenerated.
30404 * elf/Makefile (dl-routines): Add dl-cache only under
30405 [$(use-ldconfig) = yes].
30406 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30407 cache on [USE_LDCONFIG].
30408 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30410 * elf/rtld.c (dl_main): Likewise.
30412 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
30414 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30415 _SC_LEVEL4_CACHE_LINESIZE.
30417 2012-10-03 Roland McGrath <roland@hack.frob.com>
30419 * sysdeps/unix/bsd/confstr.h: File removed.
30421 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
30423 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30426 2012-10-02 Roland McGrath <roland@hack.frob.com>
30428 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30429 Make 'mapoff' field ElfW(Off) rather than off_t.
30431 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
30433 * nscd/Makefile: Remove nscd-cflags and all its users.
30434 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30435 (CFLAGS-nonlib): Add compiler flags for nscd modules.
30438 * malloc.c (malloc_printerr): Clarify error message.
30440 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
30443 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30444 Set bit_FMA_Usable if FMA is supported.
30445 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30447 (bit_FMA4_Usable): Updated.
30448 (index_FMA_Usable): New macro.
30449 (CPUID_FMA): Likewise
30450 (HAS_FMA): Defined with bit_FMA_Usable.
30452 2012-10-01 Roland McGrath <roland@hack.frob.com>
30454 * bits/types.h (__swblk_t): Type removed.
30455 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30456 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30457 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30458 (__SWBLK_T_TYPE): Likewise.
30459 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30460 (__SWBLK_T_TYPE): Likewise.
30461 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30462 (__SWBLK_T_TYPE): Likewise.
30463 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30464 (__SWBLK_T_TYPE): Likewise.
30466 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
30467 Honza Horak <hhorak@redhat.com>
30469 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30470 (xdr_mapname): Use YPMAXMAP as maxsize.
30471 (xdr_peername): Use YPMAXPEER as maxsize.
30472 (xdr_keydat): Use YPAXRECORD as maxsize.
30473 (xdr_valdat): Use YPMAXRECORD as maxsize.
30475 2012-10-01 Roland McGrath <roland@hack.frob.com>
30477 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30479 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30480 * csu/init-first.c: ... here.
30481 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30482 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30483 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30484 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30485 * sysdeps/i386/init-first.c: File removed.
30486 * sysdeps/sh/init-first.c: File removed.
30488 2012-10-01 Joseph Myers <joseph@codesourcery.com>
30491 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30492 if x * y might underflow to zero and z is zero.
30493 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30494 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30495 * math/libm-test.inc (min_subnorm_value): New variable.
30496 (fma_test): Add more tests.
30497 (fma_test_towardzero): Likewise.
30498 (fma_test_downward): Likewise
30499 (fma_test_upward): Likewise.
30500 (initialize): Set min_subnorm_value.
30502 2012-09-29 Joseph Myers <joseph@codesourcery.com>
30505 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30507 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30508 mode for addition resulting in exact zero.
30509 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30510 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30512 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30513 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30514 * math/libm-test.inc (fma_test): Add more tests.
30515 (fma_test_towardzero): New function.
30516 (fma_test_downward): Likewise.
30517 (fma_test_upward): Likewise.
30518 (main): Call the new functions.
30520 2012-09-28 David S. Miller <davem@davemloft.net>
30522 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30524 2012-09-28 Roland McGrath <roland@hack.frob.com>
30526 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30527 instead of SIGALRM.
30529 * sysdeps/gnu/_G_config.h: Moved to ...
30530 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30531 * sysdeps/mach/hurd/_G_config.h: Moved to ...
30532 * sysdeps/generic/_G_config.h: ... here.
30534 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
30536 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30538 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30539 Conditionalize target on [libnss_test1.so-version].
30541 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30543 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30544 (elfobjdir): Move out of conditionals.
30546 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30547 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30548 (__nss_lookup_function): Conditionalize label remove_from_tree on
30549 [!DO_STATIC_NSS || SHARED], matching its only use.
30551 2012-09-28 David S. Miller <davem@davemloft.net>
30553 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30554 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30556 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30558 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30559 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30560 when HWCAP_SPARC_CRYPTO is present.
30562 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30564 * io/tst-mknodat.c: Create a FIFO instead of a socket.
30566 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
30569 * stdio-common/vfprintf.c (process_string_arg): Revert
30572 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
30574 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30576 * stdio-common/tst-sprintf.c: Include <locale.h>
30577 (main): Test sprintf's handling of incomplete multibyte
30580 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
30582 * elf/dl-runtime.c (VERSYMIDX): Removed.
30583 * elf/dl-version.c (VERSYMIDX): Likewise.
30584 * elf/do-rel.h (VERSYMIDX): Likewise.
30585 (VALIDX): Likewise.
30586 * elf/dynamic-link.h (VERSYMIDX): Likewise.
30587 * elf/rtld.c (VALIDX): Likewise.
30588 (ADDRIDX): Likewise.
30589 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30590 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30591 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30592 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30593 (VALIDX): Likewise.
30594 (ADDRIDX): Likewise.
30596 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30598 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30600 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
30603 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30605 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30606 addresses are in the same scope as 192.0.2/24.
30607 * posix/gai.conf: Document new scope table defaults.
30609 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30612 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30613 for ftell. Compute offsets from write pointers instead.
30614 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30616 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30619 * libio/Makefile (tests): New test case tst-fseek.
30620 * libio/tst-fseek.c: New test case to verify that fseek/ftell
30621 combination works in wide mode.
30622 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30623 state when the external buffer state changes.
30625 2012-09-27 David S. Miller <davem@davemloft.net>
30628 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30629 pass reloc->r_addend in as the 'high' argument to
30630 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30632 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30634 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30636 * rt/tst-aio2.c: Include <pthread.h>.
30637 * rt/tst-aio3.c: Likewise.
30639 2012-09-27 Steve Ellcey <sellcey@mips.com>
30641 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30643 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
30645 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30646 contents on [SHARED].
30648 2012-09-26 Marek Polacek <polacek@redhat.com>
30652 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30653 for C++ and GCC <4.3 as well as for non GCC compilers.
30655 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30657 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30659 2012-09-25 Roland McGrath <roland@hack.frob.com>
30661 * Makefile.in (all, install): Declare with .PHONY.
30662 Reported by Michael Hope <michael.hope@linaro.org>.
30664 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30666 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30667 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30669 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30671 (sydep_routines): Add the new and the internal functions.
30672 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30673 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30675 (GLIBC_2.17): Add the new function.
30676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30677 (GLIBC_2.17): Likewise.
30678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30679 (GLIBC_2.17): Likewise.
30680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30681 (GLIBC_2.17): Likewise.
30682 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30684 2012-09-25 Alan Modra <amodra@gmail.com>
30686 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30687 Add release barrier before setting once_control to say
30688 initialisation is done. Add hints on lwarx. Use macro in
30690 (clear_once_control): Add release barrier.
30692 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30695 * math/s_clog.c (__clog): Handle more values close to |z| = 1
30697 * math/s_clog10.c (__clog10): Likewise.
30698 * math/s_clog10f.c (__clog10f): Likewise.
30699 * math/s_clog10l.c (__clog10l): Likewise.
30700 * math/s_clogf.c (__clogf): Likewise.
30701 * math/s_clogl.c (__clogl): Likewise.
30702 * math/Makefile (libm-calls): Add x2y2m1.
30703 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30704 (__x2y2m1): Likewise.
30705 (__x2y2m1l): Likewise.
30706 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30707 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30708 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30709 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30710 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30711 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30712 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30713 * sysdeps/i386/fpu/libm-test-ulps: Update.
30714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30717 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30718 int as type of variable DEPTH.
30719 (glob): Use size_t instead of int as type of variables NEWCOUNT
30722 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30724 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30725 Add s_sincosf-sse2.
30726 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30727 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30728 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30729 macros for using routine as __sincosf_ia32.
30730 Use macro for function declaration and weak_alias.
30731 * sysdeps/i386/fpu/libm-test-ulps: Update.
30733 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30734 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30736 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30737 subnormal argument.
30738 * math/s_cexpf.c (__cexpf): Likewise.
30739 * math/s_csinf.c (__csinf): Likewise.
30740 * math/s_csinhf.c (__csinhf): Likewise.
30741 * math/s_ctanf.c (__ctanf): Likewise.
30742 * math/s_ctanhf.c (__ctanhf): Likewise.
30743 * math/s_ccosh.c (__ccoshf): Likewise.
30744 * math/s_cexp.c (__cexpl): Likewise.
30745 * math/s_csin.c (__csin): Likewise.
30746 * math/s_csinh.c (__csinh): Likewise.
30747 * math/s_ctan.c (__ctan): Likewise.
30748 * math/s_ctanh.c (ctanh): Likewise.
30749 * math/s_ccoshl.c (__ccoshl): Likewise.
30750 * math/s_cexpl.c (__cexpl): Likewise.
30751 * math/s_csinl.c (__csinl): Likewise.
30752 * math/s_csinhl.c (__csinhl): Likewise.
30753 * math/s_ctanl.c (__ctanl): Likewise.
30754 * math/s_ctanhl.c (__ctanhl): Likewise.
30756 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30758 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30759 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30760 (_IO_off_t): Define to __off_t, not _G_off_t.
30761 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30762 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30763 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30764 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30765 type of __dummy and __dummy2 fields.
30766 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30767 (_G_ssize_t): Likewise.
30768 (_G_off_t): Likewise.
30769 (_G_pid_t): Likewise.
30770 (_G_uid_t): Likewise.
30771 (_G_wchar_t): Likewise.
30772 (_G_wint_t): Likewise.
30773 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30774 (_G_ssize_t): Likewise.
30775 (_G_off_t): Likewise.
30776 (_G_pid_t): Likewise.
30777 (_G_uid_t): Likewise.
30778 (_G_wchar_t): Likewise.
30779 (_G_wint_t): Likewise.
30780 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30781 (_G_ssize_t): Likewise.
30782 (_G_off_t): Likewise.
30783 (_G_pid_t): Likewise.
30784 (_G_uid_t): Likewise.
30785 (_G_wchar_t): Likewise.
30786 (_G_wint_t): Likewise.
30788 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30790 * malloc/arena.c: Include malloc-sysdep.h.
30791 (shrink_heap): Use check_may_shrink_heap to decide if madvise
30792 is sufficient to shrink the heap or an unmap is needed.
30793 * sysdeps/generic/malloc-sysdep.h: New file. Define
30794 new function check_may_shrink_heap.
30795 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
30796 new function check_may_shrink_heap.
30798 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30800 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30803 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
30805 * catgets/test-gencat.sh: Add "set -e".
30806 * elf/tst-pathopt.sh: Likewise.
30807 * grp/tst_fgetgrent.sh: Likewise.
30808 * iconvdata/run-iconv-test.sh: Likewise.
30809 * intl/tst-gettext.sh: Likewise.
30810 * intl/tst-gettext2.sh: Likewise.
30811 * intl/tst-gettext4.sh: Likewise.
30812 * intl/tst-gettext6.sh: Likewise.
30813 * intl/tst-translit.sh: Likewise.
30814 * io/ftwtest-sh: Likewise.
30815 * libio/test-freopen.sh: Likewise.
30816 * malloc/tst-mtrace.sh: Likewise.
30817 * posix/globtest.sh: Likewise.
30818 * posix/tst-getconf.sh: Likewise.
30819 * posix/wordexp-tst.sh: Likewise.
30820 * stdio-common/tst-printf.sh: Likewise.
30821 * stdio-common/tst-unbputc.sh: Likewise.
30822 * stdlib/tst-fmtmsg.sh: Likewise.
30823 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30824 * catgets/Makefile: Do not specify -e option when running
30825 testsuite shell scripts.
30826 * elf/Makefile: Likewise.
30827 * grp/Makefile: Likewise.
30828 * iconvdata/Makefile: Likewise.
30829 * intl/Makefile: Likewise.
30830 * io/Makefile: Likewise.
30831 * libio/Makefile: Likewise.
30832 * malloc/Makefile: Likewise.
30833 * posix/Makefile: Likewise.
30834 * stdio-common/Makefile: Likewise.
30835 * stdlib/Makefile: Likewise.
30836 * sysdeps/x86_64/Makefile: Likewise.
30838 * io/ftwtest-sh: Add copyright header.
30839 * posix/globtest.sh: Likewise.
30840 * posix/tst-getconf.sh: Likewise.
30841 * posix/wordexp-tst.sh: Likewise.
30842 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30844 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
30847 * Makeconfig (+link): Defined as $(+link-static) if
30848 $(build-shared) isn't yes.
30849 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30851 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30853 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30856 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30857 new chunk size with MALLOC_ALIGN_MASK.
30859 2012-09-24 Joseph Myers <joseph@codesourcery.com>
30862 * stdio-common/printf_fphex.c: Include <stdbool.h> and
30864 (__printf_fphex): Determine rounding using get_rounding_mode and
30866 * stdio-common/tst-printf-round.c (struct hex_test): New
30868 (hex_tests): New variable.
30869 (test_hex_in_one_mode): New function.
30870 (do_test): Also run tests for hex float output.
30872 2012-09-21 Joseph Myers <joseph@codesourcery.com>
30874 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30875 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30876 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30877 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30878 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30879 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30880 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30881 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30883 2012-09-20 Joseph Myers <joseph@codesourcery.com>
30885 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30886 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30887 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30888 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30890 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
30893 * elf/rtld.c (dl_main): Limit the check for self loading to normal
30895 * elf/tst-rtld-load-self.sh: New test.
30896 * elf/Makefile: Run it.
30898 2012-09-18 Joseph Myers <joseph@codesourcery.com>
30900 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30901 (tst-writev-ENV): Remove.
30902 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30904 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
30906 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30908 2012-09-17 Joseph Myers <joseph@codesourcery.com>
30910 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30912 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30914 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30915 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30916 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30919 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30922 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30923 * config.make.in (have-cpp-asm-debuginfo): Removed.
30924 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30925 * configure: Regenerated.
30927 2012-09-14 Joseph Myers <joseph@codesourcery.com>
30930 * stdio-common/printf_fp.c: Include <stdbool.h> and
30932 (___printf_fp): Determine rounding using get_rounding_mode and
30934 * stdio-common/tst-printf-round.c: New file.
30935 * stdio-common/Makefile (tests): Add tst-printf-round.
30936 (link-libm): New variable.
30937 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30939 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30942 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30943 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30945 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30948 2012-09-13 Joseph Myers <joseph@codesourcery.com>
30950 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30951 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30952 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30953 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30955 2012-09-12 Joseph Myers <joseph@codesourcery.com>
30958 * include/rounding-mode.h: New file.
30959 * sysdeps/generic/get-rounding-mode.h: Likewise.
30960 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30961 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30962 (MAX_VALUE): New macro.
30963 (MIN_VALUE): Likewise.
30964 (overflow_value): New function.
30965 (underflow_value): Likewise.
30966 (round_and_return): Use overflow_value and underflow_value to
30967 determine return values in overflow and underflow cases. Use
30968 round_away to determine rounding depending on rounding mode.
30969 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30970 determine return values in overflow and underflow cases.
30971 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30972 (struct test_results): New structure.
30973 (struct test): Use struct test_results to store expected results
30974 for all rounding modes.
30975 (TEST): Include expected results for all rounding modes.
30976 (test_in_one_mode): New function.
30977 (do_test): Use test_in_one_mode to compute and check results.
30978 Check results for all rounding modes.
30979 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30982 2012-12-09 Allan McRae <allan@archlinux.org>
30984 * sysdeps/i386/fpu/libm-test-ulps: Update
30986 2012-09-11 Joseph Myers <joseph@codesourcery.com>
30988 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30989 (_G_int32_t): Likewise.
30990 (_G_uint16_t): Likewise.
30991 (_G_uint32_t): Likewise.
30992 (_G_HAVE_BOOL): Likewise.
30993 (_G_HAVE_ATEXIT): Likewise.
30994 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30995 (_G_HAVE_IO_FILE_OPEN): Likewise.
30996 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30997 (_G_int32_t): Likewise.
30998 (_G_uint16_t): Likewise.
30999 (_G_uint32_t): Likewise.
31000 (_G_HAVE_BOOL): Likewise.
31001 (_G_HAVE_ATEXIT): Likewise.
31002 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31003 (_G_HAVE_IO_FILE_OPEN): Likewise.
31004 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31005 (_G_int32_t): Likewise.
31006 (_G_uint16_t): Likewise.
31007 (_G_uint32_t): Likewise.
31008 (_G_HAVE_BOOL): Likewise.
31009 (_G_HAVE_ATEXIT): Likewise.
31010 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31011 (_G_HAVE_IO_FILE_OPEN): Likewise.
31013 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
31015 * csu/libc-tls.c: Update copyright years.
31017 2012-09-10 Joseph Myers <joseph@codesourcery.com>
31019 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31020 [!_G_USING_THUNKS]: Remove conditional code.
31021 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31022 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31024 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31025 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31026 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31027 (_G_VTABLE_LABEL_PREFIX): Likewise.
31028 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31029 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31030 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31031 (_G_VTABLE_LABEL_PREFIX): Likewise.
31032 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31033 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31034 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31035 (_G_VTABLE_LABEL_PREFIX): Likewise.
31036 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31038 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
31040 * libio/Makefile: Include ../Makeconfig before tests.
31041 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31042 only if $(build-shared) is yes.
31044 * iconv/gconv_db.c: Update copyright years.
31046 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31048 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31049 unwind info if defined PIC. Fix special cases description.
31050 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31052 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31054 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31056 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
31058 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31060 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31063 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31064 (LDLIBS-tst-chk4): This.
31065 (LDFLAGS-tst-chk5): Renamed to ...
31066 (LDLIBS-tst-chk5): This.
31067 (LDFLAGS-tst-chk6): Renamed to ...
31068 (LDLIBS-tst-chk6): This.
31069 (LDFLAGS-tst-lfschk4): Renamed to ...
31070 (LDLIBS-tst-lfschk4): This.
31071 (LDFLAGS-tst-lfschk5): Renamed to ...
31072 (LDLIBS-tst-lfschk5): This.
31073 (LDFLAGS-tst-lfschk6): Renamed to ...
31074 (LDLIBS-tst-lfschk6): This.
31076 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31077 on $(common-objpfx)soversions.mk.
31079 2012-09-07 Joseph Myers <joseph@codesourcery.com>
31082 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31085 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31087 * malloc/arena.c (arena_get_retry): New function that gets
31088 another arena for the caller to try its request on.
31089 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31090 current arena cannot fulfill the request.
31091 (__libc_memalign): Likewise.
31092 (__libc_memalign): Likewise.
31093 (__libc_pvalloc): Likewise.
31094 (__libc_calloc): Likewise.
31096 2012-09-05 John Tobey <john.tobey@gmail.com>
31099 * manual/arith.texi (Operations on Complex): Fix description
31100 of carg branch cut.
31102 2012-09-06 Joseph Myers <joseph@codesourcery.com>
31105 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31109 * manual/memory.texi (Memory): Make order of menu items match
31112 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31114 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31115 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
31116 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31118 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31120 * csu/libc-tls.c (static_dtv): Renamed to ...
31121 (_dl_static_dtv): This. Make it global.
31122 (_dl_initial_dtv): Removed.
31123 (__libc_setup_tls): Updated.
31124 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31125 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31128 2012-09-06 Petr Machata <pmachata@redhat.com>
31130 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31131 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31132 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31133 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31135 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31138 * csu/libc-tls.c (_dl_initial_dtv): New variable.
31139 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31142 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31145 * Makeconfig (link-static-before-libc): Replace $(+prector)
31147 (link-static-after-libc): Replace $(+postctor) with
31149 (link-bounded): Replace $(+prector)/$(+postctor) with
31150 $(+prectorT)/$(+postctorT).
31151 (+prectorT): New macro.
31152 (+postctorT): Likewise.
31154 2012-09-06 Joseph Myers <joseph@codesourcery.com>
31156 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31157 (round_str): Handle values above the maximum for IBM long double
31159 * stdlib/tst-strtod-round.c (tests): Regenerated.
31161 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31163 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31165 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31166 zarch_nohighgprs around the zarch optimized routines.
31167 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31168 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31169 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31172 2012-09-05 David S. Miller <davem@davemloft.net>
31174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31176 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31177 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31178 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31179 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31182 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31184 * malloc/arena.c: Fold copyright years.
31185 * malloc/mcheck.c, malloc/memusage.c: Likewise.
31187 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31189 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31191 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31193 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
31195 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31197 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31198 change internal state upon failure.
31200 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31202 * malloc/mcheck.c (mcheck_check_all): Fix typo.
31203 * malloc/memusage.c (mmap): Likewise.
31204 (mmap64, mremap): Likewise. Adjust name in comment.
31206 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31208 * libio/fileops.c: Fix typos in comments.
31209 * libio/oldfileops.c: Likewise.
31210 * libio/wfileops.c: Likewise.
31212 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31215 * malloc/Makefile (tests): Add tst-malloc-usable test case.
31216 (tst-malloc-usable-ENV): Set environment for test case.
31217 * malloc/hooks.c (malloc_check_get_size): New function to get
31219 * malloc/malloc.c (musable): Use malloc_check_get_size.
31220 * malloc/tst-malloc-usable.c: New test case.
31222 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31224 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31226 2012-09-05 Allan McRae <allan@archlinux.org>
31229 * configure.in (CXX_SYSINCLUDES): Use compiler output to
31230 determine header location.
31231 * configure: Regenerated.
31233 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31235 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31237 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31238 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31240 (test): Regenerate.
31242 2012-09-04 David S. Miller <davem@davemloft.net>
31244 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31245 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31246 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31248 2012-09-04 Florian Weimer <fweimer@redhat.com>
31250 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31253 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31255 2012-09-04 Joseph Myers <joseph@codesourcery.com>
31258 * libio/iogetdelim.c: Include <limits.h>.
31259 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31260 + len + 1 would overflow.
31262 2012-09-03 Andreas Jaeger <aj@suse.de>
31264 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31265 * sysdeps/i386/fpu/libm-test-ulps: Update.
31267 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31269 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31270 Add s_sinf-sse2, s_conf-sse2.
31272 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31273 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31274 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31275 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31277 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31278 for using routine as __sinf_ia32.
31279 Use macro for function declaration and weak_alias.
31280 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31281 for using routine as __cosf_ia32.
31282 Use macro for function declaration and weak_alias.
31284 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31285 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31287 * sysdeps/x86_64/fpu/s_sinf.S: New file.
31288 * sysdeps/x86_64/fpu/s_cosf.S: New file.
31289 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31291 * math/libm-test.inc (cos_test): Add more test cases.
31292 (sin_test): Likewise.
31293 (sincos_test): Likewise.
31295 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31297 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31298 (IFUNC_RESOLVE): Make pointers to the specialized implementations
31300 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31302 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
31305 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31306 first element of the GOT.
31307 (elf_machine_load_address): Return the difference between
31308 the runtime address of _DYNAMIC and elf_machine_dynamic ().
31310 2012-09-01 Allan McRae <allan@archlinux.org>
31313 * configure.in (AWK): Require gawk version 3.0 or later.
31314 * configure: Regenerated.
31316 2012-09-01 Joseph Myers <joseph@codesourcery.com>
31318 * sysdeps/unix/sysv/linux/kernel-features.h
31319 (__ASSUME_POSIX_CPU_TIMERS): Remove.
31320 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31321 [__NR_clock_getres]: Make code unconditional.
31322 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31323 (clock_getcpuclockid): Remove code left unreachable by removal of
31325 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31326 code unconditional.
31327 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31328 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31329 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31330 Make code unconditional.
31331 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31332 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31333 * sysdeps/unix/sysv/linux/clock_settime.c
31334 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31336 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31337 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31339 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
31342 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31343 scripts/test-installation.pl.
31345 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31346 and $ld_so_version if it is set.
31348 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31351 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31352 failure if reading from procfs failed.
31353 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31355 2012-08-27 Joseph Myers <joseph@codesourcery.com>
31357 * sysdeps/unix/sysv/linux/kernel-features.h
31358 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31359 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31360 Remove conditional code.
31361 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31362 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31363 Remove conditional code.
31364 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31365 * sysdeps/unix/sysv/linux/i386/fxstat.c
31366 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31367 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31368 * sysdeps/unix/sysv/linux/i386/fxstatat.c
31369 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31370 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31371 * sysdeps/unix/sysv/linux/i386/lxstat.c
31372 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31373 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31374 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31375 Remove conditional code.
31376 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31377 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31378 Remove conditional code.
31379 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31380 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31381 <kernel-features.h>.
31382 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31384 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31385 Remove conditional code.
31386 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31387 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31388 Remove conditional.
31390 2012-08-27 Mike Frysinger <vapier@gentoo.org>
31393 * NEWS: Add fixed bug number.
31395 2012-08-27 Joseph Myers <joseph@codesourcery.com>
31398 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31399 underflowing exponent in case of negative sign.
31400 * stdlib/tst-strtod-round-data: Add more tests.
31401 * stdlib/tst-strtod-round.c (tests): Regenerated.
31404 * stdlib/strtod_l.c (NDIG): Remove.
31405 (HEXNDIG): Likewise.
31406 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31407 smallest representable value.
31408 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31409 lie within an exact representation of 1/2 ulp of the result.
31410 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31412 (TENS_P9_IDX): Define unconditionally.
31413 (TENS_P9_SIZE): Likewise.
31414 (TENS_P10_IDX): Likewise.
31415 (TENS_P10_SIZE): Likewise.
31416 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31417 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31418 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31419 entries for 10^2^13 and 10^2^14.
31420 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31421 (TENS_P13_IDX): Define.
31422 (TENS_P13_SIZE): Likewise.
31423 (TENS_P14_IDX): Likewise.
31424 (TENS_P14_SIZE): Likewise.
31425 (_fpioconst_pow10): Change array size to
31426 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
31428 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31429 1024]: Add entries for 10^2^13 and 10^2^14.
31430 [LAST_POW10 > _LAST_POW10]: Remove #error.
31431 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31432 (_fpioconst_pow10): Change array size to
31433 FPIOCONST_POW10_ARRAY_SIZE.
31434 * stdlib/gen-fpioconst.c: New file.
31435 * stdlib/gen-tst-strtod-round.c: Likewise.
31436 * stdlib/tst-strtod-round-data: Likewise.
31437 * stdlib/tst-strtod-round.c: Likewise.
31438 * stdlib/Makefile (tests): Add tst-strtod-round.
31441 * stdlib/strtod_l.c: Include <stdint.h>.
31442 (NDEBUG): Do not define.
31443 (round_and_return): Change EXPONENT parameter to type intmax_t.
31444 Rearrange calculations to avoid internal overflow possibilities.
31445 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31446 Rearrange calculations to avoid internal overflow possibilities.
31447 Assert that number fits inside MPNSIZE limbs.
31448 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31449 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
31450 calculations and add assertions to avoid internal overflow
31451 possibilities. Add casts to avoid signed/unsigned operations.
31452 * stdlib/tst-strtod-overflow.c: New file.
31453 * stdlib/Makefile (tests): Add tst-strtod-overflow.
31455 2012-08-25 Marek Polacek <polacek@redhat.com>
31457 * time/time.h: Fix some typos in comments.
31459 2012-08-23 Roland McGrath <roland@hack.frob.com>
31461 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31462 * posix/tst-rfc3484-2.c: Likewise.
31463 * posix/tst-rfc3484-3.c: Likewise.
31465 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
31467 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31468 (EF_ARM_ABI_FLOAT_HARD): Likewise.
31470 2012-08-23 Joseph Myers <joseph@codesourcery.com>
31472 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31473 #include of fxstatat64.c.
31475 2012-08-22 Roland McGrath <roland@hack.frob.com>
31477 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31478 * shadow/getspent_r.c: Likewise.
31479 * shadow/getspnam.c: Likewise.
31480 * shadow/getspnam_r.c: Likewise.
31481 * gshadow/getsgent.c: Likewise.
31482 * gshadow/getsgent_r.c: Likewise.
31483 * gshadow/getsgnam.c: Likewise.
31484 * gshadow/getsgnam_r.c: Likewise.
31485 * inet/getnetbyad.c: Likewise.
31486 * inet/getnetbyad_r.c: Likewise.
31487 * inet/getnetbynm.c: Likewise.
31488 * inet/getnetbynm_r.c: Likewise.
31489 * inet/getnetent.c: Likewise.
31490 * inet/getnetent_r.c: Likewise.
31491 * inet/getproto.c: Likewise.
31492 * inet/getproto_r.c: Likewise.
31493 * inet/getprtent.c: Likewise.
31494 * inet/getprtent_r.c: Likewise.
31495 * inet/getprtname.c: Likewise.
31496 * inet/getprtname_r.c: Likewise.
31497 * inet/getrpcbyname.c: Likewise.
31498 * inet/getrpcbyname_r.c: Likewise.
31499 * inet/getrpcbynumber.c: Likewise.
31500 * inet/getrpcbynumber_r.c: Likewise.
31501 * inet/getrpcent.c: Likewise.
31502 * inet/getrpcent_r.c: Likewise.
31503 * inet/getaliasent.c: Likewise.
31504 * inet/getaliasent_r.c: Likewise.
31505 * inet/getaliasname.c: Likewise.
31506 * inet/getaliasname_r.c: Likewise.
31507 * nscd/getgrgid_r.c: Likewise.
31508 * nscd/getgrnam_r.c: Likewise.
31509 * nscd/gethstbyad_r.c: Likewise.
31510 * nscd/gethstbynm3_r.c: Likewise.
31511 * nscd/getpwnam_r.c: Likewise.
31512 * nscd/getpwuid_r.c: Likewise.
31513 * nscd/getsrvbynm_r.c: Likewise.
31514 * nscd/getsrvbypt_r.c: Likewise.
31515 * nscd/gai.c: Likewise.
31517 * configure.in (build_nscd): New substituted variable, set
31518 by --disable-build-nscd and defaults to $use_nscd.
31519 * configure: Regenerated.
31520 * config.make.in (build-nscd): New substituted variable.
31521 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31522 Change conditional to require [$(build-nscd) = yes] as well.
31523 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31526 * configure.in (use_nscd): New substituted variable, set by
31527 --disable-nscd. If enabled, define USE_NSCD.
31528 * configure: Regenerated.
31529 * config.h.in: Add USE_NSCD.
31530 * config.make.in (use-nscd): New substituted variable.
31531 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31532 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31533 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31534 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31535 (CFLAGS-getgrnam_r.c): Likewise.
31536 (CFLAGS-initgroups.c): Likewise.
31537 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31538 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31540 * inet/getnetgrent_r.c
31541 (nscd_setnetgrent): New function, broken out of ...
31542 (setnetgrent): ... here. Call it.
31543 (innetgr): Conditionalize nscd bits on [USE_NSCD].
31544 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31545 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31546 * nscd/Makefile (routines, aux): Move definitions after include of
31547 Makeconfig. Conditionalize on [$(use-nscd) != no].
31548 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31549 Conditionalize on [USE_NSCD].
31550 (is_nscd, nscd_init_cb): Likewise.
31551 (nss_load_library): Conditionalize init callback on [USE_NSCD].
31552 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31553 * nss/nss_db/db-init.c: Likewise.
31554 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31556 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31557 (make_request): Use it.
31558 (cache_valid_p): New function.
31559 (__check_pf): Use it.
31560 * NEWS: Add item for --disable-nscd.
31562 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
31564 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31565 to support sed >= 4.2.1-20-ga9bf076.
31566 * configure: Regenerated.
31568 2012-08-22 Roland McGrath <roland@hack.frob.com>
31570 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31571 Conditionalize whole body on [IREL].
31573 2012-08-22 Jeff Law <law@redhat.com>
31576 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31577 if the family is PF_UNSPEC.
31579 2012-08-22 Mike Frysinger <vapier@gentoo.org>
31581 * Makerules (lib-version): Rename from V.
31582 (install-lib-nosubdir): Change V to lib-version.
31584 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
31587 * powerpc32/power6/wcschr.c: New file.
31588 * powerpc32/power6/wcscpy.c: New file.
31589 * powerpc32/power6/wcsrchr.c: New file.
31590 * powerpc64/power6/wcschr.c: New file.
31591 * powerpc64/power6/wcscpy.c: New file.
31592 * powerpc64/power6/wcsrchr.c: New file.
31594 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31596 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31597 (two_way_short_needle): Use it.
31598 * string/strstr.c (AVAILABLE1_USES_J): Define.
31599 * string/strcasestr.c: Likewise.
31601 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31603 * string/strcasestr.c (TOLOWER): Make side-effect safe.
31606 * NEWS: Add an entry.
31607 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31608 define their defaults.
31609 (two_way_short_needle): Detect end-of-string on-the-fly.
31610 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31611 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31612 * string/bug-strcasestr1.c: New test.
31613 * string/Makefile: Run it.
31615 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31618 * string/str-two-way.h (two_way_short_needle): Optimize matching of
31619 the first character.
31621 2012-08-21 Roland McGrath <roland@hack.frob.com>
31623 * csu/elf-init.c (__libc_csu_irel): Function removed.
31624 * csu/libc-start.c (apply_irel): New function.
31625 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31627 2012-08-21 Joseph Myers <joseph@codesourcery.com>
31629 * sysdeps/unix/sysv/linux/kernel-features.h
31630 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31631 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31632 <kernel-features.h>.
31633 [__NR_fadvise64_64]: Make code unconditional.
31634 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31635 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31636 !__NR_fadvise64_64)]: Likewise.
31637 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31638 !__NR_fadvise64_64))]: Likewise.
31639 [__NR_fadvise64]: Make code unconditional.
31640 [!__NR_fadvise64]: Remove conditional code.
31641 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31642 <kernel-features.h>.
31643 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31645 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31648 not include <kernel-features.h>.
31649 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31651 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31653 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31654 include <kernel-features.h>.
31655 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31657 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31660 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31662 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31663 slight instruction rearrangements per scrollpipe analysis.
31664 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31666 2012-08-20 Roland McGrath <roland@hack.frob.com>
31668 * manual/syslog.texi (syslog; vsyslog, closelog):
31669 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31670 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31672 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31673 DSOCAPS to match condition on defining it.
31675 2012-08-20 Joseph Myers <joseph@codesourcery.com>
31677 * sysdeps/unix/sysv/linux/kernel-features.h
31678 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31680 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31681 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31683 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31684 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31686 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31687 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31689 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31690 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31692 * sysdeps/unix/sysv/linux/kernel-features.h
31693 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31694 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31696 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31697 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31698 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31699 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31700 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31701 Make code unconditional.
31702 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31703 (__mmap64) [!__NR_mmap2]: Likewise.
31704 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31705 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31706 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31707 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31708 [__NR_mmap2]: Make code unconditional.
31709 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31710 (__mmap64) [!__NR_mmap2]: Likewise.
31712 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31714 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31716 2012-08-18 Andreas Jaeger <aj@suse.de>
31718 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31720 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31722 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31723 * include/unistd.h (__have_sock_cloexec): Likewise.
31724 (__have_pipe2): Likewise.
31725 (__have_dup3): Likewise.
31727 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31730 * include/unistd.h (__have_pipe2): Change define into an extern int.
31731 (__have_dup3): Likewise.
31732 * socket/have_sock_cloexec.c: Include fcntl.h.
31733 (__have_pipe2): New variable.
31734 (__have_dup3): Likewise.
31736 2012-08-17 Mike Frysinger <vapier@gentoo.org>
31738 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31740 2012-08-17 Marek Polacek <polacek@redhat.com>
31742 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31743 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31745 2012-08-17 Roland McGrath <roland@hack.frob.com>
31747 * configure.in: Add AC_SUBST for sysheaders.
31748 * configure: Regenerated.
31749 * config.make.in (sysheaders): New substituted variable.
31751 * sysdeps/unix/mkfifo.c: Moved ...
31752 * sysdeps/posix/mkfifo.c: ... here.
31753 * sysdeps/unix/mkfifoat.c: Moved ...
31754 * sysdeps/posix/mkfifoat.c: ... here.
31756 * sysdeps/unix/utime.c: Moved ...
31757 * sysdeps/posix/utime.c: ... here.
31759 * sysdeps/unix/time.c: Moved ...
31760 * sysdeps/posix/time.c: ... here.
31761 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31762 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31764 * sysdeps/unix/nice.c: Moved ...
31765 * sysdeps/posix/nice.c: ... here.
31767 * sysdeps/unix/alarm.c: Moved ...
31768 * sysdeps/posix/alarm.c: ... here.
31770 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31772 2012-08-17 Jeff Law <law@redhat.com>
31774 * intl/Makefile (codeset_mo): New variable.
31775 ($(codeset_mo)): New target.
31776 (tst-codeset.out): Depend on that. Remove explicit rule.
31777 (tst-gettext3.out, tst-gettext5.out): Likewise.
31778 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31779 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31780 * intl/tst-codeset.sh: Remove.
31781 * intl/tst-gettext3.sh: Likewise.
31782 * intl/tst-gettext5.sh: Likewise.
31784 2012-08-17 Roland McGrath <roland@hack.frob.com>
31786 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
31787 * sysdeps/unix/syscalls.list: ... here.
31789 * sysdeps/posix/getaddrinfo.c
31790 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31791 (gaiconf_init, gaiconf_reload): Use them.
31792 [!_STATBUF_ST_NSEC]
31793 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31794 Define using time_t rather than struct timespec.
31796 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31797 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31799 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31801 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31802 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31805 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31806 __libc_cleanup_push argument.
31808 * bits/param.h: New file.
31809 * misc/sys/param.h: New file.
31810 * include/sys/param.h: New file.
31811 * misc/Makefile (headers): Add bits/param.h.
31812 * sysdeps/generic/sys/param.h: File removed.
31813 * sysdeps/unix/sysv/linux/bits/param.h: New file.
31814 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31815 * sysdeps/mach/hurd/bits/param.h: New file.
31816 * sysdeps/mach/hurd/sys/param.h: File removed.
31818 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31821 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31823 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31824 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31827 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31828 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31829 rather than -D_IO_MTSAFE_IO conditionally.
31830 * stdio-common/Makefile (CPPFLAGS): Likewise.
31831 * wcsmbs/Makefile (CPPFLAGS): Likewise.
31832 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31833 Use $(libio-mtsafe).
31834 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31835 of -D_IO_MTSAFE_IO.
31836 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31837 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31838 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31839 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31840 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31841 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31842 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31843 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31844 (CFLAGS-fread_u_chk.c): Likewise.
31845 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31846 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31847 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31848 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31849 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31850 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31851 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31852 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31853 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31855 * libio/Makefile: Test [$(libc-reentrant) = yes]
31856 instead of [$(filter %REENTRANT, $(defines)) nonempty].
31859 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31860 * sysdeps/pthread/configure: File removed.
31861 * sysdeps/pthread/Makeconfig: New file.
31862 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31863 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31865 2012-08-16 Gary Benson <gbenson@redhat.com>
31867 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31868 unmapping the first object in a namespace.
31870 2012-08-16 Roland McGrath <roland@hack.frob.com>
31872 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31873 (__internal_setnetgrent): ... this. Add internal_function to
31874 definition. Add libc_hidden_def.
31875 (setnetgrent): Update caller.
31876 (internal_endnetgrent): Renamed to ...
31877 (__internal_endnetgrent): ... this. Add internal_function to
31878 definition. Add libc_hidden_def.
31879 (endnetgrent): Update caller.
31880 (internal_getnetgrent_r): Renamed to ...
31881 (__internal_getnetgrent_r): ... this. Add internal_function to
31882 definition. Add libc_hidden_def.
31883 (__getnetgrent_r): Update caller.
31884 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
31886 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31888 * stdlib/longlong.h: Update from GCC.
31890 2012-08-16 Roland McGrath <roland@hack.frob.com>
31892 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31893 on _QL, which is set by umul_ppmm but never used.
31894 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31895 variables, which are set by GMP macros but never used.
31896 * stdio-common/_itowa.c (_itowa): Likewise.
31897 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31898 * stdlib/mod_1.c (mpn_mod_1): Likewise.
31900 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
31902 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31903 struct La_sh_regs is not constant.
31904 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31905 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31906 and struct La_sparc64_regs are not constant.
31908 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31910 * sysdeps/unix/sysv/linux/kernel-features.h
31911 (__ASSUME_POSIX_TIMERS): Remove.
31912 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31913 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31914 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31915 Make code unconditional.
31916 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31917 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31918 Make code unconditional.
31919 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31920 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31921 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31922 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31923 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31924 Make code unconditional.
31925 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31926 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31927 (__libc_missing_posix_timers): Remove.
31929 2012-08-15 Roland McGrath <roland@hack.frob.com>
31931 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31932 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31934 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31936 * elf/dl-sym.c: Include <stdlib.h>.
31938 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31939 constants, which avoids warnings in 32-bit builds.
31941 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31942 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31944 * misc/lseek.c: File moved to ...
31945 * io/lseek.c: ... here.
31947 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31949 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31950 shifting LEN more than 31 bits at once.
31952 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31955 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31956 segmentation fault for a case of two empty input strings.
31957 * string/test-strncasecmp.c (check1): Renamed to...
31958 (bz12205): ...this.
31959 (bz14195): Add new testcase for two empty input strings and N > 0.
31960 (test_main): Call new testcase, adapt for renamed function.
31962 2012-08-15 Andreas Jaeger <aj@suse.de>
31965 * crypt/md5test2.c: New test, based on test supplied by Serge
31966 Belyshev <belyshev@depni.sinp.msu.ru>.
31967 * crypt/Makefile (xtests): Add md5test-giant..
31968 * crypt/Makefile ($(objpfx)md5test-giant): Add.
31970 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
31973 * crypt/md5.c (md5_process_block): Don't assume the buffer
31974 length is less than 2**32.
31975 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31976 length is less than 2**64.
31978 2012-08-15 Roland McGrath <roland@hack.frob.com>
31980 * string/str-two-way.h: Include <sys/param.h>.
31981 (MAX): Macro removed.
31983 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31984 Move #define and #undef of memmove to just before and after
31985 including <string.h>.
31987 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31988 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31989 and after including <string.h>. Move declarations of
31990 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31991 to before #include "string/memmove.c".
31993 * include/dirent.h: Declare __getdirentries.
31995 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31996 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31998 2012-08-14 Mike Frysinger <vapier@gentoo.org>
32000 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32001 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32002 * sysdeps/i386/configure: Regenerated.
32003 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32004 STABS_CURRENT_FILE, and STABS_FUN.
32005 (END): Remove call to STABS_FUN_END.
32006 (STABS_CURRENT_FILE1): Delete.
32007 (STABS_CURRENT_FILE): Likewise.
32008 (STABS_FUN): Likewise.
32009 (STABS_FUN_END): Likewise.
32010 (STABS_FUN2): Likewise.
32011 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32012 * sysdeps/x86_64/configure: Regenerated.
32014 2012-08-14 Roland McGrath <roland@hack.frob.com>
32016 * elf/dl-open.c: Include <atomic.h>.
32017 * elf/dl-lookup.c: Likewise.
32019 2012-08-14 Joseph Myers <joseph@codesourcery.com>
32021 * sysdeps/unix/sysv/linux/kernel-features.h
32022 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32023 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32025 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32027 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32028 condition on __ASSUME_CLONE_THREAD_FLAGS.
32030 2012-08-14 Andreas Jaeger <aj@suse.de>
32032 * sysdeps/i386/fpu/libm-test-ulps: Update.
32034 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
32036 * include/atomic.h (atomic_exchange_and_add): Split into ...
32037 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32040 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
32042 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32044 2012-08-13 Jeff Law <law@redhat.com>
32046 * manual/stdio.texi (snprintf): Clarify handling of the trailing
32047 null byte in the output string.
32049 2012-08-10 Joseph Myers <joseph@codesourcery.com>
32051 * sysdeps/unix/sysv/linux/kernel-features.h
32052 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32053 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32054 (__ASSUME_ARG_MAX_STACK_BASED): Define.
32055 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32056 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32057 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
32058 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32060 2012-08-09 Jeff Law <law@redhat.com>
32063 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32064 When avoid_arena is set, don't retry in the that arena. Pick the
32065 next one, whatever it might be.
32066 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32067 (arena_lock): Pass in new parameter to arena_get2.
32068 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32070 (__libc_malloc): Unify retrying after main arena failure with
32071 __libc_memalign version.
32072 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32074 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
32077 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32078 to __redirect_strstr.
32079 (__strstr_sse42): Use typeof __redirect_strstr.
32080 (__strstr_ia32): Likewise.
32081 (__libc_strstr): New prototype.
32082 (strstr): Renamed to ...
32083 (__libc_strstr): This.
32084 (strstr): New strong alias of __libc_strstr.
32085 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32086 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32089 (__libc_time): New prototype.
32090 (time_ifunc): Replace time with __libc_time.
32091 (time): New strong alias and hidden definition of __libc_time.
32092 (__GI_time): Remove strong alias.
32093 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32094 Include <stddef.h>.
32095 (memmove): Redefined to __redirect_memmove.
32096 (__memmove_sse2): Use typeof __redirect_memmove.
32097 (__memmove_ssse3): Likewise.
32098 (__memmove_ssse3_back): Likewise.
32099 (__libc_memmove): New prototype.
32100 (memmove): Renamed to ...
32101 (__libc_memmove): This.
32102 (memmove): New strong alias of __libc_memmove.
32104 2012-08-08 Mark Salter <msalter@redhat.com>
32107 (R_MN10300_TLS_GD): Define.
32108 (R_MN10300_TLS_LD): Likewise.
32109 (R_MN10300_TLS_LDO): Likewise.
32110 (R_MN10300_TLS_GOTIE): Likewise.
32111 (R_MN10300_TLS_IE): Likewise.
32112 (R_MN10300_TLS_LE): Likewise.
32113 (R_MN10300_TLS_DTPMOD): Likewise.
32114 (R_MN10300_TLS_DTPOFF): Likewise.
32115 (R_MN10300_TLS_TPOFF): Likewise.
32116 (R_MN10300_SYM_DIFF): Likewise.
32117 (R_MN10300_ALIGN): Likewise.
32118 (R_MN10300_NUM): Update.
32120 2012-08-08 Joseph Myers <joseph@codesourcery.com>
32122 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32125 2012-08-08 Roland McGrath <roland@hack.frob.com>
32127 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32129 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32130 sysdeps/unix -> sysdeps/posix move.
32131 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32133 2012-08-07 Allan McRae <allan@archlinux.org>
32136 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32137 (SUNOS_CPP): Likewise.
32138 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32140 (open_input): Call CPP using execvp.
32142 2012-08-07 Joseph Myers <joseph@codesourcery.com>
32144 * sysdeps/unix/sysv/linux/kernel-features.h
32145 (__ASSUME_PROT_GROWSUPDOWN): Remove.
32146 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32147 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32148 (__ASSUME_WAITID_SYSCALL): Likewise.
32149 * sysdeps/unix/sysv/linux/dl-execstack.c
32150 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32151 code unconditional.
32152 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32154 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32155 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32156 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32158 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32160 [__ASSUME_WAITID_SYSCALL]: Likewise.
32161 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32163 2012-08-07 Roland McGrath <roland@hack.frob.com>
32165 * sysdeps/unix/closedir.c: Renamed to ...
32166 * sysdeps/posix/closedir.c: ... here.
32167 * sysdeps/unix/dirfd.c: Renamed to ...
32168 * sysdeps/posix/dirfd.c: ... here.
32169 * sysdeps/unix/dirstream.h: Renamed to ...
32170 * sysdeps/posix/dirstream.h: ... here.
32171 * sysdeps/unix/fdopendir.c: Renamed to ...
32172 * sysdeps/posix/fdopendir.c: ... here.
32173 * sysdeps/unix/opendir.c: Renamed to ...
32174 * sysdeps/posix/opendir.c: ... here.
32175 * sysdeps/unix/readdir.c: Renamed to ...
32176 * sysdeps/posix/readdir.c: ... here.
32177 * sysdeps/unix/readdir_r.c: Renamed to ...
32178 * sysdeps/posix/readdir_r.c: ... here.
32179 * sysdeps/unix/rewinddir.c: Renamed to ...
32180 * sysdeps/posix/rewinddir.c: ... here.
32181 * sysdeps/unix/seekdir.c: Renamed to ...
32182 * sysdeps/posix/seekdir.c: ... here.
32183 * sysdeps/unix/telldir.c: Renamed to ...
32184 * sysdeps/posix/telldir.c: ... here.
32185 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32186 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32187 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32188 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32190 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32191 * bits/fcntl.h: ... here.
32193 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32195 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32196 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32197 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32198 (struct flock): Move l_start, l_len to the beginning.
32199 Use __pid_t for l_pid.
32200 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32201 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32202 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32203 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32204 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32205 [__USE_LARGEFILE64] (struct flock64): New type.
32206 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32208 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32209 * bits/dirent.h: ... here.
32211 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32212 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32214 2012-08-07 Joseph Myers <joseph@codesourcery.com>
32216 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32217 Change from 2.6.0 to 2.6.16.
32218 * sysdeps/unix/sysv/linux/configure: Regenerated.
32219 * sysdeps/unix/sysv/linux/kernel-features.h
32220 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32221 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32223 (__ASSUME_UTIMES): Likewise.
32224 (__ASSUME_CLONE_STOPPED): Remove.
32225 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32226 architectures, not kernel version.
32227 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32228 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32229 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32230 (__ASSUME_WAITID_SYSCALL): Likewise.
32231 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32232 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32233 * README: State 2.6.16 as minimum Linux kernel version. Do not
32234 refer to older versions.
32236 2012-08-06 Roland McGrath <roland@hack.frob.com>
32238 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32239 Define alphasort64 as an alias.
32240 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32241 Define versionsort64 as an alias.
32242 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32243 Define scandir64 as an alias.
32244 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32245 Define scandirat64 as an alias.
32246 * dirent/alphasort64.c (alphasort64):
32247 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32248 * dirent/versionsort64.c: Likewise.
32249 * dirent/scandir64.c: Likewise.
32250 * dirent/scandirat64.c: Likewise.
32251 * sysdeps/wordsize-64/alphasort.c: File removed.
32252 * sysdeps/wordsize-64/alphasort64.c: File removed.
32253 * sysdeps/wordsize-64/scandir.c: File removed.
32254 * sysdeps/wordsize-64/scandir64.c: File removed.
32255 * sysdeps/wordsize-64/scandirat.c: File removed.
32256 * sysdeps/wordsize-64/scandirat64.c: File removed.
32257 * sysdeps/wordsize-64/versionsort.c: File removed.
32258 * sysdeps/wordsize-64/versionsort64.c: File removed.
32259 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32260 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32261 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32262 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32263 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32264 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32265 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32266 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32268 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32269 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32270 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32271 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32272 [defined __arch64__ || defined __sparcv9]
32273 (__INO_T_MATCHES_INO64_T): New macro.
32274 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32275 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32276 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32277 * sysdeps/unix/sysv/linux/bits/dirent.h
32278 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32279 (_DIRENT_MATCHES_DIRENT64): New macro.
32281 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32282 Define lockf64 as an alias.
32283 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32284 Define fseeko64 as an alias.
32285 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32286 Define ftello64 as an alias.
32287 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32288 Define _IO_fgetpos64 and fgetpos64 as aliases.
32289 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32290 Define _IO_fsetpos64 and fsetpos64 as aliases.
32291 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32292 Conditionalize body on this.
32293 * libio/fseeko64.c: Likewise.
32294 * libio/ftello64.c: Likewise.
32295 * libio/iofgetpos64.c: Likewise.
32296 * libio/iofsetpos64.c: Likewise.
32297 * sysdeps/wordsize-64/lockf.c: File removed.
32298 * sysdeps/wordsize-64/lockf64.c: File removed.
32299 * sysdeps/wordsize-64/fseeko.c: File removed.
32300 * sysdeps/wordsize-64/fseeko64.c: File removed.
32301 * sysdeps/wordsize-64/ftello.c: File removed.
32302 * sysdeps/wordsize-64/ftello64.c: File removed.
32303 * sysdeps/wordsize-64/iofgetpos.c: File removed.
32304 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32305 * sysdeps/wordsize-64/iofsetpos.c: File removed.
32306 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32307 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32308 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32309 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32310 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32311 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32312 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32313 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32314 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32315 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32316 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32318 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32319 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32320 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32321 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32322 [defined __arch64__ || defined __sparcv9]
32323 (__OFF_T_MATCHES_OFF64_T): New macro.
32324 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32325 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32326 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32327 (__OFF_T_MATCHES_OFF64_T): New macro.
32329 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32331 * stdlib/secure-getenv.c (__secure_getenv): Replace
32332 GLIBC_2_16 with GLIBC_2_17.
32334 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32336 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32337 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32339 2012-08-03 David S. Miller <davem@davemloft.net>
32341 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32343 2012-08-03 Joseph Myers <joseph@codesourcery.com>
32345 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32347 (__ASSUME_CORRECT_SI_PID): Likewise.
32348 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32349 (__ASSUME_TMPFS_NAME): Likewise.
32350 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32351 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32352 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32353 (HAVE_AUX_SECURE): Make definition unconditional.
32354 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32355 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32357 2012-08-03 Roland McGrath <roland@hack.frob.com>
32359 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32360 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32361 * sysdeps/mach/hurd/eloop-threshold.h: New file.
32362 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32363 __eloop_threshold instead of SYMLOOP_MAX.
32365 * sysdeps/generic/eloop-threshold.h: New file.
32366 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32368 * elf/chroot_canon.c (chroot_canon): Likewise.
32370 2012-08-03 Joseph Myers <joseph@codesourcery.com>
32373 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32374 Change to 2.6.0 everywhere.
32375 * sysdeps/unix/sysv/linux/configure: Regenerated.
32376 * sysdeps/unix/sysv/linux/kernel-features.h
32377 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32378 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32380 (__ASSUME_POSIX_TIMERS): Define unconditionally.
32381 (__ASSUME_FUTEX_REQUEUE): Remove.
32382 (__ASSUME_STATFS64): Define unconditionally.
32383 (__ASSUME_AT_SECURE): Likewise.
32384 (__ASSUME_CORRECT_SI_PID): Likewise.
32385 (__ASSUME_TGKILL): Define without depending on kernel version for
32387 (__ASSUME_UTIMES): Likewise.
32388 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32390 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32391 (__ASSUME_TMPFS_NAME): Likewise.
32392 * README: Update reference to Linux kernel versions.
32394 2012-08-02 Marek Polacek <polacek@redhat.com>
32397 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
32398 libc_cv_asm_type_prefix with %.
32399 * configure: Regenerated.
32400 * include/libc-symbols.h: Remove comment about
32401 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32402 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32403 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32404 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32405 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32406 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32407 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32408 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32409 * elf/tst-unique2mod1.c: Likewise.
32410 * elf/tst-unique1mod2.c: Likewise.
32411 * elf/tst-unique1mod1.c: Likewise.
32412 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32413 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32414 Replace ASM_TYPE_DIRECTIVE with .type.
32415 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32416 * sysdeps/i386/sysdep.h: Likewise.
32417 * sysdeps/x86_64/sysdep.h: Likewise.
32418 * sysdeps/sh/sysdep.h: Likewise.
32419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32420 Do not define ASM_TYPE_DIRECTIVE.
32421 * sysdeps/powerpc/sysdep.h: Likewise.
32422 * sysdeps/powerpc/powerpc32/sysdep.h:
32423 Replace ASM_TYPE_DIRECTIVE with .type.
32424 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32425 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32426 * sysdeps/i386/fpu/e_powf.S: Likewise.
32427 * sysdeps/i386/fpu/e_expl.S: Likewise.
32428 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32429 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32430 * sysdeps/i386/fpu/e_pow.S: Likewise.
32431 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32432 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32433 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32434 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32435 * sysdeps/i386/fpu/e_log2.S: Likewise.
32436 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32437 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32438 * sysdeps/i386/fpu/e_powl.S: Likewise.
32439 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32440 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32441 * sysdeps/i386/fpu/e_logl.S: Likewise.
32442 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32443 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32444 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32445 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32446 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32447 * sysdeps/i386/fpu/e_log.S: Likewise.
32448 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32449 * sysdeps/i386/fpu/e_logf.S: Likewise.
32450 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32451 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32452 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32453 * sysdeps/i386/fpu/e_log10.S: Likewise.
32454 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32455 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32456 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32457 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32458 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32459 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32460 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32461 * sysdeps/i386/i686/strtok.S: Likewise.
32462 * sysdeps/i386/i386-mcount.S: Likewise.
32463 * sysdeps/i386/strtok.S: Likewise.
32464 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32465 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32466 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32467 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32468 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32469 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32470 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32471 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32472 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32473 * sysdeps/x86_64/_mcount.S: Likewise.
32474 * sysdeps/x86_64/strtok.S: Likewise.
32475 * sysdeps/sh/_mcount.S: Likewise.
32477 2012-08-01 Roland McGrath <roland@hack.frob.com>
32479 * libio/iofopen.c: Include <fcntl.h>.
32480 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32481 (_IO_fopen64, fopen64): Define as aliases.
32482 * libio/iofopen64.c: Include <fcntl.h>.
32483 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32484 Conditionalize body on this.
32485 * sysdeps/wordsize-64/iofopen.c: File removed.
32486 * sysdeps/wordsize-64/iofopen64.c: File removed.
32488 2012-08-01 Marek Polacek <polacek@redhat.com>
32490 * libc/Makeconfig: Use elf in place of binfmt-subdir.
32491 Use dlfcn directly instead of a variable.
32492 (binfmt-subdir): Do not define.
32495 2012-08-01 Joseph Myers <joseph@codesourcery.com>
32497 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32498 Remove all definitions.
32499 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32500 <kernel-features.h>.
32501 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32502 (miss_F_GETOWN_EX): Remove all definitions.
32503 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32505 [!__ASSUME_FCNTL64]: Remove conditional code.
32506 [__ASSUME_FCNTL64]: Make code unconditional.
32507 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32508 <kernel-features.h>.
32509 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32510 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32511 (lockf64) [__NR_fcntl64]: Make code unconditional.
32512 (lockf64) [__ASSUME_FCNTL64]: Likewise.
32514 * sysdeps/unix/sysv/linux/kernel-features.h
32515 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32516 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32517 Make code unconditional.
32518 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32519 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32521 [__NR_vfork]: Make code unconditional.
32522 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32523 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32525 [__NR_vfork]: Make code unconditional.
32526 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32527 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32529 2012-08-01 Roland McGrath <roland@hack.frob.com>
32531 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32532 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32534 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32535 Define mkstemp64 as an alias.
32536 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32537 Define mkstemps64 as an alias.
32538 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32539 Define mkostemp64 as an alias.
32540 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32541 Define mkostemps64 as an alias.
32542 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32543 Conditionalize body on this.
32544 * misc/mkostemp64.c: Likewise.
32545 * misc/mkostemps64.c: Likewise.
32546 * misc/mkstemps64.c: Likewise.
32547 * sysdeps/wordsize-64/mkstemp64.c: File removed.
32548 * sysdeps/wordsize-64/mkostemp64.c: File removed.
32549 * sysdeps/wordsize-64/mkostemp.c: File removed.
32550 * sysdeps/wordsize-64/mkstemp.c: File removed.
32551 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32552 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32553 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32554 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32557 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32558 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32559 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32560 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32562 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32563 compat_symbol macros from <shlib-compat.h> rather than the underlying
32564 default_symbol_version and symbol_version macros, so that DEFAULT
32565 lines in shlib-versions are respected.
32566 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32568 2012-08-01 Florian Weimer <fweimer@redhat.com>
32570 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32571 Declare with warn_unused_result.
32572 (setgid, setregid, setegid, setresgid): Likewise.
32573 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32575 * WUR-REPORT: Remove set*id functions.
32577 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
32579 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32581 2012-07-31 Roland McGrath <roland@hack.frob.com>
32584 * include/sys/socket.h (__libc_accept, __libc_accept4):
32585 Add attribute_hidden.
32586 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32588 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32590 * inet/getnetgrent_r.c (setup): Likewise.
32592 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32594 2012-07-31 David S. Miller <davem@davemloft.net>
32596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32598 2012-07-31 Joseph Myers <joseph@codesourcery.com>
32601 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32602 value between 1.0 and 2.0 and smaller part has absolute value less
32604 * math/s_clog10.c (__clog10): Likewise.
32605 * math/s_clog10f.c (__clog10f): Likewise.
32606 * math/s_clog10l.c (__clog10l): Likewise.
32607 * math/s_clogf.c (__clogf): Likewise.
32608 * math/s_clogl.c (__clogl): Likewise.
32609 * math/libm-test.inc (clog_test): Add more tests.
32610 (clog10_test): Likewise.
32611 * sysdeps/i386/fpu/libm-test-ulps: Update.
32612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32614 2012-07-31 Florian Weimer <fweimer@redhat.com>
32616 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32617 Exit with zero in case no suitable GID is found, and write a
32618 message to standard error.
32620 2012-07-30 Roland McGrath <roland@hack.frob.com>
32622 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32624 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32625 (MAXPATHLEN): Removed.
32626 (NOGROUP, NODEV): New macros.
32627 (setbit, clrbit, isset, isclr): New macros.
32628 (howmany, roundup, powerof2): New macros.
32629 (DEV_BSIZE): New macro.
32631 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32632 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32634 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32635 definition on [!__NO_LONG_DOUBLE_MATH].
32637 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32638 PTR_MANGLE and PTR_DEMANGLE.
32640 * socket/accept4.c (accept4): Rename to __libc_accept4.
32641 Define accept4 as a weak alias.
32643 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32644 on [_DIRENT_HAVE_D_TYPE].
32645 * io/ftw.c (ftw_dir): Likewise.
32647 * io/xmknod.c (__xmknod): Don't check PATH for being null.
32649 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32651 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32652 Use the BSD numbers rather than the arbitrary ones we had.
32653 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32654 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32655 (SIGXCPU, SIGXFSZ): New macros.
32658 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32659 initializer on [_LIBC_REENTRANT].
32661 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32662 definitions inside [_POSIX_MAPPED_FILES].
32664 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32666 * dirent/opendir.c: Include <fcntl.h>.
32668 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32669 (__libc_getspecific): Likewise.
32670 (__libc_key_create): Likewise.
32672 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32673 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32674 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32675 (tmpfile64): Define as alias.
32676 * sysdeps/wordsize-64/tmpfile.c: File removed.
32677 * sysdeps/wordsize-64/tmpfile64.c: File removed.
32678 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32679 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32681 * stdio-common/vfscanf.c: Include <stdbool.h>.
32682 * nss/makedb.c: Likewise.
32683 * stdio-common/_i18n_number.h: Likewise.
32684 * argp/argp-help.c: Likewise.
32685 * posix/wordexp.c: Likewise.
32686 * sysdeps/posix/spawni.c: Likewise.
32687 * nss/nss_files/files-initgroups.c: Likewise.
32688 * stdio-common/reg-modifier.c: Include <stdlib.h>.
32689 * nss/nss_files/files-initgroups.c: Likewise.
32690 * nss/nss_db/db-netgrp.c: Likewise.
32691 * nss/nss_db/db-initgroups.c: Likewise.
32692 * io/fchmodat.c: Include <sys/stat.h>.
32694 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32695 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32697 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32700 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32701 Add multiple inclusion protection.
32703 2012-07-27 David S. Miller <davem@davemloft.net>
32705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32707 2012-07-27 Gary Benson <gbenson@redhat.com>
32710 * elf/rtld.c: Include <stap-probe.h>.
32711 (dl_main): Added static probes "init_start" and "init_complete".
32712 * elf/dl-load.c: Include <stap-probe.h>.
32713 (lose): Take new parameter "nsid".
32714 Added static probe "map_failed".
32715 (_dl_map_object_from_fd): Pass namespace id to lose.
32716 Added static probe "map_start".
32717 (open_verify): Pass namespace id to lose.
32718 * elf/dl-open.c: Include <stap-probe.h>.
32719 (dl_open_worker) Added static probes "map_complete", "reloc_start"
32720 and "reloc_complete".
32721 * elf/dl-close.c: Include <stap-probe.h>.
32722 (_dl_close_worker): Added static probes "unmap_start" and
32724 * elf/rtld-debugger-interface.txt: New file documenting the above.
32726 2012-07-26 Roland McGrath <roland@hack.frob.com>
32728 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32729 rather than a string variable.
32730 * sunrpc/rpc_main.c (h_output): Likewise.
32731 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32733 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32735 * inet/check_native.c: New file.
32737 2012-07-26 Joseph Myers <joseph@codesourcery.com>
32740 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32741 if larger part has absolute value 1.0.
32742 * math/s_clog10.c (__clog10): Likewise.
32743 * math/s_clog10f.c (__clog10f): Likewise.
32744 * math/s_clog10l.c (__clog10l): Likewise.
32745 * math/s_clogf.c (__clogf): Likewise.
32746 * math/s_clogl.c (__clogl): Likewise.
32747 * math/libm-test.inc (clog_test): Add more tests.
32748 (clog10_test): Likewise.
32749 * sysdeps/i386/fpu/libm-test-ulps: Update.
32750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32752 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32753 (pltexit): Likewise.
32754 (La_regs): Likewise.
32755 (La_retval): Likewise.
32756 (int_retval): Likewise.
32757 Update #error for removed macros to refer only to definitions in
32759 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32761 (pltexit): Likewise.
32762 (La_regs): Likewise.
32763 (La_retval): Likewise.
32764 (int_retval): Likewise.
32765 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32767 (pltexit): Likewise.
32768 (La_regs): Likewise.
32769 (La_retval): Likewise.
32770 (int_retval): Likewise.
32771 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32773 (pltexit): Likewise.
32774 (La_regs): Likewise.
32775 (La_retval): Likewise.
32776 (int_retval): Likewise.
32777 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32779 (pltexit): Likewise.
32780 (La_regs): Likewise.
32781 (La_retval): Likewise.
32782 (int_retval): Likewise.
32783 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32785 (pltexit): Likewise.
32786 (La_regs): Likewise.
32787 (La_retval): Likewise.
32788 (int_retval): Likewise.
32789 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32791 (pltexit): Likewise.
32792 (La_regs): Likewise.
32793 (La_retval): Likewise.
32794 (int_retval): Likewise.
32795 * sysdeps/generic/tst-audit.h: Update comment to refer only to
32796 macro definitions in tst-audit.h.
32797 * sysdeps/i386/tst-audit.h: New file.
32798 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32799 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32800 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32801 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32802 * sysdeps/sh/tst-audit.h: Likewise.
32803 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32804 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32805 * sysdeps/x86_64/tst-audit.h: Likewise.
32807 2012-07-26 Andreas Jaeger <aj@suse.de>
32809 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32812 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32813 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32814 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32816 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32817 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32818 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32820 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32823 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32825 (si_call_addr, si_syscall, si_arch): Define new macro.
32826 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32828 (si_call_addr, si_syscall, si_arch): Define new marcro.
32829 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32831 (si_call_addr, si_syscall, si_arch): Define new macro.
32832 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32834 (si_call_addr, si_syscall, si_arch): Define new macro.
32836 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32839 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32840 Change to 2.4.21 where previously 2.4.1.
32841 * sysdeps/unix/sysv/linux/configure: Regenerated.
32842 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32843 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32844 Linux kernel version.
32845 (__ASSUME_STD_AUXV): Remove.
32846 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32848 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32849 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32850 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32851 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32852 (__ASSUME_NETLINK_SUPPORT): Likewise.
32853 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32854 (__no_netlink_support): Remove conditional definition.
32855 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32857 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32858 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32859 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32860 (if_nameindex_ioctl): Remove.
32861 (if_nameindex_netlink): Do not handle __no_netlink_support.
32862 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32864 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32865 Remove conditional code.
32866 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32868 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32870 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32871 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32872 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32874 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32875 [!__ASSUME_STD_AUXV]: Remove conditional code.
32876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32877 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32878 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32880 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32881 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32883 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32885 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32886 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32888 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32890 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32893 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32896 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32897 code unconditional.
32898 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32900 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32902 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32905 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32907 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32910 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32911 code unconditional.
32912 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32914 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32916 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32919 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32920 code unconditional.
32921 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32923 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32925 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32928 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32930 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32931 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32932 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32933 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32934 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32935 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32936 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32937 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32938 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32939 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32940 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32941 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32942 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32943 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32944 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32945 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32946 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32947 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32948 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32949 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32950 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32951 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32952 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32954 2012-07-25 Florian Weimer <fweimer@redhat.com>
32956 * Versions.def: Add GLIBC_2.17.
32957 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32958 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32959 Introduce __libc_secure_getenv.
32960 * stdlib/Versions (2.17): Add secure_getenv
32961 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32962 * stdlib/secure-getenv.c: Rename __secure_getenv to
32963 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32964 symbol __secure_getenv for GLIBC_2.0.
32965 * stdlib/tst-secure-getenv.c: New.
32966 * stdlib/Makefile (tests): Add testcase.
32967 * manual/startup.texi (Environment Access): Document
32969 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32970 __libc_secure_getenv.
32971 * inet/ruserpass.c (ruserpass): Likewise.
32972 * malloc/mtrace.c (mtrace): Likewise.
32973 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32974 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32975 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32976 * sysdeps/posix/tempname.c: Likewise. Evaluate
32977 HAVE_SECURE_GETENV.
32978 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32979 __secure_getenv to __libc_secure_getenv.
32980 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32987 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32988 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32989 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32991 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32993 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32995 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32996 (struct La_i86_retval): Likewise.
32997 (struct La_x86_64_regs): Likewise.
32998 (struct La_x86_64_retval): Likewise.
32999 (struct La_x32_regs): Likewise.
33000 (struct La_x32_retval): Likewise.
33001 (struct La_ppc32_regs): Likewise.
33002 (struct La_ppc32_retval): Likewise.
33003 (struct La_ppc64_regs): Likewise.
33004 (struct La_ppc64_retval): Likewise.
33005 (struct La_sh_regs): Likewise.
33006 (struct La_sh_retval): Likewise.
33007 (struct La_s390_32_regs): Likewise.
33008 (struct La_s390_32_retval): Likewise.
33009 (struct La_s390_64_regs): Likewise.
33010 (struct La_s390_64_retval): Likewise.
33011 (struct La_sparc32_regs): Likewise.
33012 (struct La_sparc32_retval): Likewise.
33013 (struct La_sparc64_regs): Likewise.
33014 (struct La_sparc64_retval): Likewise.
33015 (struct audit_ifaces): Remove architecture-specific pltenter and
33017 * sysdeps/i386/ldsodefs.h: New file.
33018 * sysdeps/powerpc/ldsodefs.h: Likewise.
33019 * sysdeps/s390/ldsodefs.h: Likewise.
33020 * sysdeps/sh/ldsodefs.h: Likewise.
33021 * sysdeps/sparc/ldsodefs.h: Likewise.
33022 * sysdeps/x86_64/ldsodefs.h: Likewise.
33024 2012-07-25 Marek Polacek <polacek@redhat.com>
33027 * math/libm-test.inc (yn_test): Add another test.
33028 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33029 to ERANGE when the result is +-Inf.
33030 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33031 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33032 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33033 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33035 2012-07-24 Joseph Myers <joseph@codesourcery.com>
33037 * conform/data/time.h-data (NULL): Use macro-constant. Require
33039 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
33041 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
33043 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
33045 * configure.in <sysdeps resolving>: Correct printing
33047 * configure: Regenerate.
33049 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
33051 * math/w_ilogb.c: Include <limits.h>.
33052 * math/w_ilogbl.c: Likewise.
33054 2012-07-20 Joseph Myers <joseph@codesourcery.com>
33056 * manual/lang.texi (__va_copy): Document primarily as ISO C99
33057 va_copy. Document allowing for unavailable va_copy only as
33058 pre-C99 compatibility.
33059 * manual/string.texi (Copying and Concatenation): Use va_copy
33060 instead of __va_copy in concat example.
33062 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
33064 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33065 (__sendto): Use create_address_port. Initialize APORT and deallocate
33068 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33069 with O_NOLINK passed to __file_name_lookup.
33071 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33072 with O_NOLINK passed to __file_name_lookup.
33074 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33075 negative N or less than NGIDS.
33077 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33078 type to string_t. Set ERANGE as errno and return it if NAME is not big
33079 enough. Use memcpy instead of strncpy.
33081 2012-07-20 Joseph Myers <joseph@codesourcery.com>
33083 * elf/Makefile (check-data): Remove.
33084 (localplt.data): New vpath directive.
33085 ($(objpfx)check-localplt.out): Use localplt.data from vpath
33086 instead of $(check-data).
33087 * scripts/data/localplt-generic.data: Move to ...
33088 * sysdeps/generic/localplt.data: ... here.
33089 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33090 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33091 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33094 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33097 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33100 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33101 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33103 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33106 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33110 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33112 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33113 PPC32 and PPC64 files.
33114 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33115 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33117 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33119 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33120 __makecontext_ret to ...
33121 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33122 ... here and call exit if uc_link is NULL. New file.
33123 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33124 __makecontext_ret.S.
33125 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33126 __makecontext_ret to ...
33127 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33128 ... here and call exit if uc_link is NULL. New file.
33129 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33130 __makecontext_ret.S.
33132 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33134 * elf/elf.h (R_390_IRELATIVE): New definition.
33135 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33136 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
33137 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33138 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33139 (elf_machine_lazy_rel): Likewise.
33140 * sysdeps/s390/dl-irel.h: New file.
33141 * sysdeps/s390/s390-64/memcpy.S: New asm code.
33142 * sysdeps/s390/s390-64/memset.S: New asm code.
33143 * sysdeps/s390/s390-64/memcmp.S: New asm code.
33144 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33145 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33146 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33147 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33148 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33149 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33150 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33151 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33152 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33153 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33154 * sysdeps/s390/s390-32/memcpy.S: New asm code.
33155 * sysdeps/s390/s390-32/memset.S: New asm code.
33156 * sysdeps/s390/s390-32/memcmp.S: New asm code.
33158 2012-07-17 Marek Polacek <polacek@redhat.com>
33161 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33162 * sysdeps/s390/s390-64/configure.in: Likewise.
33163 * sysdeps/sparc/configure.in: Likewise.
33164 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33165 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33166 * sysdeps/i386/configure.in: Likewise.
33167 * sysdeps/x86_64/configure.in: Likewise.
33168 * sysdeps/sh/configure.in: Likewise.
33169 * sysdeps/s390/s390-32/configure: Regenerated.
33170 * sysdeps/s390/s390-64/configure: Likewise.
33171 * sysdeps/x86_64/configure: Likewise.
33172 * sysdeps/sh/configure: Likewise.
33173 * sysdeps/powerpc/powerpc64/configure: Likewise.
33174 * sysdeps/powerpc/powerpc32/configure: Likewise.
33175 * sysdeps/sparc/configure: Likwise.
33176 * sysdeps/i386/configure: Likewise.
33178 * elf/dl-open.c: Comment fixes.
33180 2012-07-17 Joseph Myers <joseph@codesourcery.com>
33182 * Makefile [CXX] (check-data): Remove.
33183 [CXX] (c++-types.data): New vpath directive.
33184 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33185 vpath. Do not allow for C++ type data being missing.
33186 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33187 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33188 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33189 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33190 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33191 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33192 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33195 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33198 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33201 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33204 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33207 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33210 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33211 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33213 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33216 * elf/tls-macros.h (TLS_LE): Move architecture-specific
33217 definitions to architecture-specific files.
33218 (TLS_IE): Likewise.
33219 (TLS_LD): Likewise.
33220 (TLS_GD): Likewise.
33221 * sysdeps/i386/tls-macros.h: New file.
33222 * sysdeps/powerpc/tls-macros.h: Likewise.
33223 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33224 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33225 * sysdeps/sh/tls-macros.h: Likewise.
33226 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33227 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33228 * sysdeps/x86_64/tls-macros.h: Likewise.
33230 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33232 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33233 zero value for regular exit case.
33235 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33236 (__start_context): Preserve zero value for regular exit case.
33238 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33239 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33241 * manual/setjmp.texi (setcontext): Clarify normal process
33242 termination when uc_link is the null pointer.
33243 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33246 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
33248 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33249 preprocessor. Test for each exception mask separately.
33251 2012-07-16 Andreas Jaeger <aj@suse.de>
33253 * po/ru.po: Update from translation team.
33255 2012-07-15 Joseph Myers <joseph@codesourcery.com>
33257 * conform/data/string.h-data (NULL): Use macro-constant. Require
33259 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33260 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33261 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33262 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33263 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33265 2012-07-13 Andreas Jaeger <aj@suse.de>
33267 * po/fr.po: Update from translation team.
33269 2012-07-12 Marek Polacek <polacek@redhat.com>
33272 * math/libm-test.inc (yn_test): Add test for BZ #14173.
33273 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33276 2012-07-12 Joseph Myers <joseph@codesourcery.com>
33279 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33280 Change to 2.4.1 where previously 2.4.0.
33281 * sysdeps/unix/sysv/linux/configure: Regenerated.
33282 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33283 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33285 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33286 (__ASSUME_AT_CLKTCK): Remove.
33287 (__ASSUME_AT_PAGESIZE): Likewise.
33288 (__ASSUME_AT_XID): Likewise.
33289 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33290 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33291 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33293 (HAVE_AUX_PAGESIZE): Likewise.
33294 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33295 [__ASSUME_AT_CLKTCK]: Make code unconditional.
33296 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33298 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
33301 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33302 the temporary buffer used to invoke __gethostbyname2_r,
33303 __gethostbyaddr_r and gethostbyname4_r to make room for struct
33304 host_data / struct gaih_addrtuple.
33305 * resolv/nss_dns/dns-host.c (global scope): Move definition of
33306 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33307 header file nss/nsswitch.h.
33308 * nss/nsswitch.h (global scope): Add definition of implementation
33309 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33310 resolv/nss_dns/dns-host.c).
33312 2012-07-11 Andreas Jaeger <aj@suse.de>
33314 * po/fr.po: Update from translation team.
33316 * po/sv.po: Update from translation team
33317 * po/fr.po: Another update from translation team.
33319 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33321 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33322 for subnormals or multiply small sinh result by itself.
33323 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33326 2012-07-11 David S. Miller <davem@davemloft.net>
33328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33330 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
33333 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33334 (INTERNAL_MARK): Shift it here.
33336 2012-07-10 Marek Polacek <polacek@redhat.com>
33339 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
33340 libc_cv_asm_global_directive with .globl.
33341 * configure: Regenerated.
33342 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33344 * sysdeps/i386/configure: Regenerated.
33345 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33347 * sysdeps/x86_64/configure: Regenerated.
33348 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33349 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33350 * elf/tst-unique2mod2.c: Likewise.
33351 * elf/tst-unique2mod1.c: Likewise.
33352 * elf/tst-unique1mod2.c: Likewise.
33353 * elf/tst-unique1mod1.c: Likewise.
33354 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33355 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33356 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33357 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33358 * sysdeps/mach/sysdep.h: Likewise.
33359 * sysdeps/i386/sysdep.h: Likewise.
33360 * sysdeps/i386/i386-mcount.S: Likewise.
33361 * sysdeps/x86_64/_mcount.S: Likewise.
33362 * sysdeps/x86_64/sysdep.h: Likewise.
33363 * sysdeps/sh/_mcount.S: Likewise.
33364 * sysdeps/sh/sysdep.h: Likewise.
33365 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33366 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33367 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33368 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33369 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33370 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33371 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33372 * locale/localeinfo.h: Likewise.
33373 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33374 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33376 2012-07-09 Roland McGrath <roland@hack.frob.com>
33379 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33381 * manual/message.texi (The Uniforum approach): Likewise.
33382 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33383 (glibc iconv Implementation): Likewise.
33385 2012-07-09 Joseph Myers <joseph@codesourcery.com>
33388 * math/s_clog.c (__clog): Avoid scaling a value down where that
33389 could result in underflow.
33390 * math/s_clog10.c (__clog10): Likewise.
33391 * math/s_clog10f.c (__clog10f): Likewise.
33392 * math/s_clog10l.c (__clog10l): Likewise.
33393 * math/s_clogf.c (__clogf): Likewise.
33394 * math/s_clogl.c (__clogl): Likewise.
33395 * math/libm-test.inc (clog_test): Add more tests.
33396 (clog10_test): Likewise.
33397 * sysdeps/i386/fpu/libm-test-ulps: Update.
33398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33400 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
33403 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33404 by 7 not 8 to examine high bit of fractional part.
33407 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33408 for call to __mcount_internal.
33409 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33410 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33411 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33413 2012-07-06 Joseph Myers <joseph@codesourcery.com>
33416 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33417 approximation for values within 0x1p-13f of an odd multiple of
33419 * math/libm-test.inc (tan_test): Do not allow spurious underflow
33420 exception. Add more tests.
33421 * sysdeps/i386/fpu/libm-test-ulps: Update.
33424 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33425 inputs and return -1 for them. Do not check for +Inf in case not
33426 reachable for +Inf.
33427 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33428 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33429 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33430 and return -1 for them. Do not check for +Inf in case not
33431 reachable for +Inf.
33432 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33434 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33435 and return -1 for them. Do not check for +Inf in case not
33436 reachable for +Inf.
33437 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
33438 spurious underflow.
33439 * sysdeps/i386/fpu/libm-test-ulps: Update.
33440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33442 2012-07-06 Mike Frysinger <vapier@gentoo.org>
33444 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33446 2012-07-05 Joseph Myers <joseph@codesourcery.com>
33450 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33451 could result in spurious underflow. Scale down values above
33452 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33453 * math/s_csqrtf.c (__csqrtf): Likewise.
33454 * math/s_csqrtl.c (__csqrtl): Likewise.
33455 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
33456 spurious underflow.
33457 * sysdeps/i386/fpu/libm-test-ulps: Update.
33458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33460 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
33462 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33464 * catgets/xopen-msg.awk: New file.
33465 * catgets/xopen-msg.sed: Removed.
33467 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33469 * intl/po2test.awk: New file.
33470 * intl/po2test.sed: Removed.
33472 2012-07-04 Joseph Myers <joseph@codesourcery.com>
33475 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33476 or multiply small sinh result by itself.
33477 * math/s_ctanf.c (__ctanf): Likewise.
33478 * math/s_ctanh.c (__ctanh): Likewise.
33479 * math/s_ctanhf.c (__ctanhf): Likewise.
33480 * math/s_ctanhl.c (__ctanhl): Likewise.
33481 * math/s_ctanl.c (__ctanl): Likewise.
33482 * math/libm-test.inc (ctan_test_tonearest): New function.
33483 (ctan_test_towardzero): Likewise.
33484 (ctan_test_downward): Likewise.
33485 (ctan_test_upward): Likewise.
33486 (ctanh_test_tonearest): Likewise.
33487 (ctanh_test_towardzero): Likewise.
33488 (ctanh_test_downward): Likewise.
33489 (ctanh_test_upward): Likewise.
33490 (main): Call these new functions.
33491 * sysdeps/i386/fpu/libm-test-ulps: Update.
33492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33494 2012-07-03 Mike Frysinger <vapier@gentoo.org>
33496 * .gitignore: Delete /ports entry.
33498 2012-07-03 Andreas Jaeger <aj@suse.de>
33500 * po/bg.po: Update from translation team.
33501 * po/cs.po: Likewise.
33502 * po/de.po: Likewise.
33503 * po/hr.po: Likewise.
33504 * po/nl.pl: Likewise.
33505 * po/pl.po: Likewise.
33506 * po/vi.po: Likewise.
33508 2012-07-03 Joseph Myers <joseph@codesourcery.com>
33510 * Makeconfig [!+link] (+link-before-libc): New variable.
33511 [!+link] (+link-after-libc): Likewise.
33512 [!+link] (+link-tests): Likewise.
33513 [!+link] (+link): Define in terms of $(+link-before-libc) and
33514 $(+link-after-libc).
33515 [!+link-static] (+link-static-before-libc): New variable.
33516 [!+link-static] (+link-static-after-libc): Likewise.
33517 [!+link-static] (+link-static-tests): Likewise.
33518 [!+link-static] (+link-static): Define in terms of
33519 $(+link-static-before-libc) and $(+link-static-after-libc).
33520 [build-shared] (link-libc-before-gnulib): New variable.
33521 [build-shared] (link-libc-tests): Likewise.
33522 [build-shared] (link-libc): Define in terms of
33523 $(link-libc-before-gnulib).
33524 [!build-shared] (link-libc-tests): New variable.
33525 (link-libc-static-tests): New variable.
33526 [!gnulib] (gnulib-arch): New variable.
33527 [!gnulib] (gnulib-tests): Likewise.
33528 [!gnulib] (static-gnulib-arch): Likewise.
33529 [!gnulib] (static-gnulib-tests): Likewise.
33530 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
33531 Define with "=" instead of ":=".
33532 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
33533 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
33534 * Rules (binaries-all-notests): New variable.
33535 (binaries-all-tests): Likewise.
33536 (binaries-static-notests): Likewise.
33537 (binaries-static-tests): Likewise.
33538 (binaries-all): Define using $(binaries-all-notests) and
33539 $(binaries-all-tests).
33540 (binaries-static): Define using $(binaries-static-notests) and
33541 $(binaries-static-tests).
33542 (binaries-shared-tests): New variable.
33543 (binaries-shared-notests): Likewise.
33544 (binaries-shared): Remove variable.
33545 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33546 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33547 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33548 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33549 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33550 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33551 * elf/Makefile (sln-modules): New variable.
33552 (extra-objs): Add $(sln-modules:=.o).
33553 (ldconfig-modules): Add static-stubs.
33554 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33555 * elf/static-stubs.c: New file.
33558 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33559 by 7 not 8 to examine high bit of fractional part. Use volatile
33560 variables when splitting into final array of floats if
33561 __FLT_EVAL_METHOD__ != 0.
33562 * math/libm-test.inc (cos_test): Add another test.
33563 (sin_test): Likewise.
33564 * sysdeps/i386/fpu/libm-test-ulps: Update.
33567 * math/libm-test.inc (cosh_test): Add more tests.
33569 * version.h (RELEASE): Set to "development".
33570 (VERSION): Set to "2.16.90".
33572 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
33574 * NEWS: Update copyright. Remove last-updated date.
33575 Mention math library bug fixes and timezone data changes.
33576 * README: Mention GNU/Hurd, x32, and HPPA support status.
33578 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
33580 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33582 2012-06-27 Andreas Jaeger <aj@suse.de>
33584 * manual/contrib.texi (Contributors): Add Samuel Thibault.
33586 2012-06-25 Andreas Jaeger <aj@suse.de>
33588 * sysdeps/s390/fpu/libm-test-ulps: Update.
33590 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
33591 Thomas Schwinge <thomas@codesourcery.com>
33593 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33594 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33595 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33598 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
33600 * sysdeps/mach/start.c: Remove file.
33601 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33602 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33603 * sysdeps/sh/init-first.c: Likewise.
33605 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33606 registers for frame unwinding purposes, add CFI directives.
33607 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33608 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33609 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33612 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33613 __fortify_fail returning.
33614 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33616 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33617 sysdeps/sh/____longjmp_chk.S.
33618 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33619 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33620 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33621 (gen-as-const-headers): Append sigaltstack-offsets.sym.
33623 * sysdeps/sh/abort-instr.h: New file.
33624 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33625 process in case exit returns.
33627 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33628 initialize the GOT register before use.
33630 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33631 calculation of ARGC > 4.
33633 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33634 meaningful names to some local labels.
33636 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33637 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33639 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33640 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33641 (__arch_compare_and_exchange_val_16_acq): Likewise.
33642 (__arch_compare_and_exchange_val_32_acq): Likewise.
33643 (atomic_exchange_and_add): Fix gUSA sequence.
33644 (atomic_add): Likewise.
33645 (atomic_add_negative): Likewise.
33646 (atomic_add_zero): Likewise.
33647 (atomic_bit_test_set): Likewise.
33649 2012-06-22 Andreas Schwab <schwab@redhat.com>
33652 * include/link.h (struct link_map): Add l_free_initfini.
33653 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33655 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33656 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33657 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33660 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
33662 * configure.in: Use AC_LANG_SOURCE.
33663 * configure: Regenerate.
33665 2012-06-22 Roland McGrath <roland@hack.frob.com>
33667 * configure.in (libc_cv_localstatedir): New substituted variable.
33668 * configure: Regenerated.
33669 * config.make.in (localstatedir): New variable, substituted from
33670 libc_cv_localstatedir.
33671 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33672 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33673 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33674 * sysdeps/gnu/configure: Regenerated.
33676 2012-06-21 Jeff Law <law@redhat.com>
33679 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33680 free. Simplify list management for _LIBC case.
33682 2012-06-21 Joseph Myers <joseph@codesourcery.com>
33685 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33686 Clear sign bit of 64-bit integer value before comparing against
33689 * sysdeps/mach/configure: Regenerated.
33691 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
33694 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33696 2012-06-21 Jeff Law <law@redhat.com>
33699 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
33700 uint16_t for elements in the "seen" array to avoid char overflows.
33701 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33702 * elf/dl-open.c (dl_open_worker): Likewise.
33704 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
33706 * scripts/list-sources.sh: Scan PORTS for translations.
33707 * po/libc.pot: Regenerated.
33709 2012-06-21 Andreas Jaeger <aj@suse.de>
33712 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33714 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33715 * bits/byteswap-16.h (__bswap_16): Likewise.
33716 * bits/byteswap.h (__bswap_constant_16): Likewise.
33718 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
33721 * sysdeps/i386/fpu_control.h: Removed.
33722 * sysdeps/x86_64/fpu_control.h: Moved to ...
33723 * sysdeps/x86/fpu_control.h: Here.
33725 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33726 (_FPU_SETCW): Likewise.
33728 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
33731 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33732 * sysdeps/x86/fpu/bits/mathinline.h: This.
33733 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33737 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33738 functions if __x86_64__ is defined.
33740 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33742 * string/endian.h: Add !__ASSEMBLER__ condition for including
33743 conversion interfaces.
33745 2012-06-15 Joseph Myers <joseph@codesourcery.com>
33748 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33749 of ABS(x) in calculating zero to negative powers other than odd
33751 * math/libm-test.inc (pow_test): Add more tests.
33753 2012-06-15 Andreas Jaeger <aj@suse.de>
33755 * manual/contrib.texi (Contributors): Update entry of Liubov
33756 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33759 2012-06-15 Cyril Hrubis <metan@ucw.cz>
33761 * string/string.h: Add __wur to GNU version of strerror_r.
33763 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33766 * string/Makefile (tests): Add tst-strtok_r.
33767 * string/tst-strtok_r.c: New file.
33768 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33769 RAX_LP/RDX_LP on SAVE_PTR.
33771 2012-06-14 Roland McGrath <roland@hack.frob.com>
33773 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33775 2012-06-14 Joseph Myers <joseph@codesourcery.com>
33777 * libm_test.inc (csqrt_test): Allow more spurious underflow
33779 (j0_test): Likewise.
33780 (j1_test): Likewise.
33781 (y0_test): Likewise.
33782 (y1_test): Likewise.
33784 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33786 * po/Makefile (libc.pot): Use UTF-8 charset.
33788 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
33791 Suppress sign-conversion warning from FD_SET.
33792 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33793 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33794 not unsigned long int.
33795 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33797 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
33801 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33802 __extern_always_inline instead of __extern_inline.
33803 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33804 (__signbit): Likewise.
33805 (__signbitl): Support C++ namespace.
33806 (lrintf): New inline function.
33808 (llrintf): Likewise.
33809 (llrint): Likewise.
33819 (floorf): Likewise.
33820 (nearbyint): Likewise.
33821 (nearbyintf): Likewise.
33823 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
33825 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33826 non-default versions.
33828 2012-06-11 Roland McGrath <roland@hack.frob.com>
33831 * manual/argp.texi (Argp): Reword argp_parse description slightly.
33833 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
33835 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33836 (FE_UPWARD, FE_DOWNWARD): Don't define.
33837 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33838 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33840 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33842 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33843 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33845 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33847 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33848 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33849 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33850 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33852 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
33855 * sysdeps/i386/fpu/bits/fenv.h: Removed.
33856 * sysdeps/i386/fpu/Implies: New file.
33857 * sysdeps/x86_64/fpu/Implies: Likewise.
33858 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33859 * sysdeps/x86/fpu/bits/fenv.h: This.
33861 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33864 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33867 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33868 character 0xffff that matches the last element of the
33871 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33873 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33876 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33878 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33879 values higher than 25.6283.
33881 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33883 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33884 subnormal exponent extraction and add some __builtin_expect.
33885 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33886 Fix for subnormal mantissa calculation.
33888 2012-06-04 Mike Frysinger <vapier@gentoo.org>
33890 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33891 cpu2 is -1 and errno is not ENOSYS.
33893 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
33896 * sysdeps/i386/i486/bits/string.h: Renamed to ...
33897 * sysdeps/x86/bits/string.h: This.
33898 * sysdeps/x86_64/bits/string.h: Removed.
33900 * sysdeps/i386/i486/bits/string.h: Define inline functions only
33901 if not compiling for x86-64, but compiling for >= i486.
33903 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33904 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33906 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33907 New macro from Linux kernel 3.4.0.
33908 (FP_XSTATE_MAGIC2): Likewise.
33909 (FP_XSTATE_MAGIC2_SIZE): Likewise.
33910 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33911 (struct _fpx_sw_bytes): New struct.
33912 (struct _xsave_hdr): Likewise.
33913 (struct _ymmh_state): Likewise.
33914 (struct _xstate): Likewise.
33916 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33917 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33918 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33919 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33920 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33921 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33923 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33924 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33925 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33926 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33927 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33928 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33930 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33933 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33934 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33935 (sysdep_headers): Include sys/platform/ppc.h.
33936 * sysdeps/powerpc/test-gettimebase.c: Test for
33937 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33938 * manual/Makefile (appendices): Include platform.texi.
33939 * manual/contrib.texi (Contributors): Update @node pointers.
33940 * manual/maint.texi (Maintenance): Likewise.
33941 (Platform): New node.
33942 * manual/platform.texi: New file. Document the new features.
33944 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33945 Jakub Jelinek <jakub@redhat.com>
33948 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33949 where __builtin_expect is unavailable.
33951 2012-06-03 David S. Miller <davem@davemloft.net>
33953 * stdlib/longlong.h: Updated from GCC.
33955 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33958 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33959 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33962 (GLIBC_2.16): Likewise.
33964 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33966 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33968 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33971 (default-abi): New variable.
33972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33973 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33975 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33977 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33979 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33982 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33983 definition. Document in comment.
33985 2012-06-01 David S. Miller <davem@davemloft.net>
33987 * stdlib/longlong.h: Updated from GCC.
33989 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33992 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33993 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33994 sys/debugreg.h sys/io.h here.
33995 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33996 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33998 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33999 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34000 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34001 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34002 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34003 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34005 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34006 Define only if __x86_64__ is defined.
34008 2012-06-01 Joseph Myers <joseph@codesourcery.com>
34011 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34012 Use int64_t for variable i.
34013 * math/libm-test.inc (fmod_test): Add more tests.
34015 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34016 z computation is not scheduled after fetestexcept.
34017 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34018 Use math_force_eval instead of asm to ensure calculation scheduled
34019 before exception test.
34020 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34021 Ensure a1 + u.d computation is not scheduled after fetestexcept.
34023 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
34025 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34026 computation is not scheduled after fetestexcept.
34028 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
34031 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34032 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34034 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34036 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34037 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34039 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34042 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34044 (__WCHAR_MIN): Support __WORDSIZE == 64.
34045 (__WCHAR_MAX): Likewise.
34047 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34048 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34051 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34052 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34055 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34056 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34058 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34059 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34061 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34062 Defined to 1 if __x86_64__ isn't defined.
34063 (_STAT_VER_LINUX_OLD): New.
34064 (st_atime): Remove duplicate.
34065 (st_mtime): Likewise.
34066 (st_ctime): Likewise.
34068 2012-05-31 David S. Miller <davem@davemloft.net>
34070 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34073 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
34075 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34079 * elf/dl-reloc.c: Include <_itoa.h>.
34080 (_dl_reloc_bad_type): Remove use of INTUSE.
34081 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34082 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34083 * stdio-common/psiginfo.c (psiginfo): Likewise.
34084 * stdio-common/psignal.c (psignal): Likewise.
34085 * string/strsignal.c (strsignal): Likewise.
34086 * include/signal.h (_sys_siglist): Declare hidden proto.
34087 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
34088 INTVARDEF with libc_hidden_data_def.
34089 * stdio-common/itoa-udigits.c: Likewise.
34090 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34091 (_itoa_lower_digits_internal): Remove declaration.
34092 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34093 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34094 (_sys_sigabbrev_internal): Remove aliases.
34095 (_sys_siglist): Define hidden alias.
34097 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
34099 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34102 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34105 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34106 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34108 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34109 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34110 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34111 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34112 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34113 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34115 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34116 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34117 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34119 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34127 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34128 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34129 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34131 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34132 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34133 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34134 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34135 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34136 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34138 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34139 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34141 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34142 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34144 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34145 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34146 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34148 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34149 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34151 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34153 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34154 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34155 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34157 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34159 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34161 2012-05-31 Joseph Myers <joseph@codesourcery.com>
34163 * math/math.h (M_El): Use two more decimal places.
34164 (M_LOG2El): Likewise.
34165 (M_LOG10El): Likewise.
34166 (M_LN2l): Likewise.
34167 (M_LN10l): Likewise.
34169 (M_PI_2l): Likewise.
34170 (M_PI_4l): Likewise.
34171 (M_1_PIl): Likewise.
34172 (M_2_PIl): Likewise.
34173 (M_2_SQRTPIl): Likewise.
34174 (M_SQRT2l): Likewise.
34175 (M_SQRT1_2l): Likewise.
34177 2012-05-31 David S. Miller <davem@davemloft.net>
34179 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34180 values between float registers.
34181 * sysdeps/sparc/sparc64/memset.S: Likewise.
34182 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34184 2012-05-31 Mike Frysinger <vapier@gentoo.org>
34186 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34187 -D_FORTIFY_SOURCE=1.
34188 (CPPFLAGS-tst-longjmp_chk.c): Define.
34189 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34190 (CPPFLAGS-tst-longjmp_chk2.c): Define.
34191 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34192 CFLAGS-tst-wchar-h.c.
34194 2012-05-31 Marek Polacek <polacek@redhat.com>
34197 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34198 __endmntent_internal): Remove declaration.
34199 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34200 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34201 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34203 2012-05-30 David S. Miller <davem@davemloft.net>
34205 * sysdeps/sparc/sparc32/soft-fp/q_util.c
34206 (___Q_simulate_exceptions): Use real FP ops rather than writing
34208 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34211 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34214 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34215 * sysdeps/x86/bits/xtitypes.h: This.
34217 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34218 * sysdeps/x86/bits/wordsize.h: This.
34220 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34221 * sysdeps/x86/bits/huge_vall.h: This.
34223 * sysdeps/i386/bits/select.h: Removed.
34224 * sysdeps/x86_64/bits/select.h: Renamed to ...
34225 * sysdeps/x86/bits/select.h: This.
34227 * sysdeps/i386/bits/setjmp.h: Removed.
34228 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34229 * sysdeps/x86/bits/setjmp.h: This.
34231 * sysdeps/i386/bits/mathdef.h: Removed.
34232 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34233 * sysdeps/x86/bits/mathdef.h: This.
34235 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
34238 * include/sys/socket.h (__connect_internal)
34239 (__libc_sa_len_internal): Remove declaration.
34240 (__connect, __libc_sa_len): Declare hidden_proto.
34241 (SA_LEN): Remove use of INTUSE.
34242 * socket/connect.c: Add libc_hidden_def.
34243 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34244 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34245 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34247 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34248 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34249 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34250 of adding _internal alias.
34252 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34255 * sysdeps/i386/bits/link.h: Removed.
34256 * sysdeps/i386/bits/linkmap.h: Likewise.
34257 * sysdeps/x86_64/bits/link.h: Renamed to ...
34258 * sysdeps/x86/bits/link.h: This.
34259 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34260 * sysdeps/x86/bits/linkmap.h: This.
34262 * sysdeps/i386/bits/endian.h: Removed.
34263 * sysdeps/x86_64/bits/endian.h: Renamed to ...
34264 * sysdeps/x86/bits/endian.h: This.
34266 * sysdeps/i386/bits/byteswap.h: Removed.
34267 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34268 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34269 * sysdeps/x86/bits/byteswap.h: This.
34270 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34271 * sysdeps/x86/bits/byteswap-16.h: This.
34272 * sysdeps/i386/Implies: Add x86.
34273 * sysdeps/x86_64/Implies: Likewise.
34275 2012-05-30 David S. Miller <davem@davemloft.net>
34277 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34278 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34279 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34280 (FP_TRAPPING_EXCEPTIONS): Define.
34281 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34282 (FP_TRAPPING_EXCEPTIONS): Define.
34283 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34284 subnormals only when inexact has been signalled or underflow
34285 exceptions are enabled.
34286 (_FP_PACK_CANONICAL): Likewise.
34288 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34291 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34292 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34294 2012-05-30 Richard Henderson <rth@twiddle.net>
34296 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34297 with #ifndef NOT_IN_libc.
34299 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
34300 marked to avoid plt entry.
34302 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34305 * Makeconfig (default-abi): New macro.
34306 (abi-includes): Likewise.
34307 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
34308 $(abi-$(default-abi)-lib-soname) for soname if defined.
34309 ($(common-objpfx)gnu/lib-names.stmp): Generate from
34311 * Makefile (installed-stubs): Likewise.
34312 * include/stubs-biarch.h: Removed.
34313 * scripts/lib-names.awk: Only handle one library at a time.
34314 * scripts/soversions.awk: Remove WORDSIZE support.
34315 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34317 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34319 (syscall-list-default-condition): Likewise.
34320 (syscall-list-default-condition): Likewise.
34321 (syscall-list-includes): Likewise.
34322 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34323 syscall-list-* with abi-*. Handle undefined abi-variants.
34324 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34325 * sysdeps/unix/sysv/linux/i386/Implies: New file.
34326 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34327 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34328 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34329 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34331 (syscall-list-32-options): Likewise.
34332 (syscall-list-32-condition): Likewise.
34333 (syscall-list-64-options): Likewise.
34334 (syscall-list-64-condition): Likewise.
34335 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34337 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34340 (abi-64-ld-soname): New macro.
34341 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34342 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34345 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34346 * sysdeps/x86_64/x32/shlib-versions: Likewise.
34348 2012-05-30 Joseph Myers <joseph@codesourcery.com>
34350 * sysdeps/unix/sysv/linux/kernel-features.h
34351 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34352 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34353 include <kernel-features.h>.
34354 [!__NR_ftruncate64]: Remove conditional code.
34355 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34356 [__NR_ftruncate64]: Make code unconditional.
34357 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34358 * sysdeps/unix/sysv/linux/truncate64.c: Do not
34359 include <kernel-features.h>.
34360 [!__NR_ftruncate64]: Remove conditional code.
34361 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34362 [__NR_ftruncate64]: Make code unconditional.
34363 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34365 include <kernel-features.h>.
34366 [!__NR_ftruncate64]: Remove conditional code.
34367 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34368 [__NR_ftruncate64]: Make code unconditional.
34369 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34371 include <kernel-features.h>.
34372 [!__NR_ftruncate64]: Remove conditional code.
34373 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34374 [__NR_ftruncate64]: Make code unconditional.
34375 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34377 * configure.in (libc_cv_fpie): Weaken to a compile test using
34378 LIBC_TRY_CC_OPTION.
34379 * configure: Regenerated.
34381 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34396 2012-05-27 David S. Miller <davem@davemloft.net>
34398 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34400 (__Q_simulate_exceptions): Return void. Change to simulate
34401 exceptions by writing into the %fsr.
34402 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34403 (__Qp_handle_exceptions): Likewise.
34405 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34406 __Qp_handle_exceptions.
34407 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34408 __Qp_handle_exceptions.
34409 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34410 as unused and give dummy FP_RND_NEAREST initializer.
34411 (FP_INHIBIT_RESULTS): Define.
34412 (___Q_simulate_exceptions): Update declaration.
34413 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34415 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34416 as unused and give dummy FP_RND_NEAREST initializer.
34417 (__Qp_handle_exceptions): Update declaration.
34418 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34421 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
34423 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34424 the temporary FPU control word.
34425 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34426 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34427 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34428 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34429 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34430 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34431 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34432 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34433 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34434 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34435 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34437 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34439 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34442 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
34444 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34445 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34446 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34447 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34449 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34450 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34453 2012-05-27 Ulrich Drepper <drepper@gmail.com>
34455 * po/h.po: Update from translation team.
34457 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
34459 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34461 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34462 handling of denormals.
34463 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34464 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34465 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34466 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34467 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34468 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34469 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34472 2012-05-26 Marek Polacek <polacek@redhat.com>
34475 * math/libm-test.inc (fma_test): Don't always expect underflow
34478 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34481 * elf/tst-execstack.c: Include stackinfo.h.
34482 (do_test): Adjust test case to ensure that pthread_getattr_np
34483 behaviour remains the same after marking stack executable.
34485 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34487 * sysdeps/unix/sysv/linux/kernel-features.h
34488 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34489 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34491 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34492 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34493 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34495 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34496 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34498 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
34500 * configure.in: Define the default includes to being none.
34501 * configure: Regenerated.
34503 2012-05-25 Roland McGrath <roland@hack.frob.com>
34505 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34506 * sysdeps/x86_64/setjmp.S: Likewise.
34507 * sysdeps/i386/bsd-setjmp.S: Likewise.
34508 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34509 * sysdeps/i386/setjmp.S: Likewise.
34510 * sysdeps/i386/__longjmp.S: Likewise.
34511 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34512 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34514 * include/stap-probe.h: New file.
34515 * configure.in: Handle --enable-systemtap.
34516 * configure: Regenerated.
34517 * config.h.in (USE_STAP_PROBE): New #undef.
34518 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34519 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34520 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34522 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34525 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34526 to 2.4.0 where earlier.
34527 * sysdeps/unix/sysv/linux/configure: Regenerated.
34528 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34529 <kernel-features.h>.
34530 [__ASSUME_32BITUIDS]: Make code unconditional.
34531 [!__ASSUME_32BITUIDS]: Remove conditional code.
34532 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34533 <kernel-features.h>.
34534 [__ASSUME_32BITUIDS]: Make code unconditional.
34535 [!__ASSUME_32BITUIDS]: Remove conditional code.
34536 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34537 [__ASSUME_32BITUIDS]: Make code unconditional.
34538 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34539 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34540 <kernel-features.h>.
34541 [__ASSUME_32BITUIDS]: Make code unconditional.
34542 [!__ASSUME_32BITUIDS]: Remove conditional code.
34543 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34544 <kernel-features.h>.
34545 [__ASSUME_32BITUIDS]: Make code unconditional.
34546 [!__ASSUME_32BITUIDS]: Remove conditional code.
34547 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34548 <kernel-features.h>.
34549 [__ASSUME_32BITUIDS]: Make code unconditional.
34550 [!__ASSUME_32BITUIDS]: Remove conditional code.
34551 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34552 <kernel-features.h>.
34553 [__ASSUME_32BITUIDS]: Make code unconditional.
34554 [!__ASSUME_32BITUIDS]: Remove conditional code.
34555 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34556 <kernel-features.h>.
34557 [__ASSUME_32BITUIDS]: Make code unconditional.
34558 [!__ASSUME_32BITUIDS]: Remove conditional code.
34559 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34560 <kernel-features.h>.
34561 [__ASSUME_32BITUIDS]: Make code unconditional.
34562 [!__ASSUME_32BITUIDS]: Remove conditional code.
34563 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34564 <kernel-features.h>.
34565 [__ASSUME_32BITUIDS]: Make code unconditional.
34566 [!__ASSUME_32BITUIDS]: Remove conditional code.
34567 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34568 <kernel-features.h>.
34569 [__ASSUME_32BITUIDS]: Make code unconditional.
34570 [!__ASSUME_32BITUIDS]: Remove conditional code.
34571 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34572 <kernel-features.h>.
34573 [__ASSUME_32BITUIDS]: Make code unconditional.
34574 [!__ASSUME_32BITUIDS]: Remove conditional code.
34575 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34576 <kernel-features.h>.
34577 [__ASSUME_32BITUIDS]: Make code unconditional.
34578 [!__ASSUME_32BITUIDS]: Remove conditional code.
34579 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34580 <kernel-features.h>.
34581 [__NR_setresgid] (__setresgid): Do not declare.
34582 [__ASSUME_32BITUIDS]: Make code unconditional.
34583 [!__ASSUME_32BITUIDS]: Remove conditional code.
34584 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34585 <kernel-features.h>.
34586 [__NR_setresuid] (__setresuid): Do not declare.
34587 [__ASSUME_32BITUIDS]: Make code unconditional.
34588 [!__ASSUME_32BITUIDS]: Remove conditional code.
34589 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34590 <kernel-features.h>.
34591 [__ASSUME_32BITUIDS]: Make code unconditional.
34592 [!__ASSUME_32BITUIDS]: Remove conditional code.
34593 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34594 <kernel-features.h>.
34595 [__ASSUME_32BITUIDS]: Make code unconditional.
34596 [!__ASSUME_32BITUIDS]: Remove conditional code.
34597 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34598 <kernel-features.h>.
34599 [__ASSUME_32BITUIDS]: Make code unconditional.
34600 [!__ASSUME_32BITUIDS]: Remove conditional code.
34601 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34602 <kernel-features.h>.
34603 [__ASSUME_32BITUIDS]: Make code unconditional.
34604 [!__ASSUME_32BITUIDS]: Remove conditional code.
34605 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34606 <kernel-features.h>.
34607 [__ASSUME_32BITUIDS]: Make code unconditional.
34608 [!__ASSUME_32BITUIDS]: Remove conditional code.
34609 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34610 <kernel-features.h>.
34611 [__ASSUME_32BITUIDS]: Make code unconditional.
34612 [!__ASSUME_32BITUIDS]: Remove conditional code.
34613 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34614 <kernel-features.h>.
34615 [__ASSUME_32BITUIDS]: Make code unconditional.
34616 [!__ASSUME_32BITUIDS]: Remove conditional code.
34617 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34618 <kernel-features.h>.
34619 [__ASSUME_32BITUIDS]: Make code unconditional.
34620 [!__ASSUME_32BITUIDS]: Remove conditional code.
34621 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34622 <kernel-features.h>.
34623 [__ASSUME_32BITUIDS]: Make code unconditional.
34624 [!__ASSUME_32BITUIDS]: Remove conditional code.
34625 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34626 <kernel-features.h>.
34627 [__ASSUME_32BITUIDS]: Make code unconditional.
34628 [!__ASSUME_32BITUIDS]: Remove conditional code.
34629 * sysdeps/unix/sysv/linux/kernel-features.h
34630 (__ASSUME_SETRESUID_SYSCALL): Remove.
34631 (__ASSUME_SETRESGID_SYSCALL): Likewise.
34632 (__ASSUME_32BITUIDS): Likewise.
34633 (__ASSUME_LDT_WORKS): Likewise.
34634 (__ASSUME_O_DIRECTORY): Likewise.
34635 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34636 architecture but not kernel version.
34637 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34638 (__ASSUME_MMAP2_SYSCALL): Likewise.
34639 (__ASSUME_STAT64_SYSCALL): Likewise.
34640 (__ASSUME_IPC64): Likewise.
34641 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34642 <kernel-features.h>.
34643 [__ASSUME_32BITUIDS]: Make code unconditional.
34644 [!__ASSUME_32BITUIDS]: Remove conditional code.
34645 * sysdeps/unix/sysv/linux/opendir.c: Do not include
34646 <kernel-features.h>.
34647 [__ASSUME_O_DIRECTORY]: Make code unconditional.
34648 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34649 132096]: Remove conditional code.
34650 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34651 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34652 <kernel-features.h>.
34653 [__ASSUME_32BITUIDS]: Make code unconditional.
34654 [!__ASSUME_32BITUIDS]: Remove conditional code.
34655 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34656 <kernel-features.h>.
34657 [__ASSUME_32BITUIDS]: Make code unconditional.
34658 [!__ASSUME_32BITUIDS]: Remove conditional code.
34659 * sysdeps/unix/sysv/linux/setegid.c: Do not include
34660 <kernel-features.h>.
34661 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34663 (__setresgid): Do not declare.
34664 [__ASSUME_32BITUIDS]: Make code unconditional.
34665 [!__ASSUME_32BITUIDS]: Remove conditional code.
34666 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34667 <kernel-features.h>.
34668 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34670 (__setresuid): Do not declare.
34671 [__ASSUME_32BITUIDS]: Make code unconditional.
34672 [!__ASSUME_32BITUIDS]: Remove conditional code.
34673 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34674 <kernel-features.h>.
34675 [__ASSUME_32BITUIDS]: Make code unconditional.
34676 [!__ASSUME_32BITUIDS]: Remove conditional code.
34677 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34678 <kernel-features.h>.
34679 [__ASSUME_32BITUIDS]: Make code unconditional.
34680 [!__ASSUME_32BITUIDS]: Remove conditional code.
34682 2012-05-25 Richard Henderson <rth@twiddle.net>
34684 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34685 dl_hwcap to ifunc resolver.
34686 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34688 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34689 dl_hwcap to ifunc resolver.
34690 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34692 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34695 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34696 for |x| <= 2**-26, not 2**-57.
34697 * math/libm-test.inc (acos_test): Do not allow spurious underflow
34700 2012-05-24 Jeff Law <law@redhat.com>
34702 * stdio-common/Makefile (tests): Add bug25.
34703 * stdio-common/bug25.c: New test.
34705 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34708 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34709 multiple of MALLOC_ALIGNMENT in size.
34710 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34712 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34714 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34716 (FILENAME_MAX): Use macro-int-constant.
34717 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
34718 (_IOFBF): Use macro-int-constant.
34719 (_IOLBF): Likewise.
34720 (_IONBF): Likewise.
34721 (SEEK_CUR): Likewise.
34722 (SEEK_END): Likewise.
34723 (SEEK_SET): Likewise.
34724 (TMP_MAX): Likewise.
34725 (EOF): Use macro-int-constant. Require < 0.
34726 (NULL): Use macro-constant. Require == 0.
34727 (stdin): Require type to be FILE *.
34728 (stdout): Likewise.
34729 (stderr): Likewise.
34730 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34731 macro-int-constant.
34732 (EXIT_SUCCESS): Likewise.
34733 (NULL): Use macro-constant. Require == 0.
34734 (RAND_MAX): Use macro-int-constant.
34735 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34736 [C99-based standards] (strtof): Require function.
34737 [C99-based standards] (strtold): Likewise.
34738 [C99-based standards] (strtoll): Likewise.
34739 [C99-based standards] (strtoull): Likewise.
34740 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34741 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34742 [ISO || ISO99 || ISO11] (math.h): Likewise.
34743 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34744 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34745 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34747 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34750 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34751 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34752 * intl/dgettext.c (DCGETTEXT): Likewise.
34753 * intl/gettext.c (DCGETTEXT): Likewise.
34754 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34755 * posix/regex_internal.h (gettext): Likewise.
34756 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34757 Remove declaration.
34758 * include/argz.h (__argz_count_internal)
34759 (__argz_stringify_internal): Remove declaration.
34760 (__argz_count, __argz_stringify): Declare hidden proto.
34761 * intl/dcgettext.c: Remove use of INTDEF.
34762 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34763 * string/argz-stringify.c: Likewise.
34764 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34765 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34766 Declare hidden proto.
34767 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34768 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34769 Declare hidden proto.
34770 * include/stdio.h (__asprintf_internal): Don't declare.
34771 (__asprintf): Don't define as macro. Declare hidden proto.
34772 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34773 (__fsetlocking): Declare hidden proto.
34774 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34775 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34777 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34778 (_IO_setlinebuf): Remove use of INTUSE.
34779 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34780 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34781 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34782 Remove declaration.
34783 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34784 (_IO_do_flush): Remove use of INTUSE.
34785 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34786 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34787 (_IO_adjust_column, _IO_least_wmarker)
34788 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34789 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34790 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34791 (_IO_default_doallocate, _IO_wdefault_doallocate)
34792 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34793 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34794 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34795 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34796 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34797 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34798 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34799 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34800 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34801 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34802 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34803 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34804 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34806 (_IO_flush_all_internal, _IO_adjust_column_internal)
34807 (_IO_default_uflow_internal, _IO_default_finish_internal)
34808 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34809 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34810 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34811 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34812 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34813 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34814 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34815 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34816 (_IO_file_close_internal, _IO_file_close_it_internal)
34817 (_IO_file_underflow_internal, _IO_file_overflow_internal)
34818 (_IO_file_init_internal, _IO_file_attach_internal)
34819 (_IO_file_fopen_internal, _IO_file_read_internal)
34820 (_IO_file_sync_internal, _IO_file_seek_internal)
34821 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34822 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34823 (_IO_str_underflow_internal, _IO_str_overflow_internal)
34824 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34825 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34826 (_IO_list_all_internal, _IO_link_in_internal)
34827 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34828 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34829 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34830 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34831 (_IO_do_write_internal, _IO_padn_internal)
34832 (_IO_getline_info_internal, _IO_getline_internal)
34833 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34834 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34835 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34836 (_IO_vfscanf_internal, _IO_vfprintf_internal)
34837 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34838 (_IO_init_internal, _IO_un_link_internal): Don't declare.
34839 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34840 with libc_hidden_ver, remove use of INTUSE.
34841 * libio/genops.c: Likewise.
34842 * libio/freopen.c: Likewise.
34843 * libio/freopen64.c: Likewise.
34844 * libio/iofclose.c: Likewise.
34845 * libio/iofdopen.c: Likewise.
34846 * libio/iofflush.c: Likewise.
34847 * libio/iofflush_u.c: Likewise.
34848 * libio/iofgets.c: Likewise.
34849 * libio/iofgets_u.c: Likewise.
34850 * libio/iofopen.c: Likewise.
34851 * libio/iofopncook.c: Likewise.
34852 * libio/iofread.c: Likewise.
34853 * libio/iofread_u.c: Likewise.
34854 * libio/ioftell.c: Likewise.
34855 * libio/iofwrite.c: Likewise.
34856 * libio/iogetline.c: Likewise.
34857 * libio/iogets.c: Likewise.
34858 * libio/iogetwline.c: Likewise.
34859 * libio/iopadn.c: Likewise.
34860 * libio/iopopen.c: Likewise.
34861 * libio/ioseekoff.c: Likewise.
34862 * libio/ioseekpos.c: Likewise.
34863 * libio/iosetbuffer.c: Likewise.
34864 * libio/iosetvbuf.c: Likewise.
34865 * libio/ioungetc.c: Likewise.
34866 * libio/ioungetwc.c: Likewise.
34867 * libio/iovdprintf.c: Likewise.
34868 * libio/iovsprintf.c: Likewise.
34869 * libio/iovsscanf.c: Likewise.
34870 * libio/memstream.c: Likewise.
34871 * libio/obprintf.c: Likewise.
34872 * libio/oldfileops.c: Likewise.
34873 * libio/oldiofclose.c: Likewise.
34874 * libio/oldiofdopen.c: Likewise.
34875 * libio/oldiofopen.c: Likewise.
34876 * libio/oldiopopen.c: Likewise.
34877 * libio/oldstdfiles.c: Likewise.
34878 * libio/putc.c: Likewise.
34879 * libio/setbuf.c: Likewise.
34880 * libio/setlinebuf.c: Likewise.
34881 * libio/stdfiles.c: Likewise.
34882 * libio/strops.c: Likewise.
34883 * libio/vasprintf.c: Likewise.
34884 * libio/vscanf.c: Likewise.
34885 * libio/vsnprintf.c: Likewise.
34886 * libio/vswprintf.c: Likewise.
34887 * libio/wfiledoalloc.c: Likewise.
34888 * libio/wfileops.c: Likewise.
34889 * libio/wgenops.c: Likewise.
34890 * libio/wmemstream.c: Likewise.
34891 * libio/wstrops.c: Likewise.
34892 * libio/__fpurge.c: Likewise.
34893 * libio/__fsetlocking.c: Likewise.
34894 * assert/assert.c: Likewise.
34895 * debug/fgets_chk.c: Likewise.
34896 * debug/fgets_u_chk.c: Likewise.
34897 * debug/fread_chk.c: Likewise.
34898 * debug/fread_u_chk.c: Likewise.
34899 * debug/gets_chk.c: Likewise.
34900 * debug/obprintf_chk.c: Likewise.
34901 * debug/vasprintf_chk.c: Likewise.
34902 * debug/vdprintf_chk.c: Likewise.
34903 * debug/vsnprintf_chk.c: Likewise.
34904 * debug/vsprintf_chk.c: Likewise.
34905 * malloc/mtrace.c: Likewise.
34906 * misc/error.c: Likewise.
34907 * misc/syslog.c: Likewise.
34908 * stdio-common/asprintf.c: Likewise.
34909 * stdio-common/fxprintf.c: Likewise.
34910 * stdio-common/getw.c: Likewise.
34911 * stdio-common/isoc99_fscanf.c: Likewise.
34912 * stdio-common/isoc99_scanf.c: Likewise.
34913 * stdio-common/isoc99_vfscanf.c: Likewise.
34914 * stdio-common/isoc99_vscanf.c: Likewise.
34915 * stdio-common/isoc99_vsscanf.c: Likewise.
34916 * stdio-common/printf-prs.c: Likewise.
34917 * stdio-common/printf_fp.c: Likewise.
34918 * stdio-common/printf_fphex.c: Likewise.
34919 * stdio-common/printf_size.c: Likewise.
34920 * stdio-common/putw.c: Likewise.
34921 * stdio-common/scanf.c: Likewise.
34922 * stdio-common/sprintf.c: Likewise.
34923 * stdio-common/tmpfile.c: Likewise.
34924 * stdio-common/vfprintf.c: Likewise.
34925 * stdio-common/vfscanf.c: Likewise.
34926 * stdlib/strfmon_l.c: Likewise.
34927 * sunrpc/openchild.c: Likewise.
34928 * sunrpc/xdr_stdio.c: Likewise.
34929 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34930 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34932 2012-05-24 Roland McGrath <roland@hack.frob.com>
34934 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34936 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34937 in the third column, to generate for the shared library an IFUNC
34938 that uses _dl_vdso_vsym.
34939 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34940 * Makeconfig (object-suffixes-noshared): New variable.
34942 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34943 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34944 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34945 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34948 * include/sys/time.h (__gettimeofday): Remove macro.
34949 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34950 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34952 (__gettimeofday): Add libc_hidden_def.
34953 (gettimeofday): Add libc_hidden_weak.
34954 * sysdeps/mach/gettimeofday.c: Likewise.
34955 * sysdeps/posix/gettimeofday.c: Likewise.
34956 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34957 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34958 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34959 (__gettimeofday_internal): Remove strong_alias.
34960 (__gettimeofday): Add libc_hidden_def.
34961 (gettimeofday): Add libc_hidden_weak.
34962 * sysdeps/unix/syscalls.list (gettimeofday):
34963 Remove __gettimeofday_internal alias.
34965 2012-05-24 Daniel Jacobowitz <drow@false.org>
34966 H.J. Lu <hongjiu.lu@intel.com>
34969 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34970 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34971 (largebin_index_32_big): New.
34972 (largebin_index): Use it for 16-byte alignment.
34973 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34974 correction with front_misalign.
34976 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34978 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34985 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34987 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34991 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34993 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34997 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34999 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35001 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35004 * scripts/data/c++-types-x32-linux-gnu.data: New file.
35005 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35007 2012-05-24 Joseph Myers <joseph@codesourcery.com>
35011 * math/libm-test.inc (exp_test): Add test from bug 14036.
35012 (pow_test): Add test from bug 10846.
35014 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35016 (special_function): Do not include flags in test name.
35017 (parse_args): Likewise.
35018 * sysdeps/i386/fpu/libm-test-ulps: Update.
35019 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35020 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35021 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35024 * math/gen-libm-test.pl (%beautify): Add entries for underflow
35026 * math/libm-test.inc ("Philosophy"): Update comment about
35028 (UNDERFLOW_EXCEPTION): New macro.
35029 (UNDERFLOW_EXCEPTION_OK): Likewise.
35030 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35031 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35032 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35033 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35034 (INVALID_EXCEPTION_OK): Update value.
35035 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35036 (OVERFLOW_EXCEPTION_OK): Likewise.
35037 (IGNORE_ZERO_INF_SIGN): Likewise.
35038 (test_exceptions): Handle underflow exceptions.
35039 (acos_test): Update for underflow exception expectations.
35040 (cexp_test): Likewise.
35041 (clog_test): Likewise.
35042 (clog10_test): Likewise.
35043 (csqrt_test): Likewise.
35044 (ctan_test): Likewise.
35045 (ctanh_test): Likewise.
35046 (exp_test): Likewise.
35047 (exp10_test): Likewise.
35048 (exp2_test): Likewise.
35049 (expm1_test): Likewise.
35050 (fma_test): Likewise.
35051 (j0_test): Likewise.
35052 (jn_test): Likewise.
35053 (nexttoward_test): Likewise.
35054 (pow_test): Likewise.
35055 (scalbn_test): Likewise.
35056 (scalbln_test): Likewise.
35057 (tan_test): Likewise.
35058 (y1_test): Likewise.
35059 * sysdeps/i386/fpu/libm-test-ulps: Update.
35060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35062 2012-05-23 David S. Miller <davem@davemloft.net>
35064 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35065 (__libc_sigaction): Remove unused local variables.
35067 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35069 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35071 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
35073 mktime: avoid signed integer overflow
35074 * time/mktime.c (__mktime_internal): Do not mishandle the case
35075 where diff == INT_MIN.
35077 mktime: simplify computation of average
35078 * time/mktime.c (ranged_convert): Use new time_t_avg function
35079 instead of rolling our own (probably-slower) code.
35081 mktime: do not assume signed right shift propagates sign bit
35082 * time/mktime.c (isdst_differ): New static function.
35083 (__mktime_internal): No need to normalize tm_isdst now.
35084 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35087 mktime: merge another wrapv change from gnulib
35088 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35089 from some compilers.
35091 mktime: remove incorrect attempt at unusual arithmetics
35092 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35093 The code didn't really work on such machines anyway.
35094 (TYPE_MINIMUM): Assume two's complement.
35095 (twos_complement_arithmetic): Verify that long_int and time_t
35096 are two's complement (or unsigned, in the latter case).
35098 mktime: check signed shifts on long_int and time_t, too
35099 * time/mktime.c (SHR): Check that shifts work as desired
35100 on the types long_int and time_t too, as SHR is used on
35103 mktime: do not assume 'long' is wide enough
35104 * time/mktime.c (verify): Move decl up.
35105 (long_int): New type.
35106 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35107 to remove assumption in the code that 'long' is wide enough to
35108 store year values. This assumption is not true on x32 and on
35109 some non-glibc platforms.
35111 mktime: merge wrapv change from gnulib
35112 * time/mktime.c (WRAPV): New macro.
35113 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35114 (guess_time_tm, __mktime_internal): Do not assume that signed
35115 integer overflow wraps around; modern compilers generate code
35116 where this assumption is no longer valid.
35118 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35120 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35121 Replace "jmp L(pseudo_end)" with "ret".
35122 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35125 2012-05-23 Andreas Jaeger <aj@suse.de>
35127 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35128 * sysdeps/unix/sysv/linux/poll.c: Remove file.
35130 2012-05-23 Andreas Jaeger <aj@suse.de>
35131 Maximilian Attems <max@stro.at>
35133 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35136 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35138 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35139 code so that pseudo_end is just ret and the stack pointer is
35140 correct also for static library in error case.
35142 2012-05-23 Joseph Myers <joseph@codesourcery.com>
35144 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35145 move to syscalls.list.
35146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35151 * manual/install.texi (Running make install): Do not mention Linux
35152 kernel version for which pt_chown is not needed.
35153 (Linux): Do not mention problems with nscd with 2.0 kernels.
35154 * INSTALL: Regenerated.
35156 2012-05-23 Andreas Jaeger <aj@suse.de>
35158 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35159 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35161 * sysdeps/unix/sysv/linux/s390/bits/mman.h
35162 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35163 * sysdeps/unix/sysv/linux/sh/bits/mman.h
35164 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35165 * sysdeps/unix/sysv/linux/i386/bits/mman.h
35166 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35167 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35168 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35169 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35170 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35171 * sysdeps/unix/sysv/linux/bits/in.h
35172 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35174 2012-05-22 Roland McGrath <roland@hack.frob.com>
35176 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35177 (PREPARE_VERSION): Just use assert instead, it will be elided
35178 under [NDEBUG] anyway.
35180 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35182 * sysdeps/unix/sysv/linux/Makefile: Include
35183 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35184 (sysdep_routines): Remove sysctl.
35185 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35186 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35187 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35188 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35189 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35191 2012-05-22 Andreas Jaeger <aj@suse.de>
35193 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35194 that pseudo_end is just ret and the stack pointer is correct also
35195 for static library in error case.
35197 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
35200 * nss/nsswitch.c (defconfig_entries): New variable.
35201 (__nss_database_lookup): Don't leak defconfig entries.
35202 (nss_parse_service_list): Don't leak on error paths.
35203 (free_database_entries): New function.
35204 (free_defconfig): New function.
35205 (free_mem): Move common code to free_database_entries.
35207 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35209 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35211 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35213 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35214 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35215 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35217 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35218 (INTERNAL_SYSCALL_TYPES): Likewise.
35219 (LOAD_ARGS_TYPES_[1-6]): Likewise.
35220 (LOAD_REGS_TYPES_[1-6]): Likewise.
35221 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35222 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35224 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35226 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35227 copysignl for GLIBC_2_0.
35228 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35229 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35230 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35231 logbl for GLIBC_2_0.
35232 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35233 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35235 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35237 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35238 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35240 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35243 * time/mktime.c: Update copyright years.
35245 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
35247 mktime: merge comment-quoting-style change from gnulib
35248 * time/mktime.c: Quote 'like this' in comments.
35249 The GNU coding standards suggest that we no longer quote `like this',
35250 as "`" and "'" are typically rendered asymmetrically nowadays.
35251 The typical gnulib style is to quote 'like this' when quoting
35252 code, and "like this" when quoting English.
35254 * time/mktime.c (compile-command): Add "-I.".
35256 mktime: merge mktime-internal.h change from gnulib
35257 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35259 mktime: merge time_r change from gnulib
35260 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35262 mktime: merge DEBUG change from gnulib
35263 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35264 case system <time.h> has a #define.
35266 mktime: merge <sys/types.h> change from gnulib
35267 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35268 since <time.t> is now guaranteed to define time_t.
35270 mktime: merge HAVE_CONFIG_H change from gnulib
35271 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35273 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35275 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35278 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35280 (struct rusage): Use anonymous union to pad each field to
35283 2012-05-21 David S. Miller <davem@davemloft.net>
35285 * Makefules (o-iterator): Remove .s cases.
35286 (compile-command.s): Delete.
35287 (COMPILE.s): Delete.
35288 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35290 2012-05-21 Joseph Myers <joseph@codesourcery.com>
35292 * configure.in (libc_cv_predef_stack_protector): Only consider
35293 "foobar" and "__stack_chk_fail" lines in libc_undefs.
35294 * configure: Regenerated.
35296 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35298 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35299 New macro. Use R*LP on int and pointer.
35300 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35301 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35302 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35303 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35305 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35306 [__WORDSIZE_TIME64_COMPAT32] instead of
35307 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35308 (struct utmp): Likewise.
35309 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35310 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35312 (__WORDSIZE_TIME64_COMPAT32): This.
35313 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35314 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35315 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35316 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35317 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35318 (__WORDSIZE_TIME64_COMPAT32): New macro.
35320 2012-05-21 Andreas Jaeger <aj@suse.de>
35322 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35323 only if [SHARED]. Add prototype for __wcschr_ia32.
35325 2012-05-21 Roland McGrath <roland@hack.frob.com>
35327 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35328 of %rbp unmolested in the jmp_buf while mangling the low bits.
35329 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35330 unmolested high bits of %rbp while demangling the low bits.
35331 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35333 2012-05-21 Andreas Jaeger <aj@suse.de>
35335 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35336 * sunrpc/svc_simple.c: Use it for registerrpc.
35337 * sunrpc/xcrypt.c: Use it for passwd2des.
35339 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35341 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35343 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35344 Don't define if [__SYSCALL_WORDSIZE != 32].
35345 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35348 2012-05-21 Bruno Haible <bruno@clisp.org>
35349 Andreas Jaeger <aj@suse.de>
35351 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35352 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35353 inptr and inend for must_buffer_ch.
35354 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35355 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35356 * stdio-common/Makefile (tests): Remove bug15.
35357 (bug15-ENV): Remove macro.
35358 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35361 2012-05-19 Andreas Jaeger <aj@suse.de>
35362 Roland McGrath <roland@hack.frob.com>
35364 * manual/contrib.texi: Completely rewritten. It contains now an
35365 alphabetical list of contributors and their contributions.
35367 2012-05-21 Richard Henderson <rth@twiddle.net>
35369 * misc/getauxval.c (__getauxval): Use unsigned long int.
35370 * misc/sys/auxv.h: Include <sys/cdefs.h>.
35371 (getauxval): Use unsigned long int.
35373 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35375 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35377 2012-05-21 Roland McGrath <roland@hack.frob.com>
35379 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35380 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35381 __alignof__ (long double).
35383 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35387 2012-05-20 Richard Henderson <rth@twiddle.net>
35389 * misc/getauxval.c: New file.
35390 * misc/sys/auxv.h: New file.
35391 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35392 (routines): Add getauxval.
35393 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35394 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35395 * elf/dl-sysdep.c (_dl_auxv): Remove.
35396 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35397 * elf/dl-support.c (_dl_auxv): New variable.
35398 (_dl_aux_init): Initialize it.
35399 * manual/startup.texi (Auxiliary Vector): New node.
35400 * sysdeps/generic/bits/hwcap.h: New file.
35401 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35402 * sysdeps/powerpc/sysdep.h: ... here. Include it.
35403 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35404 * sysdeps/sparc/sysdep.h: ... here. Include it.
35405 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35406 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35412 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35415 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35416 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35418 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35422 2012-05-19 David S. Miller <davem@davemloft.net>
35424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35426 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35429 * math/s_ccosh.c: Include <float.h>
35430 (__ccosh): Avoid internal overflow calculating sinh and cosh
35431 values before multiplying by sin and cos values.
35432 * math/s_ccoshf.c: Likewise.
35433 * math/s_ccoshl.c: Likewise.
35434 * math/s_csin.c: Likewise.
35435 * math/s_csinf.c: Likewise.
35436 * math/s_csinl.c: Likewise.
35437 * math/s_csinh.c: Likewise.
35438 * math/s_csinhf.c: Likewise.
35439 * math/s_csinhl.c: Likewise.
35440 * math/libm-test.inc (ccos_test): Add more tests.
35441 (ccosh_test): Likewise.
35442 (csin_test): Likewise.
35443 (csinh_test): Likewise.
35444 * sysdeps/i386/fpu/libm-test-ulps: Update.
35445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35447 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
35449 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35450 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35452 * sysdeps/x86_64/x32/_itoa.h: Add comment.
35454 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35456 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35457 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35458 * sysdeps/powerpc/soft-fp/Versions: Likewise.
35459 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35460 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35461 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35462 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35463 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35464 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35465 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35466 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35467 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35468 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35469 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35470 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35471 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35472 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35473 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35474 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35475 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35476 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35477 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35478 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35479 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35480 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35481 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35482 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35483 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35484 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35485 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35486 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35488 2012-05-18 Andreas Jaeger <aj@suse.de>
35490 * csu/.gitignore: Delete.
35492 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35494 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35495 (timex): Use __syscall_slong_t.
35497 2012-05-18 Andreas Jaeger <aj@suse.de>
35498 Carlos O'Donell <carlos_odonell@mentor.com>
35500 * manual/install.texi (Configuring and compiling): Update
35501 description about files modified in the source directory.
35502 * INSTALL: Regenerated.
35504 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35506 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35507 value. Use "or" to set return value to -1.
35508 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35509 negate return value.
35511 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35513 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35514 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35515 failure if the compiler has Graphite support disabled.
35516 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35518 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35519 (CFLAGS-memmove.c): Likewise.
35520 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35523 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35525 * sysdeps/x86_64/x32/_itoa.h: New file.
35527 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35528 getdents system call only if kernel and user dirents have the
35529 same d_ino and d_off.
35531 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35532 LLONG_MAX != LONG_MAX.
35533 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35534 (_fitoa_word): Likewise.
35536 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35538 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35539 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35540 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35542 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35543 include <bits/wordsize.h>. Check __x86_64__ instead of
35545 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35546 if __x86_64__ is defined. Use anonymous union on fpstate.
35548 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35551 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
35553 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35554 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35555 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35556 Refer to _rtld_local_ro instead of _rtld_global_ro.
35557 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35559 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35561 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35563 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35564 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35565 of _rtld_global, and rtld_progname instead of _dl_argv[0].
35567 * sysdeps/powerpc/powerpc32/dl-machine.c
35568 (__elf_machine_runtime_setup) [PROF]: Don't reference
35571 2012-05-18 Andreas Jaeger <aj@suse.de>
35573 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35574 function only available for GCCs before 3.4 since GCC 3.4
35575 introduced a builtin.
35577 (llrintf): Likewise.
35578 (llrint): Likewise.
35585 (nearbyint): Likewise.
35586 (nearbyintf): Likewise.
35590 (floorf): Likewise.
35592 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35594 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35595 on both fields and cast pointer to __syscall_ulong_t.
35597 * bits/types.h (__fsword_t): New type.
35598 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35599 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35600 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35601 (__FSWORD_T_TYPE): Likewise.
35602 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35603 (__FSWORD_T_TYPE): Likewise.
35604 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35605 (__FSWORD_T_TYPE): Likewise.
35606 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35607 (__FSWORD_T_TYPE): Likewise.
35608 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35609 __SWORD_TYPE with __fsword_t.
35610 (statfs64): Likewise.
35612 2012-05-17 David S. Miller <davem@davemloft.net>
35614 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35616 2012-05-17 Andreas Jaeger <aj@suse.de>
35618 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35621 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35623 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35625 2012-05-17 Andreas Jaeger <aj@suse.de>
35627 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35630 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35632 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35634 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35636 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35637 * sysdeps/x86_64/tst-mallocalign1.c: New file.
35639 2012-05-17 Andreas Jaeger <aj@suse.de>
35640 Carlos O'Donell <carlos_odonell@mentor.com>
35643 * sysdeps/x86_64/multiarch/init-arch.h
35644 (bit_YMM_Usable): Rename to...
35645 (bit_AVX_Usable): ... this.
35646 (bit_FMA4_Usable): New macro.
35647 (bit_XMM_state): New macro.
35648 (bit_YMM_state): New macro.
35649 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35650 [__ASSEMBLER__] (index_AVX_Usable): ... this.
35651 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35652 (CPUID_OSXSAVE): New macro.
35653 (CPUID_AVX): New macro.
35654 (CPUID_FMA4): New macro.
35655 (index_YMM_Usable): Rename to...
35656 (index_AVX_Usable): ... this.
35657 (HAS_AVX): Use HAS_ARCH_FEATURE.
35658 (HAS_FMA4): Likewise.
35659 (HAS_YMM_USABLE): Remove.
35660 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35661 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35663 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35664 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35665 * sysdeps/x86_64/multiarch/Makefile: Likewise.
35666 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35667 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35669 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35671 * math/libm-test.c: Support platforms without multiple rounding modes.
35672 * math/bug-nextafter.c: Support platforms without FP exceptions.
35673 * math/bug-nexttoward.c: Likewise.
35674 * math/test-fenv.c: Likewise.
35675 * math/test-misc.c: Likewise.
35676 * stdlib/bug-getcontext.c: Likewise.
35678 2012-05-17 Andreas Jaeger <aj@suse.de>
35680 * manual/examples/search.c (critter_cmp): Change signature to
35682 * manual/string.texi (Collation Functions): Likewise.
35684 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35686 * bits/types.h: Fold copyright years.
35687 * bits/typesizes.h: Likewise.
35688 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35689 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35690 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35691 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35692 * time/time.h: Likewise.
35694 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
35697 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35698 in instead of returning them. Return void.
35699 (__libc_mallinfo): Accumulate over all arenas.
35700 (__malloc_stats): Adjust for change in int_mallinfo interface.
35702 2012-05-16 Roland McGrath <roland@hack.frob.com>
35705 * configure.in (NM): Add AC_CHECK_TOOL for it.
35706 (libc_extra_cflags): New substituted variable.
35707 Check for -fstack-protector being used implicitly.
35708 * configure: Regenerated.
35709 * config.make.in (config-extra-cflags): New variable,
35710 gets @libc_extra_cflags@.
35711 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35714 * configure.in: Check for _FORTIFY_SOURCE being predefined.
35715 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35716 * configure: Regenerated.
35717 * config.make.in (CPPUNDEFS): New substituted variable.
35718 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35719 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35720 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35722 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35724 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35725 (mq_attr): Use __syscall_slong_t.
35727 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35729 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35730 Check __x86_64__ instead of __WORDSIZE.
35731 (_STAT_VER_LINUX): Likewise.
35732 (stat): Check __x86_64__ instead of __WORDSIZE. Use
35733 __syscall_ulong_t and __syscall_slong_t.
35734 (stat64): Likewise.
35736 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35738 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35740 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35742 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35744 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35746 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35749 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35750 include <bits/wordsize.h>. Check __x86_64__ instead of
35752 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35754 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35756 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35757 include <bits/wordsize.h>. Check __x86_64__ instead of
35759 (user_regs_struct): Use "__extension__ unsigned long long"
35760 instead of "unsigned long" if __x86_64__ is defined.
35761 (user): Likewise. Pad after pointer field if __ILP32__ is
35764 2012-05-16 Joseph Myers <joseph@codesourcery.com>
35766 * configure.in (makeinfo): Require version 4.5 or later. Allow
35768 * configure: Regenerated.
35769 * manual/install.texi (texinfo): Increase version requirement to
35771 * INSTALL: Regenerated.
35773 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35775 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35777 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35779 * sysdeps/x86_64/x32/ffs.c: New file.
35781 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35783 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35784 defined. Use __syscall_ulong_t.
35785 (shminfo): Use __syscall_ulong_t.
35786 (shm_info): Likewise.
35788 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35791 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35793 (msgqnum_t): Use __syscall_ulong_t.
35794 (msglen_t): Likewise.
35795 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
35798 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35799 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35801 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35803 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35804 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35806 * sysvipc/sys/msg.h (msgbuf): Replace long int with
35809 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35810 include <bits/wordsize.h>. Check __x86_64__ instead of
35813 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35814 "unsigned long long int" if __x86_64__ is defined.
35815 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35817 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35818 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35819 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35821 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35823 (GET_PC): Cast to uintptr_t first.
35824 (GET_FRAME): Likewise.
35825 (GET_STACK): Likewise.
35827 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35828 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35829 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35830 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35831 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35832 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35833 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35834 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35835 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35836 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35837 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35838 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35839 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35840 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35841 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35842 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35843 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35844 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35845 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35846 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35847 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35848 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35849 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35850 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35851 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35852 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35853 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35854 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35855 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35857 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
35859 * Makerules (+depfiles): Also collect depfiles from .oS in
35861 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35862 .oS, $(libnldbl-routines)).
35864 * Makerules (native-compile-mkdep-flags): Define.
35865 * sunrpc/Makefile (extra-objs): Add $(addprefix
35866 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35867 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35868 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
35869 calling $(make-target-directory).
35871 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35873 * bits/types.h (__snseconds_t): Removed.
35874 * time/time.h (struct timespec): Replace __snseconds_t with
35876 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35877 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35879 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35880 (__SNSECONDS_T_TYPE): Likewise.
35881 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35882 (__SNSECONDS_T_TYPE): Likewise.
35883 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35884 (__SNSECONDS_T_TYPE): Likewise.
35886 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35888 * sysdeps/mach/hurd/bits/typesizes.h
35889 (__SYSCALL_SLONG_TYPE): New macro.
35890 (__SYSCALL_ULONG_TYPE): Likewise.
35892 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35894 * bits/types.h (__syscall_slong_t): New type.
35895 (__syscall_ulong_t): Likewise.
35897 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35898 (__SYSCALL_ULONG_TYPE): Likewise.
35899 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35900 (__SYSCALL_SLONG_TYPE): Likewise.
35901 (__SYSCALL_ULONG_TYPE): Likewise.
35902 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35903 (__SYSCALL_SLONG_TYPE): Likewise.
35904 (__SYSCALL_ULONG_TYPE): Likewise.
35905 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35906 (__SYSCALL_SLONG_TYPE): Likewise.
35907 (__SYSCALL_ULONG_TYPE): Likewise.
35909 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35911 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35912 Add sigaltstack-offsets.sym.
35913 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35914 <sigaltstack-offsets.h>.
35915 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35916 longjmp_msg pointer.
35917 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35918 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35920 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35922 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35924 * elf/stackguard-macros.h: Remove file.
35925 * sysdeps/generic/stackguard-macros.h: New file.
35926 * sysdeps/i386/stackguard-macros.h: Likewise.
35927 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35928 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35929 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35930 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35931 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35932 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35933 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35934 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35935 <elf/stackguard-macros.h>.
35938 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35939 __aligned__ in attribute.
35940 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35941 (gregset_t): Likewise.
35943 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35945 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35946 * sysdeps/x86_64/64/Implies-after: Here. New file.
35947 * sysdeps/x86_64/x32/Implies-after: New file.
35949 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35951 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35952 and access return value for _dl_profile_fixup. Use R10_LP to
35955 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35957 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35959 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35961 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35962 * sysdeps/x86_64/x32/sysdep.h: New file.
35964 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35966 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35967 * sysdeps/x86_64/setjmp.S: Likewise.
35969 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35971 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35972 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35973 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35974 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35975 remove unused global constant.
35977 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35979 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35980 include of <not-cancel.h>.
35982 2012-05-15 Roland McGrath <roland@hack.frob.com>
35984 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35986 2012-05-15 Jeff Law <law@redhat.com>
35987 Andreas Jaeger <aj@suse.de>
35990 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35992 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35993 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35994 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35995 code changing __hst_map_handle.map.
35997 2012-05-15 Roland McGrath <roland@hack.frob.com>
35999 * configure.in (sysnames): Look for Implies-before and Implies-after
36001 * configure: Regenerated.
36003 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36005 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36006 8-byte data alignment with LP_SIZE alignment.
36008 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36010 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36013 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36015 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36017 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36019 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36020 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36021 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36023 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36025 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36027 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36028 (stackinfo_sub_sp): Likewise.
36030 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36032 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36035 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36037 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36040 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36042 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36045 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36047 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36049 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36051 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36052 into R11_LP and load __x86_64_shared_cache_size_half into
36055 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
36057 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36060 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36062 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36064 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36066 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36068 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36069 powerpc32/power7/fpu/s_logb.c via #include.
36070 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36071 powerpc32/power7/fpu/s_logbf.c via #include.
36072 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36073 powerpc32/power7/fpu/s_logbl.c via #include.
36075 2012-05-15 Joseph Myers <joseph@codesourcery.com>
36077 * README.libm: Remove file.
36079 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36081 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36082 count for x32. Use R*_LP and omit operand-size suffix.
36084 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36086 * shlib-versions: Move x86_64-.*-linux.* entries to ...
36087 * sysdeps/x86_64/64/shlib-versions: Here. New file.
36088 * sysdeps/x86_64/x32/shlib-versions: New file.
36090 2012-05-14 Roland McGrath <roland@hack.frob.com>
36092 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36093 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36094 Use _dl_fatal_printf instead.
36096 2012-05-14 Joseph Myers <joseph@codesourcery.com>
36098 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36099 set if not set by the user. Do not allow for being unset.
36100 * sysdeps/unix/sysv/linux/configure: Regenerated.
36102 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36104 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36105 the `q' suffix from lea and replace .quad with ASM_ADDR.
36107 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36109 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36110 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
36112 (PTR_DEMANGLE): Likewise.
36114 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36116 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36118 (ASM_ADDR): Likewise.
36119 (RAX_LP): Likewise.
36120 (RBP_LP): Likewise.
36121 (RBX_LP): Likewise.
36122 (RCX_LP): Likewise.
36123 (RDI_LP): Likewise.
36124 (RSI_LP): Likewise.
36125 (RSP_LP): Likewise.
36128 (R10_LP): Likewise.
36129 (R10_LP): Likewise.
36130 (R11_LP): Likewise.
36131 (R12_LP): Likewise.
36132 (R13_LP): Likewise.
36133 (R14_LP): Likewise.
36134 (R15_LP): Likewise.
36136 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36138 * sysdeps/x86_64/x32/dl-machine.h: New file.
36140 2012-05-14 Andreas Jaeger <aj@suse.de>
36142 * manual/Makefile (subdir): Remove export of subdir.
36143 (all): Remove target.
36144 (.PHONY): Remove all from list.
36145 (mkinstalldirs): Remove.
36146 (.PHONY): Remove installdirs from list.
36147 ($(inst_infodir)/libc.info): Use make-target-directory.
36148 (installdirs): Remove.
36149 (subdir_%): Remove.
36150 (glibc-targets): Remove.
36153 ($(objpfx)stubs ../po/manual.pot): Remove.
36154 ($(objpfx)stamp%): Remove.
36155 (make-target-directory): Remove.
36156 (subdir_install): Remove.
36157 (routines): Remove.
36164 * manual/.gitignore: Remove, it's not needed anymore.
36165 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36167 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36169 (texis): Renamed to $(objpfx)texis.
36170 (texis-path): New, contains path to generated files.
36171 (chapters.%): Use texis-path for complete path, add extra argument
36173 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36174 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36175 (summary,texi, stamp-summary): Use complete path of
36176 files. Generate files in build dir.
36177 (dir-add.texi): Build in build dir.
36178 (libm-err.texi,stamp-libm-err): Likewise.
36179 (version.texi, stamp-version): Likewise.
36180 (.%c.texi): Likewise.
36181 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36182 (mostlyclean): Remove target.
36183 (realclean): Remove target.
36184 (generated): Add new variable with contents from mostlyclean and
36185 realclean, remove entries duplicated in common-mostlyclean, add
36186 stamp-libm-err and stamp-version.
36187 (generated-dirs): Add libc directory.
36188 ($(inst_infodir)/libc.info): Install files from build dir.
36190 * manual/install.texi (Configuring and compiling): Adjust since
36191 the info files are not part of the tar ball anymore.
36193 2012-05-14 Andreas Jaeger <aj@suse.de>
36195 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36198 2012-05-14 Joseph Myers <joseph@codesourcery.com>
36201 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36202 to 2.2.0 where earlier.
36203 * sysdeps/unix/sysv/linux/configure: Regenerated.
36204 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36205 Remove conditional code.
36206 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36207 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36208 Remove conditional code.
36209 [!__NR_lchown]: Likewise.
36210 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36211 [__NR_lchown]: Likewise.
36212 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36213 comment referencing __ASSUME_LCHOWN_SYSCALL.
36214 * sysdeps/unix/sysv/linux/i386/sigaction.c
36215 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36216 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36217 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36218 Remove conditional code.
36219 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36220 (__protocol_available): Remove #if 0 code.
36221 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36223 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36224 * sysdeps/unix/sysv/linux/kernel-features.h
36225 (__ASSUME_GETCWD_SYSCALL): Don't define.
36226 (__ASSUME_REALTIME_SIGNALS): Likewise.
36227 (__ASSUME_PREAD_SYSCALL): Likewise.
36228 (__ASSUME_PWRITE_SYSCALL): Likewise.
36229 (__ASSUME_POLL_SYSCALL): Likewise.
36230 (__ASSUME_LCHOWN_SYSCALL): Likewise.
36231 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36233 (__ASSUME_SIOCGIFNAME): Don't define.
36234 (__ASSUME_MSG_NOSIGNAL): Likewise.
36235 (__ASSUME_SENDFILE): Define unconditionally.
36236 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36237 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36239 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36240 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36241 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36242 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36243 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36244 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36245 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36247 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36248 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36250 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36251 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36253 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36254 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36256 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36257 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36259 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36260 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36262 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36263 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36265 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36266 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36268 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36269 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36270 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36271 Remove conditional code.
36272 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36273 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36274 Remove conditional code.
36275 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36276 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36277 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36278 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36279 Remove conditional code.
36280 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36281 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36282 Remove conditional code.
36283 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36284 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36285 Remove conditional code.
36286 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36287 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36288 Remove conditional code.
36289 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36290 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36291 Remove conditional code.
36292 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36293 * sysdeps/unix/sysv/linux/sh/pwrite64.c
36294 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36295 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36296 * sysdeps/unix/sysv/linux/sigaction.c
36297 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36298 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36299 * sysdeps/unix/sysv/linux/sigpending.c
36300 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36301 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36302 * sysdeps/unix/sysv/linux/sigprocmask.c
36303 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36304 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36305 * sysdeps/unix/sysv/linux/sigsuspend.c
36306 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36307 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36308 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36309 (__libc_missing_rt_sigs): Remove.
36310 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36311 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36312 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36313 Remove conditional code.
36314 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36315 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36317 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36318 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36319 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36320 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36322 2012-05-14 Andreas Jaeger <aj@suse.de>
36324 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36325 it's not used in glibc.
36326 (__coshm1): Likewise.
36327 (__acosh1p): Likewise.
36330 * manual/string.texi (Copying and Concatenation): Add missing
36331 variable in concat example.
36332 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36334 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36337 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36338 __builtin_clzl with __builtin_clzll.
36340 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36343 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36346 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36348 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36349 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36350 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36351 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36353 2012-05-14 Mike Frysinger <vapier@gentoo.org>
36355 * NEWS: Update ia64 info.
36357 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
36359 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36362 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
36364 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36365 * sysdeps/unix/syscalls.list (dup3): Likewise.
36366 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36367 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36369 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36371 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36372 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36374 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36376 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36378 (TLS_IE): Use mov/add instead of movq/addq to load thread
36380 (TLS_GD_PREFIX): New.
36383 2012-05-11 David S. Miller <davem@davemloft.net>
36385 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36386 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36387 (_FPU_SETCW): Likewise.
36389 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36391 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36392 is 32-byte aligned.
36394 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
36397 * iconvdata/gb18030.c: Update tables.
36398 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
36399 characters specially.
36400 (BODY for TO_LOOP): Add encoding of missing ranges.
36402 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
36405 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36406 * sysdeps/mach/hurd/dup3.c: Likewise.
36407 * sysdeps/mach/hurd/readlinkat.c: Likewise.
36408 * sysdeps/powerpc/memmove.c:: Likewise.
36410 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36412 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36413 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36415 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36417 * elf/elf.h (R_X86_64_RELATIVE64): New.
36418 (R_X86_64_NUM): Updated.
36419 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36420 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
36421 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36422 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36423 tst-quad1pie tst-quad2pie
36424 (modules-names): Add tst-quadmod1 tst-quadmod2.
36425 ($(objpfx)tst-quad1): New dependency.
36426 ($(objpfx)tst-quad2): Likewise.
36427 ($(objpfx)tst-quad1pie): Likewise.
36428 ($(objpfx)tst-quad2pie): Likewise.
36429 * sysdeps/x86_64/tst-quad1.c: New file.
36430 * sysdeps/x86_64/tst-quad1pie.c: New file.
36431 * sysdeps/x86_64/tst-quad2.c: Likewise.
36432 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36433 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36434 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36435 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36436 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36438 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36440 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36441 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36442 * streams/stropts.h (t_scalar_t): Define type.
36444 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36445 (_PATH_PRESERVE): Set to "/var/lib".
36446 (_PATH_RWHODIR): Set to "/var/spool/rwho".
36448 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36451 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36452 if __dir_mkfile succeeded.
36454 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36455 checking for _hurd_dtablesize. Unlock it right after having
36456 finished _hurd_dtable allocation.
36458 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36460 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36461 * sysdeps/mach/hurd/configure: Regenerated.
36462 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36463 special-casing to...
36464 * sysdeps/gnu/configure.in: ... this new file.
36465 * sysdeps/unix/sysv/linux/configure: Regenerated.
36466 * sysdeps/gnu/configure: New generated file.
36468 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36469 for Linux: use nsec instead of usec, as well as:
36470 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36471 members of type struct timespec.
36472 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36474 (struct stat64): Likewise.
36475 (_STATBUF_ST_NSEC): New macro.
36476 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36478 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36479 __strtoul_internal rather than strtoul.
36481 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36483 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36486 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36488 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36489 which preserves existing values.
36490 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36492 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36494 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36495 TIMEOUT values. Return EINVAL for NFDS values either negative or
36496 greater than FD_SETSIZE.
36498 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36500 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36501 allocated, call __vm_protect to finish enabling the existing space, and
36502 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36503 allocate the remainder.
36505 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36507 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36508 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
36510 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36512 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36513 sysdeps/mach/hurd/readlink.c.
36515 * posix/tst-sysconf.c (posix_options): Only use
36516 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36517 _POSIX_SYNCHRONIZED_IO when they are defined
36518 * sysdeps/mach/hurd/bits/posix_opt.h:
36519 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36520 (_XOPEN_REALTIME): Undefine macro.
36521 (_XOPEN_REALTIME_THREADS): Undefine macro.
36522 (_XOPEN_SHM): Undefine macro.
36523 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36525 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36527 (_POSIX_ASYNC_IO): Undefine macro.
36528 (_POSIX_PRIORITIZED_IO): Undefine macro.
36529 (_POSIX_SPIN_LOCKS): Define macro to -1.
36531 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36532 SA_NODEFER, SA_RESETHAND.
36533 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36534 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36537 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36539 * elf/Makefile (pldd-modules): Define unconditionally.
36541 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36543 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36545 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36547 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36548 Return ENOENT when name is empty.
36549 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36551 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36553 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36555 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36557 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36559 Fix mlock in all cases except non-readable pages.
36560 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36561 instead of VM_PROT_ALL as parameter to __vm_wire function.
36563 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36564 (__mkdir): When path is `/', just fail with EEXIST.
36565 * sysdeps/mach/hurd/mkdirat.c: Likewise.
36567 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36569 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36570 <sys/uio.h> (for writev).
36571 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36572 and <sys/param.h> (for MIN).
36574 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36576 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36577 REQUESTED_TIME. Properly set the remaining time and return EINTR
36580 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36582 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36583 Depend on against $(link-rpcuserlibs).
36585 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36587 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36588 (__libc_stack_end): Do not use attribute_relro.
36589 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36590 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36591 to libthread-provided value.
36592 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36595 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36598 * bits/libc-lock.h (__libc_once_get): New macro.
36599 * sysdeps/mach/bits/libc-lock.h: Likewise.
36600 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36601 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36602 instead of using implementation details.
36604 * libio/fileops.c: Unconditionally include <kernel-features.h>.
36605 * libio/freopen.c: Likewise.
36606 * libio/freopen64.c: Likewise.
36607 * misc/syslog.c: Likewise.
36608 * nscd/connections.c: Likewise.
36609 * nscd/netgroupcache.c: Likewise.
36610 * sysdeps/posix/getcwd.c: Likewise.
36612 2012-05-10 Roland McGrath <roland@hack.frob.com>
36614 * math/w_ilogbf.c: Add #include <limits.h>.
36616 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36618 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36619 path instead of returning without unlocking.
36621 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36622 immediate-write ioctls.
36623 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36625 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36627 * sysdeps/mach/hurd/i386/init-first.c (init): Use
36628 __builtin_frame_address instead of making assumptions about the
36629 location of the return address relative to DATA. Force early load of
36630 the return address.
36631 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36632 __builtin_frame_address.
36635 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36636 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36637 implement dup3 and do some further code clean-ups.
36638 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36639 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36641 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36643 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36645 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36646 HURD_CRITICAL_END around holding _hurd_dtable_lock.
36647 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36648 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36649 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36652 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36653 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
36654 when handler == SIG_ERR, not when handler != SIG_ERR.
36656 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36658 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36659 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36662 accept4 for GNU Hurd.
36663 * include/sys/socket.h (__libc_accept4): New prototype.
36664 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
36665 to implement __libc_accept4.
36666 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36668 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36670 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36671 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36672 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36673 signal-defines.sym.
36675 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36677 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36679 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36681 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36682 assertion on O_CLOEXEC flag.
36683 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36684 * hurd/intern-fd.c: Likewise.
36685 * hurd/port2fd.c: Likewise.
36687 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36690 * bits/in.h (IPV6_PKTINFO): Define new macro.
36691 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36693 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36698 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36699 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36700 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36701 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36702 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36703 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36704 * math/libm-test.inc (logb_test) : Additional logb tests.
36706 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
36707 Andreas Jaeger <aj@suse.de>
36709 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36710 * configure: Regenerated.
36711 * config.h.in (LINK_OBSOLETE_RPC): New macro.
36712 * config.make.in (link-obsolete-rpc): New substituted variable.
36713 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36714 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36715 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36716 (shared-only-routines): Don't set it under [link-obsolete-rpc],
36717 so that libc.a contains the symbols.
36718 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36719 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36720 * sunrpc/auth_none.c: Likewise.
36721 * sunrpc/auth_unix.c: Likewise.
36722 * sunrpc/authdes_prot.c: Likewise.
36723 * sunrpc/authuxprot.c: Likewise.
36724 * sunrpc/clnt_gen.c: Likewise.
36725 * sunrpc/clnt_perr.c: Likewise.
36726 * sunrpc/clnt_raw.c: Likewise.
36727 * sunrpc/clnt_simp.c: Likewise.
36728 * sunrpc/clnt_tcp.c: Likewise.
36729 * sunrpc/clnt_udp.c: Likewise.
36730 * sunrpc/clnt_unix.c: Likewise.
36731 * sunrpc/des_crypt.c: Likewise.
36732 * sunrpc/des_soft.c: Likewise.
36733 * sunrpc/get_myaddr.c: Likewise.
36734 * sunrpc/key_call.c: Likewise.
36735 * sunrpc/key_prot.c: Likewise.
36736 * sunrpc/netname.c: Likewise.
36737 * sunrpc/pm_getmaps.c: Likewise.
36738 * sunrpc/pm_getport.c: Likewise.
36739 * sunrpc/pmap_clnt.c: Likewise.
36740 * sunrpc/pmap_prot.c: Likewise.
36741 * sunrpc/pmap_prot2.c: Likewise.
36742 * sunrpc/pmap_rmt.c: Likewise.
36743 * sunrpc/publickey.c: Likewise.
36744 * sunrpc/rpc_cmsg.c: Likewise.
36745 * sunrpc/rpc_common.c: Likewise.
36746 * sunrpc/rpc_dtable.c: Likewise.
36747 * sunrpc/rpc_prot.c: Likewise.
36748 * sunrpc/rpc_thread.c: Likewise.
36749 * sunrpc/rtime.c: Likewise.
36750 * sunrpc/svc.c: Likewise.
36751 * sunrpc/svc_auth.c: Likewise.
36752 * sunrpc/svc_raw.c: Likewise.
36753 * sunrpc/svc_run.c: Likewise.
36754 * sunrpc/svc_tcp.c: Likewise.
36755 * sunrpc/svc_udp.c: Likewise.
36756 * sunrpc/svc_unix.c: Likewise.
36757 * sunrpc/svcauth_des.c: Likewise.
36758 * sunrpc/xcrypt.c: Likewise.
36759 * sunrpc/xdr.c: Likewise.
36760 * sunrpc/xdr_array.c: Likewise.
36761 * sunrpc/xdr_float.c: Likewise.
36762 * sunrpc/xdr_intXX_t.c: Likewise.
36763 * sunrpc/xdr_mem.c: Likewise.
36764 * sunrpc/xdr_rec.c: Likewise.
36765 * sunrpc/xdr_ref.c: Likewise.
36766 * sunrpc/xdr_sizeof.c: Likewise.
36767 * sunrpc/xdr_stdio.c: Likewise.
36769 2012-05-10 Roland McGrath <roland@hack.frob.com>
36771 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36772 change. Update copyright years.
36774 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36776 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36778 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36779 Joseph Myers <joseph@codesourcery.com>
36780 Paul Pluzhnikov <ppluzhnikov@google.com>
36783 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36785 [cross-compiling] (extra-libs): Likewise.
36786 [cross-compiling] (extra-libs-others): Likewise.
36787 [cross-compiling] (librpcsvc-routines): Likewise.
36788 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36789 [cross-compiling] (omit-deps): Likewise.
36790 (sunrpc-CPPFLAGS): New variable.
36791 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36792 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36793 (cross-rpcgen-objs): New variable.
36794 (extra-objs): Append $(cross-rpcgen-objs).
36795 ($(cross-rpcgen-objs)): New rule.
36796 ($(objpfx)cross-rpcgen): Likewise.
36797 (rpcgen-cmd): Define to use $(built-program-file). Expand
36799 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36800 ($(objpfx)x%.stmp): Likewise.
36801 * sunrpc/proto.h [IS_IN_build] (_): Define.
36802 [IS_IN_build] (_libc_intl_domainname): Likewise.
36804 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36806 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36807 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36808 and R_X86_64_TPOFF64.
36810 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36812 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36813 sysdeps/unix/sysv/syscalls.list.
36816 * sysdeps/unix/sysv/syscalls.list: Remove file.
36818 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
36821 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36822 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36823 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36824 (__LC_IDENTIFICATION): Make these macros useful in #if
36825 expressions, as required by C99.
36827 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
36829 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36830 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
36833 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
36835 * stdlib/longlong.h: Updated from GCC.
36837 2012-05-09 Andreas Jaeger <aj@suse.de>
36839 * nscd/nscd.c (run_modes): Make named enum, reorder so that
36840 default is first entry.
36841 (run_mode): Set type.
36842 (main): Remove informal message about syslog.
36843 (options): Fix typo.
36846 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36849 (llrintf): Likewise.
36850 (llrint): Likewise.
36853 (nearbyint): Likewise.
36854 (nearbyintf): Likewise.
36856 2012-05-09 Andreas Jaeger <aj@suse.de>
36857 Pedro Alves <palves@redhat.com>
36859 * nscd/nscd.c (run_mode): Use enum.
36860 (main): Cleanup coding style issue.
36862 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
36863 Andreas Jaeger <aj@suse.de>
36865 * nscd/nscd.c (go_background): Replaced with...
36866 (run_mode): ... this.
36867 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36868 (options): Add -F --foreground.
36869 (main): Implement it.
36870 (parse_opt): Parse it.
36872 2012-05-09 Andreas Jaeger <aj@suse.de>
36875 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36876 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36877 -Wconversion warning.
36878 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36881 2012-05-09 Joseph Myers <joseph@codesourcery.com>
36883 * conform/data/locale.h-data (NULL): Use macro-constant. Require
36885 (LC_ALL): Use macro-int-constant.
36886 (LC_COLLATE): Likewise.
36887 (LC_CTYPE): Likewise.
36888 (LC_MESSAGES): Likewise.
36889 (LC_MONETARY): Likewise.
36890 (LC_NUMERIC): Likewise.
36891 (LC_TIME): Likewise.
36892 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36893 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36894 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36895 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36897 [C99-based standards] (float_t): Expect type.
36898 [C99-based standards] (double_t): Expect type.
36899 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
36901 [C99-based standards] (HUGE_VALL): Likewise.
36902 [C99-based standards] (INFINITY): Likewise.
36903 [C99-based standards] (NAN): Likewise.
36904 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36905 [C99-based standards] (FP_NAN): Likewise.
36906 [C99-based standards] (FP_NORMAL): Likewise.
36907 [C99-based standards] (FP_SUBNORMAL): Likewise.
36908 [C99-based standards] (FP_ZERO): Likewise.
36909 [C99-based standards] (FP_FAST_FMA): Use
36910 optional-macro-int-constant. Specify type. Require == 1.
36911 [C99-based standards] (FP_FAST_FMAF): Likewise.
36912 [C99-based standards] (FP_FAST_FMAL): Likewise.
36913 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36914 [C99-based standards] (FP_ILOGBNAN): Likewise.
36915 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36917 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36918 [C99-based standards] (math_errhandling): Specify type.
36919 [ISO99 || ISO11] (signgam): Do not allow.
36920 [non-C99-based standards] (copysignf): Do not allow.
36921 [non-C99-based standards] (exp2f): Likewise.
36922 [non-C99-based standards] (log2f): Likewise.
36923 [non-C99-based standards] (modff): Allow.
36924 [non-C99-based standards] (erff): Do not allow.
36925 [non-C99-based standards] (erfcf): Likewise.
36926 [non-C99-based standards] (gammaf): Likewise.
36927 [non-C99-based standards] (hypotf): Likewise.
36928 [non-C99-based standards] (j0f): Likewise.
36929 [non-C99-based standards] (j1f): Likewise.
36930 [non-C99-based standards] (jnf): Likewise.
36931 [non-C99-based standards] (lgammaf): Likewise.
36932 [non-C99-based standards] (tgammaf): Likewise.
36933 [non-C99-based standards] (y0f): Likewise.
36934 [non-C99-based standards] (y1f): Likewise.
36935 [non-C99-based standards] (ynf): Likewise.
36936 [non-C99-based standards] (isnanf): Likewise.
36937 [non-C99-based standards] (acoshf): Likewise.
36938 [non-C99-based standards] (asinhf): Likewise.
36939 [non-C99-based standards] (atanhf): Likewise.
36940 [non-C99-based standards] (cbrtf): Likewise.
36941 [non-C99-based standards] (expm1f): Likewise.
36942 [non-C99-based standards] (ilogbf): Likewise.
36943 [non-C99-based standards] (log1pf): Likewise.
36944 [non-C99-based standards] (logbf): Likewise.
36945 [non-C99-based standards] (nextafterf): Likewise.
36946 [non-C99-based standards] (remainderf): Likewise.
36947 [non-C99-based standards] (rintf): Likewise.
36948 [non-C99-based standards] (scalbf): Likewise.
36949 [non-C99-based standards] (copysignl): Likewise.
36950 [non-C99-based standards] (exp2l): Likewise.
36951 [non-C99-based standards] (log2l): Likewise.
36952 [non-C99-based standards] (modfl): Allow.
36953 [non-C99-based standards] (erfl): Do not allow.
36954 [non-C99-based standards] (erfcl): Likewise.
36955 [non-C99-based standards] (gammal): Likewise.
36956 [non-C99-based standards] (hypotl): Likewise.
36957 [non-C99-based standards] (j0l): Likewise.
36958 [non-C99-based standards] (j1l): Likewise.
36959 [non-C99-based standards] (jnl): Likewise.
36960 [non-C99-based standards] (lgammal): Likewise.
36961 [non-C99-based standards] (tgammal): Likewise.
36962 [non-C99-based standards] (y0l): Likewise.
36963 [non-C99-based standards] (y1l): Likewise.
36964 [non-C99-based standards] (ynl): Likewise.
36965 [non-C99-based standards] (isnanl): Likewise.
36966 [non-C99-based standards] (acoshl): Likewise.
36967 [non-C99-based standards] (asinhl): Likewise.
36968 [non-C99-based standards] (atanhl): Likewise.
36969 [non-C99-based standards] (cbrtl): Likewise.
36970 [non-C99-based standards] (expm1l): Likewise.
36971 [non-C99-based standards] (ilogbl): Likewise.
36972 [non-C99-based standards] (log1pl): Likewise.
36973 [non-C99-based standards] (logbl): Likewise.
36974 [non-C99-based standards] (nextafterl): Likewise.
36975 [non-C99-based standards] (remainderl): Likewise.
36976 [non-C99-based standards] (rintl): Likewise.
36977 [non-C99-based standards] (scalbl): Likewise.
36978 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36979 [non-C99-based standards] (FP_*): Do not allow.
36980 [C99-based standards] (FP_*): Change to
36981 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36982 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36984 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36985 (SIG_ERR): Likewise.
36986 [X/Open-based standards] (SIG_HOLD): Likewise.
36987 (SIG_IGN): Likewise.
36988 (SIGABRT): Use macro-int-constant. Specify type. Require
36990 (SIGFPE): Likewise.
36991 (SIGILL): Likewise.
36992 (SIGINT): Likewise.
36993 (SIGSEGV): Likewise.
36994 (SIGTER): Likewise.
36995 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36996 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36997 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36998 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36999 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37000 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37001 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37002 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37003 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37004 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37005 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37006 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37007 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37008 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37009 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37010 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37011 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37012 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37013 [X/Open-based standards] (SIGTRAP): Likewise.
37014 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37015 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37016 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37017 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37018 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37021 2012-05-08 Ian Wienand <ianw@vmware.com>
37024 * time/tzset.c (__tzset_parse_tz): Update default rules for
37025 daylight time changes in the Energy Policy Act of 2005.
37027 2012-05-09 Andreas Jaeger <aj@suse.de>
37030 * elf/ldconfig.c (parse_conf): Change string to make clear that
37031 ldconfig only issued a warning if ld.so.conf does not exist.
37033 2012-05-08 David S. Miller <davem@davemloft.net>
37035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37036 movxtod instead of popping the value on the stack.
37038 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37040 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
37042 * config.h.in: Add HAVE_ARM_PCS_VFP.
37044 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
37047 * include/features.h: Warn if user requests __FORTIFY_SOURCE
37048 checking but the checks are disabled for any reason.
37050 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
37052 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37053 and ELF64_R_TYPE with ELFW(R_TYPE).
37055 2012-05-08 Joseph Myers <joseph@codesourcery.com>
37057 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37058 (ulimit): Likewise.
37060 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37061 (settimeofday): Likewise.
37063 2012-05-08 Mike Frysinger <vapier@gentoo.org>
37065 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
37066 a struct th_u2 inside the union, and move tu_block/tu_code into
37067 a new th_u3 union of tu_block/tu_code inside of that. Move
37068 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
37069 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
37070 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37071 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37072 (th_stuff): Change to th_u1.tu_stuff.
37074 (th_msg): Change to th_u1.th_u2.tu_data.
37076 2012-05-07 David S. Miller <davem@davemloft.net>
37078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37081 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37082 (SETUP_PIC_REG): Use it.
37083 (SETUP_PIC_REG_LEAF): Use it.
37085 2012-05-07 Joseph Myers <joseph@codesourcery.com>
37089 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37091 (EXPL_FINITE): Likewise.
37092 (FLDLOG): Likewise.
37093 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37094 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37096 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37098 (EXPL_FINITE): Likewise.
37099 (FLDLOG): Likewise.
37100 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37101 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37103 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
37104 test of -max_value argument for long double.
37105 * sysdeps/i386/fpu/libm-test-ulps: Update.
37106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37108 2012-05-06 David S. Miller <davem@davemloft.net>
37110 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37111 quad soft-float symbols whose references which are compiler
37113 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37115 2012-05-06 Joseph Myers <joseph@codesourcery.com>
37119 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37121 (EXPL_FINITE): Likewise.
37122 (FLDLOG): Likewise.
37125 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37126 Adjust comments for base varying.
37127 (__expl_finite): Change alias to EXPL_FINITE.
37128 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37130 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37131 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37132 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37133 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37134 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37136 (EXPL_FINITE): Likewise.
37137 (FLDLOG): Likewise.
37140 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37141 Adjust comments for base varying.
37142 (__expl_finite): Change alias to EXPL_FINITE.
37143 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
37145 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37148 * math/libm-test.inc (check_float_internal): Correct ulp
37149 calculation for subnormal expected results.
37151 2012-05-06 Andreas Jaeger <aj@suse.de>
37153 * Makeconfig (+math-flags): New, set to -frounding-math.
37154 (+cflags): Add +math-flags so that all of glibc gets compiled with
37157 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37159 2012-05-05 Joseph Myers <joseph@codesourcery.com>
37161 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37167 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37168 (__ieee754_expl): Allow for and saturate large arguments.
37169 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37170 (u_threshold): Likewise.
37171 (__exp): Call __ieee754_exp before checking for overflow and
37173 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37174 (u_threshold): Likewise.
37175 (__expf): Call __ieee754_expf before checking for overflow and
37177 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37178 (u_threshold): Likewise.
37179 (__expl): Call __ieee754_expl before checking for overflow and
37181 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37182 (__ieee754_expl): Allow for and saturate large arguments.
37183 * math/libm-test.inc (exp_test): Add another test. Do not allow
37184 missing overflow exception on overflow.
37185 (expm1_test): Do not allow missing overflow exception on overflow.
37187 * sysdeps/i386/fpu/e_expl.c: Move to ...
37188 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
37189 rather than using inline asm.
37190 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37191 * sysdeps/x86_64/fpu/e_expl.S: Copy from
37192 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37194 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37197 (signal): Likewise.
37201 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37203 * sysdeps/unix/syscalls.list (adjtime): Add entry from
37204 sysdeps/unix/common/syscalls.list.
37205 (fchmod): Likewise.
37206 (fchown): Likewise.
37207 (ftruncate): Likewise.
37208 (getrusage): Likewise.
37209 (gettimeofday): Likewise.
37210 (setpgid): Likewise.
37211 (setregid): Likewise.
37212 (setreuid): Likewise.
37213 (sigaction): Likewise.
37214 (truncate): Likewise.
37215 (vhangup): Likewise.
37216 * sysdeps/unix/common/syscalls.list: Remove file.
37217 * sysdeps/unix/bsd/Implies: Don't include unix/common.
37218 * sysdeps/unix/sysv/linux/Implies: Likewise.
37220 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
37222 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37223 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37224 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37226 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37228 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37231 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37234 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37237 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37239 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37240 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37243 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37245 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37246 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37250 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37252 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37254 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37257 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37261 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37265 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37267 * sysdeps/unix/common/bits/dirent.h: Remove file.
37268 * sysdeps/unix/common/bits/fcntl.h: Likewise.
37270 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37271 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37272 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37273 * sysdeps/unix/bsd/isatty.c: Likewise.
37274 * sysdeps/unix/bsd/tcdrain.c: Likewise.
37275 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37276 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37278 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37281 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37282 long double comparison inaccuracies.
37283 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37286 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
37288 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37289 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37291 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37294 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37295 nonzero digits before rounding a hex value.
37296 * stdlib/tst-strtod.c (tests): Add another test.
37298 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37300 * sysdeps/s390/fpu/libm-test-ulps: Update.
37302 2012-05-03 Andreas Jaeger <aj@suse.de>
37304 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37305 does not get optimized out.
37306 (malloc_opt_barrier): New.
37308 2012-05-03 Andreas Jaeger <aj@suse.de>
37309 Roland McGrath <roland@hack.frob.com>
37311 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37312 intermediate file deletion.
37313 (generated): Add .symlist files.
37315 2012-05-03 Joseph Myers <joseph@codesourcery.com>
37318 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37319 Redirect under this condition.
37320 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37321 [__USE_GNU] (__dprintf_chk): Not under this condition.
37322 [__USE_GNU] (__vdprintf_chk): Likewise.
37323 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37324 under this condition.
37325 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37326 [__USE_XOPEN2K8] (dprintf): Define under this condition.
37327 [__USE_XOPEN2K8] (vdprintf): Likewise.
37328 [__USE_GNU] (__dprintf_chk): Not under this condition.
37329 [__USE_GNU] (__vdprintf_chk): Likewise.
37330 [__USE_GNU] (dprintf): Likewise.
37331 [__USE_GNU] (vdprintf): Likewise.
37333 2012-05-03 Roland McGrath <roland@hack.frob.com>
37335 * elf/Makefile (common-generated): Set this instead of generated for
37336 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
37337 $(all-built-dso)-derived lists.
37339 2012-05-03 Andreas Jaeger <aj@suse.de>
37341 * sysdeps/i386/fpu/libm-test-ulps: Update.
37344 * FAQ.in: Likewise.
37345 * scripts/gen-FAQ.pl: Likewise.
37346 * manual/install.texi (Installation): Point to online location of
37348 * Makefile (files-for-dist): Remove FAQ.
37351 2012-05-02 Allan McRae <allan@archlinux.org>
37353 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37354 (LDFLAGS-reldepmod5.so): Likewise.
37355 (LDFLAGS-reldep6mod1.so): Likewise.
37356 (LDFLAGS-reldep6mod4.so): Likewise.
37357 (LDFLAGS-reldep8mod3.so): Likewise.
37358 (LDFLAGS-unload4mod1.so): Likewise.
37359 (LDFLAGS-unload4mod2.so): Likewise.
37360 (LDFLAGS-tst-initorder): Likewise.
37361 (LDFLAGS-tst-initordera2.so): Likewise.
37362 (LDFLAGS-tst-initordera3.so): Likewise.
37363 (LDFLAGS-tst-initordera4.so): Likewise.
37364 (LDFLAGS-tst-initorderb2.so): Likewise.
37365 (LDFLAGS-noload): Likewise.
37366 (LDFLAGS-next): Likewise.
37367 (LDFLAGS-order2mod1.so): Likewise.
37368 (LDFLAGS-order2mod2.so): Likewise.
37369 (LDFLAGS-tst-initorder2): Likewise.
37370 (LDFLAGS-tst-initorder2a.so): Likewise.
37371 (LDFLAGS-tst-initorder2b.so): Likewise.
37372 (LDFLAGS-tst-initorder2c.so): Likewise.
37373 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37375 2012-05-02 David S. Miller <davem@davemloft.net>
37377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37379 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
37382 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37384 2012-05-02 Andreas Jaeger <aj@suse.de>
37386 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37387 since we manipulate rounding mode.
37388 (CPPFLAGS-test-idouble.c): Likewise.
37389 (CPPFLAGS-test-ifloat.c): Likewise.
37390 (CFLAGS-test-ldouble.c): Likewise.
37391 (CFLAGS-test-double.c): Likewise.
37392 (CFLAGS-test-float.c): Likewise.
37393 (CFLAGS-test-misc.c): Likewise.
37394 (CFLAGS-test-test-fenv.c): Likewise.
37396 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37400 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37401 comparisons to determine direction to adjust input.
37403 2012-05-01 Roland McGrath <roland@hack.frob.com>
37405 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37406 output to the target.
37408 * scripts/localplt.awk: New file.
37409 * elf/Makefile ($(objpfx)check-localplt): Target removed.
37410 (check-localplt-CFLAGS): Variable removed.
37411 ($(all-built-dso:=.jmprel)): New static pattern rule.
37412 (generated): Add those targets.
37413 (localplt-built-dso): New variable.
37414 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37416 * elf/check-localplt.c: File removed.
37418 * scripts/check-execstack.awk: New file.
37419 * elf/Makefile ($(objpfx)check-execstack): Target removed.
37420 (check-execstack-CFLAGS): Variable removed.
37421 ($(objpfx)check-execstack.h): Target removed.
37422 ($(objpfx)execstack-default): New target.
37423 (generated): Add that instead of check-execstack.h.
37424 ($(all-built-dso:=.phdr)): New static pattern rule.
37425 (generated): Add those targets.
37426 * elf/check-execstack.c: File removed.
37428 * scripts/check-textrel.awk: New file.
37429 * elf/Makefile ($(objpfx)check-textrel): Target removed.
37430 (check-textrel-CFLAGS): Variable removed.
37431 (all-built-dso): Use := to define.o
37432 ($(all-built-dso:=.dyn)): New static pattern rule.
37433 (generated): Add those targets.
37434 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37435 * config.make.in (READELF): New substituted variable.
37436 * elf/check-textrel.c: File removed.
37438 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37440 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37442 * conform/data/ctype.h-data [C99-based standards] (isblank):
37444 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37445 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37446 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37447 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37448 Specify type. Require positive value.
37449 (EILSEQ): Likewise.
37450 (ERANGE): Likewise.
37451 [ISO || POSIX] (EILSEQ): Do not expect.
37452 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37453 Specify type. Require positive value.
37454 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37455 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37456 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37457 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37458 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37459 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37460 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37461 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37462 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37463 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37464 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37465 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37466 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37467 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37468 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37469 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37470 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37471 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37472 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37473 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37474 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37475 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37476 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37477 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37478 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37479 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37480 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37481 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37482 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37483 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37484 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37485 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37486 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37487 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37488 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37489 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37490 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37491 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37492 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37493 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37494 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37495 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37496 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37497 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37498 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37499 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37500 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37501 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37502 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37503 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37504 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37505 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37506 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37507 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37508 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37509 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37510 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37511 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37512 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37513 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37514 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37515 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37516 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37517 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37518 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37519 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37520 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37521 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37522 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37523 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37524 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37525 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37526 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37527 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37528 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37529 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37530 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37532 (FLT_ROUNDS): Expect as macro, not constant.
37533 (FLT_MANT_DIG): Use macro-int-constant.
37534 (DBL_MANT_DIG): Likewise.
37535 (LDBL_MANT_DIG): Likewise.
37536 (FLT_DIG): Likewise.
37537 (DBL_DIG): Likewise.
37538 (LDBL_DIG): Likewise.
37539 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
37540 (DBL_MIN_EXP): Likewise.
37541 (LDBL_MIN_EXP): Likewise.
37542 (FLT_MAX_EXP): Use macro-int-constant.
37543 (DBL_MAX_EXP): Likewise.
37544 (LDBL_MAX_EXP): Likewise.
37545 (FLT_MAX_10_EXP): Likewise.
37546 (DBL_MAX_10_EXP): Likewise.
37547 (LDBL_MAX_10_EXP): Likewise.
37548 (FLT_MAX): Use macro-constant.
37549 (DBL_MAX): Likewise.
37550 (LDBL_MAX): Likewise.
37551 (FLT_EPSILON): Use macro-constant. Give upper bound.
37552 (DBL_EPSILON): Likewise.
37553 (LDBL_EPSILON): Likewise.
37554 (FLT_MIN): Likewise.
37555 (DBL_MIN): Likewise.
37556 (LDBL_MIN): Likewise.
37557 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37558 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37559 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37560 [ISO11] (FLT_HAS_SUBNORM): Likewise.
37561 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37562 [ISO11] (DBL_DECIMAL_DIG): Likewise.
37563 [ISO11] (FLT_DECIMAL_DIG): Likewise.
37564 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37565 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37566 [ISO11] (FLT_TRUE_MIN): Likewise.
37567 [ISO11] (LDBL_TRUE_MIN): Likewise.
37568 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37569 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37570 (SCHAR_MIN): Use macro-int-constant. Specify type.
37571 (SCHAR_MAX): Likewise.
37572 (UCHAR_MAX): Likewise.
37573 (CHAR_MIN): Likewise.
37574 (CHAR_MAX): Likewise.
37575 (MB_LEN_MAX): Use macro-int-constant.
37576 (SHRT_MIN): Use macro-int-constant. Specify type.
37577 (SHRT_MAX): Likewise.
37578 (USHRT_MAX): Likewise.
37579 (INT_MAX): Likewise.
37580 (INT_MIN): Use macro-int-constant. Specify type. Make upper
37582 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
37584 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37586 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
37587 bound negative. Suffix upper bound with "L".
37588 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37590 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37592 [C99-based standards] (LLONG_MAX): Likewise.
37593 [C99-based standards] (ULLONG_MAX): Likewise.
37594 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
37596 [ISO11] (max_align_t): Require type.
37597 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37599 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37600 from $CFLAGS, without defining away __attribute__ calls.
37601 (checknamespace): Use $CFLAGS_namespace.
37603 * conform/conformtest.pl (@keywords): Only include C99 keywords
37604 for standards based on C99 or C11.
37606 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37608 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37611 * conform/conformtest.pl: Handle "macro-int-constant" and test for
37612 usability of symbols in #if.
37614 * conform/conformtest.pl: If macro or constant types start
37615 "promoted:", expect the symbol to be of the following type
37616 promoted by the integer promotions.
37618 * conform/conformtest.pl: Parse all "constant" and "macro" lines
37619 in one place. Also handle "macro-constant".
37621 * conform/conformtest.pl: Only accept expected macro values with
37622 "==". Parse all "macro" lines in one place.
37623 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37625 * conform/conformtest.pl: Handle braced types on "constant" lines
37626 instead of handling "typed-constant".
37627 * conform/data/signal.h-data: Use "constant" instead of
37630 * conform/conformtest.pl: Handle "optional-" at start of lines in
37631 one place rather than duplicating several cases. Handle each
37632 format of "macro" line with initial "optional-".
37634 * conform/conformtest.pl: Only accept expected constant or
37635 optional-constant values with "==". Parse all "constant" lines in
37636 one place. Parse all "optional-constant" lines in one place.
37637 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37638 * conform/data/fmtmsg.h-data: Likewise.
37639 * conform/data/netinet/in.h-data: Likewise.
37640 * conform/data/tar.h-data: Likewise.
37641 * conform/data/limits.h-data: Use "==" form on "constant" and
37642 "optional-constant" lines.
37644 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37645 Use -std=c99 for XOPEN2K.
37646 (@knownproblems): Remove.
37647 (newtoken): Don't check %isknown.
37649 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37650 Do not expect macro.
37651 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37652 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37653 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37654 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37655 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37656 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37657 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37658 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37659 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37660 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37661 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37662 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37663 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37664 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37665 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37666 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37667 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37668 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37669 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37670 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37671 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37672 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37673 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37674 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37675 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37676 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37677 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37678 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37679 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37680 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37681 [XPG3] (acosh): Likewise.
37682 [XPG3] (asinh): Likewise.
37683 [XPG3] (atanh): Likewise.
37684 [XPG3] (cbrt): Likewise.
37685 [XPG3] (expm1): Likewise.
37686 [XPG3] (ilogb): Likewise.
37687 [XPG3] (log1p): Likewise.
37688 [XPG3] (logb): Likewise.
37689 [XPG3] (nextafter): Likewise.
37690 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37691 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37692 [XPG3] (remainder): Likewise.
37693 [XPG3] (rint): Likewise.
37694 [XPG3 || XPG4 || UNIX98] (round): Likewise.
37695 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37696 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37697 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37698 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37699 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37700 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37701 [UNIX98 || XOPEN2K] (scalb): Expect.
37702 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37703 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37704 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37705 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37706 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37707 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37708 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37709 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37710 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37711 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37712 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37713 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37714 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37715 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37716 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37717 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37718 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37719 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37720 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37721 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37722 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37723 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37724 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37725 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37726 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37727 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37728 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37729 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37730 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37731 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37732 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37733 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37734 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37735 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37736 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37737 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37738 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37739 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37740 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37741 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37742 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37743 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37744 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37745 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37746 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37747 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37748 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37749 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37750 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37751 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37752 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37753 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37754 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37755 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37756 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37757 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37758 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37759 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37760 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37761 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37762 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37763 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37764 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37765 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37766 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37767 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37768 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37769 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37770 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37771 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37772 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37773 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37774 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37775 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37776 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37777 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37778 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37779 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37780 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37781 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37782 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37783 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37784 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37785 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37786 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37787 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37788 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37789 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37790 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37791 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37792 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37793 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37794 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37795 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37796 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37797 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37798 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37799 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37800 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37801 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37802 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37803 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37804 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37805 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37806 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37807 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37808 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37809 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37810 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37811 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37812 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37813 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37814 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37815 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37816 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37817 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37818 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37819 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37820 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37821 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37822 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37823 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37824 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37825 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37826 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37827 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37828 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37829 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37830 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37831 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37832 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37833 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37834 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37835 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37836 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37837 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37838 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37840 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37841 _XOPEN_SOURCE_EXTENDED for XPG4.
37843 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37845 * Makeconfig (localtime): Remove variable.
37846 (inst_localtime-file): Likewise.
37848 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37869 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37873 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37874 comparisons to determine direction to adjust input.
37875 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37876 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37877 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37879 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37881 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37883 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37884 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37886 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37888 * math/libm-test.inc (nexttoward_test): Add more tests.
37890 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37893 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37894 in version GLIBC_2.1, not GLIBC_2.0.
37895 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37898 2012-04-30 Joseph Myers <joseph@codesourcery.com>
37901 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37903 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37904 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37905 * math/libm-test.inc (acos_test): Add more tests.
37906 (asin_test): Likewise.
37907 * sysdeps/i386/fpu/libm-test-ulps: Update.
37908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37911 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37913 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37914 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37915 * math/libm-test.inc (acos_test_tonearest): New function.
37916 (acos_test_towardzero): Likewise.
37917 (acos_test_downward): Likewise.
37918 (acos_test_upward): Likewise.
37919 (asin_test_tonearest): Likewise.
37920 (asin_test_towardzero): Likewise.
37921 (asin_test_downward): Likewise.
37922 (asin_test_upward): Likewise.
37923 (main): Call the new functions.
37924 * sysdeps/i386/fpu/libm-test-ulps: Update.
37925 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37929 * math/e_exp10.c: Include <float.h>.
37930 (__ieee754_exp10): Handle underflow here rather than multiplying
37931 large negative argument by M_LN10.
37932 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37934 * math/e_exp10l.c: Include <float.h>.
37935 (__ieee754_exp10l): Handle underflow here rather than multiplying
37936 large negative argument by M_LN10l.
37937 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37938 spurious overflow exception on underflow.
37940 2012-04-29 Marek Polacek <polacek@redhat.com>
37942 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37943 (__fortify_function): New macro.
37944 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37945 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37946 __extern_always_inline.
37947 * libio/bits/stdio2.h: Likewise.
37948 * libio/bits/stdio.h: Likewise.
37949 * string/string.h: Likewise.
37950 * string/bits/string3.h: Likewise.
37951 * include/stdio.h: Likewise.
37952 * stdlib/bits/stdlib.h: Likewise.
37953 * stdlib/stdlib.h: Likewise.
37954 * rt/bits/mqueue2.h: Likewise.
37955 * rt/mqueue.h: Likewise.
37956 * posix/bits/unistd.h: Likewise.
37957 * posix/unistd.h: Likewise.
37958 * io/bits/poll2.h: Likewise.
37959 * io/bits/fcntl2.h: Likewise.
37960 * io/fcntl.h: Likewise.
37961 * io/sys/poll.h: Likewise.
37962 * misc/bits/syslog.h: Likewise.
37963 * misc/bits/syslog-ldbl.h: Likewise.
37964 * misc/sys/syslog.h: Likewise.
37965 * socket/bits/socket2.h: Likewise.
37966 * socket/sys/socket.h: Likewise.
37967 * debug/tst-chk1.c: Likewise.
37968 * wcsmbs/bits/wchar2.h: Likewise.
37969 * wcsmbs/bits/wchar-ldbl.h: Likewise.
37970 * wcsmbs/wchar.h: Likewise.
37972 2012-04-29 Andreas Jaeger <aj@suse.de>
37974 * Makerules (tests): Remove enable-check-abi protection.
37975 (check-abi-warn): Remove.
37976 (check-abi-%): Remove check-abi-warn usage.
37978 * configure.in: Remove check-abi configure option.
37979 * configure: Regenerated.
37980 * config.make.in (enable-check-abi): Remove.
37982 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37985 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37986 double functions to double *_finite functions.
37989 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37990 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37992 * stdio-common/Makefile (tests): Add tst-sprintf3.
37993 * stdio-common/tst-sprintf3.c: New file.
37995 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37996 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37998 2012-04-28 Joseph Myers <joseph@codesourcery.com>
38000 * conform/conformtest.pl: Remove duplicate typed-constant
38003 2012-04-28 David S. Miller <davem@davemloft.net>
38005 * Makerules (%.abilist): Add vpath on sysdep_dirs.
38006 (check-abi-%): Remove AWK script prerequisite and explicit
38008 (check-abi): Rewrite to just diff the symlist with the abilist.
38009 (config-tls, config-abi-config): Delete, no longer used.
38010 (update-abi-%): Remove AWK script and explicit abilist directory.
38011 (update-abi): Rewrite to simply compare and conditionally copy the
38012 symlist and the sysdep abilist file. Remove update-abi-config
38014 * abilist/ld.abilist: Remove.
38015 * abilist/libBrokenLocale.abilist: Remove.
38016 * abilist/libanl.abilist: Remove.
38017 * abilist/libcrypt.abilist: Remove.
38018 * abilist/libdl.abilist: Remove.
38019 * abilist/librt.abilist: Remove.
38020 * abilist/libthread_db.abilist: Remove.
38021 * abilist/libutil.abilist: Remove.
38022 * scripts/extract-abilist.awk: Remove.
38023 * scripts/merge-abilist.awk: Remove.
38024 * sysdeps/generic/libcidn.abilist: New file.
38025 * sysdeps/generic/libnss_compat.abilist: New file.
38026 * sysdeps/generic/libnss_db.abilist: New file.
38027 * sysdeps/generic/libnss_dns.abilist: New file.
38028 * sysdeps/generic/libnss_files.abilist: New file.
38029 * sysdeps/generic/libnss_hesiod.abilist: New file.
38030 * sysdeps/generic/libnss_nis.abilist: New file.
38031 * sysdeps/generic/libnss_nisplus.abilist: New file.
38032 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38033 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38034 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38036 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38037 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38038 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38039 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38040 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38041 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38042 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38043 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38044 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38046 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38047 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38048 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38049 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38051 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38052 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38053 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38054 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38055 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38056 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38058 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38059 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38060 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38062 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38063 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38065 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38067 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38069 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38071 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38073 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38075 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38077 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38079 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38081 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38083 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38085 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38087 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38165 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38166 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38167 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38169 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38170 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38171 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38172 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38173 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38174 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38175 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38176 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38177 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38178 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38200 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38230 2012-04-28 Joseph Myers <joseph@codesourcery.com>
38232 * conform/conformtest.pl: Fix typo in handling typed-constant from
38235 2012-04-27 Joseph Myers <joseph@codesourcery.com>
38237 * README: Cut down references to pre-2.6 Linux kernels and
38238 Linuxthreads. Update lists of configurations in libc and ports
38239 and sort alphabetically. Say "or newer" with Linux kernel version
38242 * config.h.in [IS_IN_build]: Allow compiling without optimization.
38244 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
38247 * math/libm-test.inc (logb_test_downward): New test to expose
38248 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38251 2012-04-27 Joseph Myers <joseph@codesourcery.com>
38254 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38256 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38257 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38259 2012-04-26 Joseph Myers <joseph@codesourcery.com>
38261 * sysdeps/unix/i386/brk.S: Remove file.
38262 * sysdeps/unix/i386/dl-brk.S: Likewise.
38263 * sysdeps/unix/i386/pipe.S: Likewise.
38264 * sysdeps/unix/i386/sigreturn.S: Likewise.
38265 * sysdeps/unix/i386/syscall.S: Likewise.
38266 * sysdeps/unix/i386/vfork.S: Likewise.
38267 * sysdeps/unix/i386/wait.S: Likewise.
38269 * sysdeps/unix/common/tcsendbrk.c: Move to ...
38270 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38272 * configure.in (arm*-none*): Do not allow without
38273 --enable-hacker-mode.
38274 (netbsd*): Remove case setting base_os.
38275 (386bsd*): Likewise.
38276 (freebsd*): Likewise.
38279 (sunos*): Likewise.
38280 (ultrix*): Likewise.
38281 (newsos*): Likewise.
38282 (dynix*): Likewise.
38288 (minix*): Likewise.
38289 (irix4*): Likewise.
38290 (irix6*): Likewise.
38291 (solaris[2-9]*): Likewise.
38293 * configure: Regenerated.
38295 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38298 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38299 overflow or cancellation in calculating denominator.
38300 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38301 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38302 down expression to avoid unexpected rounding in newer GCCs.
38303 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38305 2012-04-26 David S. Miller <davem@davemloft.net>
38307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38308 long-double compat symbols.
38309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38323 2012-04-25 David S. Miller <davem@davemloft.net>
38325 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38326 HWCAP_* values only after the memory barriers have been defined.
38327 (atomic_full_barrier): Define.
38328 (atomic_read_barrier): Define.
38329 (atomic_write_barrier): Define.
38331 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38333 * shlib-versions: Add libgcc_s version information.
38334 * sysdeps/generic/libgcc_s.h: Remove.
38335 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38337 * sysdeps/gnu/unwind-resume.c: Likewise.
38338 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38340 2012-04-25 David S. Miller <davem@davemloft.net>
38342 * sysdeps/unix/sparc/brk.S: Delete.
38343 * sysdeps/unix/sparc/dl-brk.S: Delete.
38344 * sysdeps/unix/sparc/pipe.S: Delete.
38345 * sysdeps/unix/sparc/sysdep.S: Delete.
38346 * sysdeps/unix/sparc/sysdep.h: Delete.
38347 * sysdeps/unix/sparc/vfork.S: Delete.
38348 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38349 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38350 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38351 (ret_ERRVAL, r0, r1, MOVE): Define.
38352 (JUMPTARGET): Remove.
38353 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38354 sysdeps/unix/sparc/sysdep.h
38355 (ENTRY, END): Remove.
38356 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38358 2012-04-25 Joseph Myers <joseph@codesourcery.com>
38360 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38361 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38364 * timezone/README: Update upstream location and email address for
38366 * timezone/zdump.c: Update from tzcode 2012b.
38367 * timezone/zic.c: Likewise.
38369 * configure.in (libc_cv_as_needed): Remove test.
38370 * configure: Regenerated.
38371 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38372 conditional definition.
38373 [$(have-as-needed) != yes] (no-as-needed): Likewise.
38374 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38375 * config.make.in (have-as-needed): Remove variable.
38377 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38378 Paul Pluzhnikov <ppluzhnikov@google.com>
38380 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38383 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
38385 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38386 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38387 * sysdeps/sh/strlen.S: Likewise.
38389 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38391 * sysdeps/unix/fork.S: Remove file.
38392 * sysdeps/unix/i386/fork.S: Likewise.
38393 * sysdeps/unix/sparc/fork.S: Likewise.
38395 * sysdeps/unix/system.c: Remove file.
38396 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38398 * sysdeps/unix/getegid.S: Remove file.
38399 * sysdeps/unix/geteuid.S: Likewise.
38401 2012-04-24 Roland McGrath <roland@hack.frob.com>
38403 * scripts/check-localplt.awk: New file.
38404 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38406 * scripts/data/localplt-generic.data: Add a comment.
38408 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38409 NODE when __dir_mkfile failed.
38410 * sysdeps/mach/hurd/symlinkat.c: Likewise.
38411 Reported by Ludovic Courtès <ludo@gnu.org>.
38413 2012-04-24 Andreas Jaeger <aj@suse.de>
38415 * Makerules (common-clean): Also remove gen-as-const-headers
38418 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38420 * Makerules (native-compile): Do not change working directory for
38421 build. Use $(OUTPUT_OPTION) in command.
38422 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38424 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38427 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38428 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38429 * math/libm-test.inc (floor_test): Add more tests.
38430 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38432 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38434 * sysdeps/unix/getdents.c: Remove file.
38435 * sysdeps/unix/sysv/getdents.c: Likewise.
38436 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38438 * sysdeps/unix/syscalls.list (madvise): Add syscall from
38439 sysdeps/unix/mman/syscalls.list.
38441 (mprotect): Likewise.
38443 (munmap): Likewise.
38444 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38445 * sysdeps/unix/mman/syscalls.list: Remove.
38446 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38448 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38449 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38450 * configure: Regenerated.
38451 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38452 $(libgcc_s_suffix).
38453 * config.make.in (libgcc_s_suffix): Remove variable.
38455 2012-04-23 Joseph Myers <joseph@codesourcery.com>
38457 * sysdeps/unix/sysv/gethostname.c: Move to ...
38458 * sysdeps/posix/gethostname.c: ... here.
38460 * sysdeps/unix/execve.S: Remove file.
38462 * sysdeps/unix/_exit.S: Remove file.
38464 2012-04-23 Andreas Jaeger <aj@suse.de>
38467 * manual/Makefile: Remove make dist support, there's no
38468 need for a stand-alone documentation tar ball.
38469 (TEXI2DVI): Define always, it's not in Makeconfig.
38472 (edition): Removed.
38473 (glibc-doc-$(edition).tar): Removed
38477 (ETAGS): Remove, it's in Makeconfig.
38478 (move-if-change): Remove, it's in Makeconfig.
38480 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
38483 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38484 (strtod, strtof, strtold, strtol, strtoul, strtoq)
38485 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38486 (strtod_l, strtof_l, strtold_l): Remove __wur.
38487 It is not necessarily an error to ignore strtol's return value.
38488 One can reliably look at the stored endptr to decide whether
38489 the number had valid syntax.
38491 2012-04-21 Andreas Jaeger <aj@suse.de>
38494 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38496 2012-04-21 Joseph Myers <joseph@codesourcery.com>
38498 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38499 * sysdeps/unix/sysv/Versions: Remove file.
38501 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
38504 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38506 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
38509 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38510 version from __vm86.
38512 2012-04-20 Joseph Myers <joseph@codesourcery.com>
38514 * sysdeps/unix/common/lxstat.c: Remove file.
38515 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38517 * sysdeps/unix/sysv/Makefile: Remove file.
38519 * sysdeps/unix/sysv/direct.h: Remove file.
38521 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38522 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38523 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38524 * sysdeps/unix/sysv/bits/signum.h: Likewise.
38525 * sysdeps/unix/sysv/bits/stat.h: Likewise.
38526 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38527 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38529 * sysdeps/unix/sysv/setrlimit.c: Remove file.
38531 * sysdeps/unix/xmknod.c: Remove file.
38532 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38534 * sysdeps/unix/sysv/settimeofday.c: Remove file.
38536 * sysdeps/unix/sysv/i386/time.S: Remove file.
38538 * sysdeps/unix/fxstat.c: Remove file.
38539 * sysdeps/unix/xstat.c: Likewise.
38540 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38542 * sysdeps/unix/sysv/sigaction.c: Remove file.
38544 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38545 (sysdep_headers): Remove variable.
38546 [termio.h not in sysdep_headers] (generated): Likewise.
38547 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38548 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38549 * sysdeps/unix/sysv/tcdrain.c: Likewise.
38550 * sysdeps/unix/sysv/tcflow.c: Likewise.
38551 * sysdeps/unix/sysv/tcflush.c: Likewise.
38552 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38553 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38554 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38555 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38556 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38558 * sysdeps/unix/siglist.c: Remove file.
38560 * sysdeps/unix/getppid.S: Remove file.
38562 * sysdeps/unix/mkdir.c: Remove file.
38563 * sysdeps/unix/rmdir.c: Likewise.
38565 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
38567 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38569 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38570 errlist-compat value.
38572 2012-04-18 David S. Miller <davem@davemloft.net>
38574 * sysdeps/generic/memcopy.h (reg_char): Delete.
38575 * debug/strcat_chk.c: Use char, not reg_char.
38576 * debug/strcpy_chk.c: Likewise.
38577 * debug/strncat_chk.c: Likewise.
38578 * debug/strncpy_chk.c: Likewise.
38579 * string/memchr.c: Likewise.
38580 * string/memrchr.c: Likewise.
38581 * string/rawmemchr.c: Likewise.
38582 * string/strcat.c: Likewise.
38583 * string/strchr.c: Likewise.
38584 * string/strchrnul.c: Likewise.
38585 * string/strcmp.c: Likewise.
38586 * string/strcpy.c: Likewise.
38587 * string/strncat.c: Likewise.
38588 * string/strncmp.c: Likewise.
38589 * string/strncpy.c: Likewise.
38591 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38593 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38594 __builtin_memcopy is called when src and dest ranges are known to not
38597 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38599 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38600 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38601 fwd_align_merge macro call.
38602 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38603 bwd_align_merge macro call.
38604 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38606 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38608 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38609 bwd_align_merge macros.
38610 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38611 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38612 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38614 2012-04-18 David S. Miller <davem@davemloft.net>
38616 * sysdeps/sparc/sparc64/memcopy.h: Delete.
38618 2012-04-18 Andreas Jaeger <aj@suse.de>
38621 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38622 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38623 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38625 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38626 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38627 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38629 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38630 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38631 Adjust for changed ldbl-128 files.
38633 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38634 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38635 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38637 2012-04-17 David S. Miller <davem@davemloft.net>
38639 * sysdeps/sparc/sparc32/memcopy.h: Delete.
38641 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
38643 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38644 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38645 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38646 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38647 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38648 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38650 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38653 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38654 * math/libm-test.inc: Add ilogb errno and exception tests.
38655 * math/w_ilogb.c: New file: ilogb wrapper.
38656 * math/w_ilogbf.c: New file: ilogbf wrapper.
38657 * math/w_ilogbl.c: New file: ilogbl wrapper.
38658 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38659 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38660 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38661 exception being thrown with 0.0 as argument.
38662 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38663 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38664 exception being thrown with 0.0 as argument.
38665 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38666 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38667 exception being thrown with 0.0 as argument.
38668 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38669 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38670 exception being thrown with 0.0 as argument.
38671 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38672 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38673 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38674 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38675 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38676 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38677 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38678 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38679 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38681 2012-04-17 Petr Baudis <pasky@ucw.cz>
38683 * include/sys/uio.h: Change __vector to __iovec to avoid clash
38686 2012-04-16 Marek Polacek <polacek@redhat.com>
38688 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38690 2012-04-16 Marek Polacek <polacek@redhat.com>
38692 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38693 operands of fdivp instruction.
38695 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38697 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38698 * elf/tst-auditmod3b.c: Likewise.
38699 * elf/tst-auditmod4b.c: Likewise.
38700 * elf/tst-auditmod5b.c: Likewise.
38701 * elf/tst-auditmod6b.c: Likewise.
38702 * elf/tst-auditmod6c.c: Likewise.
38703 * elf/tst-auditmod7b.c: Likewise.
38704 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38705 * sysdeps/x86_64/preconfigure.in: Likewise.
38706 * sysdeps/x86_64/preconfigure: Regenerated.
38708 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38710 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38713 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
38715 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38716 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38718 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
38721 * locale/iso-639.def: Fix gl language name. Spotted by
38724 2012-04-12 Roland McGrath <roland@hack.frob.com>
38727 * libio/libio.h (__io_write_fn): Update comment.
38729 2012-04-12 Petr Baudis <pasky@ucw.cz>
38732 * stdio.texi (Hook Functions): The user provided writer function
38733 is not allowed to return -1.
38735 2012-04-11 David S. Miller <davem@davemloft.net>
38737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38739 2012-04-11 Mike Frysinger <vapier@gentoo.org>
38741 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38742 Add a leading slash to rtkaio.
38744 2012-04-11 Jim Meyering <meyering@redhat.com>
38747 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38748 It is not necessarily an error to ignore fwrite's return
38749 value. One can reliably use ferror to test for errors after
38752 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38754 * bits/types.h (__snseconds_t): New type.
38755 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38757 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38758 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38759 (__SNSECONDS_T_TYPE): Likewise.
38760 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38761 (__SNSECONDS_T_TYPE): Likewise.
38762 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38763 (__SNSECONDS_T_TYPE): Likewise.
38765 2012-04-10 Andreas Jaeger <aj@suse.de>
38768 * manual/time.texi (Processor Time): Return type of times is
38769 elapsed real time since an arbitrary point in the past.
38770 (CPU Time): Move CLK_TCK from here...
38771 (Processor Time): ...to here. Correct description.
38772 * manual/conf.texi (Constants for Sysconf): Correct description of
38775 2012-04-10 David S. Miller <davem@davemloft.net>
38778 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38779 where the is a gap between DT_REL(A) and DT_JMPREL.
38781 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38783 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38784 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38785 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38787 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38789 * elf/dl-support.c (_dl_inhibit_cache): New variable.
38790 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38791 (dl_main): Handle --inhibit-cache.
38792 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38794 * elf/dl-load.c (_dl_map_object): Use it.
38795 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38797 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38800 * sysdeps/i386/fpu/e_powl.S (p78): New object.
38801 (__ieee754_powl): Saturate large exponents rather than testing for
38802 overflow of y*log2(x).
38803 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38804 * math/libm-test.inc (pow_test): Do not permit spurious overflow
38808 * math/s_ctan.c: Include <float.h>.
38809 (__ctan): Avoid internal overflow or cancellation in calculating
38811 * math/s_ctanf.c: Likewise.
38812 * math/s_ctanl.c: Likewise.
38813 * math/s_ctanh.c: Likewise.
38814 * math/s_ctanhf.c: Likewise.
38815 * math/s_ctanhl.c: Likewise.
38816 * math/libm-test.inc (ctan_test): Add more tests.
38817 (ctanh_test): Likewise.
38818 * sysdeps/i386/fpu/libm-test-ulps: Update.
38819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38821 2012-04-09 Andreas Jaeger <aj@suse.de>
38824 * manual/filesys.texi (Directory Entries): Mention that d_namlen
38825 is an optional BSD extension.
38828 * manual/stdio.texi (Opening Streams): Document additional fopen
38831 2012-04-09 Roland McGrath <roland@hack.frob.com>
38833 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38834 %eax without telling the compiler.
38836 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
38839 * manual/install.texi: Use sourceware.org.
38841 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38844 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38845 (__ieee754_pow): Generate overflow and underflow using huge*huge
38846 and tiny*tiny rather than just returning constant infinity or zero
38847 for large exponents.
38848 * math/libm-test.inc (pow_test): Require overflow exceptions for
38849 applicable cases of large exponents.
38852 * sysdeps/i386/fpu/e_pow.S (p10): New object.
38853 (__ieee754_pow): Use iterative multiplication algorithm only for
38854 integer exponents with absolute value below 1024. Check for odd
38855 integer exponents when using algorithm for real exponents.
38856 * math/libm-test.inc (pow_test): Add more tests.
38857 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38859 2012-04-08 Joseph Myers <joseph@codesourcery.com>
38862 * math/libm-test.inc (exp_test): Do not allow overflow exception
38865 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
38868 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38869 instead of __kernel_standard_f.
38871 2012-04-08 Mike Frysinger <vapier@gentoo.org>
38873 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38874 * sysdeps/x86_64/memset_chk.S: Likewise.
38876 2012-04-08 Andreas Jaeger <aj@suse.de>
38879 * manual/startup.texi (Environment Access): Describe return value
38880 for putenv and setenv.
38883 * manual/filesys.texi (Directory Entries): Add description for
38887 * manual/filesys.texi (Directory Entries): Clarify that it's file
38888 system not operating system in the description of DT_UNKNOWN.
38891 * manual/syslog.texi (closelog): Fix reference, it's openlog.
38893 2012-04-08 Stephen Compall <s11@member.fsf.org>
38896 * manual/llio.texi (Opening and Closing Files): Add cross
38897 reference to explain mode argument.
38899 2012-04-07 Mike Frysinger <vapier@gentoo.org>
38901 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38902 * sysdeps/x86_64/memset_chk.S: Likewise.
38904 2012-04-07 David S. Miller <davem@davemloft.net>
38906 * elf/elf.h (R_SPARC_WDISP10): Define.
38907 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38909 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38910 R_SPARC_SIZE64 and R_SPARC_H34.
38912 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38914 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38915 conditions and remove no longer applicable assertion.
38917 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38919 * bits/byteswap.h: Include <features.h>.
38920 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38921 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38923 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38925 * bits/byteswap.h (__bswap_16): Removed.
38926 Include <bits/byteswap-16.h> to get __bswap_16.
38927 * sysdeps/i386/bits/byteswap.h: Likewise.
38928 * sysdeps/s390/bits/byteswap.h: Likewise.
38929 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38930 * bits/byteswap-16.h: New file.
38931 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38932 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38933 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38934 * string/Makefile (headers): Add bits/byteswap-16.h.
38936 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38939 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38941 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38942 * nss/tst-nss-static.c: New.
38944 2012-04-06 Robert Millan <rmh@gnu.org>
38947 * manual/llio.texi (File Position Primitive): lseek
38948 refers to WHENCE when it really means OFFSET.
38950 2012-04-06 Andreas Jaeger <aj@suse.de>
38952 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38953 strncmp declarations.
38955 * abilist/libc.abilist: Add __poll and __ppoll.
38957 2012-04-05 David S. Miller <davem@davemloft.net>
38959 * scripts/check-local-headers.sh: Accept a host triplet in the
38960 path matched by the exclude regexp.
38962 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38964 * sysdeps/powerpc/powerpc32/dl-machine.h
38965 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38966 * sysdeps/s390/s390-32/dl-machine.h
38967 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38968 * sysdeps/sparc/sparc32/dl-machine.h
38969 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38970 * sysdeps/sparc/sparc64/dl-machine.h
38971 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38973 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38975 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38976 undefined symbol errors.
38978 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38981 2012-04-05 Michael Matz <matz@suse.de>
38984 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38986 2012-04-05 Andreas Jaeger <aj@suse.de>
38989 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38992 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38994 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38995 which ROUND is no valid rounding mode.
38997 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38999 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39001 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39003 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39005 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39006 an exception using FPU order intentionally.
39008 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39010 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39011 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39012 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39013 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39015 2012-04-05 Simon Josefsson <simon@josefsson.org>
39018 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39019 EINVAL when BUFLEN is too smal.
39021 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
39024 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39025 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39027 2012-04-03 Andreas Jaeger <aj@suse.de>
39030 * manual/setjmp.texi (System V contexts): Fix sentence.
39033 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39034 New macro for this case.
39035 [!__GNUC__] (__bswap_64): New inline function for this case.
39036 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39037 * bits/byteswap.h: Likewise.
39038 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39039 ull, guard with __GLIBC_HAVE_LONG_LONG.
39041 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39042 __GLIBC_HAVE_LONG_LONG.
39044 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39045 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39047 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39050 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39051 inptr and inend, rather than using last_ch.
39053 2012-04-02 David S. Miller <davem@davemloft.net>
39055 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39056 * stdio-common/printf-parse.h (read_int): Change return type to
39057 'int', return -1 on INT_MAX overflow.
39058 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39059 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
39060 overflows INT_MAX. Check for overflow of in-format-string precision
39061 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
39062 SIZE_MAX not INT_MAX for integer overflow test.
39063 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39064 skip the construct in the format string but do not record anything.
39065 * stdio-common/bug22.c: Adjust to test both width/prevision
39066 INT_MAX overflow as well as total length INT_MAX overflow. Check
39067 explicitly for proper errno values.
39069 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
39071 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39073 * string/test-strcmp.c [! WIDE]: Likewise.
39074 * time/tst-mktime2.c: Likewise for INT_MAX.
39075 * string/test-string.h: #include <sys/param.h> for MIN.
39077 * csu/init-first.c (__libc_init_first): Call __ctype_init.
39078 * sysdeps/i386/init-first.c (init): Likewise.
39079 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39080 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39081 * sysdeps/sh/init-first.c (init): Likewise.
39083 2012-04-01 Ulrich Drepper <drepper@gmail.com>
39085 * po/ru.po: Update from translation team.
39086 * po/vi.po: Likewise.
39088 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
39090 * resolv/nss_dns/dns-host.c: Merge copyright years.
39092 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39094 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39095 Optimize memcpy with prefetch if
39096 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
39097 src, dst pointers have unequal 16 byte alignments.
39099 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39102 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39103 from a CNAME entry and return the minimum ttl for the query.
39104 (gaih_getanswer_slice): Likewise.
39106 2012-03-30 Jeff Law <law@redhat.com>
39108 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39110 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39111 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39113 * resolv/nss_dns/dns-host.c: Update copyright year.
39115 2012-03-30 Ulrich Drepper <drepper@gmail.com>
39117 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
39118 requests to save a system call. Fix check that all bytes are sent.
39120 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39121 comments for sendmmsg.
39123 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39126 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39127 with only 1 character between 0x0041 and 0x01b0.
39128 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39129 * wcsmbs/tst-mbsnrtowcs.c: New file.
39131 2012-03-29 David S. Miller <davem@davemloft.net>
39133 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39134 small copies by hand.
39136 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39139 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39140 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39143 2012-03-28 David S. Miller <davem@davemloft.net>
39145 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39146 that branches into memcpy.
39147 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39148 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39149 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39150 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39151 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39153 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39154 implementation too.
39155 * sysdeps/sparc/mempcpy.S: New file.
39157 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39158 the IFUNC routine in the libc case.
39159 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39161 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39162 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39163 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39164 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39165 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39166 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39167 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39168 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39170 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39171 loop to 256 bytes instead of 64 bytes and fix test signedness.
39173 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39174 * sysdeps/sparc/sparc32/Makefile: rather than here...
39175 * sysdeps/sparc/sparc64/Makefile: and here.
39177 2012-03-28 Ulrich Drepper <drepper@gmail.com>
39179 * malloc/mallocbug.c: Avoid warnings about unused variables.
39181 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
39184 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39185 in the right place. Discard and retry query if response is
39186 larger than input buffer size.
39188 2012-03-28 Joseph Myers <joseph@codesourcery.com>
39193 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39194 x for large integer exponent.
39195 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39196 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
39197 sign of result as needed afterwards.
39198 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39199 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39200 result for underflowing pow the same as for overflow.
39201 (__kernel_standard_l): Handle powl overflow and underflow here
39202 rather than calling __kernel_standard.
39203 * math/libm-test.inc (pow_test): Add more tests.
39218 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39219 * sysdeps/ieee754/k_standard.c: Include <float.h>.
39220 (__kernel_standard_l): New function.
39221 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39223 * math/w_acosl.c (__acosl): Likewise.
39224 * math/w_asinl.c (__asinl): Likewise.
39225 * math/w_atan2l.c (__atan2l): Likewise.
39226 * math/w_atanhl.c (__atanhl): Likewise.
39227 * math/w_coshl.c (__coshl): Likewise.
39228 * math/w_exp10l.c (__exp10l): Likewise.
39229 * math/w_exp2l.c (__exp2l): Likewise.
39230 * math/w_fmodl.c (__fmodl): Likewise.
39231 * math/w_hypotl.c (__hypotl): Likewise.
39232 * math/w_j0l.c (__j0l, __y0l): Likewise.
39233 * math/w_j1l.c (__j1l, __y1l): Likewise.
39234 * math/w_jnl.c (__jnl, __ynl): Likewise.
39235 * math/w_lgammal.c (__lgammal): Likewise.
39236 * math/w_log10l.c (__log10l): Likewise.
39237 * math/w_log2l.c (__log2l): Likewise.
39238 * math/w_logl.c (__logl): Likewise.
39239 * math/w_powl.c (__powl): Likewise.
39240 * math/w_remainderl.c (__remainderl): Likewise.
39241 * math/w_scalbl.c (sysv_scalbl): Likewise.
39242 * math/w_sinhl.c (__sinhl): Likewise.
39243 * math/w_sqrtl.c (__sqrtl): Likewise.
39244 * math/w_tgammal.c (__tgammal): Likewise.
39245 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39246 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39247 * math/libm-test.inc (acos_test): Add more tests.
39248 (acosh_test): Likewise.
39249 (asin_test): Likewise.
39250 (atanh_test): Likewise.
39251 (exp_test): Likewise.
39252 (exp10_test): Likewise.
39253 (exp2_test): Likewise.
39254 (expm1_test): Likewise.
39255 (lgamma_test): Likewise.
39256 (log_test): Likewise.
39257 (log10_test): Likewise.
39258 (log1p_test): Likewise.
39259 (log2_test): Likewise.
39260 (pow_test): Do not allow some spurious overflow exceptions.
39261 (sqrt_test): Add more tests.
39262 (tgamma_test): Likewise.
39263 (y0_test): Likewise.
39264 (y1_test): Likewise.
39265 (yn_test): Likewise.
39267 2012-03-27 Anton Blanchard <anton@samba.org>
39269 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39271 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39272 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39273 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39275 2012-03-27 David S. Miller <davem@davemloft.net>
39277 * conform/Makefile: Run run-conformtest.sh using $(BASH).
39279 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39280 have-as-vis3 check.
39282 2012-03-27 Andreas Jaeger <aj@suse.de>
39284 * sysdeps/x86_64/elf/configure.in: Moved to ...
39285 * sysdeps/x86_64/configure.in: ... here.
39286 * sysdeps/x86_64/elf/start.S: Moved to ...
39287 * sysdeps/x86_64/start.S: ... here.
39288 * sysdeps/x86_64/elf/configure: Delete.
39290 * sysdeps/x86_64/configure.in: Merge contents from
39291 sysdeps/i386/configure.in (without i686 check).
39293 * sysdeps/i386/elf/Versions: Merge into ...
39294 * sysdeps/i386/Versions: ... this.
39295 * sysdeps/i386/elf/Versions: Delete file.
39296 * sysdeps/i386/elf/start.S: Moved to ...
39297 * sysdeps/i386/start.S: ...here.
39298 * sysdeps/i386/elf/configure.in: Merge into...
39299 * sysdeps/i386/configure.in: ...here.
39300 * sysdeps/i386/elf/configure.in: Delete file.
39301 * sysdeps/i386/elf/configure: Delete file.
39303 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39304 * debug/backtracesyms.c: ... here.
39305 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39306 * debug/backtracesymsfd.c: ... here.
39307 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39308 * sysdeps/generic/ifunc-sel.h: ... here.
39310 * sysdeps/unix/i386/start.c: Delete file.
39311 * sysdeps/unix/sparc/start.c: Delete file.
39312 * sysdeps/unix/start.c: Delete file.
39314 * sysdeps/sh/elf/configure.in: Moved to ...
39315 * sysdeps/sh/configure.in: ... here.
39316 * sysdeps/sh/elf/start.S: Moved to ...
39317 * sysdeps/sh/start.S: ... here.
39318 * sysdeps/sh/elf/configure: Delete file.
39320 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39321 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39322 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39323 * sysdeps/powerpc/powerpc64/entry.h: ... here.
39324 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39325 * sysdeps/powerpc/powerpc64/start.S: here.
39326 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39327 * sysdeps/powerpc/powerpc64/Makefile: ... this.
39328 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39329 * sysdeps/powerpc/powerpc64/configure.in: ... this.
39330 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39332 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39333 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39334 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39335 * sysdeps/powerpc/powerpc32/start.S: ... here.
39336 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39337 * sysdeps/powerpc/powerpc32/configure.in: ... this.
39338 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39340 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39341 * sysdeps/powerpc/ifunc-sel.h: ... here.
39342 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39343 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39345 * sysdeps/sparc/elf/configure.in: Moved to ...
39346 * sysdeps/sparc/configure.in: ... here.
39347 * sysdeps/sparc/elf/configure: Delete file.
39348 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39349 * sysdeps/sparc/sparc32/start.S: ... here.
39350 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39351 * sysdeps/sparc/sparc64/start.S: ... here.
39352 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39353 * sysdeps/sparc/sparc32/Makefile: ... this.
39354 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39355 * sysdeps/sparc/sparc64/Makefile: ... this.
39357 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39358 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39359 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39360 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39361 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39362 * sysdeps/s390/s390-32/setjmp.S: ... here.
39363 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39364 * sysdeps/s390/s390-32/configure.in: ... here.
39365 * sysdeps/s390/s390-32/elf/configure: Delete file.
39366 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39367 * sysdeps/s390/s390-32/start.S: ... here.
39369 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39370 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39371 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39372 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39373 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39374 * sysdeps/s390/s390-64/setjmp.S: ... here.
39375 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39376 * sysdeps/s390/s390-64/configure.in: ... here
39377 * sysdeps/s390/s390-64/elf/configure: Delete file.
39378 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39379 * sysdeps/s390/s390-64/start.S: ... here.
39380 * sysdeps/s390/s390-64/elf/configure: Delete.
39382 * configure.in: Remove support for elf directories in sysdeps.
39384 * configure: Regenerated.
39385 * sysdeps/i386/configure: Regenerated.
39386 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39387 * sysdeps/powerpc/powerpc64/configure: Regenerated.
39388 * sysdeps/s390/s390-32/configure: Regenerated.
39389 * sysdeps/s390/s390-64/configure: Regenerated.
39390 * sysdeps/sh/configure: Regenerated.
39391 * sysdeps/sparc/configure: Regenerated.
39392 * sysdeps/x86_64/configure: Regenerated.
39394 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
39396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39398 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39399 denormal result into account.
39401 2012-03-25 Roland McGrath <roland@hack.frob.com>
39403 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39404 Reported by Allan McRae <allan@archlinux.org>.
39406 2012-03-23 Jeff Law <law@redhat.com>
39408 * nss/getnssent.c (__nss_getent): Fix typo.
39410 2012-03-23 David S. Miller <davem@davemloft.net>
39412 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39414 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
39416 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39417 to pad to uint64_t for each field.
39418 (dl_tls_index): Replace unsigned long with uint64_t.
39420 2012-03-23 Daniel Jacobowitz <dmj@google.com>
39421 Paul Pluzhnikov <ppluzhnikov@google.com>
39424 * grp/Makefile (otherlibs): Don't set it.
39425 * inet/Makefile (otherlibs): Likewise.
39426 * login/Makefile (otherlibs): Likewise.
39427 * nscd/Makefile (otherlibs): Likewise.
39428 * posix/Makefile (otherlibs): Likewise.
39429 * pwd/Makefile (otherlibs): Likewise.
39430 * rt/Makefile (otherlibs): Likewise.
39431 * sunrpc/Makefile (otherlibs): Likewise.
39432 * nss/Makefile (otherlibs): Likewise.
39433 Add libnss_files to routines and static-only-routines.
39434 ($(objpfx)getent): Remove rule.
39435 * resolv/Makefile: Add libnss_dns and libresolv to routines and
39436 static-only-routines.
39438 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39441 * math/s_cexp.c: Include <float.h>.
39442 (__cexp): Handle exp result overflowing not necessarily
39443 overflowing both real and imaginary parts of result.
39444 * math/s_cexpf.c: Likewise.
39445 * math/s_cexpl.c: Likewise.
39446 * math/libm-test.inc (cexp_test): Add more tests.
39447 * sysdeps/i386/fpu/libm-test-ulps: Update.
39448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39450 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39452 * include/link.h (ELFW): New macro.
39453 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39454 Replace ELF64_R_TYPE with ELFW(R_TYPE).
39456 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39458 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39461 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39463 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39465 (struct La_x32_retval): Likewise.
39467 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39469 * sysdeps/x86_64/preconfigure.in: New file.
39470 * sysdeps/x86_64/preconfigure: New generated file.
39472 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39475 * math/e_exp2l.c: Include <float.h>.
39476 (__ieee754_exp2l): Handle overflow and underflow cases
39477 separately. Only pass fractional part of argument to
39479 * math/libm-test.inc (exp2_test): Add more tests.
39481 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39482 negating x to take absolute value.
39483 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39485 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39486 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39488 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39489 computing low part if x was negated.
39490 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39492 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39494 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39495 la_x32_gnu_pltexit.
39496 (pltexit): Cast int_retval to ptrdiff_t.
39497 * elf/tst-auditmod3b.c: Likewise.
39498 * elf/tst-auditmod4b.c: Likewise.
39499 * elf/tst-auditmod5b.c: Likewise.
39500 * elf/tst-auditmod6b.c: Likewise.
39501 * elf/tst-auditmod6c.c: Likewise.
39502 * elf/tst-auditmod7b.c: Likewise.
39504 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39505 and x32_gnu_pltexit.
39507 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39508 __ELF_NATIVE_CLASS.
39509 (La_x32_regs): New macro.
39510 (La_x32_retval): Likewise.
39511 (la_x32_gnu_pltenter): New function prototype.
39512 (la_x32_gnu_pltexit): Likewise.
39514 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
39516 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39521 * configure.in (libc_cv_cc_nofma): Check for option to disable
39522 generation of FMA instructions.
39523 * configure: Regenerate.
39524 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39525 * sysdeps/ieee754/dbl-64/Makefile: New file.
39526 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39527 Remove brandred-fma4.
39528 (CFLAGS-brandred-fma4.c): Remove.
39529 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39530 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39532 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39535 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39537 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39538 LLONG_MAX != LONG_MAX.
39539 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39540 (_fitoa_word): Likewise.
39541 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39542 LLONG_MAX != LONG_MAX.
39543 * stdio-common/_itowa.h: Include <_itoa.h>.
39544 (_itowa_word): Use _ITOA_WORD_TYPE on value.
39545 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
39546 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
39547 only if not defined.
39548 (_ITOA_WORD_TYPE): Likewise.
39549 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39550 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39552 2012-03-21 David S. Miller <davem@davemloft.net>
39554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39556 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39558 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39559 of x86_64 when setting libc_cv_slibdir, libdir and
39561 * sysdeps/unix/sysv/linux/configure: Regenerated.
39563 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39565 * manual/lang.texi (Old Varargs): Remove section.
39566 (How Variadic): Update menu.
39567 (va_start): Do not mention varargs.h.
39569 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39570 Joseph Myers <joseph@codesourcery.com>
39572 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39574 * configure: Regenerated.
39576 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39578 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39579 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39582 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39585 * Makefile (files-for-dist): Remove NOTES.
39586 (NOTES): Remove rule.
39587 * README: Don't refer to NOTES.
39588 * manual/creature.texi: Don't include macros.texi.
39589 * manual/intro.texi (creature.texi): Remove comment referring to
39592 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39593 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39594 * configure: Regenerated.
39595 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39596 LIBC_TRY_CC_OPTION.
39597 (libc_cv_as_i686): Likewise.
39598 (libc_cv_cc_avx): Likewise.
39599 (libc_cv_cc_sse2avx): Likewise.
39600 (libc_cv_cc_fma4): Likewise.
39601 (libc_cv_cc_novzeroupper): Likewise.
39602 * sysdeps/i386/configure: Regenerated.
39605 * sysdeps/i386/fpu/s_cexp.S: Remove.
39606 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39607 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39608 * math/libm-test.inc (cexp_test): Add more tests.
39609 * sysdeps/i386/fpu/libm-test-ulps: Update.
39610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39612 2012-03-21 Allan McRae <allan@archlinux.org>
39614 * timezone/Makefile: Do not install iso3166.tab and zone.tab
39616 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39619 * math/w_exp2.c: Do not include <float.h>.
39620 (o_threshold, u_threshold): Remove.
39621 (__exp2): Calculate result before checking finiteness and calling
39623 * math/w_exp2f.c: Likewise.
39624 * math/w_exp2l.c: Likewise.
39625 * math/libm-test.inc (exp2_test): Require overflow exception for
39629 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39630 range of signed 64-bit integers before using fistpll. Remove
39631 checks for whether integers fit in mantissa bits.
39632 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39633 the range of signed 32-bit integers before using fistpl. Remove
39634 checks for whether integers fit in mantissa bits.
39635 * sysdeps/i386/fpu/e_powl.S (p64): New object.
39636 (__ieee754_powl): Test for y outside the range of signed 64-bit
39637 integers before using fistpll. Reduce 64-bit values to 63-bit
39639 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39640 divide-by-zero is raised for zero to large negative powers.
39641 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39642 (__ieee754_powl): Test for y outside the range of signed 64-bit
39643 integers before using fistpll. Reduce 64-bit values to 63-bit
39645 * math/libm-test.inc (pow_test): Add more tests.
39647 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39649 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39650 <stdio-common/_itoa.h>.
39651 * debug/segfault.c: Likewise.
39652 * elf/dl-cache.c: Likewise.
39653 * elf/dl-minimal.c: Likewise.
39654 * elf/dl-misc.c: Likewise.
39655 * elf/dl-sysdep.c: Likewise.
39656 * elf/dl-version.c: Likewise.
39657 * elf/rtld.c: Likewise.
39658 * hurd/hurdsock.c: Likewise.
39659 * hurd/lookup-retry.c: Likewise.
39660 * malloc/malloc.c: Likewise.
39661 * malloc/mtrace.c: Likewise.
39662 * nscd/nscd_getgr_r.c: Likewise.
39663 * nscd/nscd_getpw_r.c: Likewise.
39664 * nscd/nscd_getserv_r.c: Likewise.
39665 * posix/getopt_init.c: Likewise.
39666 * posix/wordexp.c: Likewise.
39667 * stdio-common/_itoa.c: Likewise.
39668 * stdio-common/printf_fphex.c: Likewise.
39669 * stdio-common/vfprintf.c: Likewise.
39670 * string/_strerror.c: Likewise.
39671 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39672 * sysdeps/i386/i686/hp-timing.h: Likewise.
39673 * sysdeps/mach/_strerror.c: Likewise.
39674 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39675 * sysdeps/mach/hurd/sethostid.c: Likewise.
39676 * sysdeps/mach/hurd/xmknodat.c: Likewise.
39677 * sysdeps/mach/xpg-strerror.c: Likewise.
39678 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39679 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39680 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39681 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39682 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39683 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39684 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39685 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39686 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39687 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39688 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39689 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39690 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39691 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39692 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39693 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39694 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39695 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39696 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39697 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39698 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39700 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39702 * stdio-common/_itoa.h: Moved to ...
39703 * sysdeps/generic/_itoa.h: Here.
39705 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39707 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39708 instead of "_itoa.h" and "_itowa.h".
39709 * stdio-common/vfprintf.: Likewise.
39711 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39713 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39715 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39716 (__signbit): Likwise.
39717 (llrintf): Likwise.
39720 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39722 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39725 2012-03-20 Joseph Myers <joseph@codesourcery.com>
39727 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39728 OVERFLOW_EXCEPTION_OK.
39729 * math/libm-test.inc ("Philosophy"): Update comment about
39731 (OVERFLOW_EXCEPTION): Define.
39732 (OVERFLOW_EXCEPTION_OK): Likewise.
39733 (INVALID_EXCEPTION_OK): Renumber.
39734 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39735 (IGNORE_ZERO_INF_SIGN): Likewise.
39736 (test_exceptions): Handle FE_OVERFLOW.
39737 (exp10_test): Expect overflow exceptions.
39738 (exp2_test): Likewise.
39739 (expm1_test): Likewise.
39740 (nextafter_test): Likewise.
39741 (pow_test): Likewise.
39742 (scalbn_test): Likewise.
39743 (scalbln_test): Likewise.
39745 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39747 * sysdeps/x86_64/bits/atomic.h
39748 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39750 (atomic_exchange_acq): Likewise.
39751 (__arch_exchange_and_add_body): Likewise.
39752 (__arch_add_body): Likewise.
39753 (atomic_add_negative): Likewise.
39754 (atomic_add_zero): Likewise.
39756 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39758 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39759 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39761 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39763 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39764 Check __x86_64__ instead of __WORDSIZE.
39766 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39768 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39770 2012-03-19 David S. Miller <davem@davemloft.net>
39772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39774 * sysdeps/sparc/fpu/fenv_private.h: New file.
39775 * sysdeps/sparc/fpu/math_private.h: Use it.
39776 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39778 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39779 (libc_feholdexcept_setroundl): Remove.
39780 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39782 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39783 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39785 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39787 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39788 int64_t instead of long int.
39789 (INSERT_WORDS64): Likwise.
39791 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39793 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39794 _Unwind_GetCFA return to _Unwind_Ptr first.
39796 2012-03-19 Joseph Myers <joseph@codesourcery.com>
39799 * math/s_clog.c: Include <float.h>.
39800 (__clog): Scale large or subnormal inputs.
39801 * math/s_clogf.c: Likewise.
39802 * math/s_clogl.c: Likewise.
39803 * math/s_clog10.c: Include <float.h>.
39804 (M_LOG10_2): Define.
39805 (__clog10): Scale large or subnormal inputs.
39806 * math/s_clog10f.c: Likewise.
39807 * math/s_clog10l.c: Likewise.
39808 * math/libm-test.inc (clog_test): Add more tests.
39809 (clog10_test): Likewise.
39810 * sysdeps/i386/fpu/libm-test-ulps: Update.
39811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39814 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39816 * math/libm-test.inc (atan2_test): Add another test.
39818 * Makerules (common-objdir-compile): Remove.
39819 * sysdeps/unix/Makefile (config-generated): Do not add
39820 $(unix-generated) to variable.
39821 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39822 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39824 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39826 [generic bits/local_lim.h] (before-compile): Do not append to
39828 [generic bits/local_lim.h] (common-generated): Likewise.
39829 [generic sys/param.h] (before-compile): Do not append to variable.
39830 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39831 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39832 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39833 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39835 [generic sys/param.h] (sys/param.h-includes): Remove variable.
39836 [generic sys/param.h] (sys/param.h-includes): Remove rule.
39837 [generic sys/param.h] ($(addprefix
39838 $(common-objpfx),$(sys/param.h-includes))): Likewise.
39839 [generic sys/param.h] (common-generated): Do not append to
39841 [generic sys/param.h] (sysdep_headers): Likewise.
39842 [generic bits/errno.h] (before-compile): Do not append to
39844 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39846 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39847 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39848 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39849 [generic bits/errno.h] (common-generated): Do not append to
39851 [generic bits/ioctls.h] (before-compile): Do not append to
39853 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39855 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39856 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39857 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39859 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39860 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39861 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39862 [generic bits/ioctls.h] (common-generated): Do not append to
39864 [generic sys/syscall.h] (syscall.h): Remove variable.
39865 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39867 [generic sys/syscall.h] (before-compile): Do not append to
39869 [generic sys/syscall.h] (common-generated): Likewise.
39870 * sysdeps/unix/errnos-tmpl.c: Remove file.
39871 * sysdeps/unix/errnos.awk: Likewise.
39872 * sysdeps/unix/ioctls-tmpl.c: Likewise.
39873 * sysdeps/unix/ioctls.awk: Likewise.
39874 * sysdeps/unix/mk-local_lim.c: Likewise.
39875 * sysdeps/unix/snarf-ioctls: Likewise.
39877 2012-03-19 Richard Henderson <rth@twiddle.net>
39879 * sysdeps/i386/fpu/fenv_private.h: New file.
39880 * sysdeps/i386/fpu/math_private.h: Use it.
39881 (math_opt_barrier, math_force_eval): Remove.
39882 (libc_feholdexcept_setround_53bit): Remove.
39883 (libc_feupdateenv_53bit): Remove.
39884 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39885 (math_opt_barrier, math_force_eval): Remove.
39886 (libc_feholdexcept): Remove.
39887 (libc_feholdexcept_setround): Remove.
39888 (libc_fetestexcept, libc_fesetenv): Remove.
39889 (libc_feupdateenv_test): Remove.
39890 (libc_feupdateenv, libc_feholdsetround): Remove.
39891 (libc_feresetround): Remove.
39893 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39894 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39896 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39897 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39898 (libc_feupdateenv_testl): New.
39899 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39900 (libc_feupdateenv_testf): New.
39901 (libc_feupdateenv): Use libc_feupdateenv_test.
39902 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39903 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39905 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39906 (libc_feholdsetroundf, libc_feholdsetroundl): New.
39907 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39908 (libc_feresetround_noex): New.
39909 (libc_feresetround_noexf): New.
39910 (libc_feresetround_noexl): New.
39911 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39912 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39913 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39914 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39916 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39917 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39919 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39920 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39921 SET_RESTORE_ROUND_NOEX.
39922 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39923 SET_RESTORE_ROUND_NOEXF.
39924 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39925 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39926 (libc_feholdsetroundf): New.
39927 (libc_feresetround, libc_feresetroundf): New.
39929 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39930 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39931 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39933 * sysdeps/generic/math_private.h: Include <fenv.h>.
39934 (default_libc_feholdexcept): New.
39935 (default_libc_feholdexcept_setround): New.
39936 (default_libc_fesetenv, default_libc_feupdateenv): New.
39937 (libc_feholdexcept): Only define if undefined.
39938 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39939 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39940 (libc_feholdexcept_setroundl): Likewise.
39941 (libc_feholdexcept_setround_53bit): Likewise.
39942 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39943 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39944 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39945 (libc_feupdateenv_53bit): Likewise.
39946 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39947 (libc_feholdexcept): Convert from macro to inline function.
39948 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39949 (libc_fesetenv, libc_feupdateenv): Likewise.
39951 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39952 not previously defined.
39953 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39954 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39955 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39956 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39957 * sysdeps/ieee754/flt-32/math_private.h: New file.
39958 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39959 math_private.h below SET_FLOAT_WORD.
39960 (__isnan, __isinf_ns, __finite): Remove.
39961 (__isnanf, __isinf_nsf, __finitef): Remove.
39963 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39967 2012-03-17 David S. Miller <davem@davemloft.net>
39970 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39973 2012-03-16 David S. Miller <davem@davemloft.net>
39975 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39979 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39981 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39982 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39983 sysdep_routines when subdir is sysvipc.
39984 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39985 __getshmlba helper.
39987 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39989 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39991 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39994 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39996 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39997 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39998 (__lround): Renamed to ...
39999 (__llround): This. Replace long int with long long int.
40000 Define lround functions as aliases of llround functions.
40001 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40003 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40005 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40006 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
40007 adresses to uintptr_t. Replace "long int" and "unsigned long
40008 int" with "greg_t" on va_arg.
40010 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40012 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40013 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40015 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40016 Move e_machine check before EI_CLASS check. Handle x32
40017 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40018 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40019 SKIP_EM_IA_64 and include
40020 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40022 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40023 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40024 (add_system_dir): New macro.
40026 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40027 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40029 2012-03-16 Joseph Myers <joseph@codesourcery.com>
40040 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40042 * math/w_j0f.c (j0f): Likewise.
40044 * math/w_j0l.c (__j0l): Likewise.
40046 * math/w_j1.c (j1): Likewise.
40048 * math/w_j1f.c (j1f): Likewise.
40050 * math/w_j1l.c (__j1l): Likewise.
40052 * math/w_jn.c (jn): Likewise.
40054 * math/w_jnf.c (jnf): Likewise.
40056 * math/w_jnl.c (__jnl): Likewise.
40058 * math/libm-test.inc (j0_test): Add more tests.
40059 (j1_test): Likewise.
40060 (jn_test): Likewise. Add trailing semicolon to existing test.
40061 (y0_test): Likewise.
40062 (y1_test): Likewise.
40063 * sysdeps/i386/fpu/libm-test-ulps: Update.
40064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40068 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40069 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40070 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40071 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40072 (__tanl): Set errno for infinite argument.
40073 * sysdeps/i386/fpu/mptan.c: Remove.
40074 * sysdeps/i386/fpu/s_tan.S: Likewise.
40075 * sysdeps/i386/fpu/s_tanl.S: Likewise.
40076 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40077 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40078 * math/libm-test.inc (tan_test): Add more tests and enable more
40079 tests for double and long double.
40080 * sysdeps/i386/fpu/libm-test-ulps: Update.
40081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40083 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
40085 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40086 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40088 2012-03-16 Roland McGrath <roland@hack.frob.com>
40090 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40091 * configure.in: Use it for both main tree and add-ons.
40092 * configure: Regenerated.
40094 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40096 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40098 2012-03-16 Joseph Myers <joseph@codesourcery.com>
40100 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40104 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40105 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40106 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40107 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40108 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40110 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40111 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40112 != 0 for prec == 2.
40113 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40114 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40115 * sysdeps/i386/fpu/s_cosl.S: Likewise.
40116 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40117 * sysdeps/i386/fpu/s_sinl.S: Likewise.
40118 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40119 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40120 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40121 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40122 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40123 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40124 * math/libm-test.inc (cos_test): Add more tests and enable more
40125 tests for long double.
40126 (sin_test): Likewise.
40127 (sincos_test): Likewise.
40128 * sysdeps/i386/fpu/libm-test-ulps: Update.
40129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40131 2012-03-16 David S. Miller <davem@davemloft.net>
40133 * sysdeps/sparc/fpu/math_private.h: New file.
40135 2012-03-15 David S. Miller <davem@davemloft.net>
40137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40143 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40144 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40145 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40146 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40147 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40151 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40152 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40154 * sysdeps/sparc/sparc-ifunc.h: New file.
40155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40179 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40180 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40181 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40182 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40183 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40184 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40185 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40186 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40187 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40188 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40189 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40190 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40191 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40192 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40193 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40194 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40195 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40196 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40197 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40198 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40200 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40202 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40206 2012-03-15 Andreas Jaeger <aj@suse.de>
40209 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40210 ieee754/flt-32 implementation for sin, cos and sincos.
40211 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40212 * sysdeps/i386/fpu/s_cosf.S: Likewise.
40213 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40214 * sysdeps/i386/fpu/s_sinf.S: Likewise.
40215 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40216 ieee754/flt-32 implementation for tan.
40218 * math/libm-test.inc (cos_test): Enable some large input tests for
40220 (sin_test): Likewise.
40221 (sincos_test): Likewise.
40222 (tan_test): Add tests for large input.
40224 * sysdeps/i386/fpu/libm-test-ulps: Update.
40226 2012-03-15 Andreas Jaeger <aj@suse.de>
40229 * math/libm-test.inc (cos_test): Add more test cases.
40230 (sin_test): Likewise.
40231 (sincos_test): Likewise.
40233 2012-03-15 Andreas Jaeger <aj@suse.de>
40236 * math/libm-test.inc (cos_test): Add a test case for large input
40238 (sin_test): Likewise.
40239 (sincos_test): Likewise.
40241 2012-03-15 Andreas Jaeger <aj@suse.de>
40242 Joseph Myers <joseph@codesourcery.com>
40245 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40246 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40247 * sysdeps/i386/fpu/branred.c: Likewise.
40248 * sysdeps/i386/fpu/dosincos.c: Likewise.
40249 * sysdeps/i386/fpu/mpa.c: Likewise.
40250 * sysdeps/i386/fpu/s_cos.S: Likewise.
40251 * sysdeps/i386/fpu/s_sin.S: Likewise.
40252 * sysdeps/i386/fpu/s_sincos.S: Likewise.
40253 * sysdeps/i386/fpu/sincos32.c: Likewise.
40255 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40257 (libc_feupdateenv_53bit): Define.
40258 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40260 (libc_feupdateenv_53bit): Define.
40262 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40263 53 bit (without extend i386 double precision).
40265 * math/libm-test.inc (sincos_test): Add tests for large input.
40269 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40271 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40275 2012-03-15 David S. Miller <davem@davemloft.net>
40277 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40278 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40279 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40280 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40285 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40286 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40287 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40288 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40289 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40290 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40291 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40304 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40305 fmin/fmax sysdep routines.
40306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40308 2012-03-14 David S. Miller <davem@davemloft.net>
40310 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40311 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40312 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40313 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40314 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40315 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40316 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40317 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40318 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40319 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40320 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40321 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40322 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40323 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40324 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40325 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40326 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40327 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40328 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40329 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40330 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40331 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40332 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40333 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40334 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40335 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40336 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40337 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40338 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40382 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40387 * sysdeps/sparc/configure.in: New file.
40388 * sysdeps/sparc/configure: Generate.
40389 * configure.in (libc_cv_sparc_as_vis3): Substitute.
40390 * configure: Regenerate.
40391 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40392 * config.make.in (have-as-vis3): New.
40393 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40394 available use -Av9d instead of -Av9a.
40395 * sysdeps/sparc/sparc64/Makefile: Likewise.
40396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40405 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40406 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40407 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40408 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40409 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40411 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40412 fzeros/fnegs to load 0x80000000 into a float register instead of
40414 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40416 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40418 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40420 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40421 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40422 ($(inst_includedir)/bits/syscall.h): Remove rule.
40423 ($(objpfx)bits/syscall.d): Include instead of
40424 $(objpfx)syscall-list.d.
40425 (generated): Change syscall-list.h and syscall-list.d to
40426 bits/syscall.h and bits/syscall.d.
40428 2012-03-14 Roland McGrath <roland@hack.frob.com>
40431 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40433 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40436 * math/s_csqrt.c: Include <float.h>.
40437 (__csqrt): Scale large or subnormal inputs.
40438 * math/s_csqrtf.c: Likewise.
40439 * math/s_csqrtl.c: Likewise.
40440 * math/libm-test.inc (csqrt_test): Add more tests.
40441 * sysdeps/i386/fpu/libm-test-ulps: Update.
40442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40445 * math/libm-test.inc (hypot_test): Add more tests.
40447 2012-03-13 David S. Miller <davem@davemloft.net>
40450 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40451 double-precision for the calculation instead of scaling.
40453 2012-03-13 Joseph Myers <joseph@codesourcery.com>
40455 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40456 manipulate bits before adding and subtracting TWO52[sx].
40457 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40458 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40460 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40462 2012-03-13 David S. Miller <davem@davemloft.net>
40464 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40465 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40466 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40467 rtld-global-offsets.h
40468 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40470 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40473 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40475 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40476 'err' in the ifdef scope in which it is actually used.
40478 * nss/nss_db/db-init.c: Include string.h
40480 2012-03-12 David S. Miller <davem@davemloft.net>
40482 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40483 masking out of the most significant byte of random value used.
40484 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40485 Fix coding style in previous change.
40487 * sysdeps/unix/sysv/linux/kernel-features.h
40488 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40489 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40491 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40494 2012-03-11 David S. Miller <davem@davemloft.net>
40496 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40497 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40498 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40499 for 'resultvar' otherwise things get truncated on 64-bit.
40501 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40502 Fix masking out of the most significant byte of random value used.
40504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40506 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
40508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40510 2012-03-09 David S. Miller <davem@davemloft.net>
40512 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40513 variables with appropriate CPP guards.
40514 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40515 from the frame pointer, not the stack pointer. Correct layout
40516 comments. Fix test on resulting framesize and the management of
40517 the outregs buffer for pltexit. Preserve floating point return
40518 values across _dl_call_pltexit call.
40519 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40520 framesize and the management of the outregs buffer for pltexit.
40521 Preserve floating point return values across _dl_call_pltexit
40523 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40524 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40525 (la_sparc64_gnu_pltexit): New functions.
40526 (print_exit): Fix format string for return register value.
40528 2012-03-10 Joseph Myers <joseph@codesourcery.com>
40530 * sunrpc/Makefile (others): Add rpcgen.
40531 ($(objpfx)rpcgen): Remove special build rule and dependency on
40533 * sunrpc/rpcgen.c: New file.
40535 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
40538 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40539 * stdio-common/bug-vfprintf-nargs.c: Likewise.
40540 * sysdeps/i386/crti.S: Likewise.
40541 * sysdeps/i386/crtn.S: Likewise.
40542 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40543 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40544 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40545 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40546 * sysdeps/sh/crti.S: Likewise.
40547 * sysdeps/sh/crtn.S: Likewise.
40548 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40551 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40553 * locale/programs/locfile-kw.gperf: Likewise.
40554 * locale/programs/charmap-kw.h: Regenerated.
40555 * locale/programs/locfile-kw.h: Likewise.
40558 * intl/plural.y: Replace FSF snail mail address with URL.
40559 * intl/plural.c: Regenerated.
40561 2012-03-09 Richard Henderson <rth@twiddle.net>
40563 * include/math_private.h: Remove file.
40564 * math/math_private.h: Move file ...
40565 * sysdeps/generic/math_private.h: ... here.
40567 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40568 * sysdeps/powerpc/fpu/math_private.h: Likewise.
40569 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40571 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40572 and <math_private.h>.
40573 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40574 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40575 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40576 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40577 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40578 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40579 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40580 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40581 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40582 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40583 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40584 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40585 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40586 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40587 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40588 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40589 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40590 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40591 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40592 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40593 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40594 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40595 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40596 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40597 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40598 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40599 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40600 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40601 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40602 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40603 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40604 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40605 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40606 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40607 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40608 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40609 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40610 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40611 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40612 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40613 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40614 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40615 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40616 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40617 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40618 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40619 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40620 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40621 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40622 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40623 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40624 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40625 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40626 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40627 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40628 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40629 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40630 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40631 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40632 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40633 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40634 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40635 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40636 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40637 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40638 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40639 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40640 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40641 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40642 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40643 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40644 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40645 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40646 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40647 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40648 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40649 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40650 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40651 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40652 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40653 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40654 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40655 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40656 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40657 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40658 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40659 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40660 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40661 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40662 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40663 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40664 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40665 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40666 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40667 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40668 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40669 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40670 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40671 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40672 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40673 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40674 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40675 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40676 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40677 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40678 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40679 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40680 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40681 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40682 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40683 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40684 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40685 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40686 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40687 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40688 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40689 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40690 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40691 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40692 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40693 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40694 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40695 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40696 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40697 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40698 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40699 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40700 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40701 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40702 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40703 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40704 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40705 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40706 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40707 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40708 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40709 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40710 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40711 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40712 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40713 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40714 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40715 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40716 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40717 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40718 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40719 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40720 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40721 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40722 * sysdeps/ieee754/k_standard.c: Likewise.
40723 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40724 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40725 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40726 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40727 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40728 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40729 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40730 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40731 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40732 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40733 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40734 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40735 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40736 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40737 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40738 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40739 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40740 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40741 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40742 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40743 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40744 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40745 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40746 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40747 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40748 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40749 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40750 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40751 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40752 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40753 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40754 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40755 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40756 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40757 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40758 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40759 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40760 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40761 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40762 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40763 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40764 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40765 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40766 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40767 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40768 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40769 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40770 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40771 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40772 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40773 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40774 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40775 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40776 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40777 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40778 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40779 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40780 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40781 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40782 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40783 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40784 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40785 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40786 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40787 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40788 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40789 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40790 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40791 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40792 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40793 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40794 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40795 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40796 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40797 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40798 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40799 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40800 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40801 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40802 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40803 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40804 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40805 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40806 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40807 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40808 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40809 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40810 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40811 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40812 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40813 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40814 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40815 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40816 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40817 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40818 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40819 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40820 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40821 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40822 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40823 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40824 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40825 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40826 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40827 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40828 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40829 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40830 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40831 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40832 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40833 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40834 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40835 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40836 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40837 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40838 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40839 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40840 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40841 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40842 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40843 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40844 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40845 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40846 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40847 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40848 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40849 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40850 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40851 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40852 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40853 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40854 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40855 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40856 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40857 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40858 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40859 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40860 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40861 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40862 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40863 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40864 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40865 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40866 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40867 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40868 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40869 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40870 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40871 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40872 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40873 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40874 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40875 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40876 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40877 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40878 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40879 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40880 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40881 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40882 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40883 * sysdeps/ieee754/s_lib_version.c: Likewise.
40884 * sysdeps/ieee754/s_matherr.c: Likewise.
40885 * sysdeps/ieee754/s_signgam.c: Likewise.
40886 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40887 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40888 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40889 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40890 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40891 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40892 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40893 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40894 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40895 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40896 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40897 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40898 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40899 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40900 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40901 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40902 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40903 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40904 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40905 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40906 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40908 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40910 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40911 * sunrpc/rpc_main.c: Likewise.
40912 * sunrpc/rpc_svcout.c: Likewise.
40914 2012-03-09 David S. Miller <davem@davemloft.net>
40916 * include/math_private.h: New file.
40918 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40920 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40921 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40922 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40923 from <bits/socket_type.h>.
40924 (enum __socket_type): Don't define here.
40925 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40926 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40927 bits/socket_type.h.
40930 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40931 checking __USE_GNU.
40933 * Makerules ($(inst_includedir)/%.h): New rule.
40934 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40935 (install-others): Remove variable setting.
40936 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40938 2012-03-08 Richard Henderson <rth@twiddle.net>
40940 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40941 from macro to inline function; merge with the
40942 !__LIBC_INTERNAL_MATH_INLINES version.
40943 (__ieee754_sqrtf): Likewise.
40945 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40946 to inline function.
40947 (__rintf, __floor, __floorf): Likewise.
40949 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40950 macro to inline function.
40951 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40953 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40954 not <math/math_private.h>.
40956 2012-03-08 David S. Miller <davem@davemloft.net>
40958 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40960 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40962 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40964 * resolv/gai_misc.c (handle_requests): Fix struct timespec
40966 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40967 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40969 2012-03-08 Ulrich Drepper <drepper@gmail.com>
40971 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40972 be defined individually, they must be defined as a block. Define
40973 S for printing a string instead of hidint the different by using a
40974 macro for adding the 'l'.
40975 * stdio-common/tst-fphex-wide.c: Adjust.
40977 2012-03-07 Marek Polacek <polacek@redhat.com>
40979 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40981 2012-03-08 Marek Polacek <polacek@redhat.com>
40984 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40985 * stdio-common/tst-fphex.c: Define a few macros to make the
40986 test reusable. Use them.
40987 * stdio-common/tst-fphex-wide.c: New file.
40989 2012-03-08 Joseph Myers <joseph@codesourcery.com>
40992 * manual/macros.texi (gnusystems): New macro.
40993 (nongnusystems): Likewise.
40994 (gnulinuxhurdsystems): Likewise.
40995 (gnuhurdsystems): Likewise..
40996 (gnulinuxsystems): Likewise.
40997 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40998 variants of the GNU system, not "GNU system".
40999 * manual/conf.texi: Likewise.
41000 * manual/errno.texi: Likewise. Update example of errno macro
41002 * manual/filesys.texi: Likewise.
41003 (getumask): Document as specific to GNU/Hurd.
41004 * manual/install.texi: Likewise. Reword some references to
41006 * manual/intro.texi: Likewise.
41007 * manual/io.texi: Likewise.
41008 (File Name Portability): Detail which constraints are inapplicable
41009 to all GNU systems and which are only inapplicable to GNU/Hurd.
41010 * manual/job.texi: Likewise.
41011 * manual/llio.texi: Likewise.
41012 (O_NOCTTY): Document as present on GNU/Linux.
41013 * manual/maint.texi: Likewise.
41014 * manual/memory.texi: Likewise.
41015 * manual/pattern.texi: Likewise.
41016 * manual/pipe.texi: Likewise.
41017 * manual/process.texi: Likewise.
41018 * manual/resource.texi: Likewise.
41019 (RUSAGE_CHILDREN): Remove statement about specifying a particular
41021 * manual/setjmp.texi: Likewise.
41022 * manual/signal.texi: Likewise.
41023 * manual/startup.texi: Likewise.
41024 * manual/stdio.texi: Likewise.
41025 * manual/terminal.texi: Likewise.
41026 (ONLCR): Document as POSIX.
41027 (OXTABS): Document availability on GNU/Linux as XTABS.
41028 (ONOEOT): Document availability separately from other bits.
41029 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41030 * manual/time.texi: Likewise.
41031 * manual/users.texi: Likewise.
41032 * INSTALL: Regenerated.
41033 * sysdeps/gnu/errlist.c: Regenerated.
41035 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41036 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41037 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
41039 * configure: Regenerated.
41041 2012-03-07 Joseph Myers <joseph@codesourcery.com>
41043 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41044 default includes instead of AC_HEADER_CHECK.
41045 * sysdeps/i386/configure: Regenerated.
41048 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41049 * math/s_cacoshf.c (__cacoshf): Likewise.
41050 * math/s_cacoshl.c (__cacoshl): Likewise.
41051 * math/s_casinh.c (__casinh): Set signs of result from argument.
41052 * math/s_casinhf.c (__casinhf): Likewise.
41053 * math/s_casinhl.c (__casinhl): Likewise.
41054 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41055 (casinh_test): Add more tests.
41056 * sysdeps/i386/fpu/libm-test-ulps: Update.
41057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41059 2012-03-07 Ulrich Drepper <drepper@gmail.com>
41061 * po/zh_TW.po: Update from translation team.
41063 * login/Makefile (distribute): Remove variable.
41064 * catgets/Makefile: Likewise.
41065 * mach/Makefile: Likewise.
41066 * malloc/Makefile: Likewise.
41067 * misc/Makefile: Likewise.
41068 * iconv/Makefile: Likewise.
41069 * nscd/Makefile: Likewise.
41070 * hurd/Makefile: Likewise.
41071 * manual/Makefile: Likewise.
41072 * locale/Makefile: Likewise.
41073 * intl/Makefile: Likewise.
41074 * conform/Makefile: Likewise.
41075 * nss/Makefile: Likewise.
41076 * time/Makefile: Likewise.
41077 * soft-fp/Makefile: Likewise.
41078 * dirent/Makefile: Likewise.
41079 * gmon/Makefile: Likewise.
41080 * po/Makefile: Likewise.
41081 * rt/Makefile: Likewise.
41082 * socket/Makefile: Likewise.
41083 * math/Makefile: Likewise.
41084 * signal/Makefile: Likewise.
41085 * debug/Makefile: Likewise.
41086 * elf/Makefile: Likewise.
41087 * timezone/Makefile: Likewise.
41088 * stdlib/Makefile: Likewise.
41089 * iconvdata/Makefile: Likewise.
41090 * sunrpc/Makefile: Likewise.
41091 * io/Makefile: Likewise.
41092 * argp/Makefile: Likewise.
41093 * inet/Makefile: Likewise.
41094 * hesiod/Makefile: Likewise.
41095 * grp/Makefile: Likewise.
41096 * csu/Makefile: Likewise.
41097 * wctype/Makefile: Likewise.
41098 * crypt/Makefile: Likewise.
41099 * libio/Makefile: Likewise.
41100 * string/Makefile: Likewise.
41101 * nis/Makefile: Likewise.
41102 * resolv/Makefile: Likewise.
41103 * stdio-common/Makefile: Likewise.
41104 * wcsmbs/Makefile: Likewise.
41105 * dlfcn/Makefile: Likewise.
41106 * posix/Makefile: Likewise.
41109 * timezone/Makefile: Don't install timezone files, just the programs
41112 2012-03-06 Ulrich Drepper <drepper@gmail.com>
41114 * nss/databases.def: Add missing gshadow entry.
41116 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
41118 2012-03-06 Marek Polacek <polacek@redhat.com>
41121 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41122 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41123 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41124 * stdio-common/tst-long-dbl-fphex.c: New file.
41126 2012-03-06 David S. Miller <davem@davemloft.net>
41128 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41129 (set_obp_int): New function.
41130 (get_obp_int): New function.
41131 (__get_clockfreq_via_dev_openprom): Likewise.
41132 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41133 Avoid unused variable warnings on 'val' and use builtin_expect.
41134 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41136 (INLINE_CLONE_SYSCALL): Likewise.
41138 2012-03-05 David S. Miller <davem@davemloft.net>
41140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41142 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
41144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41146 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41147 only for |x| >= 40.
41148 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41150 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
41152 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41153 Replace gettimeofday with __vdso_gettimeofday.
41155 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41156 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41157 __vdso_clock_gettime and __vdso_getcpu.
41159 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41160 time with __vdso_time.
41162 2012-03-05 Joseph Myers <joseph@codesourcery.com>
41164 * manual/lang.texi (size_t): Note types to which size_t may be
41165 equivalent with the GNU C Library, but do not describe when
41166 differences between them are significant.
41168 2012-03-05 Andreas Jaeger <aj@suse.de>
41170 * sysdeps/i386/fpu/libm-test-ulps: Update.
41172 2012-03-05 Joseph Myers <joseph@codesourcery.com>
41175 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41176 (__ieee754_pow): Save and restore rounding mode and use
41177 round-to-nearest for main computations.
41178 * math/libm-test.inc (pow_test_tonearest): New function.
41179 (pow_test_towardzero): Likewise.
41180 (pow_test_downward): Likewise.
41181 (pow_test_upward): Likewise.
41182 (main): Call the new functions.
41183 * sysdeps/i386/fpu/libm-test-ulps: Update.
41184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41187 * math/libm-test.inc (cosh_test_tonearest): New function.
41188 (cosh_test_towardzero): Likewise.
41189 (cosh_test_downward): Likewise.
41190 (cosh_test_upward): Likewise.
41191 (sinh_test_tonearest): Likewise.
41192 (sinh_test_towardzero): Likewise.
41193 (sinh_test_downward): Likewise.
41194 (sinh_test_upward): Likewise.
41195 (main): Call the new functions.
41196 * sysdeps/i386/fpu/libm-test-ulps: Update.
41197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41199 2012-03-05 Tom de Vries <tom@codesourcery.com>
41201 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41202 default stack guard is set in last bytes.
41203 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41205 2012-03-05 Kees Cook <keescook@chromium.org>
41207 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41210 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41211 possibly allocate from heap instead of stack.
41212 * stdio-common/bug-vfprintf-nargs.c: New file.
41213 * stdio-common/Makefile (tests): Add nargs overflow test.
41215 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
41217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41219 2012-03-03 Marek Polacek <polacek@redhat.com>
41221 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41222 * math/math_private.h: Likewise.
41223 * stdlib/tst-strtod.c: Likewise.
41224 * sysdeps/i386/i486/bits/atomic.h: Likewise.
41225 * sysdeps/x86_64/bits/atomic.h: Likewise.
41227 2012-03-02 David S. Miller <davem@davemloft.net>
41229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41233 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41234 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41235 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41236 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41238 2012-03-02 Roland McGrath <roland@hack.frob.com>
41241 * manual/examples/README: New file, says the example source files
41242 can be used under GPL>=2.
41243 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41244 line containing just "*/".
41245 * manual/examples/add.c: Add copyright header (GPL>=2).
41246 * manual/examples/argp-ex1.c: Likewise.
41247 * manual/examples/argp-ex2.c: Likewise.
41248 * manual/examples/argp-ex3.c: Likewise.
41249 * manual/examples/argp-ex4.c: Likewise.
41250 * manual/examples/atexit.c: Likewise.
41251 * manual/examples/db.c: Likewise.
41252 * manual/examples/dir.c: Likewise.
41253 * manual/examples/dir2.c: Likewise.
41254 * manual/examples/execinfo.c: Likewise.
41255 * manual/examples/filecli.c: Likewise.
41256 * manual/examples/filesrv.c: Likewise.
41257 * manual/examples/fmtmsgexpl.c: Likewise.
41258 * manual/examples/genpass.c: Likewise.
41259 * manual/examples/inetcli.c: Likewise.
41260 * manual/examples/inetsrv.c: Likewise.
41261 * manual/examples/isockad.c: Likewise.
41262 * manual/examples/longopt.c: Likewise.
41263 * manual/examples/memopen.c: Likewise.
41264 * manual/examples/memstrm.c: Likewise.
41265 * manual/examples/mkfsock.c: Likewise.
41266 * manual/examples/mkisock.c: Likewise.
41267 * manual/examples/mygetpass.c: Likewise.
41268 * manual/examples/pipe.c: Likewise.
41269 * manual/examples/popen.c: Likewise.
41270 * manual/examples/rprintf.c: Likewise.
41271 * manual/examples/search.c: Likewise.
41272 * manual/examples/select.c: Likewise.
41273 * manual/examples/setjmp.c: Likewise.
41274 * manual/examples/sigh1.c: Likewise.
41275 * manual/examples/sigusr.c: Likewise.
41276 * manual/examples/stpcpy.c: Likewise.
41277 * manual/examples/strdupa.c: Likewise.
41278 * manual/examples/strftim.c: Likewise.
41279 * manual/examples/strncat.c: Likewise.
41280 * manual/examples/subopt.c: Likewise.
41281 * manual/examples/swapcontext.c: Likewise.
41282 * manual/examples/termios.c: Likewise.
41283 * manual/examples/testopt.c: Likewise.
41284 * manual/examples/testpass.c: Likewise.
41285 * manual/examples/timeval_subtract.c: Likewise.
41288 * manual/time.texi (Elapsed Time): Move timeval_subtract example
41290 * manual/timeval_subtract.c.texi: ... here, new file.
41292 2012-03-02 David S. Miller <davem@davemloft.net>
41294 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41296 2012-03-02 Joseph Myers <joseph@codesourcery.com>
41299 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41300 (__sin): Save and restore rounding mode and use round-to-nearest
41301 for all computations.
41302 (__cos): Save and restore rounding mode and use round-to-nearest
41303 for all computations.
41304 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41306 (tan): Save and restore rounding mode and use round-to-nearest for
41308 * math/libm-test.inc (cos_test_tonearest): New function.
41309 (cos_test_towardzero): Likewise.
41310 (cos_test_downward): Likewise.
41311 (cos_test_upward): Likewise.
41312 (sin_test_tonearest): Likewise.
41313 (sin_test_towardzero): Likewise.
41314 (sin_test_downward): Likewise.
41315 (sin_test_upward): Likewise.
41316 (tan_test_tonearest): Likewise.
41317 (tan_test_towardzero): Likewise.
41318 (tan_test_downward): Likewise.
41319 (tan_test_upward): Likewise.
41320 (main): Call the new functions.
41321 * sysdeps/i386/fpu/libm-test-ulps: Update.
41322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41325 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41326 small n, then large n, before computing and testing k+n.
41327 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41328 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41330 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41332 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41333 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41334 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41335 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41336 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41337 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41338 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41339 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41340 * math/libm-test.inc (scalbn_test): Add more tests.
41341 (scalbln_test): Likewise.
41343 * manual/filesys.texi (mode_t): Describe constraints on size and
41344 signedness, not exact equivalence to a particular type.
41346 (ino64_t): Likewise.
41348 (nlink_t): Likewise.
41349 (blkcnt_t): Likewise.
41350 (blkcnt64_t): Likewise.
41351 * manual/llio.texi (off_t): Likewise.
41354 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41355 (__ieee754_exp): Save and restore rounding mode and use
41356 round-to-nearest for all computations.
41357 * math/libm-test.inc (exp_test_tonearest): New function.
41358 (exp_test_towardzero): Likewise.
41359 (exp_test_downward): Likewise.
41360 (exp_test_upward): Likewise.
41361 (main): Call the new functions.
41362 * sysdeps/i386/fpu/libm-test-ulps: Update.
41363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41365 2012-03-01 Chris Demetriou <cgd@google.com>
41367 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41368 have predictable order.
41370 2012-03-01 David S. Miller <davem@davemloft.net>
41372 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41374 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41375 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41376 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41377 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41379 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41380 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41381 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41383 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41384 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41385 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41386 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41387 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41391 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41392 * sysdeps/sparc/fpu/libm-test-ulps: to here.
41393 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41395 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41396 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41397 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41398 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41399 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41400 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41401 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41402 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41403 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41404 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41405 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41406 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41407 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41408 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41409 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41410 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41411 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41412 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41413 * sysdeps/sparc/elf/configure: Regenerated.
41415 2012-03-01 Joseph Myers <joseph@codesourcery.com>
41417 * configure.in (AS, LD): Require binutils 2.20 or later.
41418 * configure: Regenerated.
41419 * manual/install.texi (Tools for Compilation): Give binutils 2.20
41420 as required minimum version.
41421 * INSTALL: Regenerated.
41425 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41426 before squaring exponent.
41427 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41428 bottom long double and 27 bits of top long double before squaring
41430 * math/libm-test.inc (erfc_test): Add more tests.
41431 * sysdeps/i386/fpu/libm-test-ulps: Update.
41432 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41435 2012-03-01 Kai Tietz <ktietz@redhat.com>
41437 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41438 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41439 containing bit-fields.
41440 * soft-fp/extended.h (_FP_UNION_E): Likewise.
41441 * soft-fp/single.h (_FP_UNION_S): Likewise.
41442 * soft-fp/double.h (_FP_UNION_D): Likewise.
41444 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41447 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41448 not include ../strcmp.S.
41449 [USE_AS_STRNCASECMP_L]: Likewise.
41450 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41451 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41452 * sysdeps/i386/i686/multiarch/strncase_l-c.c
41453 (__strncasecmp_l_ia32): Define as alias to
41454 __strncasecmp_l_nonascii.
41457 * math/libm-test.inc (expm1_test): Add test for bug 5794.
41458 * sysdeps/i386/fpu/libm-test-ulps: Update.
41459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41461 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41464 2012-02-29 Jeff Law <law@redhat.com>
41466 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41467 out of bounds read.
41469 2012-02-29 Marek Polacek <polacek@redhat.com>
41472 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41473 * elf/Makefile: Add rules to run tst-unused-dep.out.
41475 2012-02-28 David S. Miller <davem@davemloft.net>
41477 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41478 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41479 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41480 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41481 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41482 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41484 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41486 * math/libm-test.inc (llround_test): Move one test from
41487 lround_test. Use TEST_f_L in moved test.
41488 (lround_test): Move misplaced test to llround_test. Add testcase
41491 2012-02-28 Ulrich Drepper <drepper@gmail.com>
41493 * sysdeps/x86_64/fpu/e_expf.S: New file.
41494 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41496 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
41499 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41500 of remain_len that may cause incomplete multi-byte character and
41502 * posix/bug-regex33.c: New file.
41503 * posix/Makefile (tests): Add bug-regex33.
41505 2012-02-28 Joseph Myers <joseph@codesourcery.com>
41507 * manual/macros.texi: New file.
41508 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41509 * manual/libc.texinfo: Include macros.texi.
41510 * manual/creatute.texi: Likewise.
41511 * manual/install.texi: Likewise.
41512 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41513 @glibcadj{} in references to the GNU C Library.
41514 * manual/charset.texi: Likewise.
41515 * manual/conf.texi: Likewise.
41516 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
41517 when not using those macros.
41518 * manual/creature.texi: Likewise.
41519 * manual/crypt.texi: Likewise.
41520 * manual/errno.texi: Likewise.
41521 * manual/filesys.texi: Likewise.
41522 * manual/header.texi: Likewise.
41523 * manual/install.texi: Likewise.
41524 * manual/intro.texi: Likewise.
41525 * manual/io.texi: Likewise.
41526 * manual/job.texi: Likewise.
41527 * manual/lang.texi: Likewise.
41528 * manual/libc.texiinfo: Likewise.
41529 * manual/llio.texi: Likewise.
41530 * manual/locale.texi: Likewise.
41531 * manual/maint.texi: Likewise.
41532 * manual/math.texi: Likewise.
41533 * manual/memory.texi: Likewise.
41534 * manual/message.texi: Likewise.
41535 * manual/nss.texi: Likewise.
41536 * manual/pattern.texi: Likewise.
41537 * manual/process.texi: Likewise.
41538 * manual/resource.texi: Likewise.
41539 * manual/search.texi: Likewise.
41540 * manual/setjmp.texi: Likewise.
41541 * manual/signal.texi: Likewise.
41542 * manual/socket.texi: Likewise.
41543 * manual/startup.texi: Likewise.
41544 * manual/stdio.texi: Likewise.
41545 * manual/string.texi: Likewise.
41546 * manual/sysinfo.texi: Likewise.
41547 * manual/syslog.texi: Likewise.
41548 * manual/terminal.texi: Likewise.
41549 * manual/time.texi: Likewise.
41550 * manual/users.texi: Likewise.
41551 * INSTALL: Regenerated.
41552 * NOTES: Regenerated.
41553 * sysdeps/gnu/errlist.c: Regenerated.
41555 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
41557 * include/dirent.h: Include <dirstream.h> before
41560 2012-02-28 David S. Miller <davem@davemloft.net>
41562 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41563 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41564 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41565 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41567 2012-02-27 David S. Miller <davem@davemloft.net>
41569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41571 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41572 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41575 frame pointer instead of stack pointer relative arg slot.
41576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41577 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41578 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41580 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
41583 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41585 2012-02-27 David S. Miller <davem@davemloft.net>
41587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41591 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41592 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41593 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41594 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41596 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41598 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41599 later. Allow versions 5-9.
41600 * configure: Regenerated.
41601 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41602 required minimum version and 4.6 as recommended version. Do not
41603 mention bugs in GCC 2.7 and 2.8.
41604 * INSTALL: Regenerated.
41606 2012-02-27 David S. Miller <davem@davemloft.net>
41608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41612 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41613 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41614 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41615 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41617 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41618 manipulate bits before adding and subtracting TWO112[sx].
41619 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41621 2012-02-27 Roland McGrath <roland@hack.frob.com>
41624 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41625 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41626 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41627 being in POSIX, because they are in 1003.1-2008.
41629 * rt/tst-aio.c: Include <fcntl.h>.
41630 * rt/tst-aio7.c: Likewise.
41631 * rt/tst-aio64.c: Likewise.
41633 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41635 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41637 * manual/install.texi (--with-headers): Describe headers as
41638 interface headers, not private headers.
41639 (Specific advice for GNU/Linux systems): Describe use of headers
41640 from "make headers_install", not private headers from older
41642 * INSTALL: Regenerated.
41643 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41645 * sysdeps/unix/sysv/linux/configure: Regenerated.
41647 * manual/llio.texi (fclean): Remove documentation.
41649 * manual/Makefile (libc-texi-generated): New variable. Include
41651 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41652 $(libc-texi-generated), not duplicated list of files.
41653 (version.texi, stamp-version): New rules.
41654 (realclean): Remove $(libc-texi-generated), not individual files
41655 from that list. Do not remove dir-add.texinfo.
41656 * manual/libc.texinfo: Comment out uses of edition numbers and
41657 references to printed manual. Remove last-updated dates.
41658 (EDITION): Comment out.
41660 (VERSION, UPDATED): Remove.
41661 (version.texi): Include.
41663 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
41665 * sysdeps/posix/spawni.c: Include <signal.h>.
41666 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41667 * sysdeps/pthread/aio_fsync.c: Likewise.
41669 2012-02-26 Ulrich Drepper <drepper@gmail.com>
41671 * conform/Makefile (tests): Run only when not cross-compiling and
41672 when fast-check is not defined.
41674 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41675 * conform/data/limits.h-data: Fixes for POSIX2008.
41676 * conform/run-conformtest.sh: Run all tests.
41677 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41679 * include/bits/dlfcn.h: Likewise.
41680 * include/langinfo.h: Likewise.
41681 * include/monetary.h: Likewise.
41682 * include/sys/poll.h: Likewise.
41684 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41686 * posix/spawn.h: Define __need_sigset_t.
41687 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41688 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41689 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
41690 to get sigevent_t only.
41691 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41692 only for __USE_GNU.
41693 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41694 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41695 process_vm_writev only for __USE_GNU.
41696 * termios/termios.h: Declare tcgetsid also for POSIX2008.
41698 * conform/Makefile: For now ignore errors from run-conformtest.
41699 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
41700 POSIX to avoid namespace pollution. Don't prepend headers.
41701 * conform/data/aio.h-data: Fixes for POSIX testing.
41702 * conform/data/fcntl.h-data: Likewise.
41703 * conform/data/glob.h-data: Likewise.
41704 * conform/data/grp.h-data: Likewise.
41705 * conform/data/pthread.h-data: Likewise.
41706 * conform/data/pwd.h-data: Likewise.
41707 * conform/data/signal.h-data: Likewise.
41708 * conform/data/spawn.h-data: Likewise.
41709 * conform/data/stdio.h-data: Likewise.
41710 * conform/data/stdlib.h-data: Likewise.
41711 * conform/data/stropts.h-data: Likewise.
41712 * conform/data/sys/mman.h-data: Likewise.
41713 * conform/data/sys/stat.h-data: Likewise.
41714 * conform/data/sys/types.h-data: Likewise.
41715 * conform/data/sys/wait.h-data: Likewise.
41716 * conform/data/time.h-data: Likewise.
41717 * conform/data/unistd.h-data: Likewise.
41718 * conform/data/utime.h-data: Likewise.
41720 * io/sys/stat.h: fchmod was always in POSIX.
41721 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41722 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41723 * rt/aio.h: Define __need_timespec before including <time.h>.
41724 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41725 struct. Add forward declaration of pthread_attr_t and use it in
41727 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41728 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41729 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41730 always remove CLK_TCK definition.
41732 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41734 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41736 2012-02-25 Ulrich Drepper <drepper@gmail.com>
41738 * conform/run-conformtest.sh: New file.
41739 * conform/Makefile: Run run-conformtest for tests.
41740 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41743 * conform/data/uchar.h-data: New file.
41744 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41745 * conform/data/arpa/inet.h-data: Likewise.
41746 * conform/data/assert.h-data: Likewise.
41747 * conform/data/complex.h-data: Likewise.
41748 * conform/data/cpio.h-data: Likewise.
41749 * conform/data/ctype.h-data: Likewise.
41750 * conform/data/dirent.h-data: Likewise.
41751 * conform/data/dlfcn.h-data: Likewise.
41752 * conform/data/errno.h-data: Likewise.
41753 * conform/data/fcntl.h-data: Likewise.
41754 * conform/data/float.h-data: Likewise.
41755 * conform/data/fmtmsg.h-data: Likewise.
41756 * conform/data/fnmatch.h-data: Likewise.
41757 * conform/data/ftw.h-data: Likewise.
41758 * conform/data/glob.h-data: Likewise.
41759 * conform/data/grp.h-data: Likewise.
41760 * conform/data/iconv.h-data: Likewise.
41761 * conform/data/inttypes.h-data: Likewise.
41762 * conform/data/langinfo.h-data: Likewise.
41763 * conform/data/libgen.h-data: Likewise.
41764 * conform/data/limits.h-data: Likewise.
41765 * conform/data/locale.h-data: Likewise.
41766 * conform/data/math.h-data: Likewise.
41767 * conform/data/monetary.h-data: Likewise.
41768 * conform/data/mqueue.h-data: Likewise.
41769 * conform/data/ndbm.h-data: Likewise.
41770 * conform/data/net/if.h-data: Likewise.
41771 * conform/data/netdb.h-data: Likewise.
41772 * conform/data/netinet/in.h-data: Likewise.
41773 * conform/data/nl_types.h-data: Likewise.
41774 * conform/data/poll.h-data: Likewise.
41775 * conform/data/pthread.h-data: Likewise.
41776 * conform/data/pwd.h-data: Likewise.
41777 * conform/data/regex.h-data: Likewise.
41778 * conform/data/sched.h-data: Likewise.
41779 * conform/data/search.h-data: Likewise.
41780 * conform/data/semaphore.h-data: Likewise.
41781 * conform/data/setjmp.h-data: Likewise.
41782 * conform/data/signal.h-data: Likewise.
41783 * conform/data/spawn.h-data: Likewise.
41784 * conform/data/stdarg.h-data: Likewise.
41785 * conform/data/stdio.h-data: Likewise.
41786 * conform/data/stdlib.h-data: Likewise.
41787 * conform/data/string.h-data: Likewise.
41788 * conform/data/strings.h-data: Likewise.
41789 * conform/data/stropts.h-data: Likewise.
41790 * conform/data/sys/ipc.h-data: Likewise.
41791 * conform/data/sys/mman.h-data: Likewise.
41792 * conform/data/sys/msg.h-data: Likewise.
41793 * conform/data/sys/resource.h-data: Likewise.
41794 * conform/data/sys/select.h-data: Likewise.
41795 * conform/data/sys/sem.h-data: Likewise.
41796 * conform/data/sys/shm.h-data: Likewise.
41797 * conform/data/sys/socket.h-data: Likewise.
41798 * conform/data/sys/stat.h-data: Likewise.
41799 * conform/data/sys/statvfs.h-data: Likewise.
41800 * conform/data/sys/time.h-data: Likewise.
41801 * conform/data/sys/timeb.h-data: Likewise.
41802 * conform/data/sys/times.h-data: Likewise.
41803 * conform/data/sys/types.h-data: Likewise.
41804 * conform/data/sys/uio.h-data: Likewise.
41805 * conform/data/sys/un.h-data: Likewise.
41806 * conform/data/sys/utsname.h-data: Likewise.
41807 * conform/data/sys/wait.h-data: Likewise.
41808 * conform/data/syslog.h-data: Likewise.
41809 * conform/data/tar.h-data: Likewise.
41810 * conform/data/termios.h-data: Likewise.
41811 * conform/data/utime.h-data: Likewise.
41812 * conform/data/utmpx.h-data: Likewise.
41813 * conform/data/varargs.h-data: Likewise.
41814 * conform/data/wchar.h-data: Likewise.
41815 * conform/data/wctype.h-data: Likewise.
41816 * conform/data/wordexp.h-data: Likewise.
41818 * include/stropts.h: New file.
41819 * include/uchar.h: New file.
41820 * include/aio.h: Changes to allow conformtest.pl to use the headers.
41821 * include/assert.h: Likewise.
41822 * include/ctype.h: Likewise.
41823 * include/dirent.h: Likewise.
41824 * include/dlfcn.h: Likewise.
41825 * include/fcntl.h: Likewise.
41826 * include/fnmatch.h: Likewise.
41827 * include/glob.h: Likewise.
41828 * include/grp.h: Likewise.
41829 * include/libio.h: Likewise.
41830 * include/locale.h: Likewise.
41831 * include/math.h: Likewise.
41832 * include/net/if.h: Likewise.
41833 * include/netdb.h: Likewise.
41834 * include/netinet/in.h: Likewise.
41835 * include/pthread.h: Likewise.
41836 * include/pwd.h: Likewise.
41837 * include/regex.h: Likewise.
41838 * include/sched.h: Likewise.
41839 * include/search.h: Likewise.
41840 * include/setjmp.h: Likewise.
41841 * include/signal.h: Likewise.
41842 * include/stdio.h: Likewise.
41843 * include/stdlib.h: Likewise.
41844 * include/string.h: Likewise.
41845 * include/sys/cdefs.h: Likewise.
41846 * include/sys/mman.h: Likewise.
41847 * include/sys/msg.h: Likewise.
41848 * include/sys/resource.h: Likewise.
41849 * include/sys/select.h: Likewise.
41850 * include/sys/socket.h: Likewise.
41851 * include/sys/stat.h: Likewise.
41852 * include/sys/statvfs.h: Likewise.
41853 * include/sys/time.h: Likewise.
41854 * include/sys/times.h: Likewise.
41855 * include/sys/uio.h: Likewise.
41856 * include/sys/utsname.h: Likewise.
41857 * include/sys/wait.h: Likewise.
41858 * include/termios.h: Likewise.
41859 * include/time.h: Likewise.
41860 * include/ulimit.h: Likewise.
41861 * include/unistd.h: Likewise.
41862 * include/utime.h: Likewise.
41863 * include/wchar.h: Likewise.
41864 * include/wctype.h: Likewise.
41865 * include/wordexp.h: Likewise.
41867 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41869 * time/time.h: TIME_UTC must be a macro.
41870 Make timespec_get available for ISO C11 only as well.
41872 2012-02-24 Ulrich Drepper <drepper@gmail.com>
41874 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41875 Reported by Peng Haitao <penght@cn.fujitsu.com>.
41877 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41879 * configure.in: Use -o not -a in test for unsupported multi-arch.
41881 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41883 * manual/texinfo.tex: Update to version 2012-01-19.16.
41885 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41887 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41889 2012-02-24 Roland McGrath <roland@hack.frob.com>
41892 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41893 * manual/fdl-1.3.texi: New file.
41894 * manual/fdl-1.1.texi: File removed.
41897 * manual/libc.texinfo (FDL_VERSION): New @set.
41898 Use it for mention of FDL in cover text.
41899 (Documentation License): Use it in @include file name.
41901 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41902 Roland McGrath <roland@hack.frob.com>
41905 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41906 (not LONG_LONG_MAX and LONG_LONG_MIN.
41907 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41908 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
41910 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41912 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41916 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41917 manipulate bits before adding and subtracting TWO23[sx].
41918 * math/libm-test.inc (nearbyint_test): Add more tests.
41920 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41923 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41924 bits before adding and subtracting TWO23[sx].
41925 * math/libm-test.inc (rint_test): Add more tests.
41926 (rint_test_tonearest): Likewise.
41927 (rint_test_towardzero): Likewise.
41928 (rint_test_downward): Likewise.
41929 (rint_test_upward: Likewise.
41931 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41934 * include/stdc-predef.h: New file. Extracted from features.h.
41935 * include/features.h: Include stdc-predef.h.
41936 * Makefile (headers): Add stdc-predef.h.
41937 * CONFORMANCE (Compiler limitations): Update.
41939 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41941 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41943 2012-02-21 David S. Miller <davem@davemloft.net>
41945 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41946 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41948 2012-02-20 David S. Miller <davem@davemloft.net>
41950 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41951 using a normal save/restore sequence, rather than allocating a
41952 dummy stack frame just to store a frame pointer and restore.
41953 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41955 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41957 * manual/install.texi: Fix stray word in line-wrapped comment.
41959 2012-02-20 David S. Miller <davem@davemloft.net>
41961 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41962 both binutils and gcc support GOTDATA.
41964 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41965 "rd %pc" in the PIC register setup sequences.
41967 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41968 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41969 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41970 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41971 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41972 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41973 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41974 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41975 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41976 (SYSCALL_ERROR_HANDLER): Likewise.
41977 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41978 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41979 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41980 (SYSCALL_ERROR_HANDLER): Likewise.
41982 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41983 (HAVE_GCC_GOTDATA): New.
41984 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41985 relocation support in both binutils and gcc.
41986 * sysdeps/sparc/elf/configure: Regenerate.
41988 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41989 * sysdeps/sparc/sparc32/elf/configure: Delete.
41990 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41991 * sysdeps/sparc/sparc64/elf/configure: Delete.
41992 * sysdeps/sparc/elf/configure.in: New file.
41993 * sysdeps/sparc/elf/configure: Generate.
41995 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41996 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41997 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41998 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41999 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42001 2012-02-21 Joseph Myers <joseph@codesourcery.com>
42003 * manual/install.texi: Do not mention specific glibc version
42005 * manual/libc.texinfo (VERSION, UPDATED): Update.
42006 (@copying): Use @copyright{} and range of years.
42008 2012-02-21 Joseph Myers <joseph@codesourcery.com>
42011 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42012 [crti.S not in sysdirs] (generated): Do not append.
42013 [crti.S not in sysdirs] (omit-deps): Likewise.
42014 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42015 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42016 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42017 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42018 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42020 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42021 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42022 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42023 * csu/defs.awk: Remove file.
42024 * sysdeps/generic/initfini.c: Likewise.
42025 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42027 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42030 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42032 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42033 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42034 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42035 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42036 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42037 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42039 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42040 (__EPOLL_PACKED): Define to empty if not defined by
42042 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42043 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42046 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42048 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42049 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42050 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42051 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42053 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42054 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42057 2012-02-20 Joseph Myers <joseph@codesourcery.com>
42059 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42061 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42062 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42063 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42066 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
42068 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42069 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42071 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
42073 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42074 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42076 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42078 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42081 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
42083 * math/w_acos.c: Use non-signaling floating-point comparisons.
42084 * math/w_acosf.c: Likewise.
42085 * math/w_acosh.c: Likewise.
42086 * math/w_acoshf.c: Likewise.
42087 * math/w_acoshl.c: Likewise.
42088 * math/w_acosl.c: Likewise.
42089 * math/w_asin.c: Likewise.
42090 * math/w_asinf.c: Likewise.
42091 * math/w_asinl.c: Likewise.
42092 * math/w_atanh.c: Likewise.
42093 * math/w_atanhf.c: Likewise.
42094 * math/w_atanhl.c: Likewise.
42095 * math/w_exp2.c: Likewise.
42096 * math/w_exp2f.c: Likewise.
42097 * math/w_exp2l.c: Likewise.
42098 * math/w_j0.c: Likewise.
42099 * math/w_j0f.c: Likewise.
42100 * math/w_j0l.c: Likewise.
42101 * math/w_j1.c: Likewise.
42102 * math/w_j1f.c: Likewise.
42103 * math/w_j1l.c: Likewise.
42104 * math/w_jn.c: Likewise.
42105 * math/w_jnf.c: Likewise.
42106 * math/w_log.c: Likewise.
42107 * math/w_log10.c: Likewise.
42108 * math/w_log10f.c: Likewise.
42109 * math/w_log10l.c: Likewise.
42110 * math/w_log2.c: Likewise.
42111 * math/w_log2f.c: Likewise.
42112 * math/w_log2l.c: Likewise.
42113 * math/w_logf.c: Likewise.
42114 * math/w_logl.c: Likewise.
42115 * math/w_sqrt.c: Likewise.
42116 * math/w_sqrtf.c: Likewise.
42117 * math/w_sqrtl.c: Likewise.
42118 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42119 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42120 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42121 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42122 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42124 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42127 * manual/string.texi (strnlen): Use correct parameter name in
42128 equivalent expression.
42130 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42133 * manual/users.texi (seteuid): Consistently use neweuid for
42136 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42139 * manual/nss.texi (Services in the NSS configuration): Correct
42140 list of services in example configuration file.
42142 2012-02-19 Nick Bowler <nbowler@draconx.ca>
42145 * manual/arith.texi: Remove statements about negative zero
42146 behaving identically to zero.
42148 2012-02-18 Joseph Myers <joseph@codesourcery.com>
42151 * manual/install.texi: Do not document upgrading from libc5.
42153 2012-02-18 Joseph Myers <joseph@codesourcery.com>
42156 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42158 2012-02-18 David S. Miller <davem@davemloft.net>
42160 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42161 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42162 %o7 across the call.
42163 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42165 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42166 SETUP_PIC_REG_LEAF.
42167 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42168 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42169 * sysdeps/sparc/crtn.S: Likewise.
42171 2012-02-17 Ulrich Drepper <drepper@gmail.com>
42173 * aout/Makefile: Remove.
42175 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
42178 * manual/examples/argp-ex1.c (main): Format definition in GNU
42180 * manual/examples/argp-ex2.c (main): Likewise.
42181 * manual/examples/argp-ex3.c (main): Likewise.
42182 * manual/examples/argp-ex4.c (main): Likewise.
42183 * manual/examples/longopt.c (main): Use new-style prototype
42185 * manual/examples/strncat.c (main): Specify return type and use
42186 (void) for arguments.
42187 * manual/examples/subopt.c (main): Use char **argv argument.
42189 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42192 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42195 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
42198 * manual/string.texi (strchr): Change when strchrnul is
42201 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
42204 * manual/locale.texi (setlocale): Document LOCPATH.
42206 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42209 * manual/process.texi (execle): Move @dots{} before last argument.
42211 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
42214 * manual/charset.texi (Generic Charset Conversion): Fix typo
42215 (LC_TYPE -> LC_CTYPE).
42217 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
42220 * manual/arith.texi (scalbn): Use @var{} on parameter names.
42221 (scalbnf): Likewise.
42222 (scalbnl): Likewise.
42223 (scalbln): Likewise.
42224 (scalblnf): Likewise.
42225 (scalblnl): Likewise.
42226 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42227 (vwarnx): Likewise.
42230 * manual/filesys.texi (telldir): Use braces around return type.
42231 * manual/llio.texi (mmap): Add space after comma.
42232 (mmap64): Likewise.
42233 * manual/math.texi (jn): Use @var{} on parameter names.
42239 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42241 * manual/resource.texi (ulimit): Use @dots{} instead of literal
42243 (sched_get_priority_min): Remove semicolon on @deftypefun line.
42244 (sched_get_priority_max): Likewise.
42245 * manual/signal.texi (sigvec): Add space after comma.
42246 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42248 (if_indextoname): Likewise.
42249 (if_freenameindex): Likewise.
42250 (sendto): Use ',' instead of '.' in prototype.
42251 * manual/startup.texi (syscall): Use @dots{} instead of literal
42253 * manual/stdio.texi (__fpending): Separate initial words of
42254 paragraph from @deftypefun line.
42255 * manual/syslog.texi (syslog): Use @dots{} instead of literal
42257 (vsyslog): Use @var{} on parameter names.
42258 * manual/terminal.texi (stty): Use @var{} on parameter names.
42259 * manual/users.texi (getutmp): Use @var{} on parameter names.
42260 (getutmpx): Likewise.
42262 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42265 * manual/stdio.texi (fopen): Fix typos in description of
42268 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
42271 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42272 get clock_id definition.
42274 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
42277 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42278 (madvise): Cast every argument to void on its own.
42280 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42283 * manual/startup.texi (Exit Status): Fix typo.
42285 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42288 * manual/examples/argp-ex1.c: Include <stdlib.h>.
42289 * manual/examples/argp-ex2.c: Likewise.
42290 * manual/examples/argp-ex3.c: Likewise.
42292 2012-02-16 Richard Henderson <rth@redhat.com>
42294 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42295 * sysdeps/s390/s390-32/initfini.c: Remove.
42296 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42297 * sysdeps/s390/s390-64/initfini.c: Remove.
42299 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42301 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42302 compiler output for sysdeps/generic/initfini.c.
42303 * sysdeps/sh/elf/initfini.c: Remove file.
42305 2012-02-16 David S. Miller <davem@davemloft.net>
42308 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42310 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42311 * sysdeps/sparc/crti.S: New file.
42312 * sysdeps/sparc/crtn.S: New file.
42313 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42314 * sysdeps/sparc/sparc64/Makefile: Likewise.
42316 2012-02-15 Mike Frysinger <vapier@gentoo.org>
42319 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42321 2012-02-15 Roland McGrath <roland@hack.frob.com>
42324 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42326 * mach/devstream.c (cookie_io_functions_t): Macro removed.
42327 (write, read, close): Likewise.
42328 Patch by Aurelien Jarno <aurelien@aurel32.net>.
42330 2012-02-15 Joseph Myers <joseph@codesourcery.com>
42332 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42333 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42334 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42335 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42337 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42338 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42341 2012-02-14 Marek Polacek <polacek@redhat.com>
42343 * sysdeps/x86_64/crti.S: New file.
42344 * sysdeps/x86_64/crtn.S: New file.
42345 * sysdeps/x86_64/elf/initfini.c: Remove file.
42347 2012-02-13 Joseph Myers <joseph@codesourcery.com>
42349 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42350 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42351 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42352 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42354 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42355 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42358 2012-02-13 Joseph Myers <joseph@codesourcery.com>
42360 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42361 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42362 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42363 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42365 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42366 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42369 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
42371 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42372 __feraiseexcept instead of feraiseexcept.
42374 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42375 nanosleep invocations.
42376 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42377 strings, and add error checking for a nanosleep invocations.
42379 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
42381 Replace FSF snail mail address with URLs, as per GNU coding standards.
42382 Most of the snail mail addresses were wrong anyway, and omitting
42383 them makes the source code easier to maintain. Almost all of the
42384 changes are to license notices and to locale LC_IDENTIFICATION
42385 addresses, except for this one:
42386 * manual/libc.texinfo: In "Published by", give the FSF's URL,
42387 not its snail mail address.
42389 2012-02-09 Richard Henderson <rth@twiddle.net>
42391 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42392 of kernel-features.h.
42394 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42396 2012-02-08 Marek Polacek <polacek@redhat.com>
42398 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42399 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42400 * sysdeps/gnu/_G_config.h: Likewise.
42401 * sysdeps/generic/_G_config.h: Likewise.
42403 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
42405 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42409 * sysdeps/powerpc/powerpc32/crti.S: New file.
42410 * sysdeps/powerpc/powerpc32/crtn.S: New file.
42411 * sysdeps/powerpc/powerpc64/crti.S: New file.
42412 * sysdeps/powerpc/powerpc64/crtn.S: New file.
42414 * Makeconfig (have-initfini): Don't set.
42415 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42416 * configure.in (nopic_initfini): Don't substitute.
42417 * config.h.in (HAVE_INITFINI): Don't #undef.
42418 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42419 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42421 2012-02-08 Joseph Myers <joseph@codesourcery.com>
42423 Support crti.S and crtn.S provided directly by architectures.
42424 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42425 [crti.S in sysdirs] (omit-deps): Likewise.
42426 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42427 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42428 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42429 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42430 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42431 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42432 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42433 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42434 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42435 compiler output for sysdeps/generic/initfini.c.
42436 * sysdeps/i386/elf/Makefile: Remove file.
42437 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42439 2012-02-07 Marek Polacek <polacek@redhat.com>
42441 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42442 * sysdeps/gnu/_G_config.h: Likewise.
42443 * sysdeps/mach/hurd/_G_config.h: Likewise.
42445 2012-02-07 Marek Polacek <polacek@redhat.com>
42447 * math/Makefile (tests): Add tst-CMPLX2.
42448 * math/tst-CMPLX2.c: New file.
42450 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
42452 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42454 * math/libm-test.inc (jn_test): Add missing L suffix.
42456 2012-02-06 Marek Polacek <polacek@redhat.com>
42458 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42459 * sysdeps/i386/fpu/e_powf.S: Likewise.
42460 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42461 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42462 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42463 * sysdeps/i386/fpu/e_pow.S: Likewise.
42464 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42465 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42466 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42467 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42468 * sysdeps/i386/fpu/e_log2.S: Likewise.
42469 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42470 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42471 * sysdeps/i386/fpu/e_powl.S: Likewise.
42472 * sysdeps/i386/fpu/s_log1p.S: Likewise.
42473 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42474 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42475 * sysdeps/i386/fpu/e_logl.S: Likewise.
42476 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42477 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42478 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42479 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42480 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42481 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42482 * sysdeps/i386/fpu/e_log.S: Likewise.
42483 * sysdeps/i386/fpu/s_cexp.S: Likewise.
42484 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42485 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42486 * sysdeps/i386/fpu/e_logf.S: Likewise.
42487 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42488 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42489 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42490 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42491 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42492 * sysdeps/i386/fpu/e_log10.S: Likewise.
42493 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42494 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42495 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42496 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42497 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42498 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42499 * sysdeps/i386/asm-syntax.h: Likewise.
42500 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42501 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42502 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42503 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42504 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42505 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42506 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42507 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42508 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42509 * sysdeps/powerpc/sysdep.h: Likewise.
42510 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42511 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42513 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42516 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42518 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42520 * sysdeps/i386/sysdep.h: Include <features.h>.
42521 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42524 2012-02-05 Joseph Myers <joseph@codesourcery.com>
42526 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42528 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42531 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42533 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42534 (SETUP_PIC_REG): Use GET_PC_THUNK.
42535 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42538 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42540 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42541 for non-PIC compilation.
42542 (SETUP_PIC_REG): Add .p2align directive.
42543 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42544 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42545 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42546 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42547 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42548 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42549 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42550 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42551 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42552 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42553 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42554 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42555 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42556 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42557 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42558 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42559 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42560 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42561 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42562 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42563 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42564 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42565 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42566 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42567 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42568 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42569 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42570 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42571 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42572 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42573 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42574 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42575 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42576 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42577 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42578 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42579 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42580 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42581 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42582 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42583 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42585 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42587 * math/tst-CMPLX.c: Include <stdio.h>.
42589 2012-01-31 Joseph Myers <joseph@codesourcery.com>
42591 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42593 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42594 * sysdeps/sparc/bits/mathdef.h: Likewise.
42596 2012-01-31 Marek Polacek <polacek@redhat.com>
42598 * libio/libio.h: Don't define _PARAMS.
42599 * locale/programs/config.h: Don't define PARAMS.
42600 * stdlib/strtol_l.c: Likewise.
42601 (__strtol_l): Remove PARAMS from the prototype.
42603 2012-01-31 Ulrich Drepper <drepper@gmail.com>
42605 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
42606 names. Just use the correct names. Remove unnecessary wrapper
42608 * malloc/arena.c: Likewise.
42609 * malloc/hooks.c: Likewise.
42611 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42612 ARENA_TEST says not to. Simplify test for creation of a new arena.
42613 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42615 2012-01-30 Ulrich Drepper <drepper@gmail.com>
42617 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42619 (update_get_addr): New function.
42620 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42621 GET_ADDR_MODULE parameter.
42623 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42625 * crypt/cert.c: Remove __STDC__ conditionals.
42626 * crypt/crypt-entry.c: Likewise.
42627 * crypt/crypt_util.c: Likewise.
42628 * libio/filedoalloc.c: Likewise.
42629 * libio/fileops.c: Likewise.
42630 * libio/genops.c: Likewise.
42631 * libio/iofclose.c: Likewise.
42632 * libio/iofdopen.c: Likewise.
42633 * libio/iofopen.c: Likewise.
42634 * libio/iofopen64.c: Likewise.
42635 * libio/iogetdelim.c: Likewise.
42636 * libio/iopopen.c: Likewise.
42637 * libio/obprintf.c: Likewise.
42638 * libio/oldfileops.c: Likewise.
42639 * libio/oldiofclose.c: Likewise.
42640 * libio/oldiofdopen.c: Likewise.
42641 * libio/oldiofopen.c: Likewise.
42642 * libio/oldiopopen.c: Likewise.
42643 * libio/wfiledoalloc.c: Likewise.
42644 * libio/wgenops.c: Likewise.
42645 * locale/programs/xmalloc.c: Likewise.
42646 * misc/syslog.c: Likewise.
42647 * stdio-common/xbug.c: Likewise.
42648 * string/memchr.c: Likewise.
42649 * string/memcmp.c: Likewise.
42650 * string/memrchr.c: Likewise.
42651 * string/rawmemchr.c: Likewise.
42652 * sysdeps/posix/getcwd.c: Likewise.
42653 * time/strftime_l.c: Likewise.
42655 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42657 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42658 * config.make.in (config-cflags-sse2avx): Define.
42659 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42662 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
42664 * scripts/config.guess: Update from upstream config git repository.
42665 * scripts/config.sub: Likewise.
42667 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
42669 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42671 (R_TILEPRO_*, R_TILEGX_*): New macros.
42673 * scripts/firstversions.awk: Fix bug in version range handling.
42675 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42677 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42679 * include/sys/epoll.h: New file.
42680 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42683 2012-01-28 Ulrich Drepper <drepper@gmail.com>
42685 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42686 Avoid unnecessary __WORDSIZE == 64 test.
42687 (fmaxf): Use VEX format if possible.
42692 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42693 * math/math_private.h: Remove libc_fegetround* and
42695 * sysdeps/i386/configure.in: Check for -msse2avx.
42696 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42697 also if SSE2AVX is defined.
42698 Remove libc_fegetround* and libc_fesetround*.
42699 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42700 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
42701 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42703 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42704 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42705 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42706 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42707 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42709 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42711 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42713 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42715 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42717 2012-01-27 Ulrich Drepper <drepper@gmail.com>
42720 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42722 * Makeconfig (libm): Define.
42723 * elf/Makefile: Add rules to build and run tst-relsort1.
42724 * elf/tst-relsort1.c: New file.
42725 * elf/tst-relsort1mod1.c: New file.
42726 * elf/tst-relsort1mod2.c: New file.
42728 2012-01-27 Joseph Myers <joseph@codesourcery.com>
42730 * math/s_ldexp.c: Remove __STDC__ conditionals.
42731 * math/s_ldexpf.c: Likewise.
42732 * math/s_ldexpl.c: Likewise.
42733 * math/s_nextafter.c: Likewise.
42734 * math/s_nexttowardf.c: Likewise.
42735 * math/s_significand.c: Likewise.
42736 * math/s_significandf.c: Likewise.
42737 * math/s_significandl.c: Likewise.
42738 * math/w_jnl.c: Likewise.
42739 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42740 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42741 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42742 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42743 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42744 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42745 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42746 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42747 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42748 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42749 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42750 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42751 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42752 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42753 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42754 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42755 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42756 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42757 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42758 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42759 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42760 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42761 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42762 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42763 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42764 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42765 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42766 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42767 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42768 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42769 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42770 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42771 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42772 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42773 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42774 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42775 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42776 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42777 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42778 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42779 * sysdeps/ieee754/k_standard.c: Likewise.
42780 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42781 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42782 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42783 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42784 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42785 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42786 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42787 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42788 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42789 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42790 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42791 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42792 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42793 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42794 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42795 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42796 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42797 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42798 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42799 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42800 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42801 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42802 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42803 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42804 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42805 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42806 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42807 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42808 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42809 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42810 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42811 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42812 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42813 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42814 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42815 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42816 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42817 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42818 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42819 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42820 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42821 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42822 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42823 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42824 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42825 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42826 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42827 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42828 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42829 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42830 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42831 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42832 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42833 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42834 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42835 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42836 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42837 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42838 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42839 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42840 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42841 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42842 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42843 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42844 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42845 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42846 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42847 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42848 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42849 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42850 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42851 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42852 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42853 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42854 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42855 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42856 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42857 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42858 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42859 * sysdeps/ieee754/s_matherr.c: Likewise.
42860 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42861 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42862 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42863 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42865 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42867 * crypt/md5.h: Remove __STDC__ conditionals.
42868 * libio/libioP.h: Likewise.
42869 * locale/programs/config.h: Likewise.
42870 * sysdeps/generic/sysdep.h: Likewise.
42871 * sysdeps/i386/asm-syntax.h: Likewise.
42872 * sysdeps/s390/asm-syntax.h: Likewise.
42873 * sysdeps/unix/sysdep.h: Likewise.
42874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42877 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42879 * libio/libio.h: Remove __STDC__ conditionals.
42880 * malloc/obstack.h: Likewise.
42881 * math/complex.h: Likewise.
42882 * math/math.h: Likewise.
42883 * sysdeps/generic/_G_config.h: Likewise.
42884 * sysdeps/gnu/_G_config.h: Likewise.
42885 * sysdeps/mach/hurd/_G_config.h: Likewise.
42886 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42887 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42888 * sysdeps/sparc/bits/mathdef.h: Likewise.
42890 2012-01-26 Ulrich Drepper <drepper@gmail.com>
42893 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42894 Clean up HAS_* macros.
42895 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42896 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42898 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42900 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42901 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42902 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42903 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42904 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42906 2012-01-25 Joseph Myers <joseph@codesourcery.com>
42908 * elf/tst-unique3.cc (gets): Remove declaration.
42909 * elf/tst-unique3lib.cc (gets): Likewise.
42910 * elf/tst-unique3lib2.cc (gets): Likewise.
42911 * elf/tst-unique4.cc (gets): Likewise.
42913 2012-01-24 Ulrich Drepper <drepper@gmail.com>
42915 * include/stdio.h: Add C++ protection. Add gets declarations and
42917 * debug/tst-chk1.c: Don't declare gets here.
42918 * stdio-common/tst-gets.c: Likewise.
42920 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42922 * posix/glob: Remove directory.
42924 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42926 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42928 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42930 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42931 of the non-standard EPFNOSUPPORT.
42933 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42935 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42936 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42937 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42939 2012-01-21 Ulrich Drepper <drepper@gmail.com>
42941 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42943 2012-01-20 Ulrich Drepper <drepper@gmail.com>
42945 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42947 * nscd/grpcache.c (cache_addgr): Likewise.
42948 * nscd/hstcache.c (cache_addhst): Likewise.
42949 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42950 * nscd/pwdcache.c (cache_addpw): Likewise.
42951 * nscd/servicescache.c (cache_addserv): Likewise.
42953 2012-01-16 Ulrich Drepper <drepper@gmail.com>
42955 * malloc/malloc.c: Various cleanups.
42956 * malloc/hooks.c: Likewise.
42958 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42959 * stdlib/bug-fmtmsg1.c: New file.
42961 * stdlib/fmtmsg.c (init): Add missing unlock.
42962 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42964 2012-01-12 Marek Polacek <polacek@redhat.com>
42966 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42969 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42971 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42972 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42973 macro to ensure uniqueness of label name.
42974 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42975 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42977 2012-01-11 Ulrich Drepper <drepper@gmail.com>
42979 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42981 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42982 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42983 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42984 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42986 2012-01-10 Ulrich Drepper <drepper@gmail.com>
42988 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42990 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42991 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42992 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42994 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42996 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42997 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42998 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42999 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
43001 * math/bits/math-finite.h: Add ldexp support.
43003 2012-01-10 Marek Polacek <polacek@redhat.com>
43005 * locale/programs/localedef.h (show_archive_content): Add noreturn
43008 2012-01-09 Ulrich Drepper <drepper@gmail.com>
43010 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43012 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43014 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43016 * io/Makefile (headers): Add bits/poll2.h.
43018 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
43020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43021 typo #include statement.
43023 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43025 * include/sys/cdefs.h: Define __attribute_alloc_size.
43026 * catgets/gencat.c: Add alloc_size attribute and apply consistently
43027 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43028 * elf/pldd.c: Likewise.
43029 * iconv/iconv_charmap.c: Likewise.
43030 * iconv/iconvconfig.c: Likewise.
43031 * iconv/strtab.c: Likewise.
43032 * locale/programs/locale.c: Likewise.
43033 * locale/programs/localedef.h: Likewise.
43034 * locale/programs/simple-hash.c: Likewise.
43035 * nscd/nscd.h: Likewise.
43036 * nss/makedb.c: Likewise.
43037 * sysdeps/generic/ldconfig.h: Likewise.
43038 * locale/programs/localedef.c: Remove xmalloc prototype.
43039 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43041 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43043 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43046 2012-01-08 Ulrich Drepper <drepper@gmail.com>
43048 * math/Makefile (tests): Add tst-CMPLX.
43049 * math/tst-CMPLX.c: New file.
43051 * math/complex.h (CMPLXL): Fix typo.
43053 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43054 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43056 * debug/tst-chk1.c: Add poll and ppoll tests.
43057 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43058 * include/sys/poll.h: Add hidden proto for ppoll.
43059 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43060 * sysdeps/mach/hurd/ppoll.c: Likewise.
43061 * io/ppoll.c: Likewise.
43062 * debug/poll_chk.c: New file.
43063 * debug/ppoll_chk.c: New file.
43064 * include/bits/poll2.h: New file.
43065 * io/bits/poll2.h: New file.
43068 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43070 * configure.in: static is always set to yes. Remove.
43071 * config.make.in: Don't set build-static.
43072 * Makeconfig: Remove use of build-static.
43073 * dlfcn/Makefile: Likewise.
43074 * elf/Makefile: Likewise.
43075 * math/Makefile: Likewise.
43076 * misc/Makefile: Likewise.
43077 * nptl/Makefile: Likewise.
43078 * sysdeps/mach/hurd/Makefile: Likewise.
43080 * configure.in: PWD_P is not used anymore.
43081 * config.make.in: Remove PWD_P entry.
43083 * configure.in: Remove last remnants of RANLIB.
43084 No need to check for signed size_t anymore.
43085 Don't set libc_commonpagesize and libc_relro_required here for Alpha
43087 Remove __builtin_expect test because we require at least gcc 3.4.
43088 * aclocal.m4: Likewise.
43090 * wcsmbs/mbrtoc16.c: Implement using towc function.
43091 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43092 * wcsmbs/wcsmbsload.c: Likewise.
43093 * iconv/gconv_simple.c: Likewise.
43094 * iconv/gconv_int.h: Likewise.
43095 * iconv/gconv_builtin.h: Likewise.
43096 * iconv/iconv_prog.c: Remove CHAR16 handling.
43098 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43100 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43102 * configure.in: Remove --with-elf and --enable-bounded options.
43103 Dont set base_machine for ia64. More non-ELF conditions removed.
43104 Remove testing and setting of leading underscore information.
43105 * config.make.in (build-bounded): Set to no.
43106 * config.h.in: Remove NO_UNDERSCORES entry.
43107 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
43109 * csu/start.c: Remove !NO_UNDERSCORE code.
43110 * locale/localeinfo.h: Likewise.
43111 * sysdeps/generic/machine-gmon.h: Likewise.
43112 * sysdeps/generic/sysdep.h: Likewise.
43113 * sysdeps/i386/sysdep.h: Likewise.
43114 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43115 * sysdeps/mach/sysdep.h: Likewise.
43116 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43117 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43118 * sysdeps/sh/sysdep.h: Likewise.
43119 * sysdeps/sparc/sparc32/alloca.S: Likewise.
43120 * sysdeps/unix/i386/sysdep.S: Likewise.
43121 * sysdeps/unix/sparc/start.c: Likewise.
43122 * sysdeps/unix/sparc/sysdep.S: Likewise.
43123 * sysdeps/unix/sparc/sysdep.h: Likewise.
43124 * sysdeps/unix/start.c: Likewise.
43125 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43126 * sysdeps/x86_64/sysdep.h: Likewise.
43128 2012-01-07 Ulrich Drepper <drepper@gmail.com>
43131 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43133 * argp/argp-fmtstream.h: Use const instead __const.
43134 * argp/argp.h: Likewise.
43135 * assert/assert.h: Likewise.
43136 * bits/fenv.h: Likewise.
43137 * bits/sched.h: Likewise.
43138 * bits/sigset.h: Likewise.
43139 * bits/sigthread.h: Likewise.
43140 * catgets/nl_types.h: Likewise.
43141 * conform/data/pthread.h-data: Likewise.
43142 * crypt/crypt-private.h: Likewise.
43143 * crypt/crypt.h: Likewise.
43144 * crypt/crypt_util.c: Likewise.
43145 * ctype/ctype.h: Likewise.
43146 * debug/execinfo.h: Likewise.
43147 * debug/mbsnrtowcs_chk.c: Likewise.
43148 * debug/mbsrtowcs_chk.c: Likewise.
43149 * debug/wcsnrtombs_chk.c: Likewise.
43150 * debug/wcsrtombs_chk.c: Likewise.
43151 * debug/wcstombs_chk.c: Likewise.
43152 * dirent/dirent.h: Likewise.
43153 * dlfcn/dlfcn.h: Likewise.
43154 * elf/neededtest4.c: Likewise.
43155 * grp/grp.h: Likewise.
43156 * gshadow/gshadow.h: Likewise.
43157 * iconv/gconv.h: Likewise.
43158 * iconv/gconv_int.h: Likewise.
43159 * iconv/gconv_simple.c: Likewise.
43160 * iconv/iconv.h: Likewise.
43161 * iconv/loop.c: Likewise.
43162 * iconv/skeleton.c: Likewise.
43163 * include/aio.h: Likewise.
43164 * include/aliases.h: Likewise.
43165 * include/argz.h: Likewise.
43166 * include/arpa/inet.h: Likewise.
43167 * include/assert.h: Likewise.
43168 * include/dirent.h: Likewise.
43169 * include/dlfcn.h: Likewise.
43170 * include/execinfo.h: Likewise.
43171 * include/fcntl.h: Likewise.
43172 * include/fenv.h: Likewise.
43173 * include/glob.h: Likewise.
43174 * include/grp.h: Likewise.
43175 * include/libintl.h: Likewise.
43176 * include/mntent.h: Likewise.
43177 * include/netdb.h: Likewise.
43178 * include/pwd.h: Likewise.
43179 * include/rpc/netdb.h: Likewise.
43180 * include/sched.h: Likewise.
43181 * include/search.h: Likewise.
43182 * include/shadow.h: Likewise.
43183 * include/signal.h: Likewise.
43184 * include/stdio.h: Likewise.
43185 * include/stdlib.h: Likewise.
43186 * include/string.h: Likewise.
43187 * include/sys/socket.h: Likewise.
43188 * include/sys/stat.h: Likewise.
43189 * include/sys/statfs.h: Likewise.
43190 * include/sys/statvfs.h: Likewise.
43191 * include/sys/syslog.h: Likewise.
43192 * include/sys/time.h: Likewise.
43193 * include/sys/uio.h: Likewise.
43194 * include/time.h: Likewise.
43195 * include/unistd.h: Likewise.
43196 * include/utmp.h: Likewise.
43197 * include/wchar.h: Likewise.
43198 * include/wctype.h: Likewise.
43199 * inet/aliases.h: Likewise.
43200 * inet/arpa/inet.h: Likewise.
43201 * inet/netinet/ether.h: Likewise.
43202 * inet/netinet/in.h: Likewise.
43203 * intl/libintl.h: Likewise.
43204 * io/bits/fcntl2.h: Likewise.
43205 * io/fcntl.h: Likewise.
43206 * io/ftw.h: Likewise.
43207 * io/sys/poll.h: Likewise.
43208 * io/sys/stat.h: Likewise.
43209 * io/sys/statfs.h: Likewise.
43210 * io/sys/statvfs.h: Likewise.
43211 * io/utime.h: Likewise.
43212 * libio/bits/stdio.h: Likewise.
43213 * libio/bits/stdio2.h: Likewise.
43214 * libio/libio.h: Likewise.
43215 * libio/libioP.h: Likewise.
43216 * libio/stdio.h: Likewise.
43217 * locale/lc-ctype.c: Likewise.
43218 * locale/locale.h: Likewise.
43219 * login/utmp.h: Likewise.
43220 * malloc/arena.c: Likewise.
43221 * malloc/malloc.c: Likewise.
43222 * malloc/malloc.h: Likewise.
43223 * malloc/mcheck.c: Likewise.
43224 * malloc/mtrace.c: Likewise.
43225 * math/bits/mathcalls.h: Likewise.
43226 * math/fenv.h: Likewise.
43227 * math/math_private.h: Likewise.
43228 * misc/bits/error.h: Likewise.
43229 * misc/bits/syslog.h: Likewise.
43230 * misc/err.h: Likewise.
43231 * misc/error.h: Likewise.
43232 * misc/fstab.h: Likewise.
43233 * misc/mntent.h: Likewise.
43234 * misc/regexp.h: Likewise.
43235 * misc/search.h: Likewise.
43236 * misc/sgtty.h: Likewise.
43237 * misc/sys/mman.h: Likewise.
43238 * misc/sys/syslog.h: Likewise.
43239 * misc/sys/uio.h: Likewise.
43240 * misc/sys/xattr.h: Likewise.
43241 * misc/ttyent.h: Likewise.
43242 * nis/rpcsvc/ypclnt.h: Likewise.
43243 * nss/nss.h: Likewise.
43244 * posix/bits/unistd.h: Likewise.
43245 * posix/fnmatch.h: Likewise.
43246 * posix/glob.h: Likewise.
43247 * posix/sched.h: Likewise.
43248 * posix/spawn.h: Likewise.
43249 * posix/sys/wait.h: Likewise.
43250 * posix/unistd.h: Likewise.
43251 * posix/wordexp.h: Likewise.
43252 * pwd/pwd.h: Likewise.
43253 * resolv/netdb.h: Likewise.
43254 * resource/sys/resource.h: Likewise.
43255 * rt/aio.h: Likewise.
43256 * rt/bits/mqueue2.h: Likewise.
43257 * rt/mqueue.h: Likewise.
43258 * shadow/shadow.h: Likewise.
43259 * signal/signal.h: Likewise.
43260 * socket/send.c: Likewise.
43261 * socket/sendto.c: Likewise.
43262 * socket/sys/socket.h: Likewise.
43263 * stdio-common/printf.h: Likewise.
43264 * stdlib/bits/stdlib.h: Likewise.
43265 * stdlib/fmtmsg.h: Likewise.
43266 * stdlib/monetary.h: Likewise.
43267 * stdlib/stdlib.h: Likewise.
43268 * stdlib/ucontext.h: Likewise.
43269 * streams/stropts.h: Likewise.
43270 * string/argz.h: Likewise.
43271 * string/bits/string2.h: Likewise.
43272 * string/string.h: Likewise.
43273 * string/strings.h: Likewise.
43274 * sunrpc/rpc/auth.h: Likewise.
43275 * sunrpc/rpc/auth_des.h: Likewise.
43276 * sunrpc/rpc/clnt.h: Likewise.
43277 * sunrpc/rpc/netdb.h: Likewise.
43278 * sunrpc/rpc/pmap_clnt.h: Likewise.
43279 * sunrpc/rpc/xdr.h: Likewise.
43280 * sysdeps/generic/inttypes.h: Likewise.
43281 * sysdeps/generic/net/if.h: Likewise.
43282 * sysdeps/generic/sys/swap.h: Likewise.
43283 * sysdeps/gnu/net/if.h: Likewise.
43284 * sysdeps/gnu/utmpx.h: Likewise.
43285 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43286 * sysdeps/i386/i486/bits/string.h: Likewise.
43287 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43288 * sysdeps/s390/bits/string.h: Likewise.
43289 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43290 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43291 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43292 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43293 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43294 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43295 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43296 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43297 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43298 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43299 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43300 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43301 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43302 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43303 * sysdeps/unix/sysv/linux/readv.c: Likewise.
43304 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43305 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43306 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43307 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43308 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43309 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43310 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43311 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43312 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43313 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43314 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43315 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43316 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43317 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43318 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43319 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43320 * sysvipc/sys/ipc.h: Likewise.
43321 * sysvipc/sys/msg.h: Likewise.
43322 * sysvipc/sys/sem.h: Likewise.
43323 * sysvipc/sys/shm.h: Likewise.
43324 * termios/termios.h: Likewise.
43325 * time/sys/time.h: Likewise.
43326 * time/time.h: Likewise.
43327 * wcsmbs/bits/wchar2.h: Likewise.
43328 * wcsmbs/uchar.h: Likewise.
43329 * wcsmbs/wchar.h: Likewise.
43330 * wctype/wctype.h: Likewise.
43333 * Makeconfig: Remove all but ELF support including AIX support.
43334 * Makerules: Likewise.
43335 * config.h.in: Likewise.
43336 * config.make.in: Likewise.
43337 * configure: Likewise.
43338 * configure.in: Likewise.
43339 * csu/Makefile: Likewise.
43340 * csu/version.c: Likewise.
43341 * debug/Makefile: Likewise.
43342 * dlfcn/Makefile: Likewise.
43343 * elf/Makefile: Likewise.
43344 * extra-lib.mk: Likewise.
43345 * iconv/Makefile: Likewise.
43346 * include/libc-symbols.h: Likewise.
43347 * include/shlib-compat.h: Likewise.
43348 * resolv/Makefile: Likewise.
43349 * resolv/res_libc.c: Likewise.
43350 * rt/Makefile: Likewise.
43351 * sysdeps/i386/asm-syntax.h: Likewise.
43352 * sysdeps/i386/sysdep.h: Likewise.
43353 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43354 * sysdeps/mach/sysdep.h: Likewise.
43355 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43356 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43357 * sysdeps/s390/asm-syntax.h: Likewise.
43358 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43359 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43360 * sysdeps/sh/sysdep.h: Likewise.
43361 * sysdeps/unix/sparc/sysdep.h: Likewise.
43362 * sysdeps/wordsize-32/divdi3.c: Likewise.
43363 * sysdeps/x86_64/sysdep.h: Likewise.
43365 * argp/Versions: Remove _argp_unlock_xxx.
43368 * abilist/ld.abilist: Update. Adjust for removal of tls option.
43369 * abilist/libBrokenLocale.abilist: Likewise.
43370 * abilist/libanl.abilist: Likewise.
43371 * abilist/libc.abilist: Likewise.
43372 * abilist/libcrypt.abilist: Likewise.
43373 * abilist/libdl.abilist: Likewise.
43374 * abilist/libm.abilist: Likewise.
43375 * abilist/libnsl.abilist: Likewise.
43376 * abilist/libpthread.abilist: Likewise.
43377 * abilist/libresolv.abilist: Likewise.
43378 * abilist/librt.abilist: Likewise.
43379 * abilist/libthread_db.abilist: Likewise.
43380 * abilist/libutil.abilist: Likewise.
43381 * abilist/libnss_db.abilist: New file.
43383 * scripts/abilist.awk: Add support for indirect functions.
43385 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43387 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43389 * shlib-versions: Remove entries for ports architectures.
43391 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
43393 * elf/stackguard-macros.h: Remove support for IA-64.
43394 * elf/tst-auditmod1.c: Likewise.
43395 * sysdeps/generic/ldsodefs.h: Likewise.
43397 * sysdeps/unix/sysv/linux/configure.in: Ports should define
43398 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43402 * configure.in: Remove --enable-omitfp support.
43404 * config.make.in: Likewise.
43405 * Makeconfig: Likewise.
43406 * manual/install.texi: Likewise.
43408 In case anyone cares, the IA-64 architecture could move to ports.
43409 * sysdeps/ia64/*: Removed.
43410 * sysdeps/unix/sysv/linux/ia64/*: Removed.
43411 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43414 * configure.in: Remove entries for unsupported architectures.
43417 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43418 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
43420 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43421 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43422 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
43423 fall back to using wcrtomb.
43424 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43425 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
43427 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43428 * wcsmbs/tst-c16c32-1.c: New file.
43430 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43433 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43435 * elf/tst-unique3.cc: Add explicit declaration of gets.
43436 * elf/tst-unique3lib.cc: Likewise.
43437 * elf/tst-unique3lib2.cc: Likewise.
43438 * elf/tst-unique4.cc: Likewise.
43440 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43442 2012-01-06 Joseph Myers <joseph@codesourcery.com>
43445 * assert/assert.h (static_assert): Don't define for C++.
43446 * libio/stdio.h (gets): Do declare for C++ <= C++11.
43447 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43449 2012-01-03 Ulrich Drepper <drepper@gmail.com>
43451 * iconv/loop.c (single loop): Fix assertion in storing of
43454 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43456 2012-01-01 Ulrich Drepper <drepper@gmail.com>
43458 * posix/getconf.c: Update copyright year.
43459 * nss/getent.c: Likewise.
43460 * nss/makedb.c: Likewise.
43461 * iconv/iconvconfig.c: Likewise.
43462 * iconv/iconv_prog.c: Likewise.
43463 * elf/ldconfig.c: Likewise.
43464 * elf/pldd.c: Likewise.
43465 * elf/sotruss.ksh: Likewise.
43466 * catgets/gencat.c: Likewise.
43467 * csu/version.c: Likewise.
43468 * elf/ldd.bash.in: Likewise.
43469 * elf/sprof.c (print_version): Likewise.
43470 * locale/programs/locale.c: Likewise.
43471 * locale/programs/localedef.c: Likewise.
43472 * login/programs/pt_chown.c: Likewise.
43473 * nscd/nscd.c (print_version): Likewise.
43474 * debug/xtrace.sh: Likewise.
43475 * malloc/memusage.sh: Likewise.
43476 * malloc/mtrace.pl: Likewise.
43477 * debug/catchsegv.sh: Likewise.
43479 2011-12-30 Jakub Jelinek <jakub@redhat.com>
43481 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43484 2011-12-24 Ulrich Drepper <drepper@gmail.com>
43487 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43488 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43490 * iconv/gconv_int.h: Likewise.
43491 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43492 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43493 from libc for GLIBC_2.16.
43494 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43495 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43496 * wcsmbs/uchar.h: Really define mbstate_t.
43497 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43498 * wcsmbs/c16rtomb.c: New file.
43499 * wcsmbs/mbrtoc16.c: New file.
43500 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43501 for C/POSIX locale.
43502 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43503 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43505 * wcsmbs/wchar.h: Add missing __restrict.
43507 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43510 * time/Makefile (routines): Add timespec_get.
43511 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43512 * time/time.h: Define TIME_UTC and declare timespec_get. Define
43513 timespec for ISO C11.
43514 * time/timespec_get.c: New file.
43515 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43516 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43519 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43520 * stdlib/stdlib.h: Declare aligned_alloc.
43521 * Versions.def: Add GLIBC_2.16 for libc.
43522 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43525 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43528 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43532 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43535 * assert/assert.h (static_assert): Define.
43537 * version.h: Update for 2.16 development version.
43540 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43543 * version.h (RELEASE): Bump for 2.15 release.
43544 * include/features.h (__GLIBC_MINOR__): Bump to 15.
43546 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43547 Patch by Marek Polacek <mpolacek@redhat.com>.
43549 * bits/byteswap.h: Protect long long constants with __extension__.
43550 * sysdeps/i386/bits/byteswap.h: Likewise.
43551 * sysdeps/ia64/bits/byteswap.h: Likewise.
43552 * sysdeps/s390/bits/byteswap.h: Likewise.
43553 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43555 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43558 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43559 destination buffer.
43560 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43562 2011-12-23 Marek Polacek <polacek@redhat.com>
43564 * elf/dl-addr.c (determine_info): Add inline keyword.
43565 * elf/tst-auditmod4b.c (check_avx): Likewise.
43566 * elf/tst-auditmod6b.c (check_avx): Likewise.
43567 * elf/tst-auditmod6c.c (check_avx): Likewise.
43568 * elf/tst-auditmod7b.c (check_avx): Likewise.
43570 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43572 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43575 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43578 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43579 processing for last bytes.
43581 2011-08-06 Bruno Haible <bruno@clisp.org>
43584 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43585 U+0385, not to U+1FEE.
43588 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43589 entry for U+00A5 U+0301.
43591 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43594 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43595 buffer for the output is too small.
43597 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43601 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43602 SSE flags if possible.
43604 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43607 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43608 processing for last bytes.
43610 2011-12-22 Joseph Myers <joseph@codesourcery.com>
43612 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43613 (syscall-list-default-options, syscall-list-default-condition)
43614 (syscall-list-includes): Define.
43615 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43616 list of ABIs and options and #if conditions for each ABI. Do not
43617 handle common syscalls between ABIs specially.
43618 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43620 (syscall-list-variants, syscall-list-32bit-options)
43621 (syscall-list-32bit-condition, syscall-list-64bit-options)
43622 (syscall-list-64bit-condition): Define.
43623 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43624 (syscall-list-variants, syscall-list-32bit-options)
43625 (syscall-list-32bit-condition, syscall-list-64bit-options)
43626 (syscall-list-64bit-condition): Define.
43627 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43629 (syscall-list-variants, syscall-list-32bit-options)
43630 (syscall-list-32bit-condition, syscall-list-64bit-options)
43631 (syscall-list-64bit-condition): Define.
43632 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43634 (syscall-list-variants, syscall-list-32bit-options)
43635 (syscall-list-32bit-condition, syscall-list-64bit-options)
43636 (syscall-list-64bit-condition): Define.
43638 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43640 * locale/iso-639.def: Add brx entry.
43643 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43644 Proposed by Mariusz_Cukr <marcukr@op.pl>.
43646 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43647 __feraiseexcept_renamed.
43649 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43652 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43653 EPOLLET with unsigned values.
43654 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43655 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43657 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43658 to large cancellation.
43659 * math/s_cacoshf.c: Likewise.
43660 * math/s_cacoshl.c: Likewise.
43662 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
43666 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43667 * math/s_cacoshf.c: Likewise.
43668 * math/s_cacoshl.c: Likewise.
43670 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43673 * iconv/gconv.h: Define __GCONV_SWAP.
43674 * iconvdata/unicode.c: The swap bit must be stored in __flags.
43675 * iconvdata/utf-16.c: Likewise.
43676 * iconvdata/utf-32.c: Likewise.
43678 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
43681 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43682 numerator after shifting it by one limb.
43684 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
43686 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43687 under [__USE_EXTERN_INLINES].
43689 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43692 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43694 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43696 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43697 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43699 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43700 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43701 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43702 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43703 for strncasecmp/strncasecmp_l compilation.
43704 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43705 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43707 2011-12-08 Marek Polacek <mpolacek@redhat.com>
43710 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43713 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43716 * time/tzfile.c (__tzfile_read): Check values from file header.
43718 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43720 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43721 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43722 * powerpc/powerpc32/dl-start.S: Likewise.
43723 * powerpc/powerpc32/elf/start.S: Likewise.
43724 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43725 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43726 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43727 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43728 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43729 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43730 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43731 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43732 * powerpc/powerpc32/fpu/s_round.S: Likewise.
43733 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43734 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43735 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43736 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43737 * powerpc/powerpc32/memset.S: Likewise.
43738 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43739 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43740 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43741 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43742 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43743 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43744 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43745 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43746 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43747 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43748 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43749 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43750 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43752 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43754 * math/libm-test.inc: Added more nearbyint tests.
43755 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43756 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43757 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43758 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43760 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43762 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43765 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43767 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43768 Add wcscpy-ssse3 wcscpy-c.
43769 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43770 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43771 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43772 * sysdeps/x86_64/wcschr.S: New file.
43773 * sysdeps/x86_64/wcsrchr.S: New file.
43774 * string/test-strcmp.c: Remove checking of wcscmp function for
43776 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43777 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43778 wcsrchr-sse2 wcsrchr-c.
43779 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43780 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43781 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43782 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43783 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43784 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43785 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43786 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43787 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43788 * wcsmbc/wcschr.c (WCSCHR): New macro.
43790 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43792 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43793 * wcsmbs/test-wcsrchr.c: New file.
43794 * string/test-strrchr.c: Add wcsrchr support.
43796 * wcsmbs/test-wcscpy.c: New file.
43797 * string/test-strcpy.c: Add wcscpy support.
43800 2011-12-10 Ulrich Drepper <drepper@gmail.com>
43802 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43805 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
43808 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43810 2011-12-04 Ulrich Drepper <drepper@gmail.com>
43812 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43813 Minor optimizations.
43815 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43816 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43817 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43819 2011-12-03 Ulrich Drepper <drepper@gmail.com>
43821 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43822 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43823 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43824 for gcc to avoid warnings.
43825 * inet/Makefile (tests): Add tst-checks.
43826 * inet/tst-checks.c: New file.
43828 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43831 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43834 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43835 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43837 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43839 2011-12-02 Ulrich Drepper <drepper@gmail.com>
43841 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43844 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43846 2011-11-29 Joseph Myers <joseph@codesourcery.com>
43848 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43849 conditional on GCC version.
43850 (__arch_compare_and_exchange_val_8_acq)
43851 (__arch_compare_and_exchange_val_16_acq)
43852 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43853 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43854 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43856 2011-12-02 Joseph Myers <joseph@codesourcery.com>
43858 * sysdeps/sh/backtrace.c: New file.
43860 2011-12-02 Andreas Schwab <schwab@redhat.com>
43862 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
43865 2011-12-01 Andreas Schwab <schwab@redhat.com>
43867 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43868 falling back to utime.
43870 2011-11-30 Andreas Schwab <schwab@redhat.com>
43872 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43873 expectations for float.
43875 2011-11-29 Andreas Schwab <schwab@redhat.com>
43877 * locale/weight.h (findidx): Add parameter len.
43878 * locale/weightwc.h (findidx): Likewise.
43879 * posix/fnmatch_loop.c (FCT): Adjust caller.
43880 * posix/regcomp.c (build_equiv_class): Likewise.
43881 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43882 * posix/regexec.c (check_node_accept_bytes): Likewise.
43883 * string/strcoll_l.c (STRCOLL): Likewise.
43884 * string/strxfrm_l.c (STRXFRM): Likewise.
43886 2011-11-17 Ulrich Drepper <drepper@gmail.com>
43888 * Makefile.in: Remove CVSOPT handling.
43889 * configure.in: Remove use of AC_REVISION.
43890 * iconvdata/Makefile (distribute): No need to filter out CVS.
43891 * scripts/list-sources.sh: Remove CVS, subversion and monotone
43894 2011-11-16 Andreas Schwab <schwab@redhat.com>
43896 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43897 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43898 [USE_AS_STRNCASECMP_L]: Likewise.
43899 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43900 NO_TLS_DIRECT_SEG_REFS.
43901 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43902 Fix argument offsets for non-PIC.
43903 [USE_AS_STRNCASECMP_L]: Likewise.
43904 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43905 NO_TLS_DIRECT_SEG_REFS.
43907 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43909 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43911 * locale/loadlocale.c (_nl_load_locale): Likewise.
43913 2011-11-15 Andreas Schwab <schwab@redhat.com>
43915 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43916 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43917 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43918 (SYSCALL_GETTIME): Set errno on error.
43920 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43921 count references to noai6ai_cached.
43923 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43925 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43927 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43928 FD_CLOEXEC for /proc/self/maps.
43930 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43931 FD_CLOEXEC for /proc/meminfo.
43933 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43936 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43937 FD_CLOEXEC for given file.
43939 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43941 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43942 FD_CLOEXEC for /etc/hosts.
43943 (_gethtent): Likewise.
43945 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43947 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43948 cancellation and set FD_CLOEXEC for /etc/netgroup.
43950 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43951 reading /etc/publickey.
43953 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43954 allow cancellation when reading /etc/group.
43956 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43958 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43960 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43961 when using data file.
43963 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43965 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43966 (write_nis_obj): Use "c" and "e" in fopen.
43968 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43970 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43972 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43974 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43976 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43979 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43981 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43983 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43985 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43986 file parsing and set FD_CLOEXEC.
43988 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43990 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43992 2011-11-14 Andreas Schwab <schwab@redhat.com>
43994 * malloc/arena.c (arena_get2): Don't call reused_arena when
43995 _int_new_arena failed.
43997 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43999 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44000 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44001 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44002 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44003 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44004 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44005 to compile strcasecmp and strncasecmp.
44006 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44007 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44009 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44011 2011-11-13 Ulrich Drepper <drepper@gmail.com>
44013 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44014 locale-defines.sym to gen-as-const-headers.
44015 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44016 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44017 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44018 to compile strcasecmp and strncasecmp.
44019 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44020 strcasecmp_l and strncasecmp_l.
44021 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44022 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44023 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44024 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44025 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44026 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44027 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44028 * sysdeps/i386/i686/multiarch/strncase.S: New file.
44029 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44030 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44031 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44033 2011-11-12 Ulrich Drepper <drepper@gmail.com>
44035 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44036 result of SYSDEP_GETTIME_CPU to retval.
44037 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44038 parameter list to macro. Remove trailing semicolon. Adjust users.
44040 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44043 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44045 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44047 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44048 from unused variable.
44050 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44052 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44055 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44058 * sunrpc/rpc_prot.c (rejected): Fix case value.
44060 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44061 unsigned long long int to avoid warnings in shift.
44063 * posix/regex_internal.c (re_string_reconstruct): Actually use result
44065 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44068 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44069 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44070 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44072 * nis/nis_table.c (nis_list): Use variable of correct type for
44073 result of __follow_path call.
44075 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44077 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44078 of math functions ceil, trunc, floor, round, and sqrt, when
44079 avaliable on the platform.
44080 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44082 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44083 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44084 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44086 2011-10-30 Marek Polacek <mpolacek@redhat.com>
44088 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44089 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44091 2011-11-11 Roland McGrath <roland@hack.frob.com>
44093 * include/unistd.h: Fix __readlink return type.
44094 Reported by Chris Metcalf <cmetcalf@tilera.com>.
44096 2011-11-11 Ulrich Drepper <drepper@gmail.com>
44098 * stdlib/ucontext.h: Undo last change for makecontext.
44100 2011-11-11 Andreas Schwab <schwab@redhat.com>
44102 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44104 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44105 * setjmp/setjmp.h: Mark functions as non-leaf.
44106 * setjmp/bits/setjmp2.h: Likewise.
44107 * stdlib/ucontext.h: Likewise.
44109 2011-11-10 Andreas Schwab <schwab@redhat.com>
44111 * malloc/arena.c (_int_new_arena): Don't increment narenas.
44112 (reused_arena): Don't check arena limit.
44113 (arena_get2): Atomically check arena limit.
44115 2011-11-08 Ulrich Drepper <drepper@gmail.com>
44117 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44118 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44120 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44123 2011-11-07 Andreas Schwab <schwab@redhat.com>
44125 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44126 handler when locking.
44128 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44129 Fix size of allocated buffer.
44131 2011-11-04 Andreas Schwab <schwab@redhat.com>
44134 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44135 declarations for long double functions.
44136 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44138 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44140 2011-11-03 Andreas Schwab <schwab@redhat.com>
44142 * nscd/nscd.c (main): Don't start AVC thread until credentials are
44145 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44148 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
44150 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44152 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
44154 * include/alloca.h (stackinfo_alloca_round): Define.
44155 (extend_alloca): Use it.
44156 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44157 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44160 * scripts/check-local-headers.sh: Ignore libaudit.h.
44162 * nscd/Makefile (extra-objs): Make recursively expanded.
44164 2011-11-01 Ulrich Drepper <drepper@gmail.com>
44166 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44167 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44169 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44170 * posix/tst-rfc3484-2.c: Likewise.
44171 * posix/tst-rfc3484-3.c: Likewise.
44173 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44175 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44177 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44178 process_vm_writev from libc using GLIBC_2.15 version.
44180 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44182 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
44184 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44187 2011-10-31 Ulrich Drepper <drepper@gmail.com>
44190 * nss/getent.c (initgroups_keys): Show error message in case no group
44193 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44194 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44195 __bump_nl_timestamp.
44196 * nscd/connections (nscd_init): When host database is served open
44197 netlink socket and request notification about configuration changes.
44198 (main_loop_poll): Track netlink file descriptor and bump timestamp
44199 in case data becomes available.
44200 (main_loop_epoll): Likewise.
44201 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44202 (database_pers_head): Add extra_data fileds.
44203 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44204 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44205 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44207 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44208 in6ai data, call __free_in6ai.
44209 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44210 Add -DHAVE_NETLINK.
44211 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
44212 interface information. Reuse previous data if netlink timestamp
44214 (__bump_nl_timestamp): New function.
44215 (__free_in6ai): New function.
44217 2011-10-30 Ulrich Drepper <drepper@gmail.com>
44219 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44220 close_not_cancel_no_status here.
44221 (__check_pf): Reorganize code a bit to not call close twice if OOM.
44223 2011-10-29 Ulrich Drepper <drepper@gmail.com>
44226 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44229 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44230 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44231 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44233 2011-07-03 Andreas Jaeger <aj@suse.de>
44236 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44237 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44238 * math/libm-test.inc (sin_test): Add test case.
44240 2011-10-29 Ulrich Drepper <drepper@gmail.com>
44243 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44244 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44246 * elf/chroot_canon.c (chroot_canon): Cleanups.
44248 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44251 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44252 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44254 * string/test-strchr.c: Make usable for strchrnul testing.
44255 * string/test-strchrnul.c: New file.
44256 * string/Makefile (strop-tests): Add strchrnul.
44258 * po/it.po: Update from translation team.
44259 * po/es.po: Likewise.
44261 2011-10-28 Ulrich Drepper <drepper@gmail.com>
44263 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44264 the three constants needed as parameters. Drop the others.
44265 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44266 __m128i_strloadu_tolower.
44267 Create and initialize variable zero and use it in all the places
44268 where _mm_setzero_si128 was used.
44270 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44271 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44272 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44273 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44275 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44276 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44277 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44278 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44279 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44280 __mpranred, __mptan.
44281 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44282 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44283 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44284 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44285 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44286 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44287 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44288 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44289 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44291 2011-10-28 Andreas Schwab <schwab@redhat.com>
44293 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44294 redefine if SHARED.
44295 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44297 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44298 wide char related routines to wcsmbs subdir.
44300 2011-10-27 Andreas Schwab <schwab@redhat.com>
44303 * misc/sys/cdefs.h (__THROWNL): Define.
44304 * posix/unistd.h: Use __THREADNL instead of __THREAD
44305 for memory synchronization functions.
44307 2011-10-26 Roland McGrath <roland@hack.frob.com>
44310 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44312 * manual/stdio.texi (Obstack Streams): Node removed.
44314 2011-10-26 Andreas Schwab <schwab@redhat.com>
44316 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44317 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44318 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44320 * math/math_private.h (math_force_eval): Allow non-addressable
44322 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44324 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44326 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44327 file is not needed.
44329 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44330 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44331 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44332 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44333 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44334 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44335 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44336 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44338 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44339 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44340 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44341 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44342 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44343 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44344 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44345 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44346 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44347 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44348 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44349 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44350 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44351 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44352 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44353 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44354 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44355 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44356 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44358 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44359 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
44361 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44362 place. Use VEX encoding when compiling for AVX.
44364 2011-10-25 Andreas Schwab <schwab@redhat.com>
44366 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44367 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44369 * string/test-strchr.c (do_test): Don't generate NUL bytes.
44371 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44373 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44374 useless if() expression.
44375 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44376 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44377 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44378 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44379 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44380 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44381 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44382 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44383 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44384 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44385 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44386 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44387 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44388 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44389 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44390 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44391 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44392 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44393 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44395 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44397 2011-10-25 Andreas Schwab <schwab@redhat.com>
44399 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44401 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44403 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44405 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44406 .text section. Avoid duplicate constants.
44407 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44408 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44409 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44410 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44411 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44412 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44413 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44414 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44415 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44416 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44417 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44418 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44419 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44420 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44421 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44422 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44423 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44424 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44425 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44426 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44427 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44428 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44429 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44430 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44431 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44432 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44433 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44434 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44435 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44436 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44437 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44438 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44439 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44440 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44441 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44442 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44443 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44444 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44445 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44446 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44447 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44448 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44449 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44450 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44451 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44453 2011-10-24 Ulrich Drepper <drepper@gmail.com>
44455 * sysdeps/x86_64/dla.h: Move to ...
44456 * sysdeps/x86_64/fpu/dla.h: ...here.
44457 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44458 situations. Use __builtin_fma only for gcc 4.6 and up.
44460 * config.make.in: Add have-mfma4 entry.
44461 * configure.in: Substitute libc_cv_cc_fma4.
44462 * math/Makefile (dbl-only-routines): Add sincostab.
44463 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44464 Use __sincostab not sincos.
44465 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44467 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44468 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44469 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44470 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
44472 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
44473 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
44474 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44475 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44477 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44478 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44480 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
44481 define aliases when function name is a macro.
44482 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44483 sysdeps/ieee754/dbl-64/sincos.tbl.
44484 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44485 fma4-enabled routines.
44486 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44487 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44488 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44489 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44490 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44491 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44492 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44493 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44494 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44495 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44496 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44497 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44498 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44499 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44500 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44501 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44502 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44503 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44504 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44505 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44506 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44507 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44508 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44509 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44510 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44511 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44512 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44513 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44514 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44515 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44517 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44519 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44520 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44521 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44522 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44523 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44524 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44525 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44526 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44528 2011-10-24 Andreas Schwab <schwab@redhat.com>
44530 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44532 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44534 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44536 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44538 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44540 * string/strnlen.c: Don't define STRNLEN, reverse logic.
44541 Remove unused variable magic_bits.
44542 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44544 * string/strnlen.c: Define and use STRNLEN macro.
44545 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44546 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44547 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44548 * wcsmbs/wcslen.c: Define and use WCSLEN.
44549 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44550 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44551 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44552 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44553 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44554 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44555 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44557 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44559 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44560 strnlen-sse2-no-bsf.
44561 Rename strlen-no-bsf to strlen-sse2-no-bsf.
44562 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44563 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44564 Add strnlen support.
44565 (USE_AS_STRNLEN): New macro.
44566 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44567 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44568 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44569 * sysdeps/x86_64/wcslen.S: New file.
44571 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
44573 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44574 XMM-moves are used for copying on small sizes.
44576 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44578 * wcsmbs/Makefile (strop-tests): Add wcschr.
44579 * wcsmbs/test-wcschr.c: New file.
44580 * string/test-strchr.c: Update.
44581 Add wcschr support.
44584 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44586 * wcsmbs/Makefile (strop-tests): Add wcslen.
44587 * wcsmbs/test-wcslen.c: New file.
44588 * string/test-strlen.c: Update.
44589 Add wcslen support.
44592 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44594 * po/it.po: Update from translation team.
44596 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44598 * sysdeps/x86_64/wcscmp.S: Update.
44599 Fix wrong comparison semantics.
44600 wcscmp shall use signed comparison not unsigned.
44601 Don't use substraction to avoid overflow bug.
44602 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44603 * wcsmbc/wcscmp.c: Likewise.
44604 * string/test-strcmp.c: Likewise.
44605 Add new tests to check cases with negative values.
44607 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44609 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44610 * sysdeps/x86_64/dla.h: ...here. New file.
44611 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44612 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44613 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44614 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44615 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44616 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44617 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44618 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44619 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44621 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
44623 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44624 __ynl_finite aliases.
44626 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44628 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44630 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44632 [DLA_FMA] (EMULV): Use DLA_FMA.
44633 [DLA_FMA] (MUL12): Use EMULV.
44634 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44635 that are not needed.
44636 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44637 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44638 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44639 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44640 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44641 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44642 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44644 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
44646 * math/s_nan.c: Undef __nan.
44647 * math/s_nanf.c: Undef __nanf.
44648 * math/s_nanl.c: Undef __nanl.
44649 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44652 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44654 * math/s_catan.c: Add branch predictions.
44655 * math/s_catanf.c: Likewise.
44656 * math/s_catanh.c: Likewise.
44657 * math/s_catanhf.c: Likewise.
44658 * math/s_catanhl.c: Likewise.
44659 * math/s_catanl.c: Likewise.
44660 * math/s_cexp.c: Likewise.
44661 * math/s_cexpf.c: Likewise.
44662 * math/s_cexpl.c: Likewise.
44663 * math/s_clog.c: Likewise.
44664 * math/s_clog10.c: Likewise.
44665 * math/s_clog10f.c: Likewise.
44666 * math/s_clog10l.c: Likewise.
44667 * math/s_clogf.c: Likewise.
44668 * math/s_clogl.c: Likewise.
44669 * math/s_csqrt.c: Likewise.
44670 * math/s_csqrtf.c: Likewise.
44671 * math/s_csqrtl.c: Likewise.
44672 * math/s_ctanf.c: Likewise.
44673 * math/s_ctanh.c: Likewise.
44674 * math/s_ctanhf.c: Likewise.
44675 * math/s_ctanhl.c: Likewise.
44676 * math/s_ctanl.c: Likewise.
44678 * math/math_private.h: Define __nan, __nanf, __nanl.
44679 * math/s_cacosh.c: Include <math_private.h>.
44680 * math/s_cacoshl.c: Likewise.
44681 * math/s_casinh.c: Likewise.
44682 * math/s_casinhf.c: Likewise.
44683 * math/s_casinhl.c: Likewise.
44684 * math/s_ccos.c: Rely entire on ccosh.
44685 * math/s_ccosf.c: Rely entire on ccoshf.
44686 * math/s_ccosl.c: Rely entirely on ccoshl.
44687 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
44688 Remove tests for FE_INVALID.
44689 * math/s_ccoshf.c: Likewise.
44690 * math/s_ccoshl.c: Likewise.
44691 * math/s_csin.c: Likewise.
44692 * math/s_csinf.c: Likewise.
44693 * math/s_csinh.c Likewise.
44694 * math/s_csinhf.c: Likewise.
44695 * math/s_csinhl.c: Likewise.
44696 * math/s_csinl.c: Likewise.
44697 * math/s_ctan.c: Likewise.
44698 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44699 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44700 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44702 2011-10-21 Ulrich Drepper <drepper@gmail.com>
44704 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44705 compilation problems.
44707 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44710 2011-10-20 Ulrich Drepper <drepper@gmail.com>
44712 * sysdeps/i386/configure.in: Test for -mfma4 option.
44713 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44714 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44715 COMMON_CPUID_INDEX_80000001.
44716 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44717 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44718 use it if FMA3 is not supported.
44719 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44721 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44722 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44724 2011-10-20 Andreas Schwab <schwab@redhat.com>
44727 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44728 it would create a cycle with a link time dependency.
44730 2011-10-19 Ulrich Drepper <drepper@gmail.com>
44732 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44734 * string/Makefile (strop-tests): Add rawmemchr.
44735 * string/test-rawmemchr.c: New file.
44737 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44738 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44739 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44740 when compiling str{,n}casecmp and when AVX is available. Hook up
44741 new optimized code in initializers.
44743 2011-10-19 Andreas Schwab <schwab@redhat.com>
44745 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44746 __feraiseexcept instead of feraiseexcept.
44748 2011-10-18 Ulrich Drepper <drepper@gmail.com>
44750 * math/math_private.h: Define defaults for libc_fetestexcept and
44752 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44753 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44754 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44755 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44756 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44757 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44758 libc_fetestexcept and libc_feupdateenv.
44760 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44761 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44762 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44763 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44764 libc_feholdexcept_setround.
44766 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44767 Add s_nearbyint-c and s_nearbyintf-c.
44768 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44769 nearbyintf inlines.
44770 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44771 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44772 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44773 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44775 * math/math_private.h: Define defaults for libc_fegetround,
44776 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44777 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44778 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44779 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44780 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44781 standard functions.
44782 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44783 Remove comments and hacks for old compiler versions.
44784 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44785 libc_fegetround, libc_fesetround, libc_feholdexcept, and
44786 libc_feholdexceptl.
44788 2011-10-18 Andreas Schwab <schwab@redhat.com>
44790 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44791 (__feraiseexcept_renamed): Add __NTH.
44792 (feraiseexcept): Add __NTH. Rename local variables to fix
44793 namespace violations.
44795 2011-10-17 Ulrich Drepper <drepper@gmail.com>
44797 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44799 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44801 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44802 recently added interfaces.
44803 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44805 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44806 about macro parameter expansion.
44808 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44809 __NO_MATH_INLINES is defined. Cleanups.
44811 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44812 and __floorf is target has SSE4.1.
44813 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44814 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44815 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44816 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44818 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44820 (floorf): Likewise.
44822 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44824 2011-10-17 Andreas Schwab <schwab@redhat.com>
44826 * misc/sys/cdefs.h: Fix last change.
44828 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44831 2011-10-16 Ulrich Drepper <drepper@gmail.com>
44833 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44835 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44836 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44837 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44838 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44839 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44840 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44841 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44842 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44843 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44844 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44845 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44846 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44847 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44848 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44849 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44850 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44851 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44852 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44853 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44854 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44855 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44856 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44858 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44859 ceil, ceilf, floor, floorf.
44861 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44862 Perform IRELATIVE relocations last.
44864 * elf/do-rel.h: Add another parameter nrelative, replacing the
44865 local variable with the same name. Change name of the function
44866 to end in Rel or Rela (uppercase).
44867 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44868 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
44869 elf_dynamic_do_##reloc function.
44871 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44873 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44874 is sufficient, at least on modern CPUs.
44876 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44878 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44879 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44881 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44883 * math/bits/math-finite.h: Add entries for exp.
44884 * math/e_expl.c: Add __*_finite alias.
44885 * sysdeps/i386/fpu/e_exp.S: Likewise.
44886 * sysdeps/i386/fpu/e_expf.S: Likewise.
44887 * sysdeps/i386/fpu/e_expl.c: Likewise.
44888 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44889 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44890 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44891 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44892 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44893 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44894 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44896 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44897 is sufficient, at least on modern CPUs.
44899 * ctype/ctype-info.c (__ctype_init): Define.
44900 * include/ctype.h (__ctype_init): Declare.
44901 (__ctype_b_loc): The variable is always initialized.
44902 (__ctype_toupper_loc): Likewise.
44903 (__ctype_tolower_loc): Likewise.
44904 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44905 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44907 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
44909 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44911 * configure.in: Also look in $cxxmachine/include for C++ system
44914 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44916 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44917 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44918 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44919 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44920 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44921 (USE_AS_WMEMCMP): New macro.
44923 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44924 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44925 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44926 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44927 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44928 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44929 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44930 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44931 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44932 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44933 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44934 (USE_AS_WMEMCMP): New macro.
44935 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44936 * sysdeps/string/test-memcmp.c: Update.
44937 Fix simple_wmemcmp.
44939 * wcsmbs/wmemcmp.c: Update.
44940 (WMEMCMP): New macro.
44943 2011-10-12 Andreas Jaeger <aj@suse.de>
44946 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44948 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44950 * libio/iofwide.c (do_length): Avoid warning.
44952 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44954 2011-10-14 Ulrich Drepper <drepper@gmail.com>
44956 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44958 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44959 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44960 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44961 * sysdeps/i386/i686/fpu/e_log.S: New file.
44962 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44963 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44965 * ctype/ctype.h: Add support for inlined isXXX functions when
44966 compiling C++ code.
44968 2011-10-14 Andreas Schwab <schwab@redhat.com>
44970 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44972 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44974 2011-10-13 Roland McGrath <roland@hack.frob.com>
44977 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44979 2011-10-13 Andreas Schwab <schwab@redhat.com>
44981 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44982 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44985 * sysdeps/x86_64/memrchr.S: Check for zero size.
44987 * string/stratcliff.c: Add memrchr tests.
44989 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44991 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44992 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44993 rawmemchr-sse2 rawmemchr-sse2-bsf.
44994 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44995 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44996 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44997 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44998 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44999 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45000 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45001 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45002 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45003 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45004 * string/memrchr.c (MEMRCHR): New macro.
45006 2011-10-12 Ulrich Drepper <drepper@gmail.com>
45008 Add integration with gcc's -ffinite-math-only and optimize wrapper
45010 * Versions.def: Define GLIBC_2.15 version for libm.
45011 * math/Makefile (headers): Add bits/math-finite.h.
45012 * math/bits/math-finite.h: New file.
45013 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45014 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45015 * math/e_acoshl.c: Add __*_finite alias.
45016 * math/e_acosl.c: Likewise.
45017 * math/e_asinl.c: Likewise.
45018 * math/e_atan2l.c: Likewise.
45019 * math/e_atanhl.c: Likewise.
45020 * math/e_coshl.c: Likewise.
45021 * math/e_exp10.c: Likewise.
45022 * math/e_exp10f.c: Likewise.
45023 * math/e_exp10l.c: Likewise.
45024 * math/e_exp2l.c: Likewise.
45025 * math/e_fmodl.c: Likewise.
45026 * math/e_gammal_r.c: Likewise.
45027 * math/e_hypotl.c: Likewise.
45028 * math/e_j0l.c: Likewise.
45029 * math/e_j1l.c: Likewise.
45030 * math/e_jnl.c: Likewise.
45031 * math/e_lgammal_r.c: Likewise.
45032 * math/e_log10l.c: Likewise.
45033 * math/e_log2l.c: Likewise.
45034 * math/e_logl.c: Likewise.
45035 * math/e_powl.c: Likewise.
45036 * math/e_sinhl.c: Likewise.
45037 * math/e_sqrtl.c: Likewise.
45038 * math/e_scalb.c: Completely rewritten and optimized.
45039 * math/e_scalbf.c: Likewise.
45040 * math/e_scalbl.c: Likewise.
45041 * math/w_acos.c: Likewise.
45042 * math/w_acosf.c: Likewise.
45043 * math/w_acosl.c: Likewise.
45044 * math/w_acosh.c: Likewise.
45045 * math/w_acoshf.c: Likewise.
45046 * math/w_acoshl.c: Likewise.
45047 * math/w_asin.c: Likewise.
45048 * math/w_asinf.c: Likewise.
45049 * math/w_asinl.c: Likewise.
45050 * math/w_atan2.c: Likewise.
45051 * math/w_atan2f.c: Likewise.
45052 * math/w_atan2l.c: Likewise.
45053 * math/w_atanh.c: Likewise.
45054 * math/w_atanhf.c: Likewise.
45055 * math/w_atanhl.c: Likewise.
45056 * math/w_exp10.c: Likewise.
45057 * math/w_exp10f.c: Likewise.
45058 * math/w_exp10l.c: Likewise.
45059 * math/w_fmod.c: Likewise.
45060 * math/w_fmodf.c: Likewise.
45061 * math/w_fmodl.c: Likewise.
45062 * math/w_j0.c: Likewise.
45063 * math/w_j0f.c: Likewise.
45064 * math/w_j0l.c: Likewise.
45065 * math/w_j1.c: Likewise.
45066 * math/w_j1f.c: Likewise.
45067 * math/w_j1l.c: Likewise.
45068 * math/w_jn.c: Likewise.
45069 * math/w_jnf.c: Likewise.
45070 * math/w_log.c: Likewise.
45071 * math/w_logf.c: Likewise.
45072 * math/w_logl.c: Likewise.
45073 * math/w_log10.c: Likewise.
45074 * math/w_log10f.c: Likewise.
45075 * math/w_log10l.c: Likewise.
45076 * math/w_log2.c: Likewise.
45077 * math/w_log2f.c: Likewise.
45078 * math/w_log2l.c: Likewise.
45079 * math/w_pow.c: Likewise.
45080 * math/w_powf.c: Likewise.
45081 * math/w_powl.c: Likewise.
45082 * math/w_remainder.c: Likewise.
45083 * math/w_remainderf.c: Likewise.
45084 * math/w_remainderl.c: Likewise.
45085 * math/w_scalb.c: Likewise.
45086 * math/w_scalbf.c: Likewise.
45087 * math/w_scalbl.c: Likewise.
45088 * math/w_sqrt.c: Likewise.
45089 * math/w_sqrtf.c: Likewise.
45090 * math/w_sqrtl.c: Likewise.
45091 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45092 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
45094 * math/math_private.h: Declare __kernel_standard_f.
45095 * math/w_cosh.c: Remove cruft and optimize a bit.
45096 * math/w_coshf.c: Likewise.
45097 * math/w_coshl.c: Likewise.
45098 * math/w_exp2.c: Likewise.
45099 * math/w_exp2f.c: Likewise.
45100 * math/w_exp2l.c: Likewise.
45101 * math/w_hypot.c: Likewise.
45102 * math/w_hypotf.c: Likewise.
45103 * math/w_hypotl.c: Likewise.
45104 * math/w_lgamma.c: Likewise.
45105 * math/w_lgamma_r.c: Likewise.
45106 * math/w_lgammaf.c: Likewise.
45107 * math/w_lgammaf_r.c: Likewise.
45108 * math/w_lgammal.c: Likewise.
45109 * math/w_lgammal_r.c: Likewise.
45110 * math/w_sinh.c: Likewise.
45111 * math/w_sinhf.c: Likewise.
45112 * math/w_sinhl.c: Likewise.
45113 * math/w_tgamma.c: Likewise.
45114 * math/w_tgammaf.c: Likewise.
45115 * math/w_tgammal.c: Likewise.
45116 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45117 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45118 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45119 Minor optimizations. Pretty printing. Remove cruft.
45120 * sysdeps/i386/fpu/e_acosf.S: Likewise.
45121 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45122 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45123 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45124 * sysdeps/i386/fpu/e_acosl.c: Likewise.
45125 * sysdeps/i386/fpu/e_asin.S: Likewise.
45126 * sysdeps/i386/fpu/e_asinf.S: Likewise.
45127 * sysdeps/i386/fpu/e_atan2.S: Likewise.
45128 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45129 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45130 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45131 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45132 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45133 * sysdeps/i386/fpu/e_exp10.S: Likewise.
45134 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45135 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45136 * sysdeps/i386/fpu/e_exp2.S: Likewise.
45137 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45138 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45139 * sysdeps/i386/fpu/e_fmod.S: Likewise.
45140 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45141 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45142 * sysdeps/i386/fpu/e_hypot.S: Likewise.
45143 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45144 * sysdeps/i386/fpu/e_log.S: Likewise.
45145 * sysdeps/i386/fpu/e_log10.S: Likewise.
45146 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45147 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45148 * sysdeps/i386/fpu/e_log2.S: Likewise.
45149 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45150 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45151 * sysdeps/i386/fpu/e_logf.S: Likewise.
45152 * sysdeps/i386/fpu/e_logl.S: Likewise.
45153 * sysdeps/i386/fpu/e_pow.S: Likewise.
45154 * sysdeps/i386/fpu/e_powf.S: Likewise.
45155 * sysdeps/i386/fpu/e_powl.S: Likewise.
45156 * sysdeps/i386/fpu/e_remainder.S: Likewise.
45157 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45158 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45159 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45160 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45161 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45162 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45163 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45164 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45165 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45166 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45167 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45168 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45169 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45170 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45171 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45172 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45173 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45174 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45175 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45176 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45177 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45178 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45179 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45180 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45181 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45182 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45183 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45184 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45185 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45186 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45187 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45188 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45189 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45190 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45191 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45192 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45193 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45194 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45195 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45196 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45197 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45198 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45199 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45200 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45201 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45202 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45203 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45204 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45205 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45206 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45207 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45208 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45209 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45210 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45211 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45212 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45213 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45214 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45215 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45216 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45217 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45218 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45219 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45220 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45221 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45222 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45223 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45224 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45225 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45226 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45227 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45228 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45229 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45230 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45231 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45232 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45233 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45234 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45235 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45236 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45237 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45238 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45239 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45240 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45241 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45242 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45243 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45244 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45245 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45246 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45247 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45248 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45249 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45250 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45251 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45252 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45253 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45254 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45255 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45256 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45257 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45258 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45259 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45260 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45261 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45262 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45263 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45264 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45265 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45266 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45267 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45268 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45269 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45270 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45271 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45272 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45273 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45274 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45275 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
45276 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45277 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45278 (__isnanf): Likewise.
45279 (__isinf_ns): Likewise.
45280 (__isinf_nsf): Likewise.
45281 (__finite): Likewise.
45282 (__finitef): Likewise.
45283 (__ieee754_sqrt): Define as macro.
45284 (__ieee754_sqrtf): Define as macro.
45285 (__ieee754_sqrtl): Define as macro.
45286 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45288 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45289 __FINITE_MATH_ONLY__ consistent.
45290 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45292 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
45294 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45297 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45299 2011-10-09 Ulrich Drepper <drepper@gmail.com>
45301 * po/ja.po: Update from translation team.
45303 2011-10-08 Roland McGrath <roland@hack.frob.com>
45305 * locale/programs/locarchive.c (prepare_address_space): New function.
45306 (create_archive, enlarge_archive, open_archive): Use it.
45308 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45309 inside [SHARED], where it is used.
45311 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45313 * nss/getent.c (netgroup_keys): Remove unused variable.
45314 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45316 2011-10-08 Ulrich Drepper <drepper@gmail.com>
45318 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45319 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45320 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45321 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45322 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45323 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45324 * math/Makefile (libm-calls): Add s_isinf_ns.
45325 * math/divtc3.c: Use __isinf_nsl instead of isinf.
45326 * math/multc3.c: Likewise.
45327 * math/s_casin.c: Likewise.
45328 * math/s_casinf.c: Likewise.
45329 * math/s_casinl.c: Likewise.
45330 * math/s_ccos.c: Likewise.
45331 * math/s_ccosf.c: Likewise.
45332 * math/s_ccosl.c: Likewise.
45333 * math/s_ctan.c: Likewise.
45334 * math/s_ctanf.c: Likewise.
45335 * math/s_ctanh.c: Likewise.
45336 * math/s_ctanhf.c: Likewise.
45337 * math/s_ctanhl.c: Likewise.
45338 * math/s_ctanl.c: Likewise.
45339 * math/w_fmod.c: Likewise.
45340 * math/w_fmodf.c: Likewise.
45341 * math/w_fmodl.c: Likewise.
45342 * math/w_remainder.c: Likewise.
45343 * math/w_remainderf.c: Likewise.
45344 * math/w_remainderl.c: Likewise.
45345 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45346 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45347 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45348 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45349 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45350 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45351 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45352 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45354 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45356 * stdio-common/printf_fphex.c: Likewise.
45357 * stdio-common/printf_size.c: Likewise.
45359 * math/e_exp10.c: Include math_private.h using <...> not "...".
45360 * math/e_exp10f.c: Likewise.
45361 * math/e_exp10l.c: Likewise.
45362 * math/e_exp2l.c: Likewise.
45363 * math/e_j0l.c: Likewise.
45364 * math/e_j1l.c: Likewise.
45365 * math/e_jnl.c: Likewise.
45366 * math/e_lgammal_r.c: Likewise.
45367 * math/e_rem_pio2l.c: Likewise.
45368 * math/e_scalb.c: Likewise.
45369 * math/e_scalbf.c: Likewise.
45370 * math/e_scalbl.c: Likewise.
45371 * math/k_cosl.c: Likewise.
45372 * math/k_sinl.c: Likewise.
45373 * math/k_tanl.c: Likewise.
45374 * math/s_cacoshf.c: Likewise.
45375 * math/s_catan.c: Likewise.
45376 * math/s_catanf.c: Likewise.
45377 * math/s_catanh.c: Likewise.
45378 * math/s_catanhf.c: Likewise.
45379 * math/s_catanhl.c: Likewise.
45380 * math/s_catanl.c: Likewise.
45381 * math/s_ccosh.c: Likewise.
45382 * math/s_ccoshf.c: Likewise.
45383 * math/s_ccoshl.c: Likewise.
45384 * math/s_cexp.c: Likewise.
45385 * math/s_cexpf.c: Likewise.
45386 * math/s_cexpl.c: Likewise.
45387 * math/s_clog.c: Likewise.
45388 * math/s_clog10.c: Likewise.
45389 * math/s_clog10f.c: Likewise.
45390 * math/s_clog10l.c: Likewise.
45391 * math/s_clogf.c: Likewise.
45392 * math/s_clogl.c: Likewise.
45393 * math/s_csin.c: Likewise.
45394 * math/s_csinf.c: Likewise.
45395 * math/s_csinh.c: Likewise.
45396 * math/s_csinhf.c: Likewise.
45397 * math/s_csinhl.c: Likewise.
45398 * math/s_csinl.c: Likewise.
45399 * math/s_csqrt.c: Likewise.
45400 * math/s_csqrtf.c: Likewise.
45401 * math/s_csqrtl.c: Likewise.
45402 * math/s_ctan.c: Likewise.
45403 * math/s_ctanf.c: Likewise.
45404 * math/s_ctanh.c: Likewise.
45405 * math/s_ctanhf.c: Likewise.
45406 * math/s_ctanhl.c: Likewise.
45407 * math/s_ctanl.c: Likewise.
45408 * math/s_ldexp.c: Likewise.
45409 * math/s_ldexpf.c: Likewise.
45410 * math/s_ldexpl.c: Likewise.
45411 * math/s_significand.c: Likewise.
45412 * math/s_significandf.c: Likewise.
45413 * math/s_significandl.c: Likewise.
45414 * math/w_acos.c: Likewise.
45415 * math/w_acosf.c: Likewise.
45416 * math/w_acosh.c: Likewise.
45417 * math/w_acoshf.c: Likewise.
45418 * math/w_acoshl.c: Likewise.
45419 * math/w_acosl.c: Likewise.
45420 * math/w_asin.c: Likewise.
45421 * math/w_asinf.c: Likewise.
45422 * math/w_asinl.c: Likewise.
45423 * math/w_atan2.c: Likewise.
45424 * math/w_atan2f.c: Likewise.
45425 * math/w_atan2l.c: Likewise.
45426 * math/w_atanh.c: Likewise.
45427 * math/w_atanhf.c: Likewise.
45428 * math/w_atanhl.c: Likewise.
45429 * math/w_cosh.c: Likewise.
45430 * math/w_coshf.c: Likewise.
45431 * math/w_coshl.c: Likewise.
45432 * math/w_dremf.c: Likewise.
45433 * math/w_exp10.c: Likewise.
45434 * math/w_exp10f.c: Likewise.
45435 * math/w_exp10l.c: Likewise.
45436 * math/w_exp2.c: Likewise.
45437 * math/w_exp2f.c: Likewise.
45438 * math/w_fmod.c: Likewise.
45439 * math/w_fmodf.c: Likewise.
45440 * math/w_fmodl.c: Likewise.
45441 * math/w_hypot.c: Likewise.
45442 * math/w_hypotf.c: Likewise.
45443 * math/w_hypotl.c: Likewise.
45444 * math/w_j0.c: Likewise.
45445 * math/w_j0f.c: Likewise.
45446 * math/w_j0l.c: Likewise.
45447 * math/w_j1.c: Likewise.
45448 * math/w_j1f.c: Likewise.
45449 * math/w_j1l.c: Likewise.
45450 * math/w_jn.c: Likewise.
45451 * math/w_jnf.c: Likewise.
45452 * math/w_jnl.c: Likewise.
45453 * math/w_lgamma.c: Likewise.
45454 * math/w_lgamma_r.c: Likewise.
45455 * math/w_lgammaf.c: Likewise.
45456 * math/w_lgammaf_r.c: Likewise.
45457 * math/w_lgammal.c: Likewise.
45458 * math/w_lgammal_r.c: Likewise.
45459 * math/w_log.c: Likewise.
45460 * math/w_log10.c: Likewise.
45461 * math/w_log10f.c: Likewise.
45462 * math/w_log10l.c: Likewise.
45463 * math/w_log2.c: Likewise.
45464 * math/w_log2f.c: Likewise.
45465 * math/w_log2l.c: Likewise.
45466 * math/w_logf.c: Likewise.
45467 * math/w_logl.c: Likewise.
45468 * math/w_pow.c: Likewise.
45469 * math/w_powf.c: Likewise.
45470 * math/w_powl.c: Likewise.
45471 * math/w_remainder.c: Likewise.
45472 * math/w_remainderf.c: Likewise.
45473 * math/w_remainderl.c: Likewise.
45474 * math/w_scalb.c: Likewise.
45475 * math/w_scalbf.c: Likewise.
45476 * math/w_scalbl.c: Likewise.
45477 * math/w_sinh.c: Likewise.
45478 * math/w_sinhf.c: Likewise.
45479 * math/w_sinhl.c: Likewise.
45480 * math/w_sqrt.c: Likewise.
45481 * math/w_sqrtf.c: Likewise.
45482 * math/w_sqrtl.c: Likewise.
45483 * math/w_tgamma.c: Likewise.
45484 * math/w_tgammaf.c: Likewise.
45485 * math/w_tgammal.c: Likewise.
45487 * po/ja.po: Update from translation team.
45489 2011-09-29 Andreas Jaeger <aj@suse.de>
45492 * sunrpc/netname.c (netname2host): Fix logic.
45496 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45498 * math/w_remainder.c (__remainder): Likewise.
45499 * math/w_remainderf.c (__remainderf): Likewise.
45500 * math/libm-test.inc (remainder_test): Add test cases.
45502 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45504 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
45507 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45509 * string/test-memcmp.c: Avoid unncessary #defines.
45510 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45512 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45514 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45515 Use new sse2 version for core i3 - i7 as it's faster
45516 than sse42 version.
45517 (bit_Prefer_PMINUB_for_stringop): New.
45518 * sysdeps/x86_64/rawmemchr.S: Update.
45519 Replace with faster SSE2 version.
45520 * sysdeps/x86_64/memrchr.S: New file.
45521 * sysdeps/x86_64/memchr.S: Update.
45522 Replace with faster SSE2 version.
45524 2011-09-12 Marek Polacek <mpolacek@redhat.com>
45526 * elf/dl-load.c (lose): Add cast to avoid warning.
45528 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45530 * po/ca.po: Update from translation team.
45532 * inet/getnetgrent_r.c: Hook up nscd.
45533 * nscd/Makefile (routines): Add nscd_netgroup.
45534 (nscd-modules): Add netgroupcache.
45535 (CFLAGS-netgroupcache.c): Define.
45536 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45537 (cache_search): Add const to second parameter.
45538 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45540 (dbs): Add netgrdb entry.
45541 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45542 (verify_persistent_db): Handle netgrdb.
45543 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45544 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45546 (netgroup_response_header): Define.
45547 (innetgroup_response_header): Define.
45548 (datahead): Add netgroup_response_header and innetgroup_response_header
45550 * nscd/nscd.conf: Add entries for netgroup cache.
45551 * nscd/nscd.h (dbtype): Add netgrdb.
45552 (_PATH_NSCD_NETGROUP_DB): Define.
45553 (netgroup_iov_disabled): Declare.
45554 (xmalloc, xcalloc, xrealloc): Move declarations here.
45555 (cache_search): Adjust prototype.
45556 Add netgroup-related prototypes.
45557 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45558 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45559 (__nscd_innetgr): Declare.
45560 * nscd/selinux.c (perms): Use access_vector_t as element type and
45561 add netgroup-related initializers.
45562 * nscd/netgroupcache.c: New file.
45563 * nscd/nscd_netgroup.c: New file.
45564 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45565 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45566 For four parameters use innetgr.
45567 * nss/nss_files/files-init.c: Add definition and callback for netgr.
45568 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45569 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45570 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45572 * nscd/connections.c (register_traced_file): Don't register file
45573 for disabled databases.
45575 2011-10-06 Ulrich Drepper <drepper@gmail.com>
45577 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45579 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45580 from tree and freeing node.
45582 2011-09-25 Jiri Olsa <jolsa@redhat.com>
45584 * nss/nsswitch.c (__nss_database_lookup): Handle
45585 nss_parse_service_list out of memory case.
45587 2011-09-15 Jiri Olsa <jolsa@redhat.com>
45589 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45590 out of memory case.
45592 2011-10-04 Andreas Schwab <schwab@redhat.com>
45594 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45595 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45597 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45598 elf_machine_rela, elf_machine_lazy_rel.
45599 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45600 (ELF_DYNAMIC_DO_REL): Likewise.
45601 (ELF_DYNAMIC_DO_RELA): Likewise.
45602 (ELF_DYNAMIC_RELOCATE): Likewise.
45603 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45604 to ELF_DYNAMIC_DO_REL.
45605 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45606 (dl_main): In trace mode always set __RTLD_NOIFUNC.
45607 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45609 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45610 skip_ifunc, don't call ifunc function if non-zero.
45611 (elf_machine_rela): Likewise.
45612 (elf_machine_lazy_rel): Likewise.
45613 (elf_machine_lazy_rela): Likewise.
45614 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45615 (elf_machine_lazy_rel): Likewise.
45616 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45618 (elf_machine_lazy_rel): Likewise.
45619 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45621 (elf_machine_lazy_rel): Likewise.
45622 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45623 (elf_machine_lazy_rel): Likewise.
45624 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45625 (elf_machine_lazy_rel): Likewise.
45626 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45627 (elf_machine_lazy_rel): Likewise.
45628 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45629 (elf_machine_lazy_rel): Likewise.
45630 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45631 (elf_machine_lazy_rel): Likewise.
45632 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45633 (elf_machine_lazy_rel): Likewise.
45635 2011-09-28 Ulrich Drepper <drepper@gmail.com>
45637 * nss/nss_files/files-init.c (_nss_files_init): Use static
45638 initialization for all the *_traced_file variables.
45640 2011-09-28 Andreas Schwab <schwab@redhat.com>
45642 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45644 2011-09-27 Roland McGrath <roland@hack.frob.com>
45647 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45649 2011-09-27 Andreas Schwab <schwab@redhat.com>
45651 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45652 Reread the line before reparsing it.
45654 2011-09-26 Andreas Schwab <schwab@redhat.com>
45656 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45658 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
45659 Maxim Kuvyrkov <maxim@codesourcery.com>
45660 Joseph Myers <joseph@codesourcery.com>
45662 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45663 if needed for __stack_chk_guard.
45665 2011-09-19 Roland McGrath <roland@hack.frob.com>
45667 * sysdeps/posix/spawni.c (script_execute): Always define it.
45668 It will be optimized away if unused.
45669 (maybe_script_execute): New function.
45670 (__spawni): Call it.
45672 * Makerules: Don't include tls.make.
45673 (config-tls): Always set to thread.
45674 * tls.make.c: File removed.
45676 2011-09-19 Mike Frysinger <vapier@gentoo.org>
45678 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45679 * config.make.in (CPPFLAGS-config): New substituted variable.
45681 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45683 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45686 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45687 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45689 2011-09-15 Roland McGrath <roland@hack.frob.com>
45691 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45692 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45693 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45694 (CALL_FAIL): Likewise.
45695 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45696 (CALL_FAIL): Macro removed.
45697 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45699 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45701 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45702 for __FINITE_MATH_ONLY__ == 1.
45704 2011-09-15 Andreas Schwab <schwab@redhat.com>
45706 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45707 __ieee754_sqrt instead of sqrt.
45708 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45709 __ieee754_sqrtf instead of sqrtf.
45710 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45711 __floorf instead of floorf.
45712 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45713 __floorf, __truncf instead of floorf, truncf.
45715 2011-09-14 Ulrich Drepper <drepper@gmail.com>
45717 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45719 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45720 __extern_always_inline.
45721 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45724 2011-09-14 Andreas Schwab <schwab@redhat.com>
45726 * elf/rtld.c (dl_main): Also relocate in dependency order when
45727 doing symbol dependency testing.
45729 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
45731 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45732 Always define `refsym'.
45734 2011-09-13 Andreas Schwab <schwab@redhat.com>
45736 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45737 (__FD_ELT): Renamed from __FDELT.
45738 * misc/bits/select2.h (__FD_ELT): Likewise.
45739 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45740 __FD_MASK instead of __FDELT, __FDMASK.
45741 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45743 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45746 * elf/Makefile (gen-ldd): Fix pattern.
45748 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45749 (init_tls): Likewise.
45751 2011-09-12 Ulrich Drepper <drepper@gmail.com>
45753 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45755 2011-09-12 Andreas Schwab <schwab@redhat.com>
45757 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45758 `struct cmsghdr *' instead of `void *'.
45759 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45762 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45764 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45766 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45767 ldd_rewrite_script.
45769 2011-09-11 Ulrich Drepper <drepper@gmail.com>
45771 * configure.in: Remove --with-tls option.
45772 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45773 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45774 out in case it is missing.
45775 * sysdeps/ia64/elf/configure.in: Likewise.
45776 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45777 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45778 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45779 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45780 * sysdeps/sh/elf/configure.in: Likewise.
45781 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45782 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45783 * sysdeps/x86_64/elf/configure.in: Likewise.
45784 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45785 * sysdeps/mach/hurd/tls.h: Likewise.
45788 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45791 * configure.in: Fix use of AC_INIT.
45793 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45795 2011-09-10 Ulrich Drepper <drepper@gmail.com>
45797 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45799 * malloc/hooks.c: Likewise.
45802 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
45803 variables statically.
45804 (narenas): Initialize.
45805 (list_lock): Initialize.
45806 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
45807 initializtion of main_arena and list_lock. Small cleanups.
45808 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45809 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
45810 Add initializers to main_arena and mp_.
45811 (malloc_state): Remove pagesize member. Change all users to use
45814 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45815 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
45816 is always initialized.
45818 * malloc/malloc.c: Removed unused configurations and dead code.
45819 * malloc/arena.c: Likewise.
45820 * malloc/hooks.c: Likewise.
45821 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45823 * include/tls.h: Removed. USE___THREAD must always be defined.
45824 * bits/libc-tsd.h: Don't handle !USE___THREAD.
45825 * elf/dl-libc.c: Likewise.
45826 * elf/dl-tsd.c: Likewise.
45827 * include/errno.h: Likewise.
45828 * include/netdb.h: Likewise.
45829 * include/resolv.h: Likewise.
45830 * inet/herrno-loc.c: Likewise.
45831 * inet/herrno.c: Likewise.
45832 * malloc/arena.c: Likewise.
45833 * malloc/hooks.c: Likewise.
45834 * malloc/malloc.c: Likewise.
45835 * resolv/res-state.c: Likewise.
45836 * resolv/res_libc.c: Likewise.
45837 * sysdeps/i386/dl-machine.h: Likewise.
45838 * sysdeps/ia64/dl-machine.h: Likewise.
45839 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45840 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45841 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45842 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45843 * sysdeps/sh/dl-machine.h: Likewise.
45844 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45845 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45846 * sysdeps/unix/i386/sysdep.S: Likewise.
45847 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45848 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45849 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45850 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45851 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45852 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45853 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45854 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45855 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45856 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45857 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45858 * sysdeps/x86_64/dl-machine.h: Likewise.
45859 * tls.make.c: Likewise.
45861 * configure.in: Remove --with-__thread option. Make tests for
45862 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45863 tls_model attribute fail if no support is available. Remove
45865 * Makeconfig: Adjust for dropped configure option. All features are
45867 * Makerules: Likewise.
45868 * Versions.def: Likewise.
45869 * argp/argp-fmtstream.c: Likewise.
45870 * argp/argp-fmtstream.h: Likewise.
45871 * argp/argp-help.c: Likewise.
45872 * assert/assert.c: Likewise.
45873 * config.h.in: Likewise.
45874 * config.make.in: Likewise.
45875 * configure: Likewise.
45876 * configure.in: Likewise.
45877 * csu/Versions: Likewise.
45878 * csu/init.c: Likewise.
45879 * elf/tst-audit2.c: Likewise.
45880 * elf/tst-tls10.c: Likewise.
45881 * elf/tst-tls10.h: Likewise.
45882 * elf/tst-tls11.c: Likewise.
45883 * elf/tst-tls12.c: Likewise.
45884 * elf/tst-tls14.c: Likewise.
45885 * elf/tst-tlsmod11.c: Likewise.
45886 * elf/tst-tlsmod12.c: Likewise.
45887 * elf/tst-tlsmod13.c: Likewise.
45888 * elf/tst-tlsmod13a.c: Likewise.
45889 * elf/tst-tlsmod14a.c: Likewise.
45890 * elf/tst-tlsmod15b.c: Likewise.
45891 * elf/tst-tlsmod16a.c: Likewise.
45892 * elf/tst-tlsmod16b.c: Likewise.
45893 * elf/tst-tlsmod7.c: Likewise.
45894 * elf/tst-tlsmod8.c: Likewise.
45895 * elf/tst-tlsmod9.c: Likewise.
45896 * gmon/gmon.c: Likewise.
45897 * grp/fgetgrent_r.c: Likewise.
45898 * grp/putgrent.c: Likewise.
45899 * hurd/fopenport.c: Likewise.
45900 * include/libc-symbols.h: Likewise.
45901 * include/tls.h: Likewise.
45902 * intl/gettextP.h: Likewise.
45903 * intl/loadinfo.h: Likewise.
45904 * locale/global-locale.c: Likewise.
45905 * locale/localeinfo.h: Likewise.
45906 * mach/devstream.c: Likewise.
45907 * malloc/arena.c: Likewise.
45908 * malloc/set-freeres.c: Likewise.
45909 * misc/err.c: Likewise.
45910 * misc/getttyent.c: Likewise.
45911 * misc/mntent_r.c: Likewise.
45912 * posix/getopt.c: Likewise.
45913 * posix/wordexp.c: Likewise.
45914 * pwd/fgetpwent_r.c: Likewise.
45915 * resolv/Versions: Likewise.
45916 * resolv/res_hconf.c: Likewise.
45917 * shadow/fgetspent_r.c: Likewise.
45918 * shadow/putspent.c: Likewise.
45919 * stdio-common/printf_fphex.c: Likewise.
45920 * stdio-common/tmpfile.c: Likewise.
45921 * stdlib/abort.c: Likewise.
45922 * stdlib/fmtmsg.c: Likewise.
45923 * sunrpc/auth_unix.c: Likewise.
45924 * sunrpc/clnt_perr.c: Likewise.
45925 * sunrpc/clnt_tcp.c: Likewise.
45926 * sunrpc/clnt_udp.c: Likewise.
45927 * sunrpc/clnt_unix.c: Likewise.
45928 * sunrpc/openchild.c: Likewise.
45929 * sunrpc/svc_simple.c: Likewise.
45930 * sunrpc/svc_tcp.c: Likewise.
45931 * sunrpc/svc_udp.c: Likewise.
45932 * sunrpc/svc_unix.c: Likewise.
45933 * sunrpc/xdr.c: Likewise.
45934 * sunrpc/xdr_array.c: Likewise.
45935 * sunrpc/xdr_rec.c: Likewise.
45936 * sunrpc/xdr_ref.c: Likewise.
45937 * sunrpc/xdr_stdio.c: Likewise.
45939 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45941 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45943 2011-07-03 Andreas Jaeger <aj@suse.de>
45945 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45946 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45947 regenerate with gen-libm-tests.pl.
45949 2010-05-12 Petr Baudis <pasky@suse.cz>
45952 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45953 around j0() zero points by switching to j1().
45954 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45955 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45956 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45957 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45959 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45961 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45963 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45965 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45966 Patch in part by Pavel Roskin <proski@gnu.org>.
45969 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45971 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45972 Free memory block if necessary.
45975 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45976 be NULL. Don't lock in this case.
45978 2011-09-09 Roland McGrath <roland@hack.frob.com>
45980 * elf/elf.h (ELFOSABI_GNU): New macro.
45981 (ELFOSABI_LINUX): Define to that.
45983 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45985 * string/strncat.c (strncat): Undef the symbol in case it has been
45986 defined in bits/string.h.
45988 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45990 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45992 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45995 2011-08-17 Andreas Jaeger <aj@suse.de>
45997 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45999 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
46000 Ian Lance Taylor <iant@google.com>
46002 * math/libm-test.inc (lround_test): New testcase.
46003 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46005 2011-09-08 Ulrich Drepper <drepper@gmail.com>
46007 * Makefile: Remove support for automatic cvs check-ins.
46008 * Makerules: Likewise.
46009 * config.make.in: Likewise.
46010 * configure.in: Likewise.
46011 * intl/Makefile: Likewise.
46012 * locale/Makefile: Likewise.
46013 * po/Makefile: Likewise.
46014 * posix/Makefile: Likewise.
46015 * sysdeps/gnu/Makefile: Likewise.
46016 * sysdeps/mach/hurd/Makefile: Likewise.
46017 * sysdeps/sparc/sparc32/Makefile: Likewise.
46020 * posix/Makefile (bug-regex32-ENV): Define.
46021 Patch by John Stanley <jpsinthemix@verizon.net>.
46023 * misc/Makefile (headers): Add bits/select2.h.
46024 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46025 * misc/bits/select2.h: New file.
46026 * include/bits/select2.h: New file.
46027 * debug/Makefile (routines): Add fdelt_chk.
46028 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46029 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46031 * debug/fdelt_chk.c: New file.
46033 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
46034 * wcsmbs/test-wmemcmp.c: Likewise.
46035 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
46036 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
46038 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46040 * string/Makefile (strop-tests): Add memcmp.
46041 * string/test-wmemcmp.c: New file.
46042 * string/test-memcmp.c: Add wmemcmp support.
46044 2011-09-08 Roland McGrath <roland@hack.frob.com>
46047 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46050 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46051 garbage value in a __mach_port_mod_refs call in the cases of the
46052 task-self and thread-self ports.
46054 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46056 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46058 2011-09-08 Andreas Schwab <schwab@redhat.com>
46060 * elf/dl-load.c (lose): Check for non-null L.
46062 2011-09-07 Ulrich Drepper <drepper@gmail.com>
46064 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46066 * elf/dl-libc.c (dlerror_run): Pass back error code from
46070 * elf/dl-load.c (lose): Free l_origin if it is valid.
46072 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46074 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46075 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46076 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46077 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46078 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46079 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46081 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46083 * sysdeps/powerpc/fpu/e_hypot.c: New file.
46084 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46085 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46086 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46087 * sysdeps/powerpc/fpu/k_cosf.c: New file.
46088 * sysdeps/powerpc/fpu/k_sinf.c: New file.
46089 * sysdeps/powerpc/fpu/s_cosf.c: New file.
46090 * sysdeps/powerpc/fpu/s_sinf.c: New file.
46091 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46092 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46094 2011-08-15 Alan Modra <amodra@gmail.com>
46097 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46098 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46099 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
46100 ppc_mcount to static-only-routines.
46101 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46103 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46104 __mcount_internal with usual JUMPTARGET. Remove useless nop.
46106 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
46108 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46109 for finite and infinity parameters.
46111 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46113 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46114 and add nop instructions for throughput optimization.
46115 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46117 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
46119 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46120 aligned copy for power7 with vector-scalar instructions.
46121 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46123 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
46125 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46128 2011-09-07 Andreas Schwab <schwab@redhat.com>
46131 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46134 2011-09-07 Ulrich Drepper <drepper@gmail.com>
46136 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46137 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46138 syscall wrapper around clock_gettime in __vdso_clock_gettime.
46139 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46142 2011-09-06 Ulrich Drepper <drepper@gmail.com>
46144 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46145 Forgot to demangle the pointer.
46147 * sysdeps/i386/sysdep.h: Define atom_text_section.
46148 * sysdeps/x86_64/sysdep.h: Likewise.
46149 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46150 section with atom_text_section.
46151 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46152 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46153 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46154 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46155 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46157 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46158 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46159 already be defined. Change to take two parameters and don't assign
46160 result to variable. Adjust all users.
46161 Define INTERNAL_GETTIME if not already defined.
46162 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46164 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46165 HAVE_CLOCK_GETTIME_VSYSCALL.
46166 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46168 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46169 gettimeofday vsyscall, just use time.
46171 2011-09-06 Andreas Schwab <schwab@redhat.com>
46173 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46176 2011-09-06 Ulrich Drepper <drepper@gmail.com>
46178 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46180 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46182 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46183 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46184 syscall if possible.
46186 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46188 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46189 e_ident. Don't pass to find_mapsXX.
46190 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46192 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46194 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46195 strchr-sse2-no-bsf strrchr-sse2-no-bsf
46196 * sysdeps/x86_64/multiarch/strchr.S: Update.
46197 Check bit_slow_BSF bit.
46198 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46199 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46200 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46202 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46205 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46207 (tryshell): Define.
46208 (__spawni): Change last parameter to be flag. Test
46209 SPAWN_XFLAGS_USE_PATH flag to use path or not.
46210 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46211 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46212 * posix/spawni.c: Likewise.
46213 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46214 * posix/spawnp.c: Likewise. Change normal version to use
46215 SPAWN_XFLAGS_USE_PATH.
46216 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46217 SPAWN_XFLAGS_TRY_SHELL.
46220 * posix/glob.h: Remove gcc 1.x support.
46223 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46225 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46227 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46228 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46230 * sysdeps/i386/i686/multiarch/strchr.S: New file.
46231 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46232 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46233 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46234 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46235 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46237 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46239 * sysdeps/x86_64/wcscmp.S: New file.
46241 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46242 wcscmp-c wcscmp-sse2
46243 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46244 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46245 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46246 * wcsmbs/wcscmp.c: Allow renaming.
46248 2011-09-05 David S. Miller <davem@davemloft.net>
46250 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46251 stack slot, rather than the struct return pointer slot.
46252 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46253 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46255 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46257 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46259 * po/ja.po: Update from translation team.
46262 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46263 kernel in 64-bit binaries.
46265 2011-09-01 David S. Miller <davem@davemloft.net>
46267 * elf/elf.h (HWCAP_SPARC_*): Move to..
46268 * sysdeps/sparc/sysdep.h: this new file and add new values.
46269 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46270 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46271 _DL_HWCAP_COUNT to 24.
46272 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46274 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46275 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46276 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46277 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46278 instead of magic constants.
46279 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46281 2011-08-31 David S. Miller <davem@davemloft.net>
46283 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46284 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46285 Reimplement to do errno handling inline.
46286 (SYSCALL_ERROR_HANDLER): New macro.
46287 (__SYSCALL_STRING): Do not do errno handling in asm.
46288 (__CLONE_SYSCALL_STRING): Delete.
46289 (__INTERNAL_SYSCALL_STRING): Delete.
46290 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46291 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46292 (PSEUDO): Reimplement to do errno handling inline.
46293 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46294 (SYSCALL_ERROR_HANDLER): New macro.
46295 (__SYSCALL_STRING): Do not do errno handling in asm.
46296 (__CLONE_SYSCALL_STRING): Delete.
46297 (__INTERNAL_SYSCALL_STRING): Delete.
46298 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46299 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46301 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46302 (inline_syscall*): Add 'err' argument.
46303 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46304 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46305 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46306 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46308 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46309 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46311 2011-08-30 Andreas Schwab <schwab@redhat.com>
46313 * elf/rtld.c (dl_main): Relocate objects in dependency order.
46315 2011-08-29 Jiri Olsa <jolsa@redhat.com>
46317 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46320 2011-08-24 David S. Miller <davem@davemloft.net>
46322 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46324 2011-08-24 Andreas Schwab <schwab@redhat.com>
46326 * elf/Makefile: Add rules to build and run unload8 test.
46327 * elf/unload8.c: New file.
46328 * elf/unload8mod1.c: New file.
46329 * elf/unload8mod1x.c: New file.
46330 * elf/unload8mod2.c: New file.
46331 * elf/unload8mod3.c: New file.
46333 * elf/dl-close.c (_dl_close_worker): Reset private search list if
46336 2011-08-23 David S. Miller <davem@davemloft.net>
46338 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46339 subtract stack bias.
46340 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46341 %sp not %fp in calculations.
46342 (_JMPBUF_UNWINDS_ADJ): Likewise.
46344 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46345 (aio_suspend): Call it to force an exception region around the
46346 AIO_MISC_WAIT() invocation.
46348 2011-08-23 Andreas Schwab <schwab@redhat.com>
46350 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46353 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
46355 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46357 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46358 and <dl-machine.h>.
46359 (Elf64_FuncDesc): Remove.
46361 2011-08-22 David S. Miller <davem@davemloft.net>
46363 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46364 sigaltstack check, add missing cfi directives.
46365 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46366 missing cfi directives, and sigaltstack handling.
46368 2011-08-16 Andreas Schwab <schwab@redhat.com>
46371 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46372 object is seen twice.
46373 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46375 * elf/Makefile (distribute): Add tst-initorder2.c.
46376 (tests): Add tst-initorder2.
46377 (modules-names): Add tst-initorder2a tst-initorder2b
46378 tst-initorder2c tst-initorder2d. Add rules to build them.
46379 ($(objpfx)tst-initorder2.out): New rule.
46380 * elf/tst-initorder2.c: New file.
46381 * elf/tst-initorder2.exp: New file.
46383 2011-08-22 Andreas Schwab <schwab@redhat.com>
46385 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46387 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46388 dependencies back to end of function.
46390 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46391 $(elfobjdir)/ld.so.
46393 2011-08-21 Ulrich Drepper <drepper@gmail.com>
46395 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46396 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46397 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46398 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46399 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46400 of __vdso_gettimeofday.
46401 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46402 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
46404 (_libc_vdso_platform_setup): Remove initialization of
46405 __vdso_gettimeofday and __vdso_time.
46407 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46409 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46410 and fgetc_unlocked.
46411 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46414 * elf/dl-open.c (add_to_global): Report additions to the global scope
46415 for LD_DEBUG=scopes.
46416 (dl_open_worker): Also print scope of newly loaded dependencies.
46417 (_dl_show_scope): Indicate if there is no scope.
46420 * stdio-common/Makefile (tests): Add bug24.
46421 * stdio-common/bug24.c: New file.
46423 2011-08-19 Andreas Jaeger <aj@suse.de>
46426 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46427 non-existant file when using close-on-exec mode.
46429 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46431 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46432 the very first instruction.
46434 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46435 the CFI state in the end.
46436 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46437 inclusion of dl-trampoline.h.
46438 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46440 2011-08-19 Andreas Schwab <schwab@redhat.com>
46442 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46443 expectations for long double.
46445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46446 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46448 2011-08-14 David S. Miller <davem@davemloft.net>
46450 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46451 artificual limit depends upon the system page size.
46453 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46455 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46456 * resolv/Makefile: Define CFLAGS-libresolv.
46458 2011-08-17 Andreas Schwab <schwab@redhat.com>
46460 * nss/makedb.c (compute_tables): Make variables used in nested
46463 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46465 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46466 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46467 if buffer was too small.
46469 * elf/pldd.c (main): Attach to all threads in the process.
46470 Rewrite /proc handling to use *at functions.
46472 2011-08-16 Ulrich Drepper <drepper@gmail.com>
46474 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46475 specifies first scope to show.
46476 (dl_open_worker): Update callers. Move printing scope of new
46477 object to before the relocation.
46478 * elf/rtld.c (dl_main): Update _dl_show_scope call.
46479 * sysdeps/generic/ldsodefs.h: Update declaration.
46481 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46482 string for the scope number.
46484 2011-08-14 Ulrich Drepper <drepper@gmail.com>
46486 * nscd/servicescache.c (cache_addserv): Make sure written is always
46489 2011-08-14 Roland McGrath <roland@hack.frob.com>
46491 * sysdeps/i386/i486/bits/atomic.h
46492 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46493 statement expression, so as to suppress "set but not used" warning.
46494 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46496 * string/strncat.c (STRNCAT): Use prototype definition.
46498 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46499 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46501 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46502 (localedef-modules): Add localedef.
46503 (locale-modules): Add locale.
46505 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46506 * elf/rtld.c (dl_main): Invert order of assignment in last change,
46507 to avoid a warning.
46509 2011-08-14 David S. Miller <davem@davemloft.net>
46511 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46512 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46514 2011-08-13 Ulrich Drepper <drepper@gmail.com>
46516 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46517 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46518 * elf/rtld.c (dl_main): Set l_name of vDSO.
46519 Call _dl_show_scope when DL_DEBUG_SCOPES.
46520 (process_dl_debug): Recognize scopes flag and also set it for all.
46521 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46522 Declare _dl_show_scope.
46524 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46525 (do_dlopen): Pass caller_dlopen to dl_open.
46526 (__libc_dlopen_mode): Initialize caller_dlopen.
46528 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46529 of libc. Make tolower call locale-independent. Optimize a bit by
46530 using isdigit instead of isalnum.
46531 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46533 2011-08-12 Ulrich Drepper <drepper@gmail.com>
46535 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46536 was a dependency or dynamically loaded.
46538 2011-08-11 Ulrich Drepper <drepper@gmail.com>
46540 * intl/l10nflist.c: Allow architecture-specific pop function.
46541 * sysdeps/x86_64/l10nflist.c: New file.
46543 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46546 2011-08-10 Andreas Schwab <schwab@redhat.com>
46548 * include/dirent.h: Add libc_hidden_proto for scandirat and
46549 scandirat64. Don't declare __scandirat64.
46550 * dirent/scandirat.c: Add libc_hidden_def.
46551 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46552 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46554 2011-08-10 David S. Miller <davem@davemloft.net>
46556 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46558 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46559 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46560 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46562 2011-08-09 Ulrich Drepper <drepper@gmail.com>
46564 * Versions.def [libc]: Add GLIBC_2.15.
46565 * dirent/Makefile (routines): Add scandirat and scandirat64.
46566 * dirent/Versions [libc]: Export scandirat and scandirat64 for
46568 * dirent/dirent.h: Declare scandirat and scandirat64.
46569 * dirent/scandirat.c: New file.
46570 * dirent/scandirat64.c: New file.
46571 * sysdeps/wordsize-64/scandirat.c: New file.
46572 * sysdeps/wordsize-64/scandirat64.c: New file.
46573 * dirent/opendir.c: Define opendirat.
46574 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
46576 * dirent/scandir64.c: Adjust for scandir.c change.
46577 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
46578 __scandirat64, and __scandir_cancel_handler.
46579 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
46580 additional parameter and use openat instead of open (outside of ld.so).
46581 Add new __opendir as wrapper around __opendirat.
46582 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46583 here without requiring old scandirat implementation.
46585 2011-08-08 Ulrich Drepper <drepper@gmail.com>
46587 * dirent/scandir.c (cancel_handler): Renamed to
46588 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
46589 defined. Adjust users.
46590 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46591 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46593 2011-08-04 Ulrich Drepper <drepper@gmail.com>
46595 * string/test-string.h (IMPL): Use __STRING to expand name and then
46598 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
46601 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46603 * string/Makefile: Update.
46604 (strop-tests): Append strncat.
46605 * string/test-wcscmp.c: New file.
46606 New comprehensive test for wcscmp.
46607 * string/test-strcmp.c: Update.
46608 (WIDE): New define.
46610 2011-07-22 Andreas Schwab <schwab@redhat.com>
46612 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46615 2011-07-26 Andreas Schwab <schwab@redhat.com>
46617 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46618 encoding to ACE if AI_IDN.
46620 2011-08-01 Jakub Jelinek <jakub@redhat.com>
46622 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46623 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46625 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46627 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46628 Fix overflow bug in strncat.
46629 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46631 * string/test-strncat.c: Update.
46632 Add new tests for checking overflow bugs.
46634 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46636 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46637 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46638 * sysdeps/i386/i686/multiarch/strcat.S: New file.
46639 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46640 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46641 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46642 * sysdeps/i386/i686/multiarch/strncat.S: New file.
46643 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46644 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46646 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46647 (USE_AS_STRCAT): Define.
46648 Add strcat and strncat support.
46649 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46651 2011-07-25 Andreas Schwab <schwab@redhat.com>
46653 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46654 __n bigger than INT_MAX+1.
46655 (__strncmp_g): Likewise.
46657 2011-07-23 Ulrich Drepper <drepper@gmail.com>
46659 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46660 * libio/stido.h: Likewise.
46662 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46664 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46667 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46668 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46669 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46670 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46671 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46674 * scripts/test-installation.pl: Don't expect libnss_test1 to be
46677 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46679 (_dl_x86_64_save_sse): Likewise.
46681 2011-07-22 Ulrich Drepper <drepper@gmail.com>
46683 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46685 (_dl_x86_64_save_sse): Likewise.
46687 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46689 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46691 2011-07-21 Andreas Schwab <schwab@redhat.com>
46693 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46695 (_dl_x86_64_save_sse): Use correct AVX check.
46697 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46699 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46700 bug in strncpy/strncat.
46701 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46703 2011-07-21 Ulrich Drepper <drepper@gmail.com>
46705 * string/tester.c (test_strcat): Add tests for different alignments
46706 of source and destination.
46707 (test_strncat): Likewise.
46709 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46712 * posix/glob.c (glob): Check passed in values before using them in
46713 expressions to avoid some overflows.
46714 (glob_in_dir): Likewise.
46717 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46718 check for AVX enablement so that we don't crash with old kernels and
46720 * elf/tst-audit4.c: Add same checks here.
46721 * elf/tst-audit6.c: Likewise.
46723 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46725 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
46727 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46729 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46731 * po/cs.po: Update from translation team.
46732 * po/bg.po: Likewise.
46734 2011-07-12 Marek Polacek <mpolacek@redhat.com>
46736 * misc/sys/cdefs.h: Add support for const attribute.
46737 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46738 to gnu_dev_{major,minor,makedev} functions.
46740 2011-07-20 Marek Polacek <mpolacek@redhat.com>
46742 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46744 2011-07-20 Andreas Schwab <schwab@redhat.com>
46746 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46749 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46751 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46752 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46753 register in order to avoid conflicts with the soft frame pointer
46754 being held in r11 when necessary.
46755 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46756 (INTERNAL_VSYSCALL_NCS): Likewise.
46758 2011-07-14 Marek Polacek <mpolacek@redhat.com>
46760 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46761 * elf/dl-fini.c (_dl_fini): Adjust caller.
46762 * elf/dl-close.c (_dl_close_worker): Likewise.
46763 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46765 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46767 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46768 "aux_cache->nlibs < 0".
46770 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46771 in the reload-count case.
46773 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46775 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46776 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46777 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46778 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46779 * sysdeps/x86_64/multiarch/strcat.S: New file.
46780 * sysdeps/x86_64/multiarch/strncat.S: New file.
46781 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46782 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46783 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46784 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46785 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46786 (USE_AS_STRCAT): Define.
46787 Add strcat and strncat support.
46788 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46789 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46790 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46791 * string/strncat.c: Update.
46792 (USE_AS_STRNCAT): Define.
46793 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46794 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46796 * sysdeps/x86_64/multiarch/init-arch.h
46797 (bit_Prefer_PMINUB_for_stringop): New.
46798 (index_Prefer_PMINUB_for_stringop): Likewise.
46799 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46800 bit_Prefer_PMINUB_for_stringop.
46802 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46804 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46806 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46807 of casting of buffer.
46808 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46809 buffer32 and buffer64.
46810 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46811 writes instead of casting of buffer.
46812 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46814 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46817 2011-07-19 Andreas Schwab <schwab@redhat.com>
46819 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46821 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46823 * nscd/nscd.c (termination_handler): Don't do anything for a database
46824 if it has not yet been initialized.
46826 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46828 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46830 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46832 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46834 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46836 * po/nl.po: Update from translation team.
46837 * po/sv.po: Likewise.
46839 2011-07-16 Roland McGrath <roland@hack.frob.com>
46841 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46842 now disallowed by GCC.
46844 * configure.in (use-default-link): Default to yes if a test -shared
46845 link meets our qualifications.
46846 * configure: Regenerated.
46848 * config.make.in (output-format): New variable.
46849 * configure.in: Check for ld --print-output-format support.
46850 * configure: Regenerated.
46851 * Makerules ($(common-objpfx)format.lds)
46852 [$(output-format) != unknown]: Just use $(output-format),
46853 instead of the linker-script munging.
46855 2011-07-14 Roland McGrath <roland@hack.frob.com>
46857 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46858 of $(common-objpfx)shlib.lds.
46859 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46861 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46862 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46864 * configure.in (-z relro check): Adjust test code to add a large
46865 writable data section after it.
46866 * configure: Regenerated.
46868 2011-07-11 Roland McGrath <roland@hack.frob.com>
46870 * configure.in (-z relro check): Fix test code to make the variable
46872 * configure: Regenerated.
46874 2011-07-11 Ulrich Drepper <drepper@gmail.com>
46876 * nscd/nscd.h (struct traced_file): Define.
46877 (struct database_dyn): Remove inotify_descr, reset_res, and filename
46878 elements. Add traced_files.
46879 (inotify_fd): Declare.
46880 (register_traced_file): Declare.
46881 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46882 (inotify_fd): Export.
46883 (resolv_conf_descr): Remove.
46884 (nscd_init): Move inotify descriptor creation to main.
46885 Don't register files for notification here.
46886 (register_traced_file): New function.
46887 (invalidate_cache): Don't use reset_res to determine whether to call
46888 res_init, go through the list of registered files.
46889 (main_loop_poll): The inotify descriptors are now stored in the
46890 structures for the traced files.
46891 (main_loop_epoll): Likewise
46892 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
46893 to __nss_disable_nscd.
46894 * nscd/cache.c (prune_cache): There is no single inotify descriptor
46895 for a database anymore. Check the records for all the registered
46897 * nss/Makefile (libnss_files-routines): Add files-init.
46898 (libnss_db-routines): Add db-init.
46899 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46900 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46901 * nss/nss_db/db-init.c: New file.
46902 * nss/nss_files/files-init.c: New file.
46903 * nss/nsswitch.c (nss_load_library): New function. Broken out of
46904 __nss_lookup_function.
46905 (__nss_lookup_function): Call nss_load_library.
46906 (nss_load_all_libraries): New function.
46907 (__nss_disable_nscd): Take parameter with callback function for files
46908 to register. Set is_nscd. Load all the DSOs for the NSS modules
46909 used for the cached services.
46910 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46911 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46912 options for features to all the files in nscd.
46914 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46916 2011-07-10 Roland McGrath <roland@hack.frob.com>
46918 * csu/elf-init.c (__libc_csu_init): Comment typo.
46920 2011-07-09 Ulrich Drepper <drepper@gmail.com>
46922 * po/pl.po: Update from translation team.
46923 * po/ja.po: Likewise.
46924 * po/ru.po: Likewise.
46925 * po/ko.po: Likewise.
46926 * po/fr.po: Likewise.
46928 2011-07-09 Roland McGrath <roland@hack.frob.com>
46930 * configure.in (.ctors/.dtors header and trailer check):
46931 Use an empirical test on a built program.
46932 * configure: Regenerated.
46934 * configure.in (-z relro check): Use an empirical test on a built DSO.
46935 Detect, but do not require, on ia64.
46936 * configure: Regenerated.
46938 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46939 Update tests that use readelf to use $READELF instead.
46940 * configure: Regenerated.
46942 2011-07-08 Ulrich Drepper <drepper@gmail.com>
46944 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46945 if the result is not used.
46947 2011-07-05 Andreas Jaeger <aj@suse.de>
46950 * stdlib/tst-strtod.c: Add testcase.
46952 2011-07-07 Ulrich Drepper <drepper@gmail.com>
46954 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46955 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46956 The latter has a higher limit. Take additional parameter to pass to
46958 (__pathconf): Pass file to __statfs_link_max.
46959 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46961 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46965 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46966 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46968 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46969 (__statfs_filesize_max): Likewise.
46970 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46972 2011-07-05 Andreas Jaeger <aj@suse.de>
46974 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46976 2011-07-06 Marek Polacek <mpolacek@redhat.com>
46978 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46980 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46983 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46985 * Makefile (strop-tests): Add strncat.
46986 * string/test-strncat.c: New file.
46988 2011-06-30 Marek Polacek <mpolacek@redhat.com>
46990 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46992 2011-06-21 Andreas Jaeger <aj@suse.de>
46994 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46995 Copy rule from iconvdata/Makefile.
46997 2011-07-06 Ulrich Drepper <drepper@gmail.com>
47000 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47001 but no long options are defined, just return 'W'.
47003 2011-06-22 Marek Polacek <mpolacek@redhat.com>
47006 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47008 2011-07-06 Ulrich Drepper <drepper@gmail.com>
47010 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47012 (innetgr): Likewise.
47014 2011-07-05 Roland McGrath <roland@hack.frob.com>
47016 * config.make.in (install_root): Default to $(DESTDIR).
47018 2011-07-05 Ulrich Drepper <drepper@gmail.com>
47020 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47022 2011-07-02 Roland McGrath <roland@hack.frob.com>
47024 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47026 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47027 containing directory rather than embedding absolute directory names.
47029 * scripts/check-local-headers.sh: Rewritten using awk.
47030 Match by word, not by line. Print error messages for matches.
47031 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47033 * Makerules [shlib-lds-flags empty]:
47034 ($(common-objpfx)libc_pic.opts): New target.
47035 ($(common-objpfx)libc_pic.os.clean): New target.
47036 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47038 * config.make.in (OBJCOPY): New variable.
47039 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47040 * configure: Regenerated.
47042 * config.make.in (use-default-link): New variable.
47043 * configure.in (use_default_link): Grok --with-default-link to set it.
47044 * configure: Regenerated.
47045 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47046 (shlib-lds, shlib-lds-flags): Define to empty.
47048 * Makerules (shlib-lds): New variable.
47049 (shlib-lds-flags): New variable.
47050 (build-shlib, build-moduile, build-module-asneeded): Use it.
47051 ($(common-objpfx)libc.so): Use $(shlib-lds).
47052 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47053 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47055 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47056 DT_FLAGS/DT_FLAGS_1 with zero flags.
47058 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47059 linker script munging.
47061 2011-07-02 Ulrich Drepper <drepper@gmail.com>
47063 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47065 * crypt/sha512.c (sha512_process_block): Perform total addition using
47066 128-bit if possible.
47067 (__sha512_finish_ctx): Likewise.
47068 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47070 * crypt/sha256.c (SWAP64): Define.
47071 (sha256_process_block): Perform total addition using 64-bit if
47073 (__sha256_finish_ctx): Likewise.
47075 2011-07-01 Ulrich Drepper <drepper@gmail.com>
47077 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
47078 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47079 * nscd/hstcache.c (cache_addhst): Likewise.
47080 * nscd/grpcache.c (cache_addgr): Likewise.
47081 * nscd/aicache.c (addhstaiX): Likewise
47082 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47084 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
47086 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47087 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47088 * nscd/hstcache.c (cache_addhst): Likewise.
47089 * nscd/grpcache.c (cache_addgr): Likewise.
47090 * nscd/aicache.c (addhstaiX): Likewise
47092 2011-07-01 Andreas Schwab <schwab@redhat.com>
47094 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47095 domain only when needed.
47097 2011-06-30 Andreas Schwab <schwab@redhat.com>
47099 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47100 is always restored.
47102 2011-06-29 Ulrich Drepper <drepper@gmail.com>
47104 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47105 are re-adding the entry.
47106 * nscd/servicescache.c (cache_addserv): Likewise.
47108 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
47110 * sysdeps/generic/dl-irel.h: fix protection against multiple
47112 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47114 2011-06-28 Ulrich Drepper <drepper@gmail.com>
47117 * malloc/memusage.sh: Fix quoting in message.
47118 * debug/xtrace.sh: Likewise.
47120 * configure.in: Remove support for --experimental-malloc option, make
47122 * config.make.in: Likewise.
47123 * malloc/Makefile: Likewise.
47125 2011-06-27 Andreas Schwab <schwab@redhat.com>
47127 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47128 two-byte characters.
47130 2011-06-27 Roland McGrath <roland@hack.frob.com>
47132 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47133 AC_CACHE_CHECK invocation.
47134 * configure: Regenerated.
47136 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47138 2011-06-27 Ulrich Drepper <drepper@gmail.com>
47141 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
47142 bit from old_res_options.
47144 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47146 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47147 value type for setfct.
47149 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
47151 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47152 __gettimeofday instead of gettimeofday.
47154 2011-06-26 Ulrich Drepper <drepper@gmail.com>
47156 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47158 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
47160 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47162 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47165 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47167 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47168 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47169 strcpy-sse2-unaligned strncpy-sse2-unaligned
47170 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47171 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47172 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47173 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47174 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47175 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47176 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47177 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47178 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47179 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47180 (STRCPY): Support SSE2 and SSSE3 versions.
47182 2011-06-24 Ulrich Drepper <drepper@gmail.com>
47185 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47186 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47187 kernels which artificially limit size of requests.
47189 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47191 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47192 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47193 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47194 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47195 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47196 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47197 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47198 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47199 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47200 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47201 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47202 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47203 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47204 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47205 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47206 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47207 Enable unaligned load optimization for Intel Core i3, i5 and i7
47209 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47211 (index_Fast_Unaligned_Load): Define.
47212 (HAS_FAST_UNALIGNED_LOAD): Define.
47214 2011-06-23 Marek Polacek <mpolacek@redhat.com>
47216 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47218 2011-06-22 Ulrich Drepper <drepper@gmail.com>
47221 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47222 until it is clear that the information is realy needed.
47223 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47225 2011-06-22 Andreas Schwab <schwab@redhat.com>
47227 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47229 2011-06-22 Ulrich Drepper <drepper@gmail.com>
47231 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47232 /sys/devices/system/cpu/online if it is usable.
47234 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47235 reading the information from the /proc filesystem to once a second.
47237 2011-06-21 Andreas Jaeger <aj@suse.de>
47239 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47240 NULL after inclusion of kernel headers.
47242 2011-06-21 Ulrich Drepper <drepper@gmail.com>
47244 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47245 calls to internal_setent.
47248 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47249 addresses using gethostbyname4_r ignore IPv4 addresses.
47251 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47252 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
47254 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47256 2011-06-20 David S. Miller <davem@davemloft.net>
47258 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47260 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47262 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47263 (elf_irel): Use it.
47264 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47265 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47266 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47267 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47268 * sysdeps/x86_64/dl-irel.h: Likewise.
47270 * elf/dl-runtime.c: Use elf_ifunc_invoke.
47271 * elf/dl-sym.c: Likewise.
47273 2011-06-15 Ulrich Drepper <drepper@gmail.com>
47275 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
47276 need to dereference resplen2.
47278 2011-06-14 Andreas Schwab <schwab@redhat.com>
47280 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47282 2011-06-15 Ulrich Drepper <drepper@gmail.com>
47284 * Makeconfig: Define vardbdir and inst_vardbdir.
47285 * nss/Makefile: Add rules to install db-Makefile.
47287 * nss/nss_db/db-XXX.c: Cleanup.
47289 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47290 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47292 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47293 * nss/makedb.c: Implement -g option to specify that value strings
47294 are generated and should not be added to table iterated over for
47296 * nss/nss_db/db-initgroups.c: New file.
47298 * nss/getent.c: Add support for initgroups lookups through getgrouplist
47301 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47302 (internal_getgrouplist): Adjust to name change.
47303 Update use_initgroups_entry if this is not the first call.
47304 * nss/databases.def: Add initgroups entry.
47306 * nss/makedb.c (compute_tables): Check result of multiple hash table
47307 sizes to minimize maximum chain length.
47309 2011-06-14 Ulrich Drepper <drepper@gmail.com>
47311 * Versions.def: Add entry for libnss_db.
47312 * shlib-versions: Likewise.
47313 * nss/Makefile: Add rules to build libnss_db.
47314 * nss/Versions: Add libnss_db information. Organize libnss_files
47316 * nss/db-Makefile: Add gshadow support. Change rules for the new
47317 makedb progra. Some minor improvements to generate smaller files.
47318 * nss/nss_db/nss_db.h: Move NSS database header data structures to
47320 * nss/makedb.c: ...here.
47321 Improve database format to be smaller and require less memory at
47323 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
47325 * nss/nss_db/db-netgrp.c: Likewise.
47326 * nss/nss_db/db-open.c: Likewise.
47327 * nss/nss_files/flies-XXX.x: Adjust comments.
47328 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47329 * nss/nss_files/files-grp.c: Likewise.
47330 * nss/nss_files/files-hosts.c: Likewise.
47331 * nss/nss_files/files-network.c: Likewise.
47332 * nss/nss_files/files-proto.c: Likewise.
47333 * nss/nss_files/files-pwd.c: Likewise.
47334 * nss/nss_files/files-rpc.c: Likewise.
47335 * nss/nss_files/files-service.c: Likewise.
47336 * nss/nss_files/files-sgrp.c: Likewise.
47337 * nss/nss_files/files-spwd.c: Likewise.
47338 * nss/nss_db/db-alias.c: Removed.
47339 * nss/nss_db/dummy-db.h: Removed.
47341 2011-06-02 Ulrich Drepper <drepper@gmail.com>
47343 * nss/makedb.c: Rewritten to not use database library.
47344 * nss/Makefile: Update to build new makedb program.
47346 2011-06-14 Andreas Jaeger <aj@suse.de>
47348 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47349 memset declaration.
47351 2011-06-10 Andreas Schwab <schwab@redhat.com>
47353 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47356 2011-06-10 Roland McGrath <roland@hack.frob.com>
47358 * Makerules (shlib.lds): Fail if the linker script comes out empty.
47359 * elf/Makefile ($(objpfx)ld.so): Likewise.
47361 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47362 Don't list ld.so twice in dependencies.
47364 * posix/bug-regex31.c: Include <stdlib.h>.
47366 * nscd/hstcache.c (cache_addhst): Remove unused variable.
47368 * nis/nss_compat/compat-spwd.c
47369 (getspent_next_nss_netgr): Remove unused variable.
47370 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47372 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47373 nonmembers" output to use the right array.
47375 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47377 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47379 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47380 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47381 * catgets/gencat.c (read_input_file): Likewise.
47382 * locale/programs/locarchive.c (enlarge_archive): Likewise.
47384 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47385 variable definition inside #if's controlling its use.
47387 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47389 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47391 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47393 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47396 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47398 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47399 * configure: Regenerated.
47401 * Makerules: Revert last change.
47402 * elf/Makefile: Likewise.
47404 2011-06-09 Roland McGrath <roland@hack.frob.com>
47406 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47407 * elf/Makefile ($(objpfx)librtld.os): Likewise.
47408 (reloc-link): Likewise.
47410 2011-06-09 Ulrich Drepper <drepper@gmail.com>
47412 * elf/Makefile: Add rules to build pldd.
47413 * elf/pldd.c: New file.
47414 * elf/pldd-xx.c: New file.
47416 2011-06-07 Ulrich Drepper <drepper@gmail.com>
47418 * version.h: Update for 2.15 development version.
47420 2011-06-07 David S. Miller <davem@davemloft.net>
47422 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47424 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47425 elf_machine_lazy_rel): Likewise.
47426 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47427 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47428 elf_machine_lazy_rel): Likewise.
47429 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47430 dl_hwcap via passed in argument.
47431 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47434 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47436 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
47438 2011-06-06 Roland McGrath <roland@hack.frob.com>
47441 * manual/fdl-1.1.texi: New file, verbatim from:
47442 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47443 * manual/lgpl-2.1.texi: New file, verbatim from:
47444 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47445 * manual/Makefile (licenses): New variable, list those new file names.
47447 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47449 * manual/fdl.texi: File removed.
47450 * manual/lesser.texi: File removed.
47451 * manual/libc.texinfo (Copying, Documentation License):
47452 Use new @include file names, put @appendix directive before @include.
47454 2011-06-04 Jakub Jelinek <jakub@redhat.com>
47457 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47458 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47459 (mq_open): Add __NTH.
47461 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
47463 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47464 Assume Intel Core i3/i5/i7 processor if AVX is available.
47466 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47468 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47471 2011-05-31 Andreas Schwab <schwab@redhat.com>
47473 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47474 memory. Use alloca_account. Fix memory leak when retrying.
47476 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47478 * version.h (RELEASE): Bump for 2.14 release.
47479 * include/features.h (__GLIBC_MINOR__): Bump to 14.
47481 * config.make.in (RANLIB): Remove entry.
47483 2011-05-30 Ulrich Drepper <drepper@gmail.com>
47485 * po/Makefile (po-sed-cmd): Add ksh to extensions.
47486 (libc.pot): Work around missing support for .ksh extension in xgettext.
47489 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47490 if both request failed.
47491 (send_dg): In case of server errors clear resplen or *resplen2.
47494 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47495 when there are multiple maps.
47496 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47497 (_dl_fini): Remove test here.
47499 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47501 2011-05-29 Ulrich Drepper <drepper@gmail.com>
47504 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47505 bit from old_res_options.
47506 (gaih_inet): Likewise.
47509 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47512 * resolv/res_init.c (res_setoptions): Make the code more compact.
47515 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47519 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47521 * malloc/malloc.h: Mark malloc hook variables as deprecated.
47524 * malloc/malloc.h: Declare malloc hook variables as volatile.
47526 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47530 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47531 raise in the comment.
47532 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47533 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47534 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47536 2011-05-28 Ulrich Drepper <drepper@gmail.com>
47539 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47540 grow the buffers more if it already has to be sufficient.
47541 (build_wcs_upper_buffer): Likewise.
47542 * posix/regexec.c (check_matching): Likewise.
47543 (clean_state_log_if_needed): Likewise.
47544 (extend_buffers): Don't enlarge buffers beyond size of the input
47546 Patches mostly by Emil Wojak <emil@wojak.eu>.
47547 * posix/bug-regex32.c: New file.
47548 * posix/Makefile (tests): Add bug-regex32.
47550 * locale/findlocale.c (_nl_find_locale): Return right away if
47551 _nl_explode_name failed.
47552 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47554 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47556 * debug/xtrace.sh: Unify messages.
47557 * malloc/memusage.sh: Likewise.
47560 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47561 time symbol from vDSO. Substitute with vsyscall if not available.
47562 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47565 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47566 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47567 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47568 Add sendmmsg and internal_sendmmsg.
47569 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47570 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47571 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47573 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47574 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47575 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47577 2011-05-27 Ulrich Drepper <drepper@gmail.com>
47580 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47581 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
47583 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47587 * iconvdata/Makefile (tests): Add bug-iconv9.
47588 * iconvdata/bug-iconv9.c: New file.
47590 2011-05-27 Andreas Schwab <schwab@redhat.com>
47593 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47595 2011-05-25 Jakub Jelinek <jakub@redhat.com>
47597 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47598 (struct user_regs_struct): Change intcs field back to cs.
47600 2011-05-25 Ulrich Drepper <drepper@gmail.com>
47602 * po/ja.po: Update from translation team.
47604 2011-05-23 Ulrich Drepper <drepper@gmail.com>
47607 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47608 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47610 2011-05-20 Andreas Schwab <schwab@redhat.com>
47612 * stdlib/longlong.h: Update from GCC.
47614 2011-05-23 Andreas Schwab <schwab@redhat.com>
47616 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47618 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47619 Add parameter name.
47620 (__sysconf): Pass it down.
47622 2011-05-22 Ulrich Drepper <drepper@gmail.com>
47625 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47627 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47628 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47629 add in in __libc_use_alloca calls. Adjust callers.
47630 (glob): Use malloc in some situations.
47632 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47633 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47636 2011-05-21 Ulrich Drepper <drepper@gmail.com>
47638 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47639 and CLOCK_BOOTTIME_ALARM.
47642 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47645 * string/_strerror.c (__strerror_r): Print negative errors as signed
47649 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47650 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47651 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47653 * configure.in: Fix typo in redirection and correct removal of test
47654 files in two cases.
47657 * locale/setlocale.c (new_composite_name): Fix test to check for
47658 identical name of all categories.
47661 * libio/filedoalloc.c (local_isatty): New function.
47662 (_IO_file_doallocate): Use local_isatty.
47663 * stdio-common/perror.c (perror): In case a new stream is used
47664 forward the stream error.
47665 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47668 2011-05-20 Ulrich Drepper <drepper@gmail.com>
47671 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47673 * include/alloca.h (extend_alloca_account): Define.
47676 * posix/regex.h: Fix comments with documentation of user-accessible
47677 fields after compilation and describe correct free'ing of pattern
47678 after re_compile_pattern.
47679 Patch by Reuben Thomas <rrt@sc3d.org>.
47681 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
47683 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47684 and -mno-altivec to prevent the compiler from using Altivec and/or
47685 VSX instructions when the corresponding registers are not available.
47687 2011-05-19 Andreas Schwab <schwab@redhat.com>
47689 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47691 2011-05-19 Ulrich Drepper <drepper@gmail.com>
47693 * libio/freopen.c (freopen): Use __dup2, not dup2.
47694 * libio/freopen64.c (freopen64): Likewise.
47696 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
47699 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47700 * math/Makefile (tests): Add test-powl.
47701 (CFLAGS-test-powl.c): Define.
47702 * math/test-powl.c: New file.
47704 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
47706 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47708 2011-05-17 Ulrich Drepper <drepper@gmail.com>
47711 * iconvdata/gb18030.c: Update to GB18020-2005.
47713 2011-05-16 Ulrich Drepper <drepper@gmail.com>
47715 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47716 RE_SYNTAX_POSIX_AWK): Update to match recent development.
47717 Patch by Aharon Robbins <arnold@skeeve.com>.
47720 * stdlib/putenv.c (putenv): Don't always create copy of the variable
47724 * misc/pselect.c (__pselect): Handle timeout value errors hidden
47725 through underflows.
47728 * misc/error.c (error_at_line): Ensure file_name and old_file_name
47729 point to strings before performing equality test for error_one_per_line
47733 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47736 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47737 (struct user_fpregs_struct): Avoid __uint*_t types.
47740 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47741 symbol info. Use it instead of calling _dl_addr locally.
47742 (lock_and_info): New function.
47743 (tr_freehook): Call lock_and_info and pass symbol info as additional
47744 parameter to tr_where.
47745 (tr_mallochook): Likewise.
47746 (tr_reallochook): Likewise.
47747 (tr_memalignhook): Likewise.
47749 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47750 used and couldn't be at all thread-safe.
47752 2011-05-15 Ulrich Drepper <drepper@gmail.com>
47754 * libio/freopen.c (freopen): Don't close old file descriptor
47755 before the new one is opened. Instead dup the new file descriptor
47756 to the old one after the new stream is created.
47757 * libio/freopen64.c (freopen64): Likewise.
47758 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47759 * libio/fileops.c (_IO_new_file_close_it): Handle new
47760 _IO_FLAGS2_NOCLOSE flag.
47761 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47762 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47763 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47764 _IO_FLAGS2_NOCLOSE flag.
47765 * include/unistd.h: Add hidden_proto for dup3.
47766 Define __have_dup3.
47767 * io/dup3.c: Define hidden symbol.
47768 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47771 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47772 when an incomplete long option is used.
47773 * posix/tst-getopt_long1.c: New file.
47774 * posix/Makefile (tests): Add tst-getopt_long1.
47777 * scripts/config.guess: Update from autoconf-2.68.
47778 * scripts/config.sub: Likewise.
47781 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47783 (has_cpuclock): ...this. New function.
47784 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47785 macro here based on has_cpuclock code.
47788 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47789 First byte (not low byte) is now always NUL.
47790 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47792 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47793 Use non-cancelable interfaces.
47796 * locale/iso-639.def: Add entry for Sorani.
47799 * include/stdlib.h: Move include protection to the right place.
47800 Define abort_msg_s. Declare __abort_msg with it.
47801 * stdlib/abort.c (__abort_msg): Adjust type.
47802 * assert/assert.c (__assert_fail_base): New function. Majority
47803 of code from __assert_fail. Allocate memory for __abort_msg with
47805 (__assert_fail): Now call __assert_fail_base.
47806 * assert/assert-perr.c: Remove bulk of implementation. Use
47807 __assert_fail_base.
47808 * include/assert.hL Declare __assert_fail_base.
47809 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47811 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47813 2011-05-14 Ulrich Drepper <drepper@gmail.com>
47817 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47818 until all modules are registered in the DTV.
47819 * elf/Makefile: Add rules to build and run tst-tls19.
47820 * elf/tst-tls19.c: New file.
47821 * elf/tst-tls19mod1.c: New file.
47822 * elf/tst-tls19mod2.c: New file.
47823 * elf/tst-tls19mod3.c: New file.
47824 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47827 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47831 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47832 two-byte sequence errors.
47833 * iconvdata/Makefile (tests): Add bug-iconv8.
47834 * iconvdata/bug-iconv8.c: New file.
47837 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47840 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47843 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47844 (dummy_getcfa): New function.
47845 (init): Get _Unwind_GetCFA address, use dummy if not found.
47846 (backtrace_helper): In recursion check, also check whether CFA changes.
47847 (__backtrace): Completely initialize arg.
47849 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47850 storing incomplete byte sequence in state object. Avoid testing for
47851 guaranteed too small input if we know there is enough data available.
47853 2011-05-11 Andreas Schwab <schwab@redhat.com>
47855 * Makeconfig (+link-pie): Indent.
47856 * Rules (binaries-pie): Define if $(have-fpie) and
47858 (binaries-shared): Also filter out $(binaries-pie).
47859 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47860 * nscd/Makefile (others-pie): Add nscd.
47861 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47862 ($(objpfx)nscd): Remove command override.
47863 * login/Makefile (others-pie): Add pt_chown.
47864 ($(objpfx)pt_chown): Remove command override.
47865 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47866 remove command overrides.
47868 2011-05-13 Ulrich Drepper <drepper@gmail.com>
47870 * libio/tst_putwc.c: Fix error messages.
47873 * libio/fileops.c (_IO_new_file_close_it): Always flush when
47874 currently writing and seek to current position when not.
47875 * libio/Makefile (tests): Add bug-fclose1.
47876 * libio/bug-fclose1.c: New file.
47878 2011-05-12 Ulrich Drepper <drepper@gmail.com>
47881 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47882 don't set DF_1_NODELETE here.
47883 (do_lookup_x): When entering new entry test for copy relocation
47884 and if necessary set DF_1_NODELETE flag.
47885 * elf/tst-unique4.cc: New file.
47886 * elf/tst-unique4.h: New file.
47887 * elf/tst-unique4lib.cc: New file.
47888 * elf/Makefile: Add rules to build and run tst-unique4.
47889 Patch by Piotr Bury <pbury@goahead.com>.
47891 2011-05-11 Ulrich Drepper <drepper@gmail.com>
47894 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47897 * misc/mntent_r.c (addmntent): Flush the stream after the output
47900 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47901 (is_trusted_path_normalize): Skip initial colon. Append slash
47902 to empty buffer. Duplicate is_trusted_path code but allow
47903 constructed patch to be prefix.
47904 (is_dst): Allow $ORIGIN followed by /.
47905 (_dl_dst_substitute): Correct clearing of check_for_trusted.
47906 Correct testing of result of is_trusted_path_normalize
47907 (decompose_rpath): Fix warning.
47909 2011-05-10 Ulrich Drepper <drepper@gmail.com>
47912 * grp/initgroups.c (internal_getgrouplist): When we found the service
47913 list through the initgroups entry in nsswitch.conf do not always
47914 continue on a successful lookup. Don't always use the
47915 __nss_group_database value if it is set.
47916 * nss/nsswitch.conf (initgroups): Change action for successful db
47917 lookup to continue for compatibility.
47919 2011-05-09 Ulrich Drepper <drepper@gmail.com>
47922 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47924 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47926 * iconvdata/tst-tables.sh: Likewise.
47927 * iconvdata/cp770.c: New file.
47928 * iconvdata/cp771.c: New file.
47929 * iconvdata/cp772.c: New file.
47930 * iconvdata/cp773.c: New file.
47931 * iconvdata/cp774.c: New file.
47932 * iconvdata/testdata/CP770: New file.
47933 * iconvdata/testdata/CP770..UTF8: New file.
47934 * iconvdata/testdata/CP771: New file.
47935 * iconvdata/testdata/CP771..UTF8: New file.
47936 * iconvdata/testdata/CP772: New file.
47937 * iconvdata/testdata/CP772..UTF8: New file.
47938 * iconvdata/testdata/CP773: New file.
47939 * iconvdata/testdata/CP773..UTF8: New file.
47940 * iconvdata/testdata/CP774: New file.
47941 * iconvdata/testdata/CP774..UTF8: New file.
47943 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47945 * iconvdata/gen-8bit-gap.sh: Likewise.
47946 * iconvdata/gen-8bit.sh: Likewise.
47948 * locale/iso-639.def: Add ary entry.
47951 * locale/C-translit.h.in: Add U20A1 transliteration.
47954 * locale/iso-639.def: Add wae entry.
47955 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47958 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47962 * locale/C-translit.h.in: Add entry for U20B9.
47963 Patch by pravin.d.s@gmail.com.
47965 2011-05-08 Ulrich Drepper <drepper@gmail.com>
47968 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47969 ENAMETOOLONG use generic getcwd.
47970 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
47971 in rtld. Use *stat64.
47972 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47973 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47974 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47975 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47976 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47977 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47978 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47979 __fstatat64 macros.
47980 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47981 * dirent/rewinddir.c: Add libc_hidden_def.
47982 * sysdeps/mach/hurd/rewinddir.c: Likewise.
47983 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
47985 * include/dirent.h (__alloc_dir): Add flags parameter.
47986 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47987 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47989 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47990 from fdopendir if O_CLOEXEC is already set.
47992 2011-03-15 Alan Modra <amodra@gmail.com>
47994 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47995 l_tls_firstbyte_offset non-zero. Save padding offset in
47996 l_tls_firstbyte_offset for later use.
47997 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47998 freeing static tls block.
48000 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
48002 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48003 where #ifdef was intended. The intent is to prevent ARG_MAX from
48004 being defined by the kernel headers.
48006 2011-05-07 Ulrich Drepper <drepper@gmail.com>
48009 * resolv/resolv.h: Define RES_NOTLDQUERY.
48010 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48011 no-tld-query and set RES_NOTLDQUERY.
48012 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48013 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48014 modern BIND to search name as TLD unless forbidden.
48016 2011-05-07 Petr Baudis <pasky@suse.cz>
48017 Ulrich Drepper <drepper@gmail.com>
48020 * elf/dl-load.c (fillin_rpath): Move trusted path check...
48021 (is_trusted_path): ...to here.
48022 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
48023 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
48024 using is_trusted_path_normalize() in setuid scripts.
48026 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
48028 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48029 __BEGIN/__END_DECLS.
48031 2011-05-06 Ulrich Drepper <drepper@gmail.com>
48033 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48034 NSS_STATUS_NOTFOUND if no record was found.
48036 2011-05-05 Andreas Schwab <schwab@redhat.com>
48038 * sunrpc/Makefile (headers): Add rpc/netdb.h.
48039 (headers-not-in-tirpc): Remove rpc/netdb.h
48040 * resolv/netdb.h: Revert last change.
48042 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48044 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48045 circular dependency between libgcc.a and libc.a.
48047 2011-05-05 Andreas Schwab <schwab@redhat.com>
48049 * resolv/netdb.h: Don't include <rpc/netdb.h>.
48050 * nis/Makefile: Don't install rpcsvc/*.
48051 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48052 instead of <rpc/types.h>.
48053 (MAXHOSTNAMELEN): Define.
48055 2011-05-03 Andreas Schwab <schwab@redhat.com>
48057 * elf/ldconfig.c (add_dir): Don't crash on empty path.
48059 2011-04-28 Maciej Babinski <mbabinski@google.com>
48062 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48063 gethostbyname4_r when IPv6 results are possible.
48065 2011-05-02 Ulrich Drepper <drepper@gmail.com>
48068 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48069 _PC_PIPE_BUF handling.
48071 2011-04-30 Bruno Haible <bruno@clisp.org>
48074 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48075 * resolv/netdb.h (getnameinfo): Change type of flags parameter
48077 * inet/getnameinfo.c (getnameinfo): Likewise.
48079 2011-04-29 Ulrich Drepper <drepper@gmail.com>
48081 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48082 to groups setting in database lookup.
48083 * nss/nsswitch.conf: Add initgroups entry.
48085 2011-04-22 Ulrich Drepper <drepper@gmail.com>
48088 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48090 Patch by Eric Blake <eblake@redhat.com>.
48092 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
48094 * sunrpc/Makefile (need-export-routines): Add svc_run.
48095 (routines): Remove svc_run.
48096 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48097 * sunrpc/clnt_perr.c (clnt_perrno): Export.
48098 * sunrpc/svc_run.c (svc_run): Likewise.
48099 * sunrpc/svc_udp.c (svcudp_create): Likewise.
48101 2011-04-21 Ulrich Drepper <drepper@gmail.com>
48103 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48104 problem in reallocation in last patch.
48106 2011-04-20 Ulrich Drepper <drepper@gmail.com>
48108 * sunrpc/Makefile: Move inclusion of Rules.
48110 2011-04-19 Ulrich Drepper <drepper@gmail.com>
48112 * nss/nss_files/files-initgroups.c: New file.
48113 * nss/Makefile (libnss_files-routines): Add files-initgroups.
48114 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48115 _nss_files_initgroups_dyn.
48117 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
48119 * elf/elf.h (R_ARM_IRELATIVE): Define.
48121 2011-04-19 Ulrich Drepper <drepper@gmail.com>
48123 * po/ru.po: Update from translation team.
48125 2011-04-17 Ulrich Drepper <drepper@gmail.com>
48127 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48130 2011-02-06 Mike Frysinger <vapier@gentoo.org>
48133 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48134 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48135 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48136 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48137 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48139 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
48141 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48143 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48144 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48145 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48147 2011-04-17 Ulrich Drepper <drepper@gmail.com>
48150 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48152 * stdlib/bug-getcontext.c: New file.
48153 * stdlib/Makefile: Add rules to build and run bug-getcontext.
48155 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48157 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48158 instructions into .machine "z9-109".
48159 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48160 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48162 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48164 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48165 between environment variables and auxiliary vector.
48167 2011-04-16 Ulrich Drepper <drepper@gmail.com>
48169 * Makefile: Add rules to build linkobj/libc.so.
48170 * include/libc-symbols.h: Define libc_hidden_nolink.
48171 * include/rpc/auth.h: Mark functions which are to be hidden.
48172 * include/rpc/auth_des.h: Likewise.
48173 * include/rpc/auth_unix.h: Likewise.
48174 * include/rpc/clnt.h: Likewise.
48175 * include/rpc/des_crypt.h: Likewise.
48176 * include/rpc/key_prot.h: Likewise.
48177 * include/rpc/pmap_clnt.h: Likewise.
48178 * include/rpc/pmap_prot.h: Likewise.
48179 * include/rpc/pmap_rmt.h: Likewise.
48180 * include/rpc/rpc_msg.h: Likewise.
48181 * include/rpc/svc.h: Likewise.
48182 * include/rpc/svc_auth.h: Likewise.
48183 * include/rpc/xdr.h: Likewise.
48184 * nis/Makefile: Link all DSOs against linkobj/libc.so.
48185 * nss/Makefile: Likewise.
48186 * sunrpc/Makefile: Don't install headers. Build library with normal
48187 entry points. Don't build rpcinfo. Link RPC tests appropriately.
48188 * sunrpc/auth_des.c: Hide exported symbols by default, export some
48189 for the compat linking library. Remove use of INTDEF/INTUSE.
48190 * sunrpc/auth_none.c: Likewise.
48191 * sunrpc/auth_unix.c: Likewise.
48192 * sunrpc/authdes_prot.c: Likewise.
48193 * sunrpc/authuxprot.c: Likewise.
48194 * sunrpc/clnt_gen.c: Likewise.
48195 * sunrpc/clnt_perr.c: Likewise.
48196 * sunrpc/clnt_raw.c: Likewise.
48197 * sunrpc/clnt_simp.c: Likewise.
48198 * sunrpc/clnt_tcp.c: Likewise.
48199 * sunrpc/clnt_udp.c: Likewise.
48200 * sunrpc/clnt_unix.c: Likewise.
48201 * sunrpc/des_crypt.c: Likewise.
48202 * sunrpc/des_soft.c: Likewise.
48203 * sunrpc/get_myaddr.c: Likewise.
48204 * sunrpc/key_call.c: Likewise.
48205 * sunrpc/key_prot.c: Likewise.
48206 * sunrpc/netname.c: Likewise.
48207 * sunrpc/pm_getmaps.c: Likewise.
48208 * sunrpc/pm_getport.c: Likewise.
48209 * sunrpc/pmap_clnt.c: Likewise.
48210 * sunrpc/pmap_prot.c: Likewise.
48211 * sunrpc/pmap_prot2.c: Likewise.
48212 * sunrpc/pmap_rmt.c: Likewise.
48213 * sunrpc/publickey.c: Likewise.
48214 * sunrpc/rpc_cmsg.c: Likewise.
48215 * sunrpc/rpc_common.c: Likewise.
48216 * sunrpc/rpc_dtable.c: Likewise.
48217 * sunrpc/rpc_prot.c: Likewise.
48218 * sunrpc/rpc_thread.c: Likewise.
48219 * sunrpc/rtime.c: Likewise.
48220 * sunrpc/svc.c: Likewise.
48221 * sunrpc/svc_auth.c: Likewise.
48222 * sunrpc/svc_authux.c: Likewise.
48223 * sunrpc/svc_raw.c: Likewise.
48224 * sunrpc/svc_run.c: Likewise.
48225 * sunrpc/svc_simple.c: Likewise.
48226 * sunrpc/svc_tcp.c: Likewise.
48227 * sunrpc/svc_udp.c: Likewise.
48228 * sunrpc/svc_unix.c: Likewise.
48229 * sunrpc/svcauth_des.c: Likewise.
48230 * sunrpc/xcrypt.c: Likewise.
48231 * sunrpc/xdr.c: Likewise.
48232 * sunrpc/xdr_array.c: Likewise.
48233 * sunrpc/xdr_float.c: Likewise.
48234 * sunrpc/xdr_intXX_t.c: Likewise.
48235 * sunrpc/xdr_mem.c: Likewise.
48236 * sunrpc/xdr_rec.c: Likewise.
48237 * sunrpc/xdr_ref.c: Likewise.
48238 * sunrpc/xdr_sizeof.c: Likewise.
48239 * sunrpc/xdr_stdio.c: Likewise.
48241 2011-04-10 Ulrich Drepper <drepper@gmail.com>
48244 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48245 * sysdeps/ia64/dl-tls.h: Likewise.
48246 * sysdeps/powerpc/dl-tls.h: Likewise.
48247 * sysdeps/s390/dl-tls.h: Likewise.
48248 * sysdeps/sh/dl-tls.h: Likewise.
48249 * sysdeps/sparc/dl-tls.h: Likewise.
48250 * sysdeps/x86_64/dl-tls.h: Likewise.
48251 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48253 2011-03-14 Andreas Schwab <schwab@redhat.com>
48255 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48256 rpath element also skip the following colon.
48257 (expand_dynamic_string_token): Add is_path parameter and pass
48258 down to DL_DST_REQUIRED and _dl_dst_substitute.
48259 (decompose_rpath): Call expand_dynamic_string_token with
48260 non-zero is_path. Ignore empty rpaths.
48261 (_dl_map_object_from_fd): Call expand_dynamic_string_token
48264 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
48266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48269 2011-04-09 Ulrich Drepper <drepper@gmail.com>
48272 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48273 Patch by Filipe David Manana <fdmanana@apache.org>.
48275 2011-04-07 Andreas Schwab <schwab@redhat.com>
48277 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48278 Maintain aligned stack.
48279 (CHECK_RSP): Remove unused macro.
48281 2011-04-03 Ulrich Drepper <drepper@gmail.com>
48283 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48284 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48286 2011-04-02 Ulrich Drepper <drepper@gmail.com>
48288 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48290 * include/features.h: Mention __USE_XOPEN2K8 in comment.
48292 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
48295 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48296 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48297 * sysdeps/x86_64/memmove.c: New file.
48298 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48299 (memcpy): Renamed to ...
48300 (__new_memcpy): This.
48301 (memcpy): Provide GLIBC_2_14 memcpy.
48302 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48303 (memcpy): Provide GLIBC_2_2_5 memcpy.
48305 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48308 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48310 2011-03-30 Andreas Schwab <schwab@redhat.com>
48312 * misc/syncfs.c: New file.
48313 * misc/Makefile (routines): Add syncfs.
48314 * posix/unistd.h: Declare syncfs.
48315 * sysdeps/unix/syscalls.list: Add syncfs.
48317 2011-04-01 Andreas Schwab <schwab@redhat.com>
48319 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48321 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48322 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48323 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48324 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48325 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48326 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48327 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48329 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48331 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48332 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48333 * sysdeps/unix/sysv/linux/powerpc/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.
48339 * io/Makefile: Compile fallocate.c, fallocate64.c, and
48340 sync_file_range.c with -fexceptions.
48341 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48342 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48343 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48344 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48345 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48346 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48347 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48348 sync_file_range as cancellation point
48349 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
48350 now a wrapper around __call_sync_file_range with cancellation handling.
48351 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48352 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
48353 function name to __call_sync_file_range.
48354 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48355 Add call_sync_file_range.
48357 2011-04-01 Andreas Schwab <schwab@redhat.com>
48359 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48362 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48364 * iconv/iconv.h: Fix typo in comment.
48365 * io/fcntl.h: Likewise.
48366 * libio/stdio.h: Likewise.
48367 * posix/spawn.h: Likewise.
48368 * posix/unistd.h: Likewise.
48369 * stdlib/stdlib.h: Likewise.
48370 * time/time.h: Likewise.
48371 * wcsmbs/wchar.h: Likewise.
48373 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48374 open_by_handle): Add.
48375 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48376 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
48377 Augment a few comments.
48378 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48379 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48380 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48381 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48382 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48383 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48386 * io/fcntl.h (AT_EMPTY_PATH): Define.
48388 2011-03-30 Ulrich Drepper <drepper@gmail.com>
48390 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48391 * sysdeps/unix/sysv/linux/bits/time.h: New file.
48392 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48394 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
48395 * Versions.def: Add GLIBC_2.14.
48396 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48399 2011-03-22 Ulrich Drepper <drepper@gmail.com>
48401 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48403 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48405 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
48408 * string/test-strncmp.c (do_page_test): New function.
48409 (check2): Likewise.
48410 (test_main): Call check2.
48411 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48413 2011-03-20 Ulrich Drepper <drepper@gmail.com>
48416 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48417 Handle cache information in CPU leaf 4.
48418 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48420 2011-03-18 Ulrich Drepper <drepper@gmail.com>
48423 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48424 character representation.
48425 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48427 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
48429 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48430 END(__isnan) to END(__isnanf) to match function entry point/label
48431 EALIGN(__isnanf,...).
48433 2011-03-10 Jakub Jelinek <jakub@redhat.com>
48435 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48437 2011-03-10 Ulrich Drepper <drepper@gmail.com>
48440 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48441 copy from the symbol referenced in the relocation to initialize the
48443 Patch by Piotr Bury <pbury@goahead.com>.
48444 * elf/Makefile: Add rules to build and tst-unique3.
48445 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48446 * elf/tst-unique3.cc: New file.
48447 * elf/tst-unique3.h: New file.
48448 * elf/tst-unique3lib.cc: New file.
48449 * elf/tst-unique3lib2.cc: New file.
48451 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48453 2011-03-10 Mike Frysinger <vapier@gentoo.org>
48455 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48456 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
48459 2011-03-06 Ulrich Drepper <drepper@gmail.com>
48461 * elf/dl-load.c (_dl_map_object): If we are looking for the first
48462 to-be-loaded object along a path to loader is ld.so.
48464 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48465 Ulrich Drepper <drepper@gmail.com>
48467 * sysdeps/x86_64/memset.S: After aligning destination, code
48468 branches to different locations depending on the value of
48469 misalignment, when multiarch is enabled. Fix this.
48471 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48473 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48474 Set _x86_64_preferred_memory_instruction for AMD processsors.
48475 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48476 Set bit_Prefer_SSE_for_memop for AMD processors.
48478 2011-03-04 Ulrich Drepper <drepper@gmail.com>
48480 * libio/fmemopen.c (fmemopen): Optimize a bit.
48482 2011-03-03 Andreas Schwab <schwab@redhat.com>
48484 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48486 2011-03-03 Roland McGrath <roland@redhat.com>
48488 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48490 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
48492 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48493 __bzero_ultra1 instead of __memset_ultra1.
48495 2011-02-23 Andreas Schwab <schwab@redhat.com>
48496 Ulrich Drepper <drepper@gmail.com>
48499 * include/link.h (struct link_map): Add l_orig_initfini.
48500 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48501 returning unsuccessfully.
48502 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48503 close of a file loaded at startup, restore the original l_initfini
48505 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48506 list, store the pointer.
48507 * elf/Makefile ($(objpfx)noload-mem): New rule.
48508 (noload-ENV): Define.
48509 (tests): Add $(objpfx)noload-mem.
48510 * elf/noload.c: Include <memcheck.h>.
48511 (main): Call mtrace. Close all opened handles.
48513 2011-02-17 Andreas Schwab <schwab@redhat.com>
48516 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48517 dependencies are missing.
48519 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
48521 Fix __if_freereq crash: Unlike the generic version which uses free,
48523 * sysdeps/mach/hurd/ifreq.h: New file.
48525 2011-01-27 Petr Baudis <pasky@suse.cz>
48526 Ulrich Drepper <drepper@gmail.com>
48529 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48530 to extend_alloca().
48531 * stdio-common/bug23.c: New file.
48532 * stdio-common/Makefile (tests): Add bug23.
48534 2010-09-28 Andreas Schwab <schwab@redhat.com>
48535 Ulrich Drepper <drepper@gmail.com>
48538 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48539 before performing relro protection. At old place add assertion
48540 to make sure nothing changed.
48542 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
48543 Glauber de Oliveira Costa <glommer@gmail.com>
48545 * elf/elf.h: Add new ARM TLS relocs.
48547 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
48549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48550 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48552 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
48554 * sysdeps/wordsize-64/tst-writev.c: New file.
48556 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
48558 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48559 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48560 insns in _dl_start to prevent a TOC reference before relocs are
48563 2011-02-15 Ulrich Drepper <drepper@gmail.com>
48566 * Makeconfig: Remove RANLIB definition.
48567 * Makerules: Don't use RANLIB.
48568 * aclocal.m4: Remove ranlib test.
48569 * configure.in: No need to check for ranlib.
48570 * elf/rtld-Rules: Don't use RANLIB.
48572 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
48574 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48576 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48577 inclusion protection macro.
48579 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48580 SIGRTMIN and SIGRTMAX and print information in that case only when
48581 SIGRTMIN is defined.
48583 2011-02-11 Jakub Jelinek <jakub@redhat.com>
48585 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48586 arginfo fn returning -1.
48588 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48589 and thousands string is zero terminated.
48591 2011-02-03 Andreas Schwab <schwab@redhat.com>
48593 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48594 sysdeps/unix/sysv/linux/bits/socket.h.
48596 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
48598 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48599 (__CPU_COUNT): Remove old macros.
48600 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48601 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48602 (__CPU_ALLOC, __CPU_FREE): Add macros.
48603 (__sched_cpualloc, __sched_cpufree): Add declarations.
48605 2011-02-05 Ulrich Drepper <drepper@gmail.com>
48607 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48608 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48609 * nscd/aicache.c (addhstaiX): Return timeout of added value.
48610 (readdhstai): Return value of addhstaiX call.
48611 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48612 (addgrbyX): Return value returned by cache_addgr.
48613 (readdgrbyname): Return value returned by addgrbyX.
48614 (readdgrbygid): Likewise.
48615 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48616 (addpwbyX): Return value returned by cache_addpw.
48617 (readdpwbyname): Return value returned by addhstbyX.
48618 (readdpwbyuid): Likewise.
48619 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48620 (addservbyX): Return value returned by cache_addserv.
48621 (readdservbyname): Return value returned by addservbyX:
48622 (readdservbyport): Likewise.
48623 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48624 (addhstbyX): Return value returned by cache_addhst.
48625 (readdhstbyname): Return value returned by addhstbyX.
48626 (readdhstbyaddr): Likewise.
48627 (readdhstbynamev6): Likewise.
48628 (readdhstbyaddrv6): Likewise.
48629 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48630 (readdinitgroups): Return value returned by addinitgroupsX.
48631 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48632 (prune_cache): Keep track of timeout value of re-added entries.
48633 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48634 * nscd/nscd.h: Adjust prototypes of readd* functions.
48636 2011-02-04 Roland McGrath <roland@redhat.com>
48638 * nis/nis_server.c (nis_servstate): Use the right name for 0.
48639 (nis_stats): Likewise.
48640 * nis/nis_modify.c (nis_modify): Likewise.
48641 * nis/nis_remove.c (nis_remove): Likewise.
48642 * nis/nis_add.c (nis_add): Likewise.
48644 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48646 * posix/fnmatch_loop.c: Add some consts.
48648 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48650 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
48653 * config.make.in (config-cflags-novzeroupper): Define.
48654 * configure.in: Substitute libc_cv_cc_novzeroupper.
48655 * elf/Makefile (AVX-CFLAGS): Define.
48656 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48657 (CFLAGS-tst-auditmod4a.c): Likewise.
48658 (CFLAGS-tst-auditmod4b.c): Likewise.
48659 (CFLAGS-tst-auditmod6b.c): Likewise.
48660 (CFLAGS-tst-auditmod6c.c): Likewise.
48661 (CFLAGS-tst-auditmod7b.c): Likewise.
48662 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48664 2011-02-02 Ulrich Drepper <drepper@gmail.com>
48666 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48667 function to the callback.
48668 Patch partly by Jiri Olsa <jolsa@redhat.com>.
48670 2011-02-02 Andreas Schwab <schwab@redhat.com>
48672 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48675 2011-01-19 Ulrich Drepper <drepper@gmail.com>
48678 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48680 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48682 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48685 * elf/Makefile: Add rules to build and run new test.
48686 * elf/tst-initorder.c: New file.
48687 * elf/tst-initorder.exp: New file.
48688 * elf/tst-initordera1.c: New file.
48689 * elf/tst-initordera2.c: New file.
48690 * elf/tst-initordera3.c: New file.
48691 * elf/tst-initordera4.c: New file.
48692 * elf/tst-initorderb1.c: New file.
48693 * elf/tst-initorderb2.c: New file.
48694 * elf/tst-order-a1.c: New file.
48695 * elf/tst-order-a2.c: New file.
48696 * elf/tst-order-a3.c: New file.
48697 * elf/tst-order-a4.c: New file.
48698 * elf/tst-order-b1.c: New file.
48699 * elf/tst-order-b2.c: New file.
48700 * elf/tst-order-main.c: New file.
48701 New test case by George Gensure <werkt0@gmail.com>.
48703 2010-10-01 Andreas Schwab <schwab@redhat.com>
48705 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48706 decoding ACE if AI_CANONIDN.
48708 2011-01-18 Ulrich Drepper <drepper@gmail.com>
48710 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48712 2011-01-17 Ulrich Drepper <drepper@gmail.com>
48714 * version.h (RELEASE): Bump for 2.13 release.
48715 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48717 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48719 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48721 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48722 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48723 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48724 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48725 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48726 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48728 * posix/getconf.c: Update copyright year.
48729 * catgets/gencat.c: Likewise.
48730 * csu/version.c: Likewise.
48731 * debug/catchsegv.sh: Likewise.
48732 * debug/xtrace.sh: Likewise.
48733 * elf/ldconfig.c: Likewise.
48734 * elf/ldd.bash.in: Likewise.
48735 * elf/sprof.c (print_version): Likewise.
48736 * iconv/iconv_prog.c: Likewise.
48737 * iconv/iconvconfig.c: Likewise.
48738 * locale/programs/locale.c: Likewise.
48739 * locale/programs/localedef.c: Likewise.
48740 * malloc/memusage.sh: Likewise.
48741 * malloc/mtrace.pl: Likewise.
48742 * nscd/nscd.c (print_version): Likewise.
48743 * nss/getent.c: Likewise.
48745 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48746 PF_CAIF, and PF_ALG.
48747 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48749 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48751 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48752 (modules-names): Use them.
48753 (ifunc-test-modules, ifunc-pie-tests): Define.
48754 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48755 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48756 (test-extras): Likewise.
48757 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48758 $(compile-command.c).
48759 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48760 (all-built-dso): Define.
48761 (check-textrel.out, check-execstack.out): Depend on it.
48763 * configure.in: Don't override --enable-multi-arch.
48765 2011-01-15 Ulrich Drepper <drepper@gmail.com>
48768 * nscd/hstcache.c (tryagain): Define.
48769 (cache_addhst): Return tryagain not notfound for temporary errors.
48770 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48773 2011-01-14 Ulrich Drepper <drepper@gmail.com>
48776 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48777 to make the syscall.
48778 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48781 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48782 and fall back to matching as normal character if the string ends before
48783 the matching ']' is found. This is what POSIX requires.
48784 * posix/testfnm.c: Adjust test result.
48785 * posix/globtest.sh: Adjust test result. Add new test.
48786 * posix/tst-fnmatch.input: Likewise.
48787 * posix/tst-fnmatch2.c: Add new test.
48789 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
48791 * elf/Makefile (check-execstack): Revert last change. Depend on
48793 (check-execstack.h): New target.
48794 (generated): Add check-execstack.h.
48795 * elf/check-execstack.c: Include "check-execstack.h".
48796 (main): Revert last change.
48797 (handle_file): Return zero if GNU_STACK is absent and
48798 DEFAULT_STACK_PERMS doesn't include PF_X.
48800 2011-01-13 Ulrich Drepper <drepper@gmail.com>
48802 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48803 in child fails because the descriptor is already closed.
48804 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48805 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48806 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48809 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48813 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48814 temporary buffer used to handle multi lookups locally.
48815 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48817 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48819 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48822 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
48824 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48825 alignment for SSE2.
48827 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48830 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48831 characters. When rounding increased number of integer digits recompute
48833 * stdio-common/tst-grouping.c: New file.
48834 * stdio-common/Makefile: Add rules to build and run tst-grouping.
48836 2011-01-09 Ulrich Drepper <drepper@gmail.com>
48838 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48839 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
48841 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48843 * bits/select.h: Likewise.
48845 2011-01-08 Ulrich Drepper <drepper@gmail.com>
48847 * po/ja.po: Update from translation team.
48849 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
48852 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48853 implementation just like for lxstat, fxstatat, et al.
48855 2010-12-27 Jim Meyering <meyering@redhat.com>
48858 * posix/regexec.c (build_trtable): Return failure indication upon
48859 calloc failure. Otherwise, re_search_internal could infloop on OOM.
48861 2010-12-25 Ulrich Drepper <drepper@gmail.com>
48864 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48865 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48866 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48867 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48870 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48873 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48874 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48876 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
48878 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48879 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48880 script has SORT_BY_INIT_PRIORITY.
48881 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48882 NO_CTORS_DTORS_SECTIONS is defined.
48883 * elf/soinit.c: Likewise.
48884 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48885 NO_CTORS_DTORS_SECTIONS is defined.
48886 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48887 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48888 * sysdeps/sh/init-first.c: Likewise.
48889 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48891 2010-12-24 Ulrich Drepper <drepper@gmail.com>
48893 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48894 always use the slow path.
48896 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
48898 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48899 similar rule which adds the sysdep directories to the header search in
48900 order to pick up the correct platform stackinfo.h.
48901 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48902 perform test if it is, otherwise return successfully without testing.
48903 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48904 DEFAULT_STACK_PERMS define in stackinfo.h.
48905 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48906 defined in stackinfo.h.
48907 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48908 DEFAULT_STACK_PERMS defined in stackinfo.h.
48909 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48910 * sysdeps/ia64/stackinfo.h: Likewise.
48911 * sysdeps/s390/stackinfo.h: Likewise.
48912 * sysdeps/sh/stackinfo.h: Likewise.
48913 * sysdeps/sparc/stackinfo.h: Likewise.
48914 * sysdeps/x86_64/stackinfo.h: Likewise.
48915 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48916 PF_X for powerpc64. Retain PF_X for powerpc32.
48918 2010-12-19 Ulrich Drepper <drepper@gmail.com>
48920 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48922 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48923 GETDENTS_64BIT_ALIGNED.
48925 2010-12-14 Ulrich Drepper <dreper@gmail.com>
48927 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48929 2010-12-10 Andreas Schwab <schwab@redhat.com>
48931 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48934 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48935 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48937 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48938 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48940 2010-12-09 Ulrich Drepper <drepper@gmail.com>
48943 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48946 2010-12-09 Jakub Jelinek <jakub@redhat.com>
48948 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48950 2010-12-03 Ulrich Drepper <drepper@gmail.com>
48952 * po/it.po: Update from translation team.
48954 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48956 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48959 2010-11-30 Ulrich Drepper <drepper@gmail.com>
48961 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48963 2010-11-24 Andreas Schwab <schwab@redhat.com>
48965 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48967 (gaih_getanswer_slice): Likewise.
48969 2010-10-20 Jakub Jelinek <jakub@redhat.com>
48971 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48973 2010-05-31 Petr Baudis <pasky@suse.cz>
48976 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48977 silently even in the chroot mode.
48979 2010-11-22 Ulrich Drepper <drepper@gmail.com>
48981 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48982 last patch a bit. Pretty printing
48984 2010-05-31 Petr Baudis <pasky@suse.cz>
48987 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48988 initialization of skip_initgroups_dyn.
48990 2010-11-19 Ulrich Drepper <drepper@gmail.com>
48992 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48993 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48995 2010-11-16 Ulrich Drepper <drepper@gmail.com>
48997 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48999 2010-11-11 Andreas Schwab <schwab@redhat.com>
49001 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49002 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49003 (tst-fnmatch-ENV): Set MALLOC_TRACE.
49004 ($(objpfx)tst-fnmatch-mem): New rule.
49005 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49006 * posix/tst-fnmatch.c (main): Call mtrace.
49008 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
49010 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49011 Support Intel processor model 6 and model 0x2c.
49013 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
49015 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49018 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
49021 * string/test-strncasecmp.c (check_result): New function.
49022 (do_one_test): Use it.
49023 (check1): New function.
49024 (test_main): Use it.
49025 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49026 Support strcasecmp and strncasecmp.
49028 2010-11-08 Ulrich Drepper <drepper@gmail.com>
49031 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49032 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49034 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
49036 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49038 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49040 * sysdeps/x86_64/multiarch/bzero.S: New file.
49041 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49042 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49043 * sysdeps/x86_64/multiarch/memset.S: New file.
49044 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49045 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49046 Set bit_Prefer_SSE_for_memop for Intel processors.
49047 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49049 (index_Prefer_SSE_for_memop): Define.
49050 (HAS_PREFER_SSE_FOR_MEMOP): Define.
49052 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
49054 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49055 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49057 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
49060 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49061 (__x86_64_raw_data_cache_size_half): Likewise.
49062 (__x86_64_raw_shared_cache_size): Likewise.
49063 (__x86_64_raw_shared_cache_size_half): Likewise.
49065 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49066 (__x86_64_raw_data_cache_size_half): Likewise.
49067 (__x86_64_raw_shared_cache_size): Likewise.
49068 (__x86_64_raw_shared_cache_size_half): Likewise.
49069 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49070 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49071 and __x86_64_raw_shared_cache_size_half. Round
49072 __x86_64_data_cache_size_half, __x86_64_data_cache_size
49073 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49074 to multiple of 256 bytes.
49076 2010-11-03 Ulrich Drepper <drepper@gmail.com>
49079 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49080 of inacessible symlinks. Verify result of symlink before returning it.
49081 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49082 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49084 2010-10-28 Erich Ritz <erichritz@gmail.com>
49086 * math/math.h (isinf): Fix typo in comment.
49088 2010-11-01 Ulrich Drepper <drepper@gmail.com>
49090 * po/da.po: Update from translation team.
49092 2010-10-26 Ulrich Drepper <drepper@gmail.com>
49094 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49095 is added to the list.
49097 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49098 Ulrich Drepper <drepper@gmail.com>
49100 * elf/dl-object.c (_dl_new_object): Don't append the new object to
49101 the global list here. Move code to...
49102 (_dl_add_to_namespace_list): ...here. New function.
49103 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49104 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49105 * elf/dl-load.c (lose): Don't remove the element from the list.
49106 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49107 (_dl_map_object): Likewise.
49109 2010-10-25 Ulrich Drepper <drepper@gmail.com>
49112 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49113 into all bytes of SSE register.
49114 Patch by Richard Li <richardpku@gmail.com>.
49116 2010-10-24 Ulrich Drepper <drepper@gmail.com>
49119 * malloc/malloc.c (_int_free): Fill correct number of bytes when
49122 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
49124 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49125 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49126 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49127 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49132 2010-10-22 Andreas Schwab <schwab@redhat.com>
49134 * include/dlfcn.h (__RTLD_SECURE): Define.
49135 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
49136 mode & __RTLD_SECURE instead.
49137 (open_path): Rename preloaded parameter to secure.
49138 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49139 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49140 * elf/dl-deps.c (openaux): Likewise.
49141 * elf/rtld.c (struct map_args): Remove is_preloaded.
49142 (map_doit): Don't use it.
49143 (dl_main): Likewise.
49144 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49145 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49147 2010-09-09 Andreas Schwab <schwab@redhat.com>
49149 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49150 (sysd-rules-targets): Remove duplicates.
49151 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49152 rtld-%.$o dependency.
49154 2010-10-18 Andreas Schwab <schwab@redhat.com>
49156 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49157 _dl_map_object do it.
49159 2010-10-19 Ulrich Drepper <drepper@gmail.com>
49161 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49162 fast fma builtins, define the macros in the C99 standard.
49163 (FP_FAST_FMAF): Likewise.
49164 (FP_FAST_FMAL): Likewise.
49165 * sysdeps/x86_64/bits/mathdef.h: Likewise.
49167 * bits/mathdef.h: Update copyright year.
49168 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49170 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
49172 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49173 builtins, define the macros in the C99 standard.
49174 (FP_FAST_FMAF): Likewise.
49175 (FP_FAST_FMAL): Likewise.
49176 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49178 (FP_FAST_FMAF): Likewise.
49180 2010-10-15 Jakub Jelinek <jakub@redhat.com>
49183 * math/libm-test.inc (fma_test): Some new testcases.
49184 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49185 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49186 y and infinite z. Do multiplication by C already in long double.
49187 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49188 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49189 y and infinite z. Do bitwise or of inexact bit into u.d.
49190 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49191 * sysdeps/i386/fpu/s_fmaf.S: Removed.
49192 * sysdeps/i386/fpu/s_fma.S: Removed.
49193 * sysdeps/i386/fpu/s_fmal.S: Removed.
49195 2010-10-16 Jakub Jelinek <jakub@redhat.com>
49198 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49199 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49200 computation is not scheduled after fetestexcept. Fix value
49201 of minimum denormal long double.
49203 2010-10-14 Jakub Jelinek <jakub@redhat.com>
49206 * math/libm-test.inc (fma_test): Add some more tests.
49207 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49210 2010-10-15 Andreas Schwab <schwab@redhat.com>
49212 * scripts/data/localplt-s390-linux-gnu.data: New file.
49213 * scripts/data/localplt-s390x-linux-gnu.data: New file.
49215 2010-10-13 Jakub Jelinek <jakub@redhat.com>
49218 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49219 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49221 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49223 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49224 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49225 if one of x and y is very large and the other is subnormal.
49226 * sysdeps/s390/fpu/s_fmaf.c: New file.
49227 * sysdeps/s390/fpu/s_fma.c: New file.
49228 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49229 * sysdeps/powerpc/fpu/s_fma.S: New file.
49230 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49231 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49232 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49234 2010-10-12 Jakub Jelinek <jakub@redhat.com>
49237 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49239 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49240 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49241 * sysdeps/i386/i686/multiarch/s_fma.c: Include
49242 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49243 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49244 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49245 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49247 2010-10-12 Ulrich Drepper <drepper@redhat.com>
49250 * posix/regcomp.c (parse_branch): One more memory leak plugged.
49251 * posix/bug-regex31.input: Add test case.
49253 2010-10-11 Ulrich Drepper <drepper@gmail.com>
49255 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49256 * posix/bug-regex31.input: New file.
49259 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49260 (parse_sub_exp): Fix last change, use postorder.
49262 * posix/bug-regex31.c: New file.
49263 * posix/Makefile: Add rules to build and run bug-regex31.
49265 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49268 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49271 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49272 to have entries in sys_siglist.
49275 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49278 2010-10-07 Jakub Jelinek <jakub@redhat.com>
49281 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49282 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49283 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49284 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49285 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49286 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49287 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49288 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49289 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49290 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49291 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49292 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49293 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49294 * math/ftestexcept.c (fetestexcept): Likewise.
49295 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49296 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49297 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49298 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49299 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49300 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49301 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49303 2010-10-11 Ulrich Drepper <drepper@gmail.com>
49306 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49309 2010-10-06 Ulrich Drepper <drepper@gmail.com>
49311 * string/bug-strstr1.c: New file.
49312 * string/Makefile: Add rules to build and run bug-strstr1.
49314 2010-10-05 Eric Blake <eblake@redhat.com>
49317 * string/str-two-way.h (two_way_long_needle): Always clear memory
49318 when skipping input due to the shift table.
49320 2010-10-03 Ulrich Drepper <drepper@gmail.com>
49323 * malloc/mcheck.c: Handle large requests.
49326 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49327 for strncmp and strncasecmp.
49328 * string/stratcliff.c: Add tests for strcmp and strncmp.
49329 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49331 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49333 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49336 2010-09-30 Andreas Jaeger <aj@suse.de>
49338 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49339 (CGROUP_SUPER_MAGIC): Define.
49340 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49341 Handle btrfs and cgroup file systems.
49342 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49345 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
49347 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49348 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49350 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49353 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49354 trying to locate the ELF header.
49356 2010-09-27 Andreas Schwab <schwab@redhat.com>
49359 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49360 Mask out sign-bit copies when constructing f_fsid.
49362 2010-09-24 Petr Baudis <pasky@suse.cz>
49364 * debug/stack_chk_fail_local.c: Add missing licence exception.
49365 * debug/warning-nop.c: Likewise.
49367 2010-09-15 Joseph Myers <joseph@codesourcery.com>
49369 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49370 implementing getdents64 using getdents syscall, set d_type if
49371 __ASSUME_GETDENTS32_D_TYPE.
49373 2010-09-16 Andreas Schwab <schwab@redhat.com>
49375 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49376 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49378 2010-09-21 Ulrich Drepper <drepper@redhat.com>
49381 * posix/unistd.h: Undo change of feature selection for ftruncate from
49384 2010-09-20 Ulrich Drepper <drepper@redhat.com>
49386 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49389 2010-09-20 Andreas Schwab <schwab@redhat.com>
49391 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49393 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49395 2010-09-14 Andreas Schwab <schwab@redhat.com>
49397 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49398 variables after CHECK_SP call.
49399 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49401 2010-09-13 Andreas Schwab <schwab@redhat.com>
49402 Ulrich Drepper <drepper@redhat.com>
49404 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49405 re-relocationg ld.so.
49406 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49407 _dl_init_paths call.
49408 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
49411 2010-09-14 Ulrich Drepper <drepper@redhat.com>
49413 * resolv/res_init.c (__res_vinit): Count the default server we added.
49415 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
49416 Ulrich Drepper <drepper@redhat.com>
49419 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49420 (____longjmp_chk): Use %ebx for saving value across system call.
49423 2010-09-06 Andreas Schwab <schwab@redhat.com>
49425 * manual/Makefile: Don't mix pattern rules with normal rules.
49427 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
49429 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49431 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49432 * libio/iofopncook.c (_IO_cookie_init): Likewise.
49433 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49434 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49435 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49438 2010-09-04 Ulrich Drepper <drepper@redhat.com>
49441 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49442 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49444 2010-09-02 Ulrich Drepper <drepper@redhat.com>
49446 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49447 * sysdeps/x86_64/addmul_1.S: Likewise.
49448 * sysdeps/x86_64/lshift.S: Likewise.
49449 * sysdeps/x86_64/mul_1.S: Likewise.
49450 * sysdeps/x86_64/rshift.S: Likewise.
49451 * sysdeps/x86_64/sub_n.S: Likewise.
49452 * sysdeps/x86_64/submul_1.S: Likewise.
49454 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
49456 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49457 Define __sched_param instead of SCHED_* and sched_param when
49458 <bits/sched.h> is included with __need_schedparam defined.
49459 * bits/sched.h [__need_schedparam]
49460 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49461 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49462 (__defined_schedparam): Define to 1.
49463 (__sched_param): New structure, identical to sched_param.
49464 (__need_schedparam): Undefine.
49466 2010-08-31 Mike Frysinger <vapier@gentoo.org>
49468 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49469 (epoll_create1): Declare.
49471 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49473 2010-08-31 Andreas Schwab <schwab@redhat.com>
49476 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49477 shifting retval into place.
49479 2010-09-01 Ulrich Drepper <drepper@redhat.com>
49481 * nis/rpcsvc/nis.h: Update copyright notice.
49482 * nis/rpcsvc/nis.x: Likewise.
49483 * nis/rpcsvc/nis_callback.h: Likewise.
49484 * nis/rpcsvc/nis_callback.x: Likewise.
49485 * nis/rpcsvc/nis_object.x: Likewise.
49486 * nis/rpcsvc/nis_tags.h: Likewise.
49487 * nis/rpcsvc/yp.h: Likewise.
49488 * nis/rpcsvc/yp.x: Likewise.
49489 * nis/rpcsvc/ypupd.h: Likewise.
49490 * nis/yp_xdr.c: Likewise.
49491 * nis/ypupdate_xdr.c: Likewise.
49493 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
49494 mainly the body of pmap_getport. Add parameters to specify timeouts.
49495 (pmap_getport): Use __libc_rpc_getport.
49496 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49497 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49498 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49500 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
49502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49505 2010-08-27 Roland McGrath <roland@redhat.com>
49507 * sysdeps/i386/i686/multiarch/Makefile
49508 (CFLAGS-varshift.c): New variable.
49510 2010-08-27 Ulrich Drepper <drepper@redhat.com>
49512 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49513 * sysdeps/i386/i686/multiarch/varshift.c: New file.
49515 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49517 * sysdeps/x86_64/strlen.S: Minimal code improvement.
49519 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
49521 * sysdeps/x86_64/strlen.S: Unroll the loop.
49522 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49523 strlen-sse2 strlen-sse2-bsf.
49524 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49525 __strlen_no_bsf if bit_Slow_BSF is set.
49526 (__strlen_sse42): Removed.
49527 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49528 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49530 2010-08-25 Roland McGrath <roland@redhat.com>
49532 * sysdeps/x86_64/multiarch/varshift.S: File removed.
49533 * sysdeps/x86_64/multiarch/varshift.c: New file.
49534 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49535 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49536 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49537 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49539 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
49541 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49542 strlen-sse2 strlen-sse2-bsf.
49543 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49544 __strlen_sse2_bsf if bit_Slow_BSF is unset.
49545 (__strlen_sse2): Removed.
49546 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49547 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49548 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49549 bit_Slow_BSF for Atom.
49550 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49551 (index_Slow_BSF): Define.
49552 (HAS_SLOW_BSF): Define.
49554 2010-08-25 Ulrich Drepper <drepper@redhat.com>
49557 * resolv/res_init.c (__res_vinit): When no server address at all
49558 is given default to loopback.
49560 2010-08-24 Roland McGrath <roland@redhat.com>
49562 * configure.in: Remove config-name.h generation.
49563 * configure: Regenerated.
49564 * config-name.in: File removed.
49565 * scripts/config-uname.sh: New file.
49566 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49567 ($(objdir)config-name.h): New target.
49569 * sunrpc/rpc_parse.h: Avoid nested comment.
49571 2010-08-24 Richard Henderson <rth@redhat.com>
49572 Ulrich Drepper <drepper@redhat.com>
49573 H.J. Lu <hongjiu.lu@intel.com>
49575 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49576 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49577 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49578 Replace _mm_srli_si128 with __m128i_shift_right. Replace
49579 _mm_alignr_epi8 with _mm_loadu_si128.
49580 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49581 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49582 (__m128i_shift_right): Removed.
49583 * sysdeps/i386/i686/multiarch/varshift.h: New file.
49584 * sysdeps/i386/i686/multiarch/varshift.S: New file.
49585 * sysdeps/x86_64/multiarch/varshift.h: New file.
49586 * sysdeps/x86_64/multiarch/varshift.S: New file.
49588 2010-08-21 Mike Frysinger <vapier@gentoo.org>
49590 * configure.in: Move assembler checks to before sysdep dir checking.
49592 2010-08-20 Petr Baudis <pasky@suse.cz>
49594 * LICENSES: Sync the sunrpc license.
49596 2010-08-19 Ulrich Drepper <drepper@redhat.com>
49598 * sunrpc/auth_des.c: Update copyright notice once again.
49599 * sunrpc/auth_none.c: Likewise.
49600 * sunrpc/auth_unix.c: Likewise.
49601 * sunrpc/authdes_prot.c: Likewise.
49602 * sunrpc/authuxprot.c: Likewise.
49603 * sunrpc/bindrsvprt.c: Likewise.
49604 * sunrpc/clnt_gen.c: Likewise.
49605 * sunrpc/clnt_perr.c: Likewise.
49606 * sunrpc/clnt_raw.c: Likewise.
49607 * sunrpc/clnt_simp.c: Likewise.
49608 * sunrpc/clnt_tcp.c: Likewise.
49609 * sunrpc/clnt_udp.c: Likewise.
49610 * sunrpc/clnt_unix.c: Likewise.
49611 * sunrpc/des_crypt.c: Likewise.
49612 * sunrpc/des_soft.c: Likewise.
49613 * sunrpc/get_myaddr.c: Likewise.
49614 * sunrpc/getrpcport.c: Likewise.
49615 * sunrpc/key_call.c: Likewise.
49616 * sunrpc/key_prot.c: Likewise.
49617 * sunrpc/openchild.c: Likewise.
49618 * sunrpc/pm_getmaps.c: Likewise.
49619 * sunrpc/pm_getport.c: Likewise.
49620 * sunrpc/pmap_clnt.c: Likewise.
49621 * sunrpc/pmap_prot.c: Likewise.
49622 * sunrpc/pmap_prot2.c: Likewise.
49623 * sunrpc/pmap_rmt.c: Likewise.
49624 * sunrpc/rpc/auth.h: Likewise.
49625 * sunrpc/rpc/auth_unix.h: Likewise.
49626 * sunrpc/rpc/clnt.h: Likewise.
49627 * sunrpc/rpc/des_crypt.h: Likewise.
49628 * sunrpc/rpc/key_prot.h: Likewise.
49629 * sunrpc/rpc/netdb.h: Likewise.
49630 * sunrpc/rpc/pmap_clnt.h: Likewise.
49631 * sunrpc/rpc/pmap_prot.h: Likewise.
49632 * sunrpc/rpc/pmap_rmt.h: Likewise.
49633 * sunrpc/rpc/rpc.h: Likewise.
49634 * sunrpc/rpc/rpc_des.h: Likewise.
49635 * sunrpc/rpc/rpc_msg.h: Likewise.
49636 * sunrpc/rpc/svc.h: Likewise.
49637 * sunrpc/rpc/svc_auth.h: Likewise.
49638 * sunrpc/rpc/types.h: Likewise.
49639 * sunrpc/rpc/xdr.h: Likewise.
49640 * sunrpc/rpc_clntout.c: Likewise.
49641 * sunrpc/rpc_cmsg.c: Likewise.
49642 * sunrpc/rpc_common.c: Likewise.
49643 * sunrpc/rpc_cout.c: Likewise.
49644 * sunrpc/rpc_dtable.c: Likewise.
49645 * sunrpc/rpc_hout.c: Likewise.
49646 * sunrpc/rpc_main.c: Likewise.
49647 * sunrpc/rpc_parse.c: Likewise.
49648 * sunrpc/rpc_parse.h: Likewise.
49649 * sunrpc/rpc_prot.c: Likewise.
49650 * sunrpc/rpc_sample.c: Likewise.
49651 * sunrpc/rpc_scan.c: Likewise.
49652 * sunrpc/rpc_scan.h: Likewise.
49653 * sunrpc/rpc_svcout.c: Likewise.
49654 * sunrpc/rpc_tblout.c: Likewise.
49655 * sunrpc/rpc_util.c: Likewise.
49656 * sunrpc/rpc_util.h: Likewise.
49657 * sunrpc/rpcinfo.c: Likewise.
49658 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49659 * sunrpc/rpcsvc/key_prot.x: Likewise.
49660 * sunrpc/rpcsvc/klm_prot.x: Likewise.
49661 * sunrpc/rpcsvc/mount.x: Likewise.
49662 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49663 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49664 * sunrpc/rpcsvc/rex.x: Likewise.
49665 * sunrpc/rpcsvc/rstat.x: Likewise.
49666 * sunrpc/rpcsvc/rusers.x: Likewise.
49667 * sunrpc/rpcsvc/sm_inter.x: Likewise.
49668 * sunrpc/rpcsvc/spray.x: Likewise.
49669 * sunrpc/rpcsvc/yppasswd.x: Likewise.
49670 * sunrpc/rtime.c: Likewise.
49671 * sunrpc/svc.c: Likewise.
49672 * sunrpc/svc_auth.c: Likewise.
49673 * sunrpc/svc_authux.c: Likewise.
49674 * sunrpc/svc_raw.c: Likewise.
49675 * sunrpc/svc_run.c: Likewise.
49676 * sunrpc/svc_simple.c: Likewise.
49677 * sunrpc/svc_tcp.c: Likewise.
49678 * sunrpc/svc_udp.c: Likewise.
49679 * sunrpc/svc_unix.c: Likewise.
49680 * sunrpc/svcauth_des.c: Likewise.
49681 * sunrpc/xcrypt.c: Likewise.
49682 * sunrpc/xdr.c: Likewise.
49683 * sunrpc/xdr_array.c: Likewise.
49684 * sunrpc/xdr_float.c: Likewise.
49685 * sunrpc/xdr_mem.c: Likewise.
49686 * sunrpc/xdr_rec.c: Likewise.
49687 * sunrpc/xdr_ref.c: Likewise.
49688 * sunrpc/xdr_sizeof.c: Likewise.
49689 * sunrpc/xdr_stdio.c: Likewise.
49691 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49694 2010-08-19 Andreas Schwab <schwab@redhat.com>
49696 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49698 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
49700 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49701 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49702 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49703 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49704 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49705 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49706 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49707 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49708 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49709 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49710 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49711 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49712 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49713 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49715 2010-07-26 Anton Blanchard <anton@samba.org>
49717 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49718 * malloc/arena.c (heap_trim): Likewise.
49720 2010-08-16 Ulrich Drepper <drepper@redhat.com>
49722 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49724 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49725 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49727 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
49729 * sysdeps/i386/elf/Makefile: New file.
49731 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49733 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49734 from fanotify_init.
49735 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49736 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49738 2010-08-15 Ulrich Drepper <drepper@redhat.com>
49740 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49742 * sysdeps/multiarch/strcmp.S: Likewise.
49744 2010-08-14 Ulrich Drepper <drepper@redhat.com>
49746 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49747 strncase_l-nonascii.
49748 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49749 Add strncase_l-ssse3.
49750 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49751 * sysdeps/x86_64/strcmp.S: Likewise.
49752 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49753 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49754 * sysdeps/x86_64/strncase.S: New file.
49755 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49756 * sysdeps/x86_64/strncase_l.S: New file.
49757 * string/Makefile (strop-tests): Add strncasecmp.
49758 * string/test-strncasecmp.c: New file.
49760 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49763 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49764 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49766 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49768 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49770 2010-08-12 Ulrich Drepper <drepper@redhat.com>
49772 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49773 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49774 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49776 2010-05-01 Alan Modra <amodra@gmail.com>
49778 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49779 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49780 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49781 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49782 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49783 tidying. Don't tail-call __sigjmp_save for static lib.
49784 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49786 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49787 (CALL_MCOUNT): Add eh info, and nop after bl.
49788 (TAIL_CALL_SYSCALL_ERROR): New macro.
49789 (PSEUDO_RET): Use it.
49790 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49791 Correct save location of integer regs and cr.
49792 (_dl_profile_resolve): Correct cr save location. Delete nops
49793 after bl when SHARED. Reduce cfi size a little by better
49794 placement of cfi directives.
49795 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49796 make a stack frame. Instead use parm save area as a temp.
49797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49798 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
49799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49800 Don't make a stack frame for parent, use parm save area.
49801 Increase child stack frame to 112 bytes. Don't save unused reg,
49802 and adjust reg usage. Set up cfi on error recovery and
49803 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49805 (__makecontext): Add dummy nop after jump to exit.
49806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49807 Use correct parm save area and cr save, reduce stack frame.
49808 Correct cfi for possible PSEUDO_RET frame setup.
49809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49810 Branch to local label emitted by PSEUDO_RET rather than
49813 2010-08-12 Andreas Schwab <schwab@redhat.com>
49816 * locale/programs/locale.c (print_assignment): New function.
49817 (show_locale_vars): Use it.
49819 2010-08-11 Ulrich Drepper <drepper@redhat.com>
49821 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49823 (struct statfs64): Likewise.
49824 (_STATFS_F_FLAGS): Define.
49825 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49826 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49827 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49828 (ST_VALID): Define locally.
49829 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49830 __statvfs_getflags, use the provided value.
49831 * sysdeps/unix/sysv/linux/kernel-features.h: Define
49832 __ASSUME_STATFS_F_FLAGS.
49834 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49836 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49837 Add sys/fanotify.h.
49838 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49839 fanotify_mask for GLIBC_2.13.
49840 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49841 fanotify_init and fanotify_mark.
49842 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49843 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49845 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49847 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49848 prlimit64 for GLIBC_2.13.
49849 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49851 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49854 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49855 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49856 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49857 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
49859 * sysdeps/unix/sysv/linux/prlimit.c: New file.
49862 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49863 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49865 * nss/Makefile: Add rules to build and run tst-nss-test1.
49866 * shlib-versions: Add entry for libnss_test1.
49867 * nss/nss_test1.c: New file.
49868 * nss/tst-nss-test1.c: New file.
49870 * nss/nsswitch.c (__nss_database_custom): Define new variable.
49871 (__nss_configure_lookup): Set appropriate entry in
49872 __nss_configure_lookup to true.
49873 * nss/nsswitch.h: Define enum with indeces of databases in
49874 databases and __nss_database_custom arrays. Declare
49875 __nss_database_custom.
49876 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49877 to avoid using nscd when custom rules are installed.
49878 * nss/getXXbyYY_r.c: Likewise.
49879 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49881 * nss/nss_files/files-parse.c: Whitespace fixes.
49883 2010-08-09 Ulrich Drepper <drepper@redhat.com>
49886 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49887 * posix/fnmatch_loop.c: Likewise.
49889 2010-07-17 Andi Kleen <ak@linux.intel.com>
49891 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49892 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49893 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49894 * Versions.def [GLIBC_2.13]: Add.
49896 2010-08-06 Ulrich Drepper <drepper@redhat.com>
49898 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49899 Also fail if tpwd after pwuid call is NULL.
49901 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
49903 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49904 when converting to ms.
49906 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49908 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49909 EOPNOTSUPP errors with ENOTTY.
49910 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49911 EOPNOTSUPP errors with ENOTTY.
49913 2010-07-31 Ulrich Drepper <drepper@redhat.com>
49915 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49916 Add strcasecmp_l-ssse3.
49917 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49919 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49920 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49921 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49923 2010-07-30 Ulrich Drepper <drepper@redhat.com>
49925 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49927 * string/Makefile (strop-tests): Add strcasecmp.
49928 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49929 strcasecmp_l-nonascii.
49930 (gen-as-const-headers): Add locale-defines.sym.
49931 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49932 * sysdeps/x86_64/strcasecmp.S: New file.
49933 * sysdeps/x86_64/strcasecmp_l.S: New file.
49934 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49935 * sysdeps/x86_64/locale-defines.sym: New file.
49936 * string/test-strcasecmp.c: New file.
49938 * string/test-strcasestr.c: Test both ends of the range of characters.
49939 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49941 2010-07-29 Roland McGrath <roland@redhat.com>
49944 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49946 2010-07-27 Ulrich Drepper <drepper@redhat.com>
49948 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49951 2010-07-27 Andreas Schwab <schwab@redhat.com>
49953 * manual/memory.texi (Malloc Tunable Parameters): Document
49956 2010-07-26 Roland McGrath <roland@redhat.com>
49959 * configure.in (-fgnu89-inline check): Set and substitute
49960 gnu89_inline, not libc_cv_gnu89_inline.
49961 * configure: Regenerated.
49962 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49964 2010-07-26 Ulrich Drepper <drepper@redhat.com>
49966 * string/test-strnlen.c: New file.
49967 * string/Makefile (strop-tests): Add strnlen.
49968 * string/tester.c (test_strnlen): Add a few more test cases.
49969 * string/tst-strlen.c: Better error reporting.
49971 * sysdeps/x86_64/strnlen.S: New file.
49973 2010-07-24 Ulrich Drepper <drepper@redhat.com>
49975 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49976 lower-latency instructions.
49978 2010-07-23 Ulrich Drepper <drepper@redhat.com>
49980 * string/test-strcasestr.c: New file.
49981 * string/test-strstr.c: New file.
49982 * string/Makefile (strop-tests): Add strstr and strcasestr.
49983 * string/str-two-way.h: Don't undefine MAX.
49984 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49986 2010-07-21 Andreas Schwab <schwab@redhat.com>
49988 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49989 strcasestr-nonascii.
49990 (CFLAGS-strcasestr-nonascii.c): Define.
49991 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49992 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49993 Remove unused attribute.
49995 2010-07-20 Roland McGrath <roland@redhat.com>
49997 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49998 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49999 ld.so.cache was broken. With it, there is no way to disable dsocaps
50000 like LD_HWCAP_MASK can disable hwcaps.
50002 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50004 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50006 2010-07-16 Ulrich Drepper <drepper@redhat.com>
50008 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50009 call in strcasestr.
50010 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50011 __strcasestr_sse42_nonascii.
50012 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50013 strcasestr-nonascii.c.
50014 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50016 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
50018 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50019 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50020 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50021 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50023 2010-07-09 Ulrich Drepper <drepper@redhat.com>
50025 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50028 2010-07-06 Andreas Schwab <schwab@redhat.com>
50031 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50034 2010-07-06 Ulrich Drepper <drepper@redhat.com>
50036 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50037 _PC_PIPE_BUF using F_GETPIPE_SZ.
50039 2010-07-05 Roland McGrath <roland@redhat.com>
50041 * manual/arith.texi (Rounding Functions): Fix rint description
50042 implicit in round description.
50044 2010-07-02 Ulrich Drepper <drepper@redhat.com>
50046 * elf/Makefile: Fix linking for a few tests to make recent linker
50049 2010-06-30 Andreas Schwab <schwab@redhat.com>
50051 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50052 $(common-objpfx)libc_nonshared.a.
50054 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
50056 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50057 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50058 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50059 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50060 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50061 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50062 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50063 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50078 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50079 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50080 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50081 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50082 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50083 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50084 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50085 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50086 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50087 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50088 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50089 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50105 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
50107 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50108 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
50109 * string/memmove.c (memmove): Renamed to ...
50110 (MEMMOVE): ...this. Default to memmove.
50111 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50112 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50114 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50115 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50116 mempcpy-ssse3-back memmove-ssse3-back.
50117 * sysdeps/x86_64/multiarch/bcopy.S: New file .
50118 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50119 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50120 * sysdeps/x86_64/multiarch/memcpy.S: New file.
50121 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50122 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50123 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50124 * sysdeps/x86_64/multiarch/memmove.c: New file.
50125 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50126 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50127 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50128 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50129 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50130 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50132 (index_Fast_Copy_Backward): Define.
50133 (HAS_ARCH_FEATURE): Define.
50134 (HAS_FAST_REP_STRING): Define.
50135 (HAS_FAST_COPY_BACKWARD): Define.
50137 2010-06-21 Andreas Schwab <schwab@redhat.com>
50139 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50140 Restore proper fallback handling.
50142 2010-06-19 Ulrich Drepper <drepper@redhat.com>
50145 * posix/group_member.c (__group_member): Correct checking loop.
50147 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50148 OOM in getpwuid_r correctly. Return error number when the caller
50149 should return, otherwise -1.
50150 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50151 call returning > 0 value.
50152 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50154 2010-06-07 Andreas Schwab <schwab@redhat.com>
50156 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50157 libc_nonshared.a from targets in modules-names.
50159 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
50161 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50164 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
50166 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50167 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50168 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50169 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50171 2010-06-02 Andreas Schwab <schwab@redhat.com>
50173 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50175 2010-06-14 Ulrich Drepper <drepper@redhat.com>
50177 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50179 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50180 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50181 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50182 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50183 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50184 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50186 2010-06-14 Roland McGrath <roland@redhat.com>
50188 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50190 2010-06-07 Jakub Jelinek <jakub@redhat.com>
50192 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50193 __REDIRECT followed by __THROW.
50194 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50195 * posix/getopt.h (getopt): Likewise.
50197 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50199 * hurd/lookup-at.c (__file_name_lookup_at): Accept
50200 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
50201 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50203 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50204 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50206 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
50208 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50210 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
50213 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50214 Properly check family and model.
50216 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
50218 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50220 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
50222 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50224 2010-05-21 Ulrich Drepper <drepper@redhat.com>
50226 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50229 2010-05-19 Andreas Schwab <schwab@redhat.com>
50231 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50234 2010-05-21 Andreas Schwab <schwab@redhat.com>
50236 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50237 and internal_recvmmsg.
50238 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50239 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50240 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50241 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50243 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50244 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50245 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50247 2010-05-20 Andreas Schwab <schwab@redhat.com>
50249 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50251 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
50253 POWER7 optimizations.
50254 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50255 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50257 2010-05-19 Ulrich Drepper <drepper@redhat.com>
50259 * version.h: Update for 2.13 development version.
50261 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
50263 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50264 exceptions. Return 0.
50266 2010-05-07 Roland McGrath <roland@redhat.com>
50268 * elf/ldconfig.c (main): Add a const.
50270 2010-05-06 Ulrich Drepper <drepper@redhat.com>
50272 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50273 (args_options): Add no-idn option.
50274 (ahosts_keys_int): Add idn_flags to ai_flags.
50275 (parse_option): Handle 'i' option to clear idn_flags.
50277 * malloc/malloc.c (_int_free): Possible race in the most recently
50278 added check. Only act on the data if no current modification
50281 See ChangeLog.17 for earlier changes.