1 2014-09-12 Joseph Myers <joseph@codesourcery.com>
3 * scripts/soversions.awk: Do not handle configuration names.
4 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
5 vendor and os variables to soversions.awk.
6 * configure.ac: Do not modify gnu-* host_os.
7 * configure: Regenerated
8 * shlib-versions: Remove first column with configuration names.
9 * nptl/shlib-versions: Likewise.
10 * nptl_db/shlib-versions: Likewise.
11 * sysdeps/hppa/shlib-versions: Likewise.
12 * sysdeps/m68k/shlib-versions: Likewise.
13 * sysdeps/mach/hurd/shlib-versions: Likewise.
14 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
15 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
16 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
17 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
18 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
19 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
20 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
21 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
22 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
24 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
25 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
26 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
28 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
29 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
30 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
31 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
34 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
35 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
37 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
38 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
39 Condition symbol version definitions on [HAVE_ELFV2_ABI].
41 * shlib-versions: Remove OS-specific entries. Moved to files in
43 * sysdeps/mach/hurd/shlib-versions: New file.
44 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46 * nptl/shlib-versions: Remove architecture-specific entries.
47 Moved to files in sysdeps.
48 * shlib-versions: Likewise.
49 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
51 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
52 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
53 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
54 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
56 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
57 (UDP_NO_CHECK6_RX): Likewise.
59 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
61 * sysdeps/posix/sysconf.c (__sysconf): Spell
62 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
64 2014-08-12 Florian Weimer <fweimer@redhat.com>
66 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
68 * iconv/Versions (__gconv_transliterate): Export for use from
70 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
71 (struct __gconv_trans_data, __gconv_trans_fct,
72 __gconv_trans_context_fct, __gconv_trans_query_fct,
73 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
75 (struct __gconv_step_data): Remove __trans member.
76 (__gconv_transliterate): Declaration moved from gconv_int.h. No
77 longer hidden. Remove unused trans_data argument.
78 * iconv/gconv_int.h (struct trans_struct): Remove definition.
79 (__gconv_translit_find): Remove declaration.
80 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
82 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
83 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
84 trans_data argument. Add hidden definition.
85 (__gconv_translit_find): Remove.
86 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
87 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
88 * iconv/skeleton.c: Remove transliteration initialization.
89 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
90 __gconv_step_data initialization.
91 * libio/iofwide.c (__libio_translit_): Remove.
92 (_IO_fwide): Adjust struct __gconv_step_data initialization.
93 * wcsmbs/btowc.c (__btowc): Likewise.
94 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
95 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
96 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
97 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
98 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
99 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
100 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
101 * wcsmbs/wctob.c (wctob): Likewise.
103 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
106 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
107 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
109 * sysdeps/x86/Makefile: Adjust.
111 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
112 Roland McGrath <roland@hack.frob.com>
114 * locale/weight.h: Add include guard.
115 (findidx): Make static rather than auto; take new parameters
116 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
117 * locale/weightwc.h: Likewise.
118 * posix/fnmatch_loop.c
119 (FCT): Change type of EXTRA from int32_t to wint_t.
120 Don't include either header inside the function.
121 Call FINDIDX rather than findidx, and pass new arguments.
122 #undef FINDIDX at the end of the file.
123 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
124 FINDIDX before including fnmatch_loop.c for the non-wide version.
125 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
126 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
127 for the wide version.
128 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
129 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
130 Pass new arguments to findidx.
131 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
132 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
133 Don't #include it inside the function. Pass new arguments to findidx.
134 * posix/regex_internal.h
135 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
136 (re_string_elem_size_at): Don't #include it inside the function.
137 Pass new arguments to findidx.
138 * string/strcoll_l.c: #include WEIGHT_H at top level.
139 (get_next_seq): Don't #include it inside the function.
140 Pass new arguments to findidx.
141 (get_next_seq_nocache): Likewise.
142 * string/strxfrm_l.c: #include WEIGHT_H at top level.
143 (STRXFRM): Don't #include it inside the function.
144 Pass new arguments to findidx.
146 2014-09-11 Florian Weimer <fweimer@redhat.com>
149 * malloc/malloc.c (unlink): Turn asserts into a call to
152 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
155 * libio/wfileops (do_ftell_wide): Free OUT.
157 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
159 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
161 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
164 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
165 group if the current group is empty.
167 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
169 * benchtests/bench-memset.c (test_main): Add more test from size
170 from 32 to 512 bytes.
171 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
172 Add POWER8 memset object.
173 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
174 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
175 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
177 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
179 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
180 multiarch POWER8 memset optimization.
181 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
182 POWER8 memset optimization.
184 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
185 Remove bzero multiarch objects.
186 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
187 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
188 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
189 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
191 [__bzero]: Redefine to specific name.
192 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
193 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
194 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
196 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
197 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
199 2014-09-10 Florian Weimer <fweimer@redhat.com>
201 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
202 warnings into errors.
204 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
205 __cxa_thread_atexit_impl prototype.
207 2014-09-09 Steve Ellcey <sellcey@mips.com>
209 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
210 Fix capitalization of error message.
212 2014-09-09 Steve Ellcey <sellcey@mips.com>
214 * sysdeps/mips/preconfigure: Modify ABI tests.
216 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
218 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
220 2014-09-07 Roland McGrath <roland@hack.frob.com>
221 Carlos O'Donell <carlos@systemhalted.org>
223 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
224 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
225 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
226 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
227 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
228 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
229 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
230 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
231 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
232 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
233 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
234 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
235 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
236 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
237 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
238 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
239 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
240 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
241 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
242 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
243 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
244 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
245 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
246 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
247 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
248 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
249 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
250 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
251 Deconditionalize the code that was previously under [RESET_PID].
252 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
253 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
254 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
255 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
258 2014-09-08 Allan McRae <allan@archlinux.org>
260 * version.h (RELEASE): Set to "development".
261 (VERSION): Set to "2.20.90"
263 2014-09-07 Allan McRae <allan@archlinux.org
265 * version.h (RELEASE): Set to "stable".
266 (VERSION): Set to "2.20"
267 * include/features.h (__GLIBC_MINOR__): Set to 20.
269 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
272 * po/ko.po: Update Korean translation from translation project.
274 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
277 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
278 macro for handling signed relocations.
280 2014-09-03 Florian Weimer <fweimer@redhat.com>
283 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
284 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
286 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
287 * iconvdata/ibm935.c (BODY): Likewise.
288 * iconvdata/ibm937.c (BODY): Likewise.
289 * iconvdata/ibm939.c (BODY): Likewise.
290 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
292 * iconvdata/Makefile (iconv-test.out): Pass module list to test
294 * iconvdata/run-iconv-test.sh: New test loop for checking for
297 2014-09-02 Khem Raj <raj.khem@gmail.com>
299 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
302 2014-09-01 Allan McRae <allan@archlinux.org>
304 * po/eo.po: Update Esperanto translation from translation project.
306 * po/ca.po: Update Catalan translation from translation project.
308 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
310 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
313 2014-08-27 Mark Wielaard <mjw@redhat.com>
316 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
317 to call set_thread_area instead of hand written asm.
318 (__NR_set_thread_area): Removed define.
319 (TLS_FLAG_WRITABLE): Likewise.
320 (__ASSUME_SET_THREAD_AREA): Remove check.
321 (TLS_EBX_ARG): Remove define.
322 (TLS_LOAD_EBX): Likewise.
324 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
326 Simplify atomicity of socket creation in bind.
328 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
329 looking up the name after linking the file.
331 2014-08-27 Allan McRae <allan@archlinux.org>
333 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
335 2014-08-26 Florian Weimer <fweimer@redhat.com>
338 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
339 trans_compare, open_translit, __gconv_translit_find):
340 Remove module loading code.
342 2014-08-26 Allan McRae <allan@archlinux.org>
344 * po/vi.po: Update Vietnamese translation from translation project.
346 * po/uk.po: Update Ukrainian translation from translation project.
348 * po/fr.po: Update French translation from translation project.
350 * po/ru.po: Update Russian translation from translation project.
352 * po/pl.po: Update Polish translation from translation project.
354 * po/cs.po: Update Czech translation from translation project.
356 * po/de.po: Update German translation from translation project.
358 * po/bg.po: Update Bulgarian translation from translation project.
360 * po/sv.po: Update Sweedish translation from translation project.
362 * po/nl.po: Update Dutch translation from translation project.
364 * po/es.po: Update Spanish translation from translation project.
366 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
368 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
370 * catgets/Makefile (CPPFLAGS-gencat): Remove.
371 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
372 (CPPFLAGS-iconvconfig): Likewise.
373 * timezone/Makefile (CPPFLAGS-zic): Likewise.
375 * include/libc-symbols.h: Remove unnecessary check for
377 * nptl/pthreadP.h: Likewise.
378 * sysdeps/aarch64/setjmp.S: Likewise.
379 * sysdeps/alpha/setjmp.S: Likewise.
380 * sysdeps/arm/sysdep.h: Likewise.
381 * sysdeps/i386/setjmp.S: Likewise.
382 * sysdeps/m68k/setjmp.c: Likewise.
383 * sysdeps/posix/getcwd.c: Likewise.
384 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
385 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
386 * sysdeps/s390/s390-32/setjmp.S: Likewise.
387 * sysdeps/s390/s390-64/setjmp.S: Likewise.
388 * sysdeps/sh/sh3/setjmp.S: Likewise.
389 * sysdeps/sh/sh4/setjmp.S: Likewise.
390 * sysdeps/unix/alpha/sysdep.h: Likewise.
391 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
392 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
393 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
394 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
397 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
398 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
399 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
400 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
401 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
402 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
403 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
404 * sysdeps/x86_64/setjmp.S: Likewise.
406 2014-08-13 Joseph Myers <joseph@codesourcery.com>
409 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
411 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
412 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
414 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
416 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
419 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
420 and __x86_64__ when disabling x87 inline functions.
422 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
425 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
426 asm statement with __cpuid_count.
428 2014-08-12 Mike Frysinger <vapier@gentoo.org>
430 * configure.ac: Change __ehdr_start code to dereference the struct.
431 Run readelf on the output to look for relocations.
432 * configure: Regenerated.
434 2014-08-12 Joseph Myers <joseph@codesourcery.com>
437 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
439 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
441 2014-08-12 Roland McGrath <roland@hack.frob.com>
443 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
445 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
448 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
449 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
451 2014-08-12 Sean Anderson <seanga2@gmail.com>
453 * malloc/malloc.c: Fix typo in comment.
455 2014-08-09 Allan McRae <allan@archlinux.org>
457 * Regenerate libc.po.
459 2014-08-08 Mike Frysinger <vapier@gentoo.org>
461 * intl/tst-gettext2.sh: Check every lang file for creation.
463 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
465 * sysdeps/aarch64/fpu/math_private.h
466 (libc_feholdsetround_noex_aarch64_ctx): New function.
468 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
470 * sysdeps/arm/armv6/strcpy.S (strcpy):
471 Fix performance issue in misaligned cases.
473 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
475 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
476 Move definition from termios.h.
477 (struct termio): Likewise.
478 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
479 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
480 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
481 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
483 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
484 Move definition to ioctl-types.h
485 (struct termio): Likewise.
486 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
487 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
488 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
489 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
492 2014-08-05 Richard Henderson <rth@redhat.com>
494 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
496 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
498 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
500 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
501 Protect libm symbols with IS_IN_libm.
503 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
505 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
507 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
509 2014-08-04 Will Newton <will.newton@linaro.org>
511 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
514 2014-08-04 Mike Frysinger <vapier@gentoo.org>
516 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
517 variants for each function.
519 2014-08-04 Roland McGrath <roland@hack.frob.com>
521 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
523 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
524 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
526 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
527 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
528 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
529 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
530 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
531 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
532 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
533 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
534 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
535 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
536 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
537 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
538 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
539 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
540 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
541 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
542 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
543 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
544 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
545 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
546 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
547 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
548 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
549 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
550 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
551 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
552 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
553 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
554 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
555 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
556 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
557 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
558 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
559 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
560 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
561 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
562 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
563 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
564 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
565 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
566 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
567 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
568 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
569 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
570 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
571 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
572 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
573 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
574 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
575 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
576 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
577 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
578 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
580 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
581 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
583 2014-08-04 Roland McGrath <roland@hack.frob.com>
585 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
586 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
587 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
588 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
589 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
590 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
592 2014-08-04 Roland McGrath <roland@hack.frob.com>
594 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
595 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
596 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
597 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
599 2014-08-04 Roland McGrath <roland@hack.frob.com>
601 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
602 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
603 (__libc_vfork): Define function under this name.
604 (__vfork): Define as an alias.
605 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
606 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
608 2014-08-04 Roland McGrath <roland@hack.frob.com>
610 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
611 that was previously under [RESET_PID].
612 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
614 2014-08-04 Andreas Schwab <schwab@suse.de>
616 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
618 2014-08-03 Mike Frysinger <vapier@gentoo.org>
620 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
623 2014-08-01 Roland McGrath <roland@hack.frob.com>
625 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
627 2014-08-01 Richard Henderon <rth@redhat.com>
629 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
630 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
631 typo in exact zero test.
632 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
633 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
634 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
636 2014-08-01 Roland McGrath <roland@hack.frob.com>
638 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
639 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
640 * sysdeps/arm/sysdep.h: ... here.
641 [!__ASSEMBLER__]: Include <stdint.h>.
643 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
645 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
646 (HAVE_WCTYPE_H): Likewise.
647 (HAVE_ISWCTYPE): Likewise.
648 (ENABLE_NLS): Likewise.
649 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
650 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
652 * posix/regex_internal.c: Check if DEBUG is defined and is
655 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
656 (HAVE_MBSRTOWCS): Likewise.
657 * posix/fnmatch.c: Include string.h unconditionally.
659 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
661 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
664 2014-07-31 Roland McGrath <roland@hack.frob.com>
666 * sysdeps/generic/safe-fatal.h: New file.
667 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
668 * nptl/forward.c: Include it.
669 (__pthread_unwind): Use __safe_fatal as default action, rather
670 than a bogus use of INTERNAL_SYSCALL that could never work.
672 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
673 * configure.ac (libc_cv_builtin_trap): New test.
674 * configure: Regenerated.
675 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
676 (ABORT_INSTRUCTION): Define using __builtin_trap.
678 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
679 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
680 * sysdeps/nptl/nptl-signals.h: New file.
681 * nptl/pthreadP.h: Include <nptl-signals.h>.
683 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
685 * sysdeps/s390/s390-64/utf16-utf32-z9.c
686 (ONE_DIRECTION): Define.
687 * sysdeps/s390/s390-64/utf8-utf16-z9.c
688 (ONE_DIRECTION): Define.
689 * sysdeps/s390/s390-64/utf8-utf32-z9.c
690 (ONE_DIRECTION): Define.
692 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
694 * sysdeps/s390/Makefile: Delete file.
695 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
696 * sysdeps/s390/__longjmp.c: Delete file.
697 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
698 Remove fields __flags and __reserved.
699 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
701 * sysdeps/s390/rtld-__longjmp.c: Delete file.
702 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
703 * sysdeps/s390/rtld-setjmp.S: Likewise.
704 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
705 * sysdeps/s390/s390-32/__longjmp.c: ... here.
706 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
707 * sysdeps/s390/s390-32/setjmp.S: ... here.
709 (__sigsetjmp): Remove setting __flags field.
710 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
711 * sysdeps/s390/s390-64/__longjmp.c: ... here.
712 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
713 * sysdeps/s390/s390-64/setjmp.S: ... here.
715 (__sigsetjmp): Remove setting __flags field.
716 * sysdeps/s390/setjmp.S: Delete file.
717 * sysdeps/s390/sigjmp.c: Likewise.
718 * sysdeps/s390/v1-longjmp.c: Likewise.
719 * sysdeps/s390/v1-setjmp.h: Likewise.
720 * sysdeps/s390/v1-sigjmp.c: Likewise.
721 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
722 Remove v1-longjmp_chk.
723 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
724 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
725 Include debug/longjmp_chk.c and add versioning.
726 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
727 Include nptl/pt-longjmp.c and add versioning.
728 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
729 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
731 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
733 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
734 (__getcontext): Remove setting __flags field.
736 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
737 Don't restore upper high grps.
738 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
740 (__swapcontext): Remove setting uc_flags field.
741 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
743 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
745 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
747 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
748 (__getcontext): Remove setting __flags field.
750 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
751 (__swapcontext): Remove setting uc_flags field.
752 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
753 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
754 Remove fields uc_high_gprs and __reserved.
755 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
756 New file with reverted content.
757 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
758 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
760 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
763 2014-07-31 Andreas Schwab <schwab@suse.de>
765 * config.h.in (HAVE_IFUNC): Define to 0.
766 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
769 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
771 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
772 memmove-avx-unaligned, memcpy-avx-unaligned and
773 mempcpy-avx-unaligned.
774 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
775 Add tests for AVX memcpy functions.
776 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
777 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
779 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
780 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
782 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
783 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
785 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
786 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
787 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
789 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
792 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
795 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
798 * manual/llio.texi: Add section about open file description locks.
799 * manual/examples/ofdlocks.c: Example of open file description
801 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
802 F_OFD_SETLK, and F_OFD_SETLKW.
804 2014-07-23 Allan McRae <allan@archlinux.org>
806 * po/es.po: Update Spanish translation from translation project.
808 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
810 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
812 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
815 * sysdeps/arm/dl-machine.h (elf_machine_rela)
816 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
817 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
819 2014-07-17 Joseph Myers <joseph@codesourcery.com>
822 * math/fesetenv.c (__fesetenv)
823 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
824 * math/feupdateenv.c (__feupdateenv)
825 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
827 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
828 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
829 (__ASSUME_SOCKETCALL): Do not define.
831 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
832 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
833 (__ASSUME_SOCKETCALL): Do not define.
834 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
835 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
836 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
837 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
838 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
839 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
840 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
841 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
843 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
844 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
845 (__ASSUME_SOCKETCALL): Do not define.
846 (__ASSUME_IPC64): Define unconditionally.
847 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
848 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
849 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
850 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
851 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
852 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
853 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
856 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
857 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
858 (__ASSUME_SOCKETCALL): Do not define.
859 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
860 (__ASSUME_FUTEX_LOCK_PI): Likewise.
861 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
862 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
863 (__ASSUME_REQUEUE_PI): Define unconditionally.
864 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
865 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
866 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
867 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
868 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
869 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
871 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
872 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
873 (__ASSUME_SOCKETCALL): Do not define.
874 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
875 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
876 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
877 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
878 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
879 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
881 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
882 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
883 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
884 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
885 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
886 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
887 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
888 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
889 (__ASSUME_GETCPU_SYSCALL): Likewise.
891 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
892 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
893 cases for individual architectures.
894 * sysdeps/gnu/configure: Regenerated.
895 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
896 LIBC_SLIBDIR_RTLDDIR.
897 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
898 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
899 LIBC_SLIBDIR_RTLDDIR.
900 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
902 LIBC_SLIBDIR_RTLDDIR.
903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
905 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
906 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
908 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
909 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
911 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
912 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
913 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
914 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
916 * sysdeps/aarch64/shlib-versions: Move to ...
917 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
918 * sysdeps/alpha/shlib-versions: Move to ...
919 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
920 * sysdeps/arm/shlib-versions: Move to ...
921 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
922 * sysdeps/hppa/shlib-versions: Move all contents except for
923 libgcc_s entry to ...
924 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
926 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
927 * sysdeps/ia64/shlib-versions: Move to ...
928 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
930 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
931 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
932 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
933 * sysdeps/microblaze/shlib-versions: Move to ...
934 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
935 * sysdeps/mips/shlib-versions: Move to ...
936 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
938 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
939 * sysdeps/tile/shlib-versions: Move to ...
940 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
941 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
943 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
944 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
946 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
948 2014-07-17 Will Newton <will.newton@linaro.org>
950 * sysdeps/arm/bits/atomic.h
951 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
952 (__arch_compare_and_exchange_bool_16_int): Likewise.
953 (__arch_compare_and_exchange_bool_64_int): Likewise.
955 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
958 2014-07-16 Roland McGrath <roland@hack.frob.com>
960 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
961 just Linux configurations. Test empirically that the compiler sets
962 __ARM_EABI__, rather than using the tuple to decide.
963 * sysdeps/arm/preconfigure: Regenerated.
964 * sysdeps/unix/sysv/linux/arm/configure: File removed.
965 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
966 contents appended ...
967 * sysdeps/arm/configure.ac: ... here.
968 * sysdeps/arm/configure: Regenerated.
970 2014-07-15 Roland McGrath <roland@hack.frob.com>
972 * nptl/pthread_kill.c: New file.
973 * nptl/pthread_sigmask.c: New file.
974 * nptl/pthread_sigqueue.c: New file.
976 * sysdeps/nptl/lowlevellock.h: New file.
977 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
978 * sysdeps/nptl/lowlevellock-futex.h: New file.
980 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
981 Remove dead declarations.
983 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
985 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
986 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
988 * sysdeps/x86_64/configure.ac: Likewise.
989 * sysdeps/i386/configure: Regenerated.
990 * sysdeps/x86_64/configure: Likewise.
991 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
992 memset-avx2 only if config-cflags-avx2 is yes.
993 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
994 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
996 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
997 only if HAVE_AVX2_SUPPORT is defined.
998 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1000 2014-07-14 Alan Modra <amodra@gmail.com>
1003 * elf/elf.h (DT_PPC64_NUM): Correct value.
1004 * NEWS: Add to fixed bug list.
1006 2014-07-13 Jim Meyering <meyering@fb.com>
1009 regex: don't deref NULL upon heap allocation failure
1010 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1011 failure in one more place.
1012 To trigger the segfault, configure grep -with-included-regex,
1013 build it, and run these commands:
1014 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1016 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
1018 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1020 2014-07-11 Richard Henderson <rth@redhat.com>
1022 * sysdeps/aarch64/libm-test-ulps: Update.
1024 2014-07-10 Florian Weimer <fweimer@redhat.com>
1027 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1028 * nptl/allocatestack.c (__nptl_setxid_error): New function.
1029 (__nptl_setxid): Initialize error member. Call
1030 __nptl_setxid_error.
1031 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1032 * nptl/descr.h (struct xid_command): Add error member.
1033 * nptl/tst-setuid3.c: New file.
1034 * nptl/Makefile (tests): Add it.
1036 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1038 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1040 (__lll_trylock): Use __lll_base_trylock.
1041 (__lll_cond_trylock): Likewise.
1043 2014-07-10 Roland McGrath <roland@hack.frob.com>
1045 * nptl/pthread_create.c (start_thread): Use atomic_or and
1046 lll_futex_wake directly rather than lll_robust_dead.
1047 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1048 (lll_robust_dead): Macro removed.
1049 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1050 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1051 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1052 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1053 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1054 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1055 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1056 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1057 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1058 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1059 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1060 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1061 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1062 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1063 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1065 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1066 Use atomic_compare_and_exchange_val_acq directly rather than
1068 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1069 (__lll_robust_trylock, lll_robust_trylock): Removed.
1070 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1071 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1072 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1073 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1074 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1075 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1076 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1077 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1078 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1079 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1080 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1081 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1082 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1083 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1085 2014-07-02 Florian Weimer <fweimer@redhat.com>
1087 * manual/locale.texi (Locale Names): New section documenting
1088 locale name syntax. Adjust menu and node chaining accordingly.
1089 (Choosing Locale): Reference Locale Names, Locale Categories.
1090 Mention setting LC_ALL=C. Reflect that name syntax is now
1092 (Locale Categories): New section title. Reference Locale Names.
1093 LC_ALL is an environment variable, but not a category.
1094 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1095 description, now in Locale Name. Reference that section. Locale
1096 name syntax is now documented.
1098 2014-07-02 Florian Weimer <fweimer@redhat.com>
1101 * locale/findlocale.c (name_present, valid_locale_name): New
1103 (_nl_find_locale): Use the loc_name variable to store name
1104 candidates. Call name_present and valid_locale_name to check and
1105 validate locale names. Return an error if the locale is invalid.
1107 2014-07-02 Florian Weimer <fweimer@redhat.com>
1109 * locale/setlocale.c (setlocale): Use strdup for allocating
1110 composite name copy.
1112 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1114 Sync up with gnulib.
1115 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1116 [!_LIBC && ENABLE_NLS]: Include gettext.h.
1117 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1118 and _GL_ARG_NONNULL.
1119 [USE_UNLOCKED_IO]: Include unlocked-io.h.
1120 [!_LIBC]: Include code for Windows and Cygwin.
1121 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1122 Include prototype for int strerror_r.
1123 [!_LIBC] (is_open): New function.
1124 (flush_stdout): New function.
1125 (print_errno_message): Use it.
1127 (error_at_line): Likewise.
1128 (error_tail) Add function attribute macros. Use
1131 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1133 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1135 * io/ftw.c: Include sys/param.h unconditionally.
1137 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1140 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1142 (freecache): New function to free CACHE on exit.
1144 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1147 2014-07-09 David S. Miller <davem@davemloft.net>
1149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1151 * sysdeps/sparc/nptl/internaltypes.h: Delete.
1152 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1153 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1154 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1155 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1156 * sysdeps/sparc/nptl/sem_init.c: Likewise.
1157 * sysdeps/sparc/nptl/sem_post.c: Likewise.
1158 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1159 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1160 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1161 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1162 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1163 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1165 2014-07-09 Andreas Schwab <schwab@suse.de>
1167 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1169 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1170 (do_test): Likewise.
1172 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1174 2014-07-09 Will Newton <will.newton@linaro.org>
1176 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1177 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1178 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1179 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1180 * sysdeps/hppa/start.S (_start): Likewise.
1182 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1184 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1186 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1189 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1191 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1192 after checking that it is non-NULL.
1194 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1196 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1198 * sysdeps/powerpc/memmove.c: Remove file.
1199 * sysdeps/powerpc/powerpc32/power4/memcopy.h
1200 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1201 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1202 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1203 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1204 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1205 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1206 string memmove instead of removed powerpc one.
1208 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1209 [weak_alias]: Fix compiler warning due trailing data.
1210 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1211 [weak_alias]: Likewise.
1212 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1213 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1215 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1216 (__libc_ifunc_impl_list): Add memmove functions.
1218 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1220 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1222 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1224 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1226 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1228 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1230 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1232 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1234 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1236 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1238 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1240 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1242 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1244 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1246 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1248 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1250 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1252 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1255 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1257 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1258 to avoid alignment traps in non-cacheable memory.
1259 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1261 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1263 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1264 file: multiarch power7 memmove.
1265 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1266 multiarch default memmove.
1267 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1268 multiarch memove for powerpc32/power4.
1270 * string/bcopy.c: Use full path to include memmove.c.
1271 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1273 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1274 bcopy for powerpc64.
1275 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1276 bcopy for powerpc64.
1277 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1278 and memmove implementations.
1279 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1280 optimized multiarch memmove for POWER7/powerpc64.
1281 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1282 default multiarch memmove for powerpc64.
1283 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1284 multiarch for powerpc64.
1285 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1286 for POWER7/powerpc64.
1287 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1288 memmove for POWER7/powerpc64.
1290 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1293 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1294 __ELF_NATIVE_CLASS equal to 64.
1296 2014-07-07 Roland McGrath <roland@hack.frob.com>
1298 * sysdeps/nptl/lowlevellock.h: File removed.
1300 * NEWS: NPTL is no longer an add-on!
1301 * nptl/internaltypes.h: Moved ...
1302 * sysdeps/nptl/internaltypes.h: ... here.
1303 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1304 * sysdeps/nptl/fork.c: Likewise.
1305 * sysdeps/nptl/gai_misc.h: Likewise.
1306 * sysdeps/nptl/librt-cancellation.c: Likewise.
1307 * sysdeps/nptl/jmp-unwind.c: Likewise.
1308 * sysdeps/nptl/setxid.h: Likewise.
1309 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1310 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1311 * sysdeps/unix/sysv/linux/arm/Implies: New file.
1312 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1313 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1314 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1315 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1316 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1317 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1318 * sysdeps/unix/sysv/linux/mips/Implies: New file.
1319 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1320 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1321 * sysdeps/unix/sysv/linux/sh/Implies: New file.
1322 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1323 * sysdeps/unix/sysv/linux/tile/Implies: New file.
1324 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1325 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1326 * nptl/Makeconfig: Moved ...
1327 * sysdeps/nptl/Makeconfig: ... here.
1328 * nptl/configure: File removed.
1329 * nptl/ANNOUNCE: File removed.
1330 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1331 * sysdeps/unix/sysv/linux/configure: Regenerated.
1333 * nptl/Makefile (routines): Add libc_pthread_init,
1334 libc_multiple_threads, register-atfork and unregister-atfork.
1335 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1336 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1337 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1338 pthread-pi-defines.sym, structsem.sym.
1339 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1340 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1341 [$(subdir) = nptl] (tests): Add tst-setgetname.
1342 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1343 * sysdeps/unix/sysv/linux/sigaction.c: Just include
1344 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1345 [!LIBC_SIGACTION]: Remove aliases.
1346 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1347 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1348 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1349 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1350 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1351 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1352 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1353 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1354 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1355 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1356 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1357 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1358 __libc_allocate_rtsig_private.
1359 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1360 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1361 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1362 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1363 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1364 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1365 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1366 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1367 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1368 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1369 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1370 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1371 * nptl/internaltypes.h: ... here.
1372 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1373 * sysdeps/nptl/jmp-unwind.c: ... here.
1374 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1375 * nptl/libc-lowlevellock.c: ... here.
1376 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1377 * nptl/libc_multiple_threads.c: ... here.
1378 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1379 * nptl/libc_pthread_init.c: ... here.
1380 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1381 * nptl/lowlevelbarrier.sym: ... here.
1382 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1383 * nptl/lowlevelcond.sym: ... here.
1384 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1385 * nptl/lowlevellock.c: ... here.
1386 * nptl/lowlevellock.h: Moved ...
1387 * sysdeps/nptl/lowlevellock.h: ... here.
1388 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1389 * nptl/lowlevelrobustlock.c: ... here.
1390 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1391 * nptl/lowlevelrobustlock.sym: ... here.
1392 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1393 * nptl/lowlevelrwlock.sym: ... here.
1394 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1395 * nptl/pt-fork.c: ... here.
1396 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1397 * nptl/pthread-pi-defines.sym: ... here.
1398 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1399 * nptl/pthread_attr_getaffinity.c: ... here.
1400 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1401 * nptl/pthread_attr_setaffinity.c: ... here.
1402 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1403 * nptl/pthread_mutex_cond_lock.c: ... here.
1404 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1406 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1407 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1408 * nptl/pthread_once.c: ... here, replacing old file.
1409 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1410 * nptl/pthread_yield.c: ... here.
1411 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1412 * nptl/register-atfork.c: ... here.
1413 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1414 * nptl/sem_post.c: ... here.
1415 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1416 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1417 * nptl/sem_timedwait.c: ... here.
1418 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1419 * nptl/sem_trywait.c: ... here.
1420 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1421 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1422 * nptl/sem_wait.c: ... here.
1423 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1424 * nptl/structsem.sym: ... here.
1425 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1426 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1427 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1428 * nptl/unregister-atfork.c: ... here.
1429 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1430 * nptl/unwindbuf.sym: ... here.
1431 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1432 * sysdeps/nptl/fork.c: ... here.
1433 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1434 * sysdeps/nptl/fork.h: ... here.
1435 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1436 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1437 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1438 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1439 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1440 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1441 * sysdeps/unix/sysv/linux/getpid.c: ... here.
1442 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1443 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1444 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1445 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1446 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1447 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1448 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1449 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1450 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1451 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1452 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1453 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1454 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1455 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1456 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1457 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1458 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1459 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1460 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1461 * sysdeps/unix/sysv/linux/raise.c: ... here.
1462 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1463 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1464 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1465 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1466 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1467 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1468 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1469 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1470 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1471 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1472 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1473 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1474 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1475 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1476 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1478 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1480 * sysdeps/generic/memcopy.h: Add comment for
1481 MEMCPY_OK_FOR_FWD_MEMMOVE.
1483 2014-07-04 Will Newton <will.newton@linaro.org>
1485 * string/memchr.c: Merge from gnulib.
1486 [_LIBC]: Remove conditionals.
1487 (__ptr_t): Remove define.
1488 (LONG_MAX_32_BITS): Likewise.
1489 (LONG_MAX): Likewise.
1490 (MEMCHR): Use ANSI prototype and optimize algorithm.
1492 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1494 2014-07-03 Roland McGrath <roland@hack.frob.com>
1496 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1497 (lll_futex_timed_wait_bitset): Fix syscall argument count.
1499 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1500 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1501 in a bare environment with no <stdlib.h> installed.
1502 * sysdeps/nptl/configure: Regenerated.
1504 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1506 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1507 AC_EGREP_CPP for kernel header checks, so they only succeed if
1508 including <linux/version.h> actually works right.
1509 * sysdeps/unix/sysv/linux/configure: Regenerated.
1511 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1512 value so it's not diagnosed as unused.
1514 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1515 thing) with "ifeq ($(subdir),rt)".
1517 2014-07-03 Richard Henderson <rth@redhat.com>
1519 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1520 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1521 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1523 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1524 (math_force_eval): New.
1526 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1527 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1529 * sysdeps/alpha/fpu/s_round.c: Remove file.
1530 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1532 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1533 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1534 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1535 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1536 (_dl_start, print_statistics): Likewise.
1537 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1538 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1540 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1541 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1542 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1543 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1544 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1545 (HP_SMALL_TIMING_AVAIL): Define.
1546 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1547 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1548 (HP_SMALL_TIMING_AVAIL): Define.
1549 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1550 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1552 * sysdeps/aarch64/hp-timing.h: New file.
1554 * sysdeps/generic/hp-timing.h: Remove dead comment.
1555 * sysdeps/generic/hp-timing-common.h: New file.
1556 * sysdeps/alpha/hp-timing.h: Include it.
1557 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1558 * sysdeps/i386/i686/hp-timing.h: Likewise.
1559 * sysdeps/ia64/hp-timing.h: Likewise.
1560 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1561 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1562 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1563 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1564 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1565 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1568 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1569 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1570 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1571 * elf/rtld.c (_dl_start_final): Likewise.
1572 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1573 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1574 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1575 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1576 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1577 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1578 (HP_TIMING_DIFF_INIT): Remove.
1579 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1580 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1581 (HP_TIMING_DIFF_INIT): Remove.
1582 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1583 * sysdeps/i386/i686/hp-timing.c: Remove file.
1584 * sysdeps/x86_64/hp-timing.c: Remove file.
1585 * sysdeps/ia64/hp-timing.c: Remove file.
1586 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1587 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1588 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1589 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1591 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1592 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1593 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1594 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1595 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1596 (HP_TIMING_ACCUM): Remove.
1597 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1598 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1599 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1601 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1602 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1603 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1604 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1605 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1606 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1607 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1608 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1610 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1612 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
1614 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1616 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1618 Sync up with gettext.
1619 * intl/loadmsgcat.c: Define O_BINARY if not defined.
1620 [_MSC_VER]: Include malloc.h
1621 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1622 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1623 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
1624 TEMP_FAILURE_RETRY. Cast return of alloca.
1625 [!_LIBC] Call gl_rwlock_init.
1626 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1628 2014-07-02 Roland McGrath <roland@hack.frob.com>
1630 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1631 before checking its value.
1633 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1635 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1637 * debug/memcpy_chk.c: Don't include pagecopy.h.
1638 * debug/mempcpy_chk.c: Likewise.
1639 * string/memcpy.c: Likewise.
1640 * string/memmove.c: Likewise.
1641 * sysdeps/powerpc/memmove.c: Likewise.
1642 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1643 definition of PAGE_COPY_FWD_MAYBE here...
1644 * sysdeps/generic/pagecopy.h: ... from here.
1645 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1647 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1648 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1650 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1651 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1653 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1654 (__libc_ifunc_impl_list): Likewise.
1655 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1656 multiarch strcat for PPC64.
1657 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1658 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1660 2014-07-02 Roland McGrath <roland@hack.frob.com>
1662 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1664 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1666 * intl/loadmsgcat.c: Remove declaration of
1667 get_sysdep_segment_value.
1668 (get_sysdep_segment_value): Use ISO C style.
1669 (_nl_load_domain): Use ISO C style. Get rid of redundant
1670 semicolon. Fix typo and formatting in comment.
1671 (_nl_unload_domain): Use ISO C style.
1673 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1675 2014-07-02 Will Newton <will.newton@linaro.org>
1677 * malloc/obstack.c: Merge from gnulib master.
1678 [HAVE_CONFIG_H]: Remove conditional code.
1679 [!_LIBC]: Include config.h.
1680 [!ELIDE_CODE]: Don't include inttypes.h, include
1681 stdint.h unconditionally.
1682 (print_and_abort): Mark as _Noreturn.
1683 (_obstack_allocated_p): Mark as __attribute_pure__.
1684 (obstack_free): Rename to __obstack_free.
1685 [!__attribute__]: Remove conditional code.
1686 * malloc/obstack.h: Merge from gnulib master.
1687 [__cplusplus]: Move conditional down.
1688 [!__attribute_pure__]: Define __attribute_pure__ here
1689 if it is not already defined.
1690 (_obstack_memory_used): Mark as __attribute_pure__.
1691 [!__obstack_free]: Define as obstack_free.
1692 [__GNUC__]: Remove check for ancient NeXT gcc.
1694 2014-07-02 Will Newton <will.newton@linaro.org>
1695 Paul Eggert <eggert@cs.ucla.edu>
1697 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1699 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1701 * resolv/gethnamaddr.c: Add comment warning that the file is
1704 2014-07-01 Carlos O'Donell <carlos@redhat.com>
1706 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1709 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1710 entry for aio_cancel and aio_cancel64.
1711 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1712 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1713 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1714 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1715 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1716 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1717 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1718 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1719 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1720 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1721 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1722 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1723 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1725 2014-07-01 Roland McGrath <roland@hack.frob.com>
1727 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1728 * nptl/pthread_mutex_lock.c: Likewise.
1729 * nptl/pthread_mutex_timedlock.c: Likewise.
1730 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1732 2014-07-01 Richard henderson <rth@redhat.com>
1734 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1735 (__isnan, __isnanl): Remove.
1736 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1738 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1740 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1742 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1744 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1746 * resolv/nss_dns/dns-host.c (getanswer_r)
1747 [MULTI_PTRS_ARE_ALIASES]: Remove code.
1749 2014-07-01 Joseph Myers <joseph@codesourcery.com>
1751 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1752 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1754 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1755 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1757 2014-07-01 Roland McGrath <roland@hack.frob.com>
1759 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1760 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1762 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1763 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1765 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1766 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1768 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1769 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1771 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1772 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1773 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1774 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1776 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1777 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1778 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1779 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1780 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1782 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1784 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1785 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1786 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1787 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1788 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1789 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1790 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1791 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1792 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1793 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1794 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1795 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1796 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1797 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1798 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1799 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1800 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1801 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1802 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1803 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1805 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1806 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1807 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1808 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1809 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1810 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1811 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1812 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1814 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1816 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1817 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1818 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1821 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1825 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1827 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1828 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1830 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1832 * sysdeps/arm/libm-test-ulps: Regenerated.
1834 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1835 Roland McGrath <roland@hack.frob.com>
1837 * test-skeleton.c (signal_handler): Kill the whole process group
1838 before killing the child individually.
1839 (main): Report any failure on `setpgid'.
1841 2014-06-30 Roland McGrath <roland@hack.frob.com>
1843 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1844 from _TLS_H to _ARM_NPTL_TLS_H.
1845 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1846 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1848 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1851 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1852 (__expm1l): Return argument unchanged when small but not
1855 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1857 (_FP_UNPACK_RAW_1_P): Likewise.
1858 (_FP_PACK_RAW_1): Likewise.
1859 (_FP_PACK_RAW_1_P): Likewise.
1860 (_FP_MUL_MEAT_1_wide): Likewise.
1861 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1862 (_FP_MUL_MEAT_1_hard): Likewise.
1863 (_FP_DIV_MEAT_1_imm): Likewise.
1864 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1865 (_FP_DIV_MEAT_1_udiv): Likewise.
1866 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1867 (_FP_UNPACK_RAW_2): Likewise.
1868 (_FP_UNPACK_RAW_2_P): Likewise.
1869 (_FP_PACK_RAW_2): Likewise.
1870 (_FP_PACK_RAW_2_P): Likewise.
1871 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1872 (_FP_MUL_MEAT_2_wide): Likewise.
1873 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1874 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1875 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1876 (_FP_MUL_MEAT_2_gmp): Likewise.
1877 (_FP_DIV_MEAT_2_udiv): Likewise.
1878 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1879 (_FP_FRAC_SRL_4): Likewise.
1880 (_FP_FRAC_SRST_4): Likewise.
1881 (_FP_FRAC_SRS_4): Likewise.
1882 (_FP_UNPACK_RAW_4): Likewise.
1883 (_FP_UNPACK_RAW_4_P): Likewise.
1884 (_FP_PACK_RAW_4): Likewise.
1885 (_FP_PACK_RAW_4_P): Likewise.
1886 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1887 (_FP_MUL_MEAT_4_wide): Likewise.
1888 (_FP_MUL_MEAT_4_gmp): Likewise.
1889 (umul_ppppmnnn): Likewise.
1890 (_FP_DIV_MEAT_4_udiv): Likewise.
1891 (__FP_FRAC_ADD_4): Likewise.
1892 (__FP_FRAC_SUB_3): Likewise.
1893 (__FP_FRAC_SUB_4): Likewise.
1894 (__FP_FRAC_DEC_3): Likewise.
1895 (__FP_FRAC_DEC_4): Likewise.
1896 (__FP_FRAC_ADDI_4): Likewise.
1897 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1898 (_FP_FRAC_SRL_8): Likewise.
1899 (_FP_FRAC_SRS_8): Likewise.
1901 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1903 (FP_UNPACK_RAW_EP): Likewise.
1904 (FP_PACK_RAW_E): Likewise.
1905 (FP_PACK_RAW_EP): Likewise.
1906 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1907 (_FP_ISSIGNAN): Likewise.
1908 (_FP_ADD_INTERNAL): Likewise.
1909 (_FP_FMA): Likewise.
1910 (_FP_CMP): Likewise.
1911 (_FP_SQRT): Likewise.
1912 (_FP_TO_INT): Likewise.
1913 (_FP_FROM_INT): Likewise.
1914 (FP_EXTEND): Likewise.
1915 (_FP_DIV_MEAT_N_loop): Likewise.
1917 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1919 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1922 2014-06-29 Joseph Myers <joseph@codesourcery.com>
1925 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1926 result with correct sign in case of exponents that produce
1927 overflow except for X very close to 1.
1929 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1931 mktime: merge #if/#ifdef usage from glibc
1932 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1933 as that works with both Glibc's and Gnulib's style.
1934 See thread starting at Siddhesh Poyarekar's bug report at:
1935 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1937 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1939 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1940 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1941 * sysdeps/tile/tilegx/memmove.c: Remove file.
1943 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1945 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1946 abi-name definition.
1947 * scripts/soversions.awk: Do not handle or generate ABI lines.
1948 * shlib-versions: Remove ABI entries.
1949 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1950 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1952 2014-06-27 Roland McGrath <roland@hack.frob.com>
1954 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1955 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1956 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1957 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1958 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1959 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1960 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1962 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1964 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1965 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1966 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1967 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1968 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1969 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1970 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1971 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1972 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1973 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1974 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1975 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1976 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1978 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1979 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1980 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1981 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1982 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1983 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1985 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1986 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1988 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1989 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1990 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1991 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1993 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1994 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1995 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1996 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1997 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1998 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1999 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2000 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2002 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2003 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2004 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2005 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2007 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2008 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2010 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2011 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2012 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2013 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2015 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2017 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2018 Identical file removed.
2019 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2021 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2022 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2023 Identical file removed.
2024 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2025 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2026 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2028 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2029 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2030 Identical file removed.
2031 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2032 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2033 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2034 Identical file removed.
2035 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2036 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2037 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2038 Identical file removed.
2039 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2040 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2041 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2042 Identical file removed.
2043 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2045 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2046 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2047 Identical file removed.
2048 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2050 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2051 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2052 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2053 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2054 Identical file removed.
2055 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2057 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2059 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2060 Identical file removed.
2061 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2063 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2064 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2065 Identical file removed.
2066 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2068 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2069 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2070 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2071 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2072 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2073 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2075 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2076 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2077 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2079 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2080 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2081 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2082 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2083 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2085 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
2088 * nscd/nscd.c (monitor_child): Return exit status of child
2089 instead of return value from wait syscall.
2091 2014-06-27 Joseph Myers <joseph@codesourcery.com>
2093 * configure.ac (libc_commonpagesize): Remove variable.
2094 (libc_relro_required): Likewise.
2095 (libc_cv_z_relro): Remove configure test.
2096 * configure: Regenerated.
2097 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2099 (libc_relro_required): Likewise.
2100 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2101 (libc_relro_required): Likewise.
2102 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2103 (libc_relro_required): Likewise.
2104 * sysdeps/arm/preconfigure: Regenerated.
2105 * sysdeps/ia64/preconfigure: Remove file.
2106 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2108 (libc_relro_required): Likewise.
2112 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2113 (__ieee754_yn): Set FE_TONEAREST mode internally and then
2114 recompute overflowing results in original rounding mode.
2115 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2116 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2117 recompute overflowing results in original rounding mode.
2118 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2119 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2120 recompute overflowing results in original rounding mode.
2121 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2122 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2123 recompute overflowing results in original rounding mode.
2124 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2125 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2126 recompute overflowing results in original rounding mode.
2127 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2128 (libc_feholdsetround_ctx): New macro.
2129 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2130 * sysdeps/i386/fpu/libm-test-ulps: Update.
2131 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2133 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2135 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2136 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2137 corresponding .cpsetup call.
2139 2014-06-26 Roland McGrath <roland@hack.frob.com>
2141 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2142 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2143 * sysdeps/arm/Makefile [$(subdir) = csu]
2144 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2145 (static-only-routines): Add aeabi_read_tp here.
2146 (shared-only-routines): Add libc-aeabi_read_tp here.
2147 (CFLAGS-libc-start.c): Add -fexceptions here.
2148 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2149 (sysdep_routines, static-only-routines, shared-only-routines):
2150 Don't add to these here.
2151 (CFLAGS-libc-start.c): Likewise.
2153 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2154 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2155 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2156 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2157 * sysdeps/arm/Makefile [$(subdir) = rt]
2158 (librt-sysdep_routines, librt-shared-only-routines):
2159 Append rt-aeabi_unwind_cpp_pr1 here.
2160 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2161 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2162 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2163 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2164 Append nptl-aeabi_unwind_cpp_pr1 here.
2165 (tests): Filter out tst-cleanupx4 here.
2166 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2167 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2168 Don't do those here.
2170 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2172 * scripts/list-sources.sh: Do not handle ports specially.
2174 2014-06-26 Roland McGrath <roland@hack.frob.com>
2176 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2177 * sysdeps/arm/feupdateenv.c: Likewise.
2179 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2181 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2183 * manual/texinfo.tex: Update to version 2014-05-05.10 with
2184 trailing whitespace removed.
2185 * scripts/config.guess: Update to version 2014-03-23.
2186 * scripts/config.sub: Update to version 2014-05-01
2187 * scripts/install-sh: Update to version 2013-12-25.23.
2188 * scripts/move-if-change: Update from gnulib.
2190 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2192 * debug/memmove_chk.c: Remove pagecopy.h include.
2194 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
2196 * time/mktime.c (leapyear): Remove inline keyword. The code is now
2197 identical to gnulib mktime.
2199 2014-06-26 Joseph Myers <joseph@codesourcery.com>
2201 * configure.ac: Do not test for machine being rs6000. Do not test
2203 * configure: Regenerated.
2205 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2207 * configure: Regenerated.
2208 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2209 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2210 Remove configure test.
2211 * sysdeps/arm/configure: Regenerated.
2212 * sysdeps/nptl/configure.ac: Do not check
2213 libc_cv_asm_cfi_directives.
2214 * sysdeps/nptl/configure: Regenerated.
2215 * sysdeps/x86_64/nptl/configure.ac: Remove file.
2216 * sysdeps/x86_64/nptl/configure: Remove generated file.
2217 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2219 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2221 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2223 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2224 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2225 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2228 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2229 instead of whether it is defined.
2230 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2231 * sysdeps/hppa/dl-machine.h: Likewise.
2232 * sysdeps/ia64/dl-machine.h: Likewise.
2233 * sysdeps/m68k/dl-machine.h: Likewise.
2234 * sysdeps/microblaze/dl-machine.h: Likewise.
2235 * sysdeps/mips/dl-machine.: Likewise.
2236 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2237 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2238 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2239 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2240 * sysdeps/sh/dl-machine.h: Likewise.
2241 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2242 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2243 * sysdeps/tile/dl-machine.h: Likewise.
2244 * sysdeps/x86_64/dl-machine.h: Likewise.
2246 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2248 (verify_persistent_db): Likewise.
2250 2014-06-26 Roland McGrath <roland@hack.frob.com>
2252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2253 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2255 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2258 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2260 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2261 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2263 Identical file removed.
2264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2265 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2267 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2269 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2271 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2273 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2274 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2276 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2278 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2280 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2281 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2283 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2285 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2286 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2287 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2289 Identical file removed.
2290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2291 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2293 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2296 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2298 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2299 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2301 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2303 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2305 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2306 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2307 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2310 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2313 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2315 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2318 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2320 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2322 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2324 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2325 * sysdeps/unix/sysv/linux/s390/Versions
2326 (libpthread: GLIBC_2.19): New version set.
2327 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2328 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2329 (librt: GLIBC_2.3.3): New version set.
2330 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2331 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2332 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2333 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2334 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2335 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2336 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2337 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2338 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2339 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2340 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2341 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2342 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2343 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2344 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2345 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2346 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2347 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2348 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2349 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2350 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2351 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2352 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2353 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2354 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2355 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2356 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2357 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2358 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2359 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2360 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2361 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2362 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2363 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2364 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2365 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2366 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2367 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2368 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2369 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2370 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2371 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2372 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2373 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2374 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2376 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2377 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2378 (__libc_vfork): Define the function under this name.
2379 [!NOT_IN_libc] (__vfork): Make this an alias.
2380 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2381 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2382 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2383 (__libc_vfork): Define the function under this name.
2384 [!NOT_IN_libc] (__vfork): Make this an alias.
2385 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2386 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2387 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2388 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2389 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2390 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2392 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2393 code that was previously under [RESET_PID].
2394 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2395 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2396 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2398 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2399 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2400 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2401 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2402 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2403 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2404 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2405 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2406 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2407 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2408 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2410 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2411 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2412 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2413 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2414 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2415 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2416 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2417 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2418 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2419 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2420 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2421 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2422 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2423 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2424 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2425 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2426 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2427 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2428 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2429 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2430 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2431 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2432 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2433 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2434 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2435 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2436 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2437 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2438 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2440 2014-06-25 Roland McGrath <roland@hack.frob.com>
2442 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2443 that was previously under [RESET_PID].
2444 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2446 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2448 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2449 not undefine and redefine.
2450 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2451 [O_CLOEXEC]: Make code unconditional.
2452 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2453 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2454 <kernel-features.h>.
2455 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2456 conditional variable definition.
2457 (shm_open) [O_CLOEXEC]: Make code unconditional.
2458 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2461 * configure.ac (USE_REGPARMS): Don't define here.
2462 * configure: Regenerated.
2463 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2464 * sysdeps/i386/configure: Regenerated.
2466 * nptl/createthread.c: Don't include kernel-features.h.
2467 * nptl/pthread_cancel.c: Likewise.
2468 * nptl/pthread_condattr_setclock.c: Likewise.
2469 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2470 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2471 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2472 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2473 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2474 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2475 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2476 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2477 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2478 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2479 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2480 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2481 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2482 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2483 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2484 * nscd/gai.c: Likewise.
2485 * nss/nss_db/db-open.c: Likewise.
2486 * sysdeps/generic/ldsodefs.h: Likewise.
2487 * sysdeps/sh/nptl/tls.h: Likewise.
2488 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2489 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2490 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2491 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2492 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2493 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2494 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2495 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2496 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2497 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2498 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2499 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2500 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2501 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2502 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2503 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2504 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2505 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2506 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2507 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2508 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2509 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2510 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2511 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2512 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2513 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2514 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2515 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2516 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2517 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2518 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2519 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2520 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2521 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2522 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2523 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2524 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2525 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2526 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2527 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2528 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2529 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2530 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2531 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2532 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2533 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2534 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2535 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2536 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2537 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2538 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2539 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2540 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2541 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2542 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2543 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2544 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2545 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2568 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2569 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2570 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2571 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2572 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2573 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2574 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2575 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2576 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2577 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2578 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2579 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2580 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2581 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2582 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2583 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2584 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2585 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2586 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2587 * sysdeps/unix/sysv/linux/system.c: Likewise.
2588 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2589 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2590 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2591 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2592 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2593 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2594 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2596 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2597 * configure: Regenerated.
2598 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2600 * configure.ac (base_machine): Do not set specially for particular
2602 * configure: Regenerated.
2603 * sysdeps/powerpc/preconfigure: Move machine and base_machine
2604 settings from configure.ac.
2605 * sysdeps/i386/preconfigure: New file.
2606 * sysdeps/s390/preconfigure: Likewise.
2607 * sysdeps/sh/preconfigure: Likewise.
2608 * sysdeps/sparc/preconfigure: Likewise.
2610 2014-06-25 Roland McGrath <roland@hack.frob.com>
2612 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2613 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2614 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2615 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2616 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2617 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2618 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2619 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2620 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2621 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2622 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2623 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2624 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2625 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2626 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2627 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2628 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2629 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2630 * sysdeps/sparc/sparc64/Makefile: ... appended here.
2632 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2633 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2634 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2635 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2636 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2637 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2638 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2639 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2640 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2641 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2642 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2643 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2644 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2645 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2646 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2647 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2648 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2649 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2650 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2651 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2652 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2653 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2654 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2655 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2656 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2657 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2658 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2659 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2660 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2661 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2662 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2663 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2664 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2665 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2666 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2667 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2668 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2669 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2671 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2672 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2673 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2674 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2675 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2677 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2679 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2680 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2681 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2682 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2683 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2685 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2687 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2688 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2689 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2690 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2691 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2692 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2694 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2695 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2697 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2699 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2702 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2704 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2706 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2707 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2708 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2709 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2710 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2711 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2713 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2715 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2716 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2717 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2718 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2719 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2721 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2722 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2723 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2724 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2725 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2726 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2727 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2728 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2730 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2733 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2735 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2738 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2740 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2742 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2744 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2746 * timezone/checktab.awk: Update from tzcode 2014e.
2747 * timezone/private.h: Likewise.
2748 * timezone/tzfile.h: Likewise.
2749 * timezone/zdump.c: Likewise.
2750 * timezone/zic.c: Likewise.
2752 * sysdeps/unix/sysv/linux/kernel-features.h
2753 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2754 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2755 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2756 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2757 Remove conditional code.
2759 2014-06-25 Will Newton <will.newton@linaro.org>
2761 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2762 (_dl_arm_cap_flags): Add HWCAP2 values.
2763 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2764 (_DL_HWCAP_COUNT): Increase to 37.
2765 (_DL_HWCAP_LAST): New define.
2766 (_DL_HWCAP2_LAST): New define.
2767 (_dl_procinfo): Add support for printing
2769 (_dl_string_hwcap): Use _dl_hwcap_string.
2771 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2773 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2775 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2777 * README: Do not mention ports directory.
2779 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2781 * sysdeps/unix/sysv/linux/futimes.c: Do not include
2782 <kernel-features.h>.
2783 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2784 conditional variable definition.
2785 (__futimes): Update comment.
2786 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2787 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2790 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2791 arguments close to 0.
2792 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2794 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2796 * math/auto-libm-test-in: Add more tests of exp10.
2797 * math/auto-libm-test-out: Regenerated.
2798 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2800 * sysdeps/unix/sysv/linux/kernel-features.h
2801 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2802 * sysdeps/unix/sysv/linux/readv.c: Do not include
2803 <kernel-features.h>.
2804 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2805 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2806 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2808 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2810 * sysdeps/unix/sysv/linux/writev.c: Do not include
2811 <kernel-features.h>.
2812 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2813 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2814 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2816 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2819 2014-06-25 Will Newton <will.newton@linaro.org>
2821 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2822 comment changes throughout the file. Remove checks
2823 for HAVE_*_H definitions that are not required.
2824 (__gen_tempname): Call abort if an unknown kind value is
2827 2014-06-25 Andreas Schwab <schwab@suse.de>
2830 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2831 scalbln, scalblnf, scalblnl in libc.
2833 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2836 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2837 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2838 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2840 2014-06-24 Roland McGrath <roland@hack.frob.com>
2842 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2843 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2844 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2845 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2847 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2848 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2850 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2851 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2852 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2853 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2854 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2855 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2856 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2857 * sysdeps/x86/bits/semaphore.h: ... here.
2858 * sysdeps/x86/nptl/elide.h: Moved ...
2859 * sysdeps/x86/elide.h: ... here.
2860 * sysdeps/x86_64/nptl/Implies: File removed.
2861 * sysdeps/i386/nptl/Implies: File removed.
2863 2014-06-24 Joseph Myers <joseph@codesourcery.com>
2866 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2867 return the argument for normal arguments with exponent below -64.
2868 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2870 * math/auto-libm-test-in: Add another test of expm1.
2871 * math/auto-libm-test-out: Regenerated.
2874 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2875 calling __erfcl for arguments at least 16.
2876 * math/auto-libm-test-in: Add more tests of erf.
2877 * math/auto-libm-test-out: Regenerated.
2879 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2880 individual architectures.
2881 * sysdeps/unix/sysv/linux/configure: Regenerated.
2882 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2883 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2884 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2885 (ldd_rewrite_script): Define variable.
2886 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2891 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2892 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2893 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2894 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2895 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2896 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2897 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2898 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2900 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2903 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2904 Rename member __data.d to __data.__elision_data.
2906 2014-06-24 Wilco <wdijkstr@arm.com>
2908 * NEWS: Add 16918 to fixed bug list.
2910 2014-06-24 Wilco <wdijkstr@arm.com>
2912 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2914 2014-06-24 Wilco <wdijkstr@arm.com>
2916 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2917 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2918 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2919 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2920 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2921 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2922 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2925 2014-06-24 Wilco <wdijkstr@arm.com>
2927 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2929 2014-06-24 Wilco <wdijkstr@arm.com>
2931 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2932 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2933 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2934 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2936 2014-06-24 Wilco <wdijkstr@arm.com>
2939 * sysdeps/arm/feupdateenv.c (feupdateenv):
2940 Rewrite to reduce FPSCR accesses and fix return value.
2942 2014-06-24 Wilco <wdijkstr@arm.com>
2944 * sysdeps/arm/fclrexcpt.c (feclearexcept):
2945 Optimize to avoid unnecessary FPSCR writes.
2946 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2947 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2948 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2949 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2951 2014-06-24 Wilco <wdijkstr@arm.com>
2953 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2954 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2955 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2956 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2957 Call libc_fetestexcept_vfp.
2958 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2959 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2960 __SOFTFP__ ifdef so that they can be built for softfp.
2962 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2964 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2965 argument type signed char.
2967 * Makerules (check-abi): Dump diff of symlist if the test
2970 2014-06-23 Roland McGrath <roland@hack.frob.com>
2972 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2975 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2976 Remove unused variable ST.
2978 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2982 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2983 small arguments before calling __expm1.
2984 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2985 small arguments before calling __expm1f.
2986 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2987 small arguments before calling __expm1l.
2988 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2990 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2991 * math/auto-libm-test-in: Add more cosh tests. Do not allow
2992 spurious underflow for some cosh tests.
2993 * math/auto-libm-test-out: Regenerated.
2994 * sysdeps/i386/fpu/libm-test-ulps: Update.
2997 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2998 (__ieee754_y1): Set errno if return value overflows.
2999 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3000 (__ieee754_y1f): Set errno if return value overflows.
3001 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3002 (__ieee754_y1l): Set errno if return value overflows.
3003 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3004 (__ieee754_y1l): Set errno if return value overflows.
3005 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3006 * math/auto-libm-test-out: Regenerated.
3008 * math/gen-auto-libm-tests.c: Document use of
3009 ignore-zero-inf-sign.
3010 (input_flag_type): Add value flag_ignore_zero_inf_sign.
3011 (input_flags): Add ignore-zero-inf-sign.
3012 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3013 * math/gen-libm-test.pl (generate_testfile): Handle
3014 ignore-zero-inf-sign.
3015 * math/auto-libm-test-in: Mark some cpow tests with
3016 ignore-zero-inf-sign and some with xfail-rounding.
3017 * math/auto-libm-test-out: Regenerated.
3018 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3019 * sysdeps/i386/fpu/libm-test-ulps: Update.
3020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3023 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3024 overflowing or underflowing operations take place with sign of
3026 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3027 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3028 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3029 (__ieee754_pow): Recompute overflowing and underflowing results in
3030 original rounding mode.
3031 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3032 (__powl_helper): Allow negative argument X and scale negated value
3033 as needed. Avoid passing value outside [-1, 1] to f2xm1.
3034 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3035 overflowing or underflowing operations take place with sign of
3037 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3039 * math/auto-libm-test-in: Add more tests of pow.
3040 * math/auto-libm-test-out: Regenerated.
3041 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3042 (pow_tonearest_test_data): Remove.
3043 (pow_test_tonearest): Likewise.
3044 (pow_towardzero_test_data): Likewise.
3045 (pow_test_towardzero): Likewise.
3046 (pow_downward_test_data): Likewise.
3047 (pow_test_downward): Likewise.
3048 (pow_upward_test_data): Likewise.
3049 (pow_test_upward): Likewise.
3050 (main): Don't call removed functions.
3051 * sysdeps/i386/fpu/libm-test-ulps: Update.
3052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3054 2014-06-23 Roland McGrath <roland@hack.frob.com>
3056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3230 2014-06-23 Will Newton <will.newton@linaro.org>
3231 Wilco <wdijkstr@arm.com>
3233 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3234 implementation. Include get-rounding-mode.h.
3235 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3236 [!libc_feholdsetround_noex_ctx]: Define
3237 libc_feholdsetround_noex_ctx.
3238 [!libc_feholdsetround_noexf_ctx]: Define
3239 libc_feholdsetround_noexf_ctx.
3240 [!libc_feholdsetround_noexl_ctx]: Define
3241 libc_feholdsetround_noexl_ctx.
3242 (libc_feholdsetround_ctx): New function.
3243 (libc_feresetround_ctx): New function.
3244 (libc_feholdsetround_noex_ctx): New function.
3245 (libc_feresetround_noex_ctx): New function.
3247 2014-06-23 Roland McGrath <roland@hack.frob.com>
3249 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3250 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3251 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3252 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3253 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3254 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3256 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3257 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3258 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3259 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3260 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3261 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3262 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3263 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3264 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3265 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3266 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3268 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3270 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3271 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3272 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3273 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3274 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3276 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3277 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3278 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3279 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3280 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3281 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3282 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3283 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3285 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3286 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3288 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3289 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3290 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3291 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3293 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3294 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3295 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3296 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3297 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3298 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3299 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3300 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3301 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3302 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3304 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3306 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3307 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3308 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3309 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3310 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3311 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3312 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3313 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3314 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3315 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3316 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3317 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3318 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3320 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3321 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3322 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3323 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3324 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3325 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3327 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3328 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3329 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3330 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3331 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3333 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3334 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3335 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3336 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3337 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3338 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3339 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3340 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3341 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3342 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3343 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3344 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3345 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3346 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3347 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3348 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3349 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3350 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3351 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3352 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3353 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3354 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3355 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3356 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3357 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3358 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3359 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3360 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3362 2014-06-23 Joseph Myers <joseph@codesourcery.com>
3364 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3365 (FALLOC_FL_COLLAPSE_RANGE): New macro.
3366 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3367 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3368 (IPV6_PMTUDISC_INTERFACE): Likewise.
3369 (IPV6_PMTUDISC_OMIT): Likewise.
3371 2014-06-23 Andreas Schwab <schwab@suse.de>
3373 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3374 Remove unused errout label.
3376 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3378 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3379 macro: hardware supports Vector Crypto instructions.
3381 2014-06-23 Will Newton <will.newton@linaro.org>
3383 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3384 rather than __builtin_expect.
3386 * elf/dl-lookup.c (undefined_msg): Remove variable.
3387 (_dl_lookup_symbol_x): Replace undefined_msg with string
3390 * elf/dl-lookup.c (do_lookup_unique): New function.
3391 (do_lookup_x): Move STB_GNU_UNIQUE handling code
3392 to a separate function.
3394 2014-06-23 Andreas Schwab <schwab@suse.de>
3397 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3398 before reading the next line.
3400 2014-06-23 Will Newton <will.newton@linaro.org>
3402 * test-skeleton.c (signal_handler): Use printf and %m
3403 rather than perror. Use printf rather than fprintf to
3404 stderr. Use puts rather than fputs to stderr.
3407 2014-06-22 Ludovic Courtès <ludo@gnu.org>
3409 * nscd/nscd.c (thread_info_t): Remove typedef.
3410 (thread_info): Remove variable.
3412 2014-06-21 Allan McRae <allan@archlinux.org>
3414 * NEWS: Mention CVE-2014-4043.
3416 2014-06-20 Roland McGrath <roland@hack.frob.com>
3418 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3419 * nptl/smp.h: ... here.
3421 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3423 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3424 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3425 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3426 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3428 * nptl/allocatestack.c: Include <stack-aliasing.h>.
3429 * nptl/stack-aliasing.h: New file.
3430 * sysdeps/i386/i686/stack-aliasing.h: New file.
3431 * sysdeps/i386/i686/nptl/Makefile: File removed.
3432 * sysdeps/x86_64/stack-aliasing.h: New file.
3433 * sysdeps/x86_64/nptl/Makefile
3434 (CFLAGS-pthread_create.c): Variable removed.
3436 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3437 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3439 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3440 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3443 2014-06-21 Joseph Myers <joseph@codesourcery.com>
3445 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3446 (__ASSUME_SIGFRAME_V2): Remove macro.
3447 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3448 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3449 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3450 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3451 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3452 Declare as function. Remove conditional macro definitions.
3453 (__default_rt_sa_restorer): Likewise.
3454 (__default_sa_restorer_v1): Remove declaration.
3455 (__default_sa_restorer_v2): Likewise.
3456 (__default_rt_sa_restorer_v1): Likewise.
3457 (__default_rt_sa_restorer_v2): Likewise.
3458 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3459 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3460 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3462 2014-06-20 Roland McGrath <roland@hack.frob.com>
3464 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3465 (libpthread-routines): Add sysdep.
3466 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3467 * sysdeps/unix/sysv/linux/sparc/Versions
3468 (libpthread: GLIBC_2.3.3): New version set.
3469 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3470 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3471 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3472 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3473 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
3474 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3476 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3477 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3478 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3479 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3480 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3481 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3482 * sysdeps/sparc/nptl/sem_init.c: ... here.
3483 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3484 * sysdeps/sparc/nptl/sem_post.c: ... here.
3485 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3486 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3487 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3488 * sysdeps/sparc/nptl/sem_wait.c: ... here.
3489 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3490 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3491 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3492 (libpthread-routines): Add cpu_relax.
3493 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3495 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3496 (librt: GLIBC_2.3.3): New version set.
3497 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3498 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3499 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3500 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3501 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3502 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3503 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3504 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3506 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3507 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3508 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3509 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3510 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3511 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3512 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3513 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3514 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3515 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3517 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3519 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3521 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3523 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3525 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3527 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3529 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3531 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3533 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3535 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3537 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3539 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3540 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3541 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3542 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3543 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3544 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3545 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3546 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3547 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3548 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3549 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3551 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3552 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3553 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3554 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3555 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3557 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3559 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3560 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3561 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3562 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3563 * nscd/nscd.c: Likewise.
3564 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3565 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3566 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3567 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3569 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3570 <kernel-features.h>.
3571 (init_mq_netlink): Remove conditional have_sock_cloexec
3572 definitions. Remove code conditional on have_sock_cloexec < 0.
3573 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3574 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3575 * sysdeps/unix/sysv/linux/opensock.c: Do not include
3576 <kernel-features.h>.
3577 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3578 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3580 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3582 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3583 Add tests for memset_chk and memset.
3585 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3588 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3591 * elf/tst-dl-iter-static.c: New file.
3592 * elf/Makefile (tests-static): Add tst-dl-iter-static.
3594 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3597 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3599 * sysdeps/unix/sysv/linux/kernel-features.h
3600 (__ASSUME_F_GETOWN_EX): Remove macro.
3601 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3602 <kernel-features.h>.
3603 (miss_F_GETOWN_EX): Remove variable or macro.
3604 (do_fcntl): Do not check miss_F_GETOWN_EX.
3605 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3607 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3609 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3610 [!__ASSUME_AT_RANDOM]: Remove conditional code.
3611 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3613 * sysdeps/unix/sysv/linux/kernel-features.h
3614 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3615 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3616 [ADJ_OFFSET_SS_READ]: Make code unconditional.
3617 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3619 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3622 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3623 Fix calculation of the symbol's value.
3624 * sysdeps/arm/tst-armtlsdescloc.c: New file.
3625 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3626 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3627 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3628 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3629 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3630 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3631 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3632 (modules-names): Add `tst-armtlsdescmod',
3633 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3634 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3635 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3636 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3637 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3638 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3639 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3640 ($(objpfx)tst-armtlsdescloc): New dependency.
3641 ($(objpfx)tst-armtlsdescextnow): Likewise.
3642 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3643 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3645 * sysdeps/arm/configure: Regenerate.
3647 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3649 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3650 (__atfct_seterrno_2): Likewise.
3651 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3652 <kernel-features.h>.
3653 (__ASSUME_ATFCTS): Do not undefine and redefine.
3654 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3655 (__have_atfcts): Remove conditional definition.
3656 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3657 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3658 unreachable if [__ASSUME_ATFCTS].
3659 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3660 not undefine and redefine.
3661 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3662 <kernel-features.h>.
3663 (faccessat) [__NR_faccessat]: Make code unconditional.
3664 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3665 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3666 <kernel-features.h>.
3667 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3668 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3669 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3670 <kernel-features.h>.
3671 (fchownat) [__NR_fchownat]: Make code unconditional.
3672 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3673 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3674 <kernel-features.h>.
3675 (futimesat) [__NR_futimesat]: Make code unconditional.
3676 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3677 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3678 <kernel-features.h>.
3679 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3680 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3681 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3682 <kernel-features.h>.
3683 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3684 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3685 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3686 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3687 <kernel-features.h>.
3688 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3689 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3690 * sysdeps/unix/sysv/linux/linkat.c: Do not include
3691 <kernel-features.h>.
3692 (linkat) [__NR_linkat]: Make code unconditional.
3693 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3694 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3695 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3696 <kernel-features.h>.
3697 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3698 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3699 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3700 <kernel-features.h>.
3701 (mkdirat) [__NR_mkdirat]: Make code unconditional.
3702 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3703 * sysdeps/unix/sysv/linux/openat.c: Do not include
3704 <kernel-features.h>.
3705 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3706 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3707 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3708 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3709 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3710 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3711 <kernel-features.h>.
3712 (readlinkat) [__NR_readlinkat]: Make code unconditional.
3713 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
3714 result of INLINE_SYSCALL directly, not via int variable.
3715 * sysdeps/unix/sysv/linux/renameat.c: Do not include
3716 <kernel-features.h>.
3717 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3718 (renameat) [__NR_renameat]: Make code unconditional.
3719 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3720 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3721 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3722 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3723 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3724 (__ASSUME_ATFCTS): Do not undefine and redefine.
3725 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3726 <kernel-features.h>.
3727 (symlinkat) [__NR_symlinkat]: Make code unconditional.
3728 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3729 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3730 <kernel-features.h>.
3731 (unlinkat) [__NR_unlinkat]: Make code unconditional.
3732 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3733 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3734 (__ASSUME_ATFCTS): Do not undefine and redefine.
3735 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3736 <kernel-features.h>.
3737 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3738 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3739 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3740 <kernel-features.h>.
3741 (__xmknodat) [__NR_mknodat]: Make code unconditional.
3742 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3744 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3746 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3748 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
3751 * posix/regcomp.c (parse_reg_exp): Deallocate partially
3752 constructed tree before returning error.
3753 * posix/bug-regexp36.c: Expand test case.
3755 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3758 * math/libm-test.inc (scalbln_test_date):
3759 Add errno expectations.
3760 * math/w_scalblnf.c: New File.
3761 Add wrapper which checks for setting errno to ERANGE.
3762 Add weak_alias for corresponding scalbln function.
3763 * math/w_scalbln.c: Likewise.
3764 * math/w_scalblnl.c: Likewise.
3765 * math/Makefile (libm-calls): Add w_scalbln.
3766 * sysdeps/ieee754/flt-32/s_scalblnf.c:
3767 Remove weak_alias for corresponding scalbln function.
3768 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3769 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3770 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3771 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3772 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3773 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3774 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3775 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3776 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3777 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3778 Remove long_double_symbol for scalblnl function in libm, libc.
3779 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3780 Add wrapper which checks for setting errno to ERANGE.
3781 Add long_double_symbol for scalblnl function in libm, libc.
3782 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3783 Remove long_double_symbol for scalblnl in libm.
3784 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3785 Add wrapper which checks for setting errno to ERANGE.
3786 Add long_double_symbol for scalblnl function in libm.
3787 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3788 Do not use wrapper because of own implementation.
3790 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
3792 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3793 3 bytes for __pad1 for x32.
3794 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3796 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
3797 H.J. Lu <hongjiu.lu@intel.com>
3799 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3800 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3801 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3802 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3803 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3805 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
3808 * posix/regcomp.c (parse_expression): Deallocate partially
3809 constructed tree before returning error.
3810 * posix/Makefile.c (tests): Add bug-regex36.
3811 (generated): Add bug-regex36.mtrace.
3812 (tests-special): Add $(objpfx)bug-regex36-mem.out
3813 (bug-regex36-ENV): New variable.
3814 ($(objpfx)bug-regex36-mem.out): New rule.
3815 * posix/bug-regex36.c: New file.
3817 2014-06-19 Will Newton <will.newton@linaro.org>
3819 * malloc/malloc.c (systrim): If extra is zero then return
3822 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3824 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3826 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
3828 * sysdeps/aarch64/strchr.S: New file.
3830 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3833 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3834 from arguments -2 or below.
3835 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3836 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3838 2014-06-18 Andreas Schwab <schwab@suse.de>
3841 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3842 of a bracket expr not to run off the end of the string.
3843 * posix/Makefile (tests): Add tst-fnmatch3.
3844 * posix/tst-fnmatch3.c: New file.
3846 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3848 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3849 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3850 [$(cross-compiling) = no]: Likewise.
3851 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3852 [$(cross-compiling) = no]: Likewise.
3854 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3857 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3858 double, adjusted for any remainder from the high double.
3859 * math/libm-test.inc (nearbyint): Add tests.
3862 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3864 * nptl/sysdeps/powerpc/Makefile: Moved ...
3865 * sysdeps/powerpc/nptl/Makefile: ... here.
3866 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3867 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3868 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3869 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3870 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3871 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3872 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3873 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3874 * nptl/sysdeps/powerpc/tls.h: Moved ...
3875 * sysdeps/powerpc/nptl/tls.h: ... here.
3877 2014-06-16 Joseph Myers <joseph@codesourcery.com>
3880 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3881 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3882 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3883 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3884 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3885 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3886 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3887 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3888 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3890 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3892 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3894 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3896 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3899 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3902 2014-06-16 Florian Weimer <fweimer@redhat.com>
3905 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3906 non-executed part of the test.
3908 2014-06-16 Andreas Schwab <schwab@suse.de>
3910 * string/bits/string2.h (strdup, strndup): Update feature guard.
3912 2014-06-14 David S. Miller <davem@davemloft.net>
3914 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3916 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3918 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3919 that was previously under [RESET_PID].
3920 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3922 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3923 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3924 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3925 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3926 (__libc_vfork): New strong alias.
3927 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3929 2014-06-14 Andi Kleen <ak@linux.intel.com>
3931 * sysdeps/generic/elide.h: New file.
3933 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3935 * Makefile (installed-headers): Adjust path of pthread.h header.
3937 2014-06-13 Roland McGrath <roland@hack.frob.com>
3939 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3940 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3941 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3942 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3944 * nptl/sysdeps/s390/Makefile: Moved ...
3945 * sysdeps/s390/nptl/Makefile: ... here.
3946 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3947 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3948 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3949 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3950 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3951 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3952 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3953 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3954 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3955 * sysdeps/s390/nptl/pthreaddef.h: ... here.
3956 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3957 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3958 * nptl/sysdeps/s390/tls.h: Moved ...
3959 * sysdeps/s390/nptl/tls.h: ... here.
3961 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3962 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3964 2014-06-13 David S. Miller <davem@davemloft.net>
3966 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3967 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3968 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3969 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3970 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3971 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3972 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3973 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3974 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3975 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3976 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3977 Remove RESET_PID cpp guards.
3978 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3979 Remove RESET_PID cpp guards.
3980 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3982 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
3984 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3987 2014-06-13 Andi Kleen <ak@linux.intel.com>
3989 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3990 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3991 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3992 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3993 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3994 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3995 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3996 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3997 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3998 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3999 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4000 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4001 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4002 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4003 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4004 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4005 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4006 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4007 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4008 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
4010 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4011 (pthread_rwlock_rdlock): Add elision.
4012 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4013 (pthread_rwlock_wrlock): Add elision.
4014 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4015 (pthread_rwlock_trywrlock): Add elision.
4016 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4017 (pthread_rwlock_tryrdlock): Add elision.
4018 * nptl/pthread_rwlock_unlock.c: Include elide.h.
4019 (pthread_rwlock_tryrdlock): Add elision unlock.
4020 * nptl/sysdeps/pthread/pthread.h:
4021 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4022 (PTHREAD_RWLOCK_INITIALIZER,
4023 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4024 Handle new elision field.
4025 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4026 * sysdeps/arm/nptl/bits/pthreadtypes.h
4027 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4028 * sysdeps/sh/nptl/bits/pthreadtypes.h
4029 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4030 * sysdeps/tile/nptl/bits/pthreadtypes.h
4031 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4032 * sysdeps/a/nptl/bits/pthreadtypes.h
4033 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4034 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4035 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4036 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4037 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4038 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4039 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4040 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4041 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4042 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4043 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4044 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4045 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4046 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4047 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4048 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4049 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4050 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4051 (elision_init): Set try_xbegin to zero when no RTM.
4052 * sysdeps/x86/nptl/bits/pthreadtypes.h
4053 (pthread_rwlock_t): Change __pad1 to __rwelision.
4054 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4056 2014-06-13 Andi Kleen <ak@linux.intel.com>
4058 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4059 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4060 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4061 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4063 2014-06-13 Meador Inge <meadori@codesourcery.com>
4066 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4067 that the cached result has been set before returning it.
4069 2014-06-12 Roland McGrath <roland@hack.frob.com>
4071 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4072 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4073 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4074 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4075 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4076 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4078 * nptl/sysdeps/sparc/Makefile: Moved ...
4079 * sysdeps/sparc/nptl/Makefile: ... here.
4080 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4081 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4082 * nptl/sysdeps/sparc/tls.h: Moved ...
4083 * sysdeps/sparc/nptl/tls.h: ... here.
4084 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4085 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4086 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4087 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4088 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4089 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4090 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4091 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4092 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4093 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4094 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4095 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4096 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4097 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4098 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4099 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4100 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4101 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4103 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4104 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4106 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4107 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4109 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4110 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4113 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4115 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4116 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4118 * sysdeps/pthread/posix-timer.h: Include <list.h>.
4119 (struct list_links): Type removed.
4120 (struct thread_node, struct timer_node): Replace struct list_links
4121 with struct list_head.
4122 (list_unlink_ip): Likewise.
4123 * sysdeps/pthread/timer_routines.c
4124 (timer_free_list, thread_free_list, thread_active_list): Likewise.
4125 (list_append, list_insbefore): Likewise.
4126 (list_init): Function removed.
4127 (thread_init, init_module): Use INIT_LIST_HEAD instead.
4128 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4129 * sysdeps/pthread/Makefile: ... here, new file.
4131 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4132 * sysdeps/nptl/Implies: ... here.
4133 * sysdeps/unix/sysv/linux/Implies: Add nptl.
4134 * nptl/sysdeps/pthread/list.h: Moved ...
4135 * include/list.h: ... here.
4136 * nptl/sysdeps/pthread/createthread.c: Moved ...
4137 * nptl/createthread.c: ... here.
4138 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4139 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4140 * nptl/pt-longjmp.c: ... here.
4141 * nptl/sysdeps/pthread/Makefile: Moved ...
4142 * sysdeps/nptl/Makefile: ... here.
4143 * nptl/sysdeps/pthread/Subdirs: Moved ...
4144 * sysdeps/nptl/Subdirs: ... here.
4145 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4146 * sysdeps/nptl/aio_misc.h: ... here.
4147 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4148 * sysdeps/nptl/bits/libc-lock.h: ... here.
4149 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4150 * sysdeps/nptl/bits/libc-lockP.h: ... here.
4151 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4152 * sysdeps/nptl/bits/stdio-lock.h: ... here.
4153 * nptl/sysdeps/pthread/configure: Moved ...
4154 * sysdeps/nptl/configure: ... here.
4155 * nptl/sysdeps/pthread/configure.ac: Moved ...
4156 * sysdeps/nptl/configure.ac: ... here.
4157 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4158 * sysdeps/nptl/gai_misc.h: ... here.
4159 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4160 * sysdeps/nptl/librt-cancellation.c: ... here.
4161 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4162 * sysdeps/nptl/malloc-machine.h: ... here.
4163 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4164 * sysdeps/nptl/pthread-functions.h: ... here.
4165 * nptl/sysdeps/pthread/pthread.h: Moved ...
4166 * sysdeps/nptl/pthread.h: ... here.
4167 * nptl/sysdeps/pthread/setxid.h: Moved ...
4168 * sysdeps/nptl/setxid.h: ... here.
4169 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4170 * sysdeps/nptl/sigfillset.c: ... here.
4171 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4172 * sysdeps/nptl/tcb-offsets.h: ... here.
4173 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4174 * sysdeps/nptl/tst-mqueue8x.c: ... here.
4175 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4176 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4177 * nptl/sysdeps/pthread/allocalim.h: Moved ...
4178 * sysdeps/pthread/allocalim.h: ... here.
4179 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4180 * sysdeps/pthread/bits/sigthread.h: ... here.
4181 * nptl/sysdeps/pthread/flockfile.c: Moved ...
4182 * sysdeps/pthread/flockfile.c: ... here.
4183 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4184 * sysdeps/pthread/ftrylockfile.c: ... here.
4185 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4186 * sysdeps/pthread/funlockfile.c: ... here.
4187 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4188 * sysdeps/pthread/posix-timer.h: ... here.
4189 * nptl/sysdeps/pthread/timer_create.c: Moved ...
4190 * sysdeps/pthread/timer_create.c: ... here.
4191 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4192 * sysdeps/pthread/timer_delete.c: ... here.
4193 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4194 * sysdeps/pthread/timer_getoverr.c: ... here.
4195 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4196 * sysdeps/pthread/timer_gettime.c: ... here.
4197 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4198 * sysdeps/pthread/timer_routines.c: ... here.
4199 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4200 * sysdeps/pthread/timer_settime.c: ... here.
4201 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4202 * sysdeps/pthread/tst-timer.c: ... here.
4203 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4204 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4206 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4207 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4209 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4210 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4211 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4212 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4213 Update #include target.
4214 * nptl/sysdeps/i386/i686/Makefile: Moved ...
4215 * sysdeps/i386/i686/nptl/Makefile: ... here.
4216 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4217 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4218 Update #include target.
4219 * nptl/sysdeps/i386/i686/tls.h: Moved ...
4220 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
4221 * nptl/sysdeps/i386/Makefile: Moved ...
4222 * sysdeps/i386/nptl/Makefile: ... here.
4223 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4224 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4225 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4226 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4227 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4228 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4229 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4230 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4231 * sysdeps/i386/nptl/pthreaddef.h: ... here.
4232 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4233 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4234 * nptl/sysdeps/i386/tls.h: Moved ...
4235 * sysdeps/i386/nptl/tls.h: ... here.
4237 * sysdeps/sh/Makefile [$(subdir) = csu]
4238 (gen-as-const-headers): Add tcb-offsets.sym.
4239 * nptl/sysdeps/sh/Makefile: File removed.
4240 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4241 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4242 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4243 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4244 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4245 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4246 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4247 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4248 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4249 * sysdeps/sh/nptl/pthreaddef.h: ... here.
4250 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4251 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4252 * nptl/sysdeps/sh/tls.h: Moved ...
4253 * sysdeps/sh/nptl/tls.h: ... here.
4254 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4255 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4256 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4257 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4258 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4259 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4260 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4261 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4262 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4263 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4264 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4265 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4266 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4267 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4268 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4269 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4270 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4271 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4272 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4273 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4274 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4275 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4276 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4277 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4278 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4280 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4281 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4283 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4284 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4285 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4286 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4287 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4288 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4289 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4290 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4291 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4292 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4293 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4294 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4295 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4296 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4297 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4298 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4299 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4300 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4301 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4303 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4305 * posix/spawn_faction_addopen.c: Include string.h.
4307 2014-06-11 Roland McGrath <roland@hack.frob.com>
4309 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4310 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4311 * nptl/sysdeps/x86_64/Makefile: Moved ...
4312 * sysdeps/x86_64/nptl/Makefile: ... here.
4313 * nptl/sysdeps/x86_64/configure: Moved ...
4314 * sysdeps/x86_64/nptl/configure: ... here.
4315 * nptl/sysdeps/x86_64/configure.ac: Moved ...
4316 * sysdeps/x86_64/nptl/configure.ac: ... here.
4317 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4318 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4319 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4320 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4321 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4322 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4323 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4324 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4325 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4326 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4327 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4328 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4329 * nptl/sysdeps/x86_64/tls.h: Moved ...
4330 * sysdeps/x86_64/nptl/tls.h: ... here.
4331 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4332 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4333 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4334 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4336 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4338 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4340 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4342 2014-06-11 Joseph Myers <joseph@codesourcery.com>
4344 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4346 [POSIX] (off_t): Likewise.
4347 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4348 [POSIX] (S_ISBLK): Require macro.
4349 [POSIX] (S_ISCHR): Likewise.
4350 [POSIX] (S_ISDIR): Likewise.
4351 [POSIX] (S_ISFIFO): Likewise.
4352 [POSIX] (S_ISREG): Likewise.
4353 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4355 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4357 [POSIX] (time_t): Likewise.
4358 [POSIX] (timer_t): Likewise.
4360 2014-06-11 Florian Weimer <fweimer@redhat.com>
4363 * posix/spawn_int.h (struct __spawn_action): Make the path string
4364 non-const to support deallocation.
4365 * posix/spawn_faction_addopen.c
4366 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4367 * posix/spawn_faction_destroy.c
4368 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
4369 path in all spawn_do_open actions.
4370 * posix/tst-spawn.c (do_test): Exercise the copy operation in
4371 posix_spawn_file_actions_addopen.
4373 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
4375 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4376 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4377 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4378 conditional code always true.
4379 (__libc_vfork): New alias.
4381 2014-06-11 Roland McGrath <roland@hack.frob.com>
4383 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4384 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4386 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4388 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4389 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4391 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4392 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4394 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4395 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4397 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4399 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4400 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4401 multiarch strcmp for PPC64.
4402 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4403 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4404 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4405 multiarch optimizations.
4406 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4407 (__libc_ifunc_impl_list): Likewise.
4409 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4411 * benchtests/scripts/validate_benchout.py: New script.
4412 * benchtests/Makefile (bench-func): Call it.
4413 * benchtests/scripts/benchout.schema.json: New file.
4415 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
4417 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4418 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4419 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4420 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4421 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4422 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4423 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4424 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4425 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4426 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4427 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4428 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4429 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4430 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4431 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4432 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4435 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4437 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4439 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4440 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4442 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4444 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4446 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4448 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4450 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4451 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4453 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4455 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4461 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4462 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4466 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4468 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4470 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4472 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4474 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4476 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4477 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4479 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4481 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4483 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4485 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4487 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4489 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4491 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4492 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4494 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4496 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4498 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4500 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4502 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4503 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4505 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4507 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4509 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4513 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4523 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4525 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4527 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4536 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4537 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4538 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4539 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4540 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4542 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4544 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4545 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4546 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4547 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4548 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4549 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4550 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4551 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4552 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4553 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4554 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4555 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4556 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4558 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4559 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4561 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4562 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4563 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4564 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4566 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4567 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4568 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4569 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4570 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4571 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4572 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4574 2014-06-10 Wilco <wdijkstr@arm.com>
4576 * math/test-fenv-return.c: New file.
4577 * math/Makefile: Add new test test-fenv-return.
4579 2014-06-10 Joseph Myers <joseph@codesourcery.com>
4582 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4584 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4585 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4586 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4587 0.0L for an argument of 1.0L.
4588 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4590 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4591 value when x - 1 is zero.
4592 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4593 * sysdeps/i386/fpu/libm-test-ulps: Update.
4594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4596 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
4599 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4601 2014-06-09 Roland McGrath <roland@hack.frob.com>
4603 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4604 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4606 2014-06-09 Roland McGrath <roland@hack.frob.com>
4608 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4609 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4611 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4612 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4614 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4615 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4617 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4618 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4620 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4621 if not already defined.
4622 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4623 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4624 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4625 (TLS_INIT_TP): Use it.
4626 (TLS_DEFINE_INIT_TP): New macro.
4627 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4629 2014-06-09 Joseph Myers <joseph@codesourcery.com>
4631 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4633 [POSIX] (IXANY): Likewise.
4634 [POSIX] (OLCUC): Likewise.
4635 [POSIX || POSIX2008] (CBAUD): Do not allow.
4636 [POSIX || POSIX2008] (DEFECHO): Likewise.
4637 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4638 [POSIX || POSIX2008] (ECHOKE): Likewise.
4639 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4640 [POSIX || POSIX2008] (EXTA): Likewise.
4641 [POSIX || POSIX2008] (EXTB): Likewise.
4642 [POSIX || POSIX2008] (FLUSHO): Likewise.
4643 [POSIX || POSIX2008] (LOBLK): Likewise.
4644 [POSIX || POSIX2008] (PENDIN): Likewise.
4645 [POSIX || POSIX2008] (SWTCH): Likewise.
4646 [POSIX || POSIX2008] (VDISCARD): Likewise.
4647 [POSIX || POSIX2008] (VDSUSP): Likewise.
4648 [POSIX || POSIX2008] (VLNEXT): Likewise.
4649 [POSIX || POSIX2008] (VREPRINT): Likewise.
4650 [POSIX || POSIX2008] (VSTATUS): Likewise.
4651 [POSIX || POSIX2008] (VWERASE): Likewise.
4652 (B*): Change to B[0123456789]*.
4653 * conform/data/time.h-data [POSIX || UNIX98]
4654 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4655 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4656 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4657 [POSIX] (tm_*): Do not allow.
4659 2014-06-07 Joseph Myers <joseph@codesourcery.com>
4661 * Makefile (install): Don't set LANGUAGE.
4662 * Makefile.in (install): Likewise.
4663 * assert/Makefile (test-assert-ENV): Remove variable.
4664 (test-assert-perr-ENV): Likewise.
4665 * elf/Makefile (neededtest4-ENV): Likewise.
4666 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4667 [$(cross-compiling) = no]: Don't set LANGUAGE.
4668 * io/ftwtest-sh (LANG): Remove variable.
4669 * libio/Makefile (tst-widetext-ENV): Likewise.
4670 * manual/install.texi (Running make install): Don't refer to
4671 environment settings for make install.
4672 * INSTALL: Regenerated.
4673 * nptl/tst-tls6.sh: Don't set LANG.
4674 * posix/globtest.sh (LANG): Remove variable.
4675 * string/Makefile (tester-ENV): Likewise.
4676 (inl-tester-ENV): Likewise.
4677 (noinl-tester-ENV): Likewise.
4678 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4679 [$(cross-compiling) = no]: Don't set LANGUAGE.
4680 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4681 without explicit environment settings.
4683 2014-06-06 Roland McGrath <roland@hack.frob.com>
4685 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4686 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4687 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4688 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4690 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
4692 * crypt/crypt-private.h [DOS]: Add some includes taken from the
4693 other files in the crypt directory.
4694 * crypt/crypt.c: Remove duplicate includes.
4695 * crypt/crypt-entry.c: Likewise.
4696 * crypt/crypt_util.c: Likewise.
4698 2014-06-06 Joseph Myers <joseph@codesourcery.com>
4700 * Makeconfig (run-program-env): New variable.
4701 (run-program-prefix-before-env): Likewise.
4702 (run-program-prefix-after-env): Likewise.
4703 (run-program-prefix): Define in terms of new variables.
4704 (built-program-cmd-before-env): New variable.
4705 (built-program-cmd-after-env): Likewise.
4706 (built-program-cmd): Define in terms of new variables.
4707 (test-program-prefix-before-env): New variable.
4708 (test-program-prefix-after-env): Likewise.
4709 (test-program-prefix): Define in terms of new variables.
4710 (test-program-cmd-before-env): New variable.
4711 (test-program-cmd-after-env): Likewise.
4712 (test-program-cmd): Define in terms of new variables.
4713 * Rules (make-test-out): Use $(run-program-env).
4714 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4715 (help): Do not mention environment variables. Mention
4716 --timeoutfactor option.
4717 (timeoutfactor): New variable.
4718 (blacklist_exports): Remove function.
4719 (exports): Remove variable.
4720 (command): Do not include ${exports}.
4721 * manual/install.texi (Configuring and compiling): Do not mention
4722 test wrappers preserving environment variables. Mention that last
4723 assignment to a variable must take precedence.
4724 * INSTALL: Regenerated.
4725 * benchtests/Makefile (run-bench): Use $(run-program-env).
4726 * catgets/Makefile ($(objpfx)test1.cat): Use
4727 $(built-program-cmd-before-env), $(run-program-env) and
4728 $(built-program-cmd-after-env).
4729 ($(objpfx)test2.cat): Do not specify environment variables
4731 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4732 $(run-program-env) and $(built-program-cmd-after-env).
4733 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4734 $(run-program-env) and $(test-program-cmd-after-env).
4735 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4737 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4738 run_program_env and test_program_cmd_after_env arguments.
4739 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4740 * elf/tst-pathopt.sh: Use run_program_env argument.
4741 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4742 $(test-wrapper-env) and $(run-program-env).
4743 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4744 run_program_env arguments.
4745 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4746 * intl/Makefile ($(objpfx)tst-gettext.out): Use
4747 $(test-program-prefix-before-env), $(run-program-env) and
4748 $(test-program-prefix-after-env).
4749 ($(objpfx)tst-gettext2.out): Likewise.
4750 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4751 run_program_env and test_program_prefix_after_env arguments.
4752 * intl/tst-gettext2.sh: Likewise.
4753 * intl/tst-gettext4.sh: Do not set environment variables
4755 * intl/tst-gettext6.sh: Likewise.
4756 * intl/tst-translit.sh: Likewise.
4757 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4758 $(test-program-prefix-before-env), $(run-program-env) and
4759 $(test-program-prefix-after-env).
4760 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4761 run_program_env and test_program_prefix_after_env arguments.
4762 * math/Makefile (run-regen-ulps): Use $(run-program-env).
4763 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4764 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
4765 explicitly with each use of ${test_wrapper_env}.
4766 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4767 $(test-program-prefix-before-env), $(run-program-env) and
4768 $(test-program-prefix-after-env).
4769 * posix/tst-getconf.sh: Do not set environment variables
4771 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4772 run_program_env and test_program_prefix_after_env arguments.
4773 * stdio-common/tst-printf.sh: Do not set environment variables
4775 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4776 $(test-program-prefix-before-env), $(run-program-env) and
4777 $(test-program-prefix-after-env).
4778 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4779 run_program_env and test_program_prefix_after_env arguments.
4780 Split $test calls into $test_pre and $test.
4781 * timezone/Makefile (build-testdata): Use
4782 $(built-program-cmd-before-env), $(run-program-env) and
4783 $(built-program-cmd-after-env).
4785 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4787 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4788 strlen for non SHARED builds.
4790 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4792 * nptl/allocatestack.c (check_list): Inlined function...
4793 (__reclaim_stacks): ... here.
4795 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4798 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4801 2014-06-05 Joseph Myers <joseph@codesourcery.com>
4803 * Rules (make-test-out): Include
4804 LOCPATH=$(common-objpfx)localedata in default environment.
4805 * debug/Makefile (tst-chk1-ENV): Remove variable.
4806 (tst-chk2-ENV): Likewise.
4807 (tst-chk3-ENV): Likewise.
4808 (tst-chk4-ENV): Likewise.
4809 (tst-chk5-ENV): Likewise.
4810 (tst-chk6-ENV): Likewise.
4811 (tst-lfschk1-ENV): Likewise.
4812 (tst-lfschk2-ENV): Likewise.
4813 (tst-lfschk3-ENV): Likewise.
4814 (tst-lfschk4-ENV): Likewise.
4815 (tst-lfschk5-ENV): Likewise.
4816 (tst-lfschk6-ENV): Likewise.
4817 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4818 (tst-iconv7-ENV): Likewise.
4819 * intl/Makefile (LOCPATH-ENV): Likewise.
4820 (tst-codeset-ENV): Likewise.
4821 (tst-gettext3-ENV): Likewise.
4822 (tst-gettext5-ENV): Likewise.
4823 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4824 (tst-fopenloc-ENV): Likewise.
4825 (tst-fgetws-ENV): Remove variable.
4826 (tst-ungetwc1-ENV): Likewise.
4827 (tst-ungetwc2-ENV): Likewise.
4828 (bug-ungetwc2-ENV): Likewise.
4829 (tst-swscanf-ENV): Likewise.
4830 (bug-ftell-ENV): Likewise.
4831 (tst-fgetwc-ENV): Likewise.
4832 (tst-fseek-ENV): Likewise.
4833 (tst-ftell-partial-wide-ENV): Likewise.
4834 (tst-ftell-active-handler-ENV): Likewise.
4835 (tst-ftell-append-ENV): Likewise.
4836 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4837 (tst-regexloc-ENV): Likewise.
4838 (bug-regex1-ENV): Likewise.
4839 (tst-regex-ENV): Likewise.
4840 (tst-regex2-ENV): Likewise.
4841 (bug-regex5-ENV): Likewise.
4842 (bug-regex6-ENV): Likewise.
4843 (bug-regex17-ENV): Likewise.
4844 (bug-regex18-ENV): Likewise.
4845 (bug-regex19-ENV): Likewise.
4846 (bug-regex20-ENV): Likewise.
4847 (bug-regex22-ENV): Likewise.
4848 (bug-regex23-ENV): Likewise.
4849 (bug-regex25-ENV): Likewise.
4850 (bug-regex26-ENV): Likewise.
4851 (bug-regex30-ENV): Likewise.
4852 (bug-regex32-ENV): Likewise.
4853 (bug-regex33-ENV): Likewise.
4854 (bug-regex34-ENV): Likewise.
4855 (bug-regex35-ENV): Likewise.
4856 (tst-rxspencer-ENV): Likewise.
4857 (tst-rxspencer-no-utf8-ENV): Likewise.
4858 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4859 (tst-sscanf-ENV): Likewise.
4860 (tst-swprintf-ENV): Likewise.
4861 (tst-swscanf-ENV): Likewise.
4862 (test-vfprintf-ENV): Likewise.
4863 (scanf13-ENV): Likewise.
4864 (bug14-ENV): Likewise.
4865 (tst-grouping-ENV): Likewise.
4866 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4867 (tst-strtod3-ENV): Likewise.
4868 (tst-strtod4-ENV): Likewise.
4869 (tst-strtod5-ENV): Likewise.
4870 (testmb2-ENV): Likewise./
4871 * string/Makefile (tst-strxfrm-ENV): Likewise.
4872 (tst-strxfrm2-ENV): Likewise.
4873 (bug-strcoll1-ENV): Likewise.
4874 (test-strcasecmp-ENV): Likewise.
4875 (test-strncasecmp-ENV): Likewise.
4876 * time/Makefile (tst-strptime-ENV): Likewise.
4877 (tst-ftime_l-ENV): Likewise.
4878 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4879 (tst-mbrtowc-ENV): Likewise.
4880 (tst-wcrtomb-ENV): Likewise.
4881 (tst-mbrtowc2-ENV): Likewise.
4882 (tst-c16c32-1-ENV): Likewise.
4883 (tst-mbsnrtowcs-ENV): Likewise.
4885 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4887 * manual/resource.texi (How to get information about the memory
4888 subsystem?): Fix typo.
4889 Reported by Peon de la Parra Ivan <peon@keba.com>
4891 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4894 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4895 (pthread_spin_lock): Branch out of spin loop to proper location.
4896 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4897 (pthread_spin_lock): Likewise.
4899 * nptl/tst-spin4.c: New test.
4900 * nptl/Makefile (tests): Add tst-spin4.
4902 2014-06-03 Andreas Schwab <schwab@suse.de>
4905 * resolv/res_send.c (send_dg): Reload file descriptor after
4908 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4910 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4912 2014-06-03 Richard Henderson <rth@redhat.com>
4914 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4915 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4916 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4917 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4918 in the SAVE_PID block.
4919 (__libc_vfork): New alias.
4920 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4922 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4923 child in registers, not on the stack. Remove RESET_PID conditionals.
4924 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4926 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4928 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4930 2014-06-03 Wilco <wdijkstr@arm.com>
4932 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4933 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4934 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4935 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4936 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4939 2014-06-03 Wilco <wdijkstr@arm.com>
4941 * sysdeps/aarch64/fpu/math_private.h
4942 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4943 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4944 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4945 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4948 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4950 * crypt/crypt-private.h: Include ufc-crypt.h.
4951 (__b64_from_24bit): Declare extern.
4952 * crypt/crypt_util.c(__b64_from_24bit): New function.
4953 (b64t): New static const variable.
4954 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4955 (b64t): Remove variable.
4956 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4957 * crypt/sha256-crypt.c: Include crypt-private.h.
4958 (b64t): Remove variable.
4959 (__sha256_crypt_r): Remove b64_from_24bit and replace
4960 with __b64_from_24bit.
4961 * crypt/sha512-crypt.c: Likewise.
4963 2014-06-02 Roland McGrath <roland@hack.frob.com>
4965 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4966 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4967 Label the code __libc_vfork rather than __vfork.
4968 [!NOT_IN_libc] (vfork): Define as weak alias.
4969 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4970 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4971 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4973 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4975 * malloc/malloc.c (malloc_info): Fix format specifier for
4978 2014-06-02 Wilco <wdijkstr@arm.com>
4980 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4983 2014-06-02 Wilco <wdijkstr@arm.com>
4986 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4987 Rewrite to reduce FPCR/FPSR accesses.
4989 2014-06-01 David S. Miller <davem@davemloft.net>
4991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4993 2014-05-31 David S. Miller <davem@davemloft.net>
4995 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4996 to occur in round to nearest mode when |x| >= 2.0
4998 2014-05-30 Richard Henderson <rth@twiddle.net>
5000 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5001 (PSEUDO_RET_NOERRNO): Remove.
5002 (ret): Don't redefine.
5003 (ret_NOERRNO): Define in terms of ret.
5004 (ret_ERRVAL): Likewise.
5006 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5007 use of PSEUDO_RET; perform the error check directly.
5009 2014-05-30 Marko Myllynen <myllynen@redhat.com>
5011 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5014 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5016 * malloc/malloc (malloc_info): Fix formatting.
5018 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5019 Roland McGrath <roland@hack.frob.com>
5021 * malloc/malloc (malloc_info): Also print mmapped statistics.
5023 2014-05-30 Roland McGrath <roland@hack.frob.com>
5025 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5026 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5028 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
5030 * malloc/malloc.c (malloc_info): Inline mi_arena.
5032 2014-05-29 Richard Henderson <rth@twiddle.net>
5034 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5035 Remove comma before expanding ASM_ARGS_##nr.
5036 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5037 Make _x0 a strict output; make _x8 a strict input; adjust expansion
5039 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5040 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5041 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5042 (ASM_ARGS_1): Add leading comma.
5044 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5045 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5046 to __errno_location.
5047 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5048 Remove the expected plt for __errno_location.
5050 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5051 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5054 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5055 Always allocate 64 bytes of stack frame. Use ldp/stp to create
5056 it and break it down.
5057 (DOCARGS_0, DOCARGS_1): Do nothing.
5058 (DOCARGS_2): Update to store into the new stack frame.
5059 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5060 (UNDOCARGS_1): Update to restore from the new stack frame.
5061 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5062 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5064 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5065 (SINGLE_THREAD_P): New parameter for result regno.
5066 (PSEUDO): Update to match; use cbz instead of beq.
5068 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5069 Use ENTRY to define the _nocancel entry point. Share the syscall
5070 and syscall error check paths with the cancel path.
5073 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5074 whitespace; tabs before and after asm mnemonics.
5076 2014-05-29 Eric Wong <normalperson@yhbt.net>
5079 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5080 Call fstat64 or stat64 internally, depending on arguments passed.
5081 Replace stat buffer argument with file descriptor argument.
5082 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5083 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5084 Pass fd to __internal_statvfs instead of calling fstat64.
5085 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5086 Pass fd to __internal_statvfs64 instead of calling fstat64.
5087 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5088 Pass -1 to __internal_statvfs instead of calling stat64.
5089 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5090 Pass -1 to __internal_statvfs64 instead of calling stat64.
5092 2014-05-28 Roland McGrath <roland@hack.frob.com>
5094 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5095 that was previously under [RESET_PID].
5096 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5098 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5099 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5101 2014-05-27 Roland McGrath <roland@hack.frob.com>
5103 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5105 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5106 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5108 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
5110 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5112 2014-05-27 Andreas Schwab <schwab@suse.de>
5114 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5116 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5117 * elf/rtld.c (init_tls, dl_main): Likewise.
5118 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5119 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5120 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5121 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5122 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5123 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5124 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5125 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5126 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5127 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5128 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5129 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5130 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5131 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5132 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5133 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5134 * sysdeps/generic/tls.h: Update description.
5136 2014-05-27 Will Newton <will.newton@linaro.org>
5139 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5140 and restore r2 rather than just restoring.
5142 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5145 * libio/tst-ftell-append.c: New test case.
5146 * libio/Makefile (tests): Add test case.
5147 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5149 * libio/wfileops.c (do_ftell_wide): Likewise.
5151 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5155 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5159 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5160 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5161 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5162 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5163 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5164 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5165 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5168 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5171 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5172 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5173 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5174 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5175 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5177 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5178 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5180 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5182 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5184 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5185 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5186 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5188 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5189 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5190 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5191 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5193 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5196 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5199 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5202 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5206 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5209 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5214 conditional [RESET_PID].
5215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5216 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5218 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5223 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5224 (__libc_vfork): New strong alias.
5225 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5227 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5232 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5233 (__libc_vfork): New strong alias.
5234 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5236 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5239 2014-05-26 Carlos O'Donell <carlos@redhat.com>
5241 * malloc/malloc.c (mi_arena): New function.
5242 (malloc_info): Remove nested function mi_arena. Call non-nosted
5245 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5247 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5249 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5250 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5251 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5252 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5253 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5254 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5255 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5257 2014-05-26 Andreas Schwab <schwab@suse.de>
5260 * locale/programs/repertoire.c (repertoire_read): Add slash
5261 between I18NPATH element and file name.
5262 * locale/programs/locfile.c (locfile_read): Likewise.
5264 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5266 * nptl/pthread_mutexattr_settype.c
5267 (__pthread_mutexattr_settype):
5268 Disable lock elision for PTHREAD_MUTEX_NORMAL.
5270 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5272 * nptl/tst-mutex5 (do_test):
5273 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5275 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5277 * benchtests/README: Document 'init' directive.
5278 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5280 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5281 (parse_file): Recognize 'init' directive.
5283 2014-05-26 Kyle McMartin <kyle@redhat.com>
5286 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5287 alignment of struct pthread.
5289 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5292 * nscd/netgroupcache.c (addgetnetgrentX): Look for
5293 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5294 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5295 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5297 2014-05-25 Richard Henderson <rth@twiddle.net>
5299 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5300 (SINGLE_THREAD_P_PIC): Remove.
5301 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5302 (SINGLE_THREAD_P_PIC): Remove.
5304 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5305 branch to syscall error ...
5307 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5308 from __local_syscall_error to .Lsyscall_error.
5309 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5310 (SYSCALL_ERROR): Update label name.
5312 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5313 Do not use DOARGS/UNDOARGS.
5314 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5315 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5316 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5317 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5318 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5320 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5323 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5324 define if !NOT_IN_libc.
5325 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5326 define with non-default symbol versions.
5328 2014-05-23 Richard Henderson <rth@twiddle.net>
5330 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5331 (vfork, __vfork): Define via compat_symbol.
5333 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5334 [!HAVE_IFUNC] (vfork_compat): Remove.
5335 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5337 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5340 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5341 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5344 2014-05-23 Richard Henderson <rth@twiddle.net>
5346 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5347 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5348 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5349 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5351 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5352 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5353 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5354 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5355 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5356 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5357 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5358 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5359 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5360 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5361 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5362 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5363 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5364 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5365 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5366 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5367 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5368 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5369 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5370 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5371 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5372 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5373 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5374 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5375 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5376 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5377 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5378 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5379 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5380 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5381 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5382 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5383 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5384 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5385 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5386 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5387 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5388 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5389 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5390 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5391 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5392 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5393 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5394 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5395 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5396 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5397 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5398 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5399 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5400 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5401 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5402 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5403 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5404 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5405 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5406 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5408 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5409 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5410 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
5411 before exiting on error.
5412 (__libc_vfork): New strong alias.
5413 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5414 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5416 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5417 that was previously under [RESET_PID].
5418 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5420 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5422 2014-05-23 Joseph Myers <joseph@codesourcery.com>
5425 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5426 value when x - 1 is zero.
5427 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5428 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5429 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5430 0.0L for an argument of 1.0L.
5431 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5433 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5434 value when x - 1 is zero.
5435 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5436 * sysdeps/i386/fpu/libm-test-ulps: Update.
5437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5439 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5441 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5442 alphasort and versionsort.
5444 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5446 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5448 [copysignf]: Likewise.
5450 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5452 * crypt/md5-crypt.c: Fix formatting.
5454 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5456 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5457 (b64_from_24bit): New function.
5459 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5461 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5462 libc_hidden_builtin_def to ifunc.
5463 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5464 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5466 2014-05-21 Roland McGrath <roland@hack.frob.com>
5468 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5469 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5471 2014-05-21 Joseph Myers <joseph@codesourcery.com>
5473 * nscd/Depend (linuxthreads): Remove.
5475 * resolv/Depend (linuxthreads): Remove.
5476 * rt/Depend (linuxthreads): Remove.
5478 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5479 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5480 $(common-objpfx)elf/.
5481 (link-libc-before-gnulib): Likewise.
5482 (elfobjdir): Remove variable.
5483 * Makefile (install): Use $(elf-objpfx) instead of
5484 $(common-objpfx)elf/.
5485 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5487 (link-libc-deps): Likewise.
5488 ($(common-objpfx)libc.so): Likewise.
5489 ($(common-objpfx)linkobj/libc.so): Likewise.
5490 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5491 instead of $(common-objpfx)elf/.
5492 (symbolic-link-list): Likewise.
5493 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5494 [$(cross-compiling) = no]: Likewise.
5495 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5497 (static-gnulib-arch): Likewise.
5498 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5499 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5500 $(common-objpfx)elf/.
5502 2014-05-21 Richard Henderson <rth@redhat.com>
5504 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5505 (SINGLE_THREAD_P): Use the correct width load. Fold
5506 into the ldr offset.
5508 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5509 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5511 2014-05-20 Joseph Myers <joseph@codesourcery.com>
5513 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5514 (libgcc_s_resume): Use __attribute_used__.
5515 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5518 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5520 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5521 optimization when used with float constants.
5523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5525 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
5528 * locale/nl_langinfo_l.c: Make direct reference to every
5529 _nl_current_CATEGORY symbol.
5530 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5531 (tests-static): Add tst-langinfo-static.
5532 (tests-special): Add tst-langinfo-static.out.
5533 ($(objpfx)tst-langinfo.out): Redirect output.
5534 ($(objpfx)tst-langinfo-static.out): New.
5535 * localedata/tst-langinfo.sh: Send output to stdout.
5536 * localedata/tst-langinfo-static.c: New file.
5539 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5540 when the shift amount is modulo the limb size.
5542 2014-05-20 Richard Henderson <rth@redhat.com>
5545 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5546 Change type of sa_flags from unsigned int to int.
5549 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5551 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5553 2014-05-20 Will Newton <will.newton@linaro.org>
5555 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5556 Test the return value of the system call in the nocancel case.
5558 2014-05-20 Will Newton <will.newton@linaro.org>
5559 Yvan Roux <yvan.roux@linaro.org>
5561 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5562 #include of asm/ptrace.h.
5563 (PTRACE_GET_THREAD_AREA): Remove #undef.
5564 (PTRACE_GETHBPREGS): Likewise.
5565 (PTRACE_SETHBPREGS): Likewise.
5566 (struct user_regs_struct): New structure.
5567 (struct user_fpsimd_struct): New structure.
5568 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5569 #include of asm/ptrace.h and second #include of sys/user.h.
5570 (PTRACE_GET_THREAD_AREA): Remove #undef.
5571 (PTRACE_GETHBPREGS): Likewise.
5572 (PTRACE_SETHBPREGS): Likewise.
5573 (ELF_NGREG): Use new struct user_regs_struct.
5574 (elf_fpregset_t): Use new struct user_fpsimd_struct.
5576 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5578 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5579 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5581 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5584 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5585 membar to avoid block loads/stores to overlap previous stores.
5587 2014-05-17 Richard Henderson <rth@redhat.com>
5589 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5590 Create the __##syscall_name##_nocancel entry point.
5591 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5592 Remove; let the sysdep-cancel.h code create it.
5594 2014-05-17 David S. Miller <davem@davemloft.net>
5596 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5597 Protect with __USE_GNU.
5598 (TIOCSET_TEMPT): Likewise.
5599 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5600 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5601 these are already provided in bits/ioctl-types.h
5603 2014-05-16 Roland McGrath <roland@hack.frob.com>
5605 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5606 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5608 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5609 Use wait4 regardless of [__NR_waitpid].
5611 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5614 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5615 (_FP_NANSIGN_Q): Set the quiet bit.
5617 2014-05-16 Joseph Myers <joseph@codesourcery.com>
5619 * benchtests/Makefile
5620 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5621 not $(common-objpfx)math/libm.so.
5622 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5623 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5624 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5625 $(common-objpfx)dlfcn/libdl.so.
5626 ($(objpfx)tst-audit8): Depend on $(libm), not
5627 $(common-objpfx)math/libm.so.
5628 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5629 not $(common-objpfx)dlfcn/libdl.so.
5631 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5632 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
5633 [$(build-shared) = yes].
5634 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5635 $(common-objpfx)nptl/libpthread.so.
5636 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5637 $(common-objpfx)math/libm.so$(libm.so-version) or
5638 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5639 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5640 $(common-objpfx)dlfcn/libdl.so.
5641 * setjmp/Makefile (link-libm): Remove variable.
5642 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5643 * stdio-common/Makefile (link-libm): Remove variable.
5644 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5645 * stdlib/Makefile (link-libm): Remove variable.
5646 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5647 ($(objpfx)tst-strtod-round): Likewise.
5648 ($(objpfx)tst-tininess): Likewise.
5649 ($(objpfx)tst-strtod-underflow): Likewise.
5650 ($(objpfx)tst-strtod6): Likewise.
5651 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5652 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5653 $(common-objpfx)dlfcn/libdl.so.
5655 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5657 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5658 BSD terminal modes definitions.
5660 2014-05-16 Roland McGrath <roland@hack.frob.com>
5662 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5663 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5665 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5666 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5667 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5668 Don't do #include_next.
5669 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5670 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5671 Don't do #include_next.
5672 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5673 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5674 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5675 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5677 2014-05-16 Allan McRae <allan@archlinux.org>
5679 * po/sv.po: Update Swedish translation from translation project.
5681 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5684 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5687 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5688 errno if the TIOCGPTN ioctl fails with an error different than
5690 * login/tst-ptsname.c: New file.
5691 * login/Makefile (tests): Add tst-ptsname.
5694 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5697 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5700 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5701 herrno to return EAI_AGAIN.
5703 2014-05-14 Roland McGrath <roland@hack.frob.com>
5705 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5706 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5707 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5708 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5709 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5710 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5711 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5712 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5713 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5714 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5715 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5716 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5717 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5718 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5719 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5720 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5721 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5722 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5723 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5724 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5725 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5726 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5727 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5728 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5729 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5730 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5731 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5732 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5733 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5734 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5735 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5736 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5738 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5739 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5741 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5743 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5744 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5745 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5747 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5749 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5750 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5751 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5753 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5754 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5755 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5757 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5759 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5760 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5761 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5763 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5764 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5765 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5767 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5768 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5770 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5771 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5772 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5773 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5774 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5775 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5776 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5777 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5778 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5779 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5780 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5781 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5782 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5783 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5784 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5785 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5786 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5787 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5788 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5789 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5791 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5792 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5793 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5795 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5796 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5797 (libpthread-sysdep_routines): Add elision-related stuff here instead.
5798 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5799 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5800 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5801 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5802 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5803 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5804 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5805 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5806 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5807 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5808 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5809 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5810 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5811 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5812 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5813 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5814 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5815 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5816 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5817 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5818 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5819 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5820 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5821 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5822 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5823 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5824 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5825 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5827 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5828 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5830 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5831 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5832 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5833 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5834 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5835 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5837 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5838 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5840 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5841 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5843 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5844 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5846 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5847 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5848 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5849 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5851 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5852 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5853 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5854 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5855 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5856 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5857 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5858 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5860 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5861 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5863 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5865 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5866 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5867 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5868 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5869 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5871 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5873 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5875 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5876 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5877 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5878 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5879 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5880 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5882 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5883 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5885 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5886 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5888 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5889 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5891 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5892 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5893 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5894 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5896 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5897 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5898 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5899 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5900 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5901 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5902 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5903 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5905 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5906 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5908 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5910 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5911 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5912 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5913 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5914 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5916 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5918 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5920 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5921 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5922 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5923 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5924 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5925 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5926 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5927 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5928 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5929 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5931 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5932 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5934 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5935 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5937 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5938 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5940 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5941 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5942 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5943 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5944 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5945 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5947 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5948 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5949 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5950 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5951 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5952 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5953 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5954 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5956 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5957 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5959 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5961 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5962 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5963 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5964 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5965 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5967 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5969 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5971 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5972 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5973 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5974 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5975 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5976 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5977 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5978 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5979 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5980 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5981 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5983 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5984 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5986 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5987 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5989 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5990 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5991 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5992 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5993 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5994 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5995 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5996 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5997 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5998 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5999 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6000 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6001 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6002 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6003 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6004 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6005 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6006 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6008 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6009 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6010 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6011 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6013 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6014 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6015 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6016 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6017 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6018 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6019 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6020 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6022 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6023 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6025 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6026 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6027 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6028 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6029 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6030 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6031 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6032 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6033 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6034 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6035 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6036 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6037 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6038 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6039 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6040 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6041 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6043 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6044 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6045 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6046 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6047 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6049 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6050 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6051 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6052 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6053 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6054 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6055 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6056 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6057 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6058 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6060 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6061 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6063 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6064 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6065 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6066 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6067 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6068 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6069 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6070 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6071 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6072 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6073 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6074 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6075 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6076 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6077 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6079 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6081 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6083 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6085 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6087 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6089 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6091 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6093 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6095 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6097 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6098 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6099 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6100 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6101 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6102 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6103 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6104 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6105 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6106 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6107 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6108 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6109 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6110 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
6111 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
6113 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6114 that was previously under [RESET_PID].
6115 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6116 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6117 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6119 * sysdeps/i386/nptl/Implies: New file.
6120 * sysdeps/x86_64/nptl/Implies: New file.
6121 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6122 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6123 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6124 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6126 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6127 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6128 (__libc_vfork): New strong alias.
6129 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6130 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6132 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6133 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6134 (__libc_vfork): New strong alias.
6135 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6136 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6138 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6139 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6140 (__libc_vfork): New strong alias.
6141 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6142 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6143 * nptl/pt-vfork.c: New file.
6144 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6145 (libpthread: GLIBC_2.20): New version set (empty).
6147 2014-05-14 Will Newton <will.newton@linaro.org>
6149 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6152 2014-05-14 Joseph Myers <joseph@codesourcery.com>
6155 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6156 arguments with exponent 65 or above.
6157 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6158 arguments 0x1p113L or above.
6159 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6160 to arguments 0x1p107L or above.
6161 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6162 positive arguments with exponent 65 or above.
6163 * math/auto-libm-test-in: Add more tests of log1p.
6164 * math/auto-libm-test-out: Regenerated.
6167 * math/s_cacos.c (__cacos): Ensure zero real part of result from
6168 non-finite arguments is +0.
6169 * math/s_cacosf.c (__cacosf): Likewise.
6170 * math/s_cacosl.c (__cacosl): Likewise.
6171 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6172 * sysdeps/i386/fpu/libm-test-ulps: Update.
6173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6176 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6178 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6179 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6180 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6181 for explicit high bit of mantissa when testing for argument equal
6183 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6184 * sysdeps/i386/fpu/libm-test-ulps: Update.
6185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6188 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6189 (__erf): Scale by 16 instead of 8 in potentially underflowing
6190 case. Ensure exception if result actually underflows.
6191 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6192 (__erff): Scale by 16 instead of 8 in potentially underflowing
6193 case. Ensure exception if result actually underflows.
6194 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6195 (efx8): Remove variable.
6196 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6197 case. Ensure exception if result actually underflows.
6198 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6199 (efx8): Remove variable.
6200 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6201 case. Ensure exception if result actually underflows.
6202 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6203 (efx8): Remove variable.
6204 (__erfl): Scale by 16 instead of 8 in potentially underflowing
6205 case. Ensure exception if result actually underflows.
6206 * math/auto-libm-test-in: Add more tests of erf.
6207 * math/auto-libm-test-out: Regenerated.
6209 2014-05-14 Andreas Schwab <schwab@suse.de>
6211 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6212 Remove code conditionalized on USE___THREAD.
6214 * config.h.in (HAVE_PT_CHOWN): Define as 0.
6215 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6218 2014-05-14 Joseph Myers <joseph@codesourcery.com>
6220 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6221 Define unconditionally.
6222 (__ASSUME_O_CLOEXEC): Likewise.
6223 (__ASSUME_SOCK_CLOEXEC): Likewise.
6224 (__ASSUME_IN_NONBLOCK): Likewise.
6225 (__ASSUME_PIPE2): Likewise.
6226 (__ASSUME_EVENTFD2): Likewise.
6227 (__ASSUME_SIGNALFD4): Likewise.
6228 (__ASSUME_DUP3): Likewise.
6229 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6230 (__ASSUME_DUP3): Do not define.
6231 (__ASSUME_EVENTFD2): Likewise.
6232 (__ASSUME_IN_NONBLOCK): Likewise.
6233 (__ASSUME_O_CLOEXEC): Likewise.
6234 (__ASSUME_PIPE2): Likewise.
6235 (__ASSUME_SIGNALFD4): Likewise.
6236 (__ASSUME_SOCK_CLOEXEC): Likewise.
6237 (__ASSUME_UTIMES): Undefine.
6238 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6239 (__ASSUME_UTIMES): Do not define.
6240 (__ASSUME_O_CLOEXEC): Likewise.
6241 (__ASSUME_SOCK_CLOEXEC): Likewise.
6242 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6243 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6245 (__ASSUME_PIPE2): Likewise.
6246 (__ASSUME_EVENTFD2): Likewise.
6247 (__ASSUME_SIGNALFD4): Likewise.
6248 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6249 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6251 (__ASSUME_EVENTFD2): Likewise.
6252 (__ASSUME_SIGNALFD4): Likewise.
6253 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6254 (__ASSUME_32BITUIDS): Likewise.
6255 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6256 (__ASSUME_IPC64): Likewise.
6257 (__ASSUME_ST_INO_64_BIT): Likewise.
6258 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6259 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6260 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6261 (__ASSUME_UTIMES): Do not define.
6262 (__ASSUME_PSELECT): Likewise.
6263 (__ASSUME_PPOLL): Likewise.
6264 (__ASSUME_O_CLOEXEC): Likewise.
6265 (__ASSUME_SOCK_CLOEXEC): Likewise.
6266 (__ASSUME_IN_NONBLOCK): Likewise.
6267 (__ASSUME_PIPE2): Likewise.
6268 (__ASSUME_EVENTFD2): Likewise.
6269 (__ASSUME_SIGNALFD4): Likewise.
6270 (__ASSUME_DUP3): Likewise.
6271 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6272 (__ASSUME_UTIMES): Likewise.
6273 (__ASSUME_O_CLOEXEC): Likewise.
6274 (__ASSUME_SOCK_CLOEXEC): Likewise.
6275 (__ASSUME_IN_NONBLOCK): Likewise.
6276 (__ASSUME_PIPE2): Likewise.
6277 (__ASSUME_EVENTFD2): Likewise.
6278 (__ASSUME_SIGNALFD4): Likewise.
6279 (__ASSUME_DUP3): Likewise.
6280 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6281 (__ASSUME_UTIMES): Likewise.
6282 (__ASSUME_O_CLOEXEC): Likewise.
6283 (__ASSUME_SOCK_CLOEXEC): Likewise.
6284 (__ASSUME_IN_NONBLOCK): Likewise.
6285 (__ASSUME_PIPE2): Likewise.
6286 (__ASSUME_EVENTFD2): Likewise.
6287 (__ASSUME_SIGNALFD4): Likewise.
6288 (__ASSUME_DUP3): Likewise.
6289 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6291 (__ASSUME_UTIMES): Likewise.
6292 (__ASSUME_EVENTFD2): Likewise.
6293 (__ASSUME_SIGNALFD4): Likewise.
6294 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6295 (__ASSUME_O_CLOEXEC): Likewise.
6296 (__ASSUME_SOCK_CLOEXEC): Likewise.
6297 (__ASSUME_IN_NONBLOCK): Likewise.
6298 (__ASSUME_PIPE2): Likewise.
6299 (__ASSUME_EVENTFD2): Likewise.
6300 (__ASSUME_SIGNALFD4): Likewise.
6301 (__ASSUME_DUP3): Likewise.
6302 (__ASSUME_UTIMES): Undefine.
6304 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6305 feclearexcept. Remove symbol versioning code.
6306 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
6307 symbol versioning code.
6308 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
6309 symbol versioning code.
6310 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6311 feupdateenv. Remove symbol versioning code.
6312 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6313 fegetexceptflag. Remove symbol versioning code.
6314 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6315 fesetexceptflag. Remove symbol versioning code.
6316 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6317 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
6318 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6319 (__posix_fadvise64_l32): Remove prototype.
6320 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6323 2014-05-13 Roland McGrath <roland@hack.frob.com>
6325 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6326 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6327 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6328 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6330 2014-05-13 Sami Kerola <kerolasa@iki.fi>
6332 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6333 current working directory
6335 2014-05-13 Roland McGrath <roland@hack.frob.com>
6337 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6338 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6339 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6340 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6341 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6342 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6343 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6344 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6345 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6346 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6347 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6348 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6349 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6350 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6351 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6352 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6353 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6354 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6355 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6356 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6357 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6358 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6359 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6360 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6361 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6362 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6363 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6364 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6365 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6366 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6367 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6368 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6369 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6370 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6371 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6372 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6373 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6374 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6375 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6376 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6377 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6378 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6380 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6381 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6383 * sysdeps/unix/sysv/linux/arm/Makefile
6384 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6385 Add rt-aeabi_unwind_cpp_pr1.
6386 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6387 Add nptl-aeabi_unwind_cpp_pr1.
6388 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6389 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6390 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6391 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6392 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6393 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6395 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6396 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6397 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6398 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6400 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6401 Deconditionalize the code that was previously under [RESET_PID].
6402 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6404 * sysdeps/generic/exit-thread.h: New file.
6405 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6406 * include/unistd.h (__exit_thread): Remove declaration.
6407 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6408 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6409 * csu/libc-start.c: Include <exit-thread.h>.
6410 (LIBC_START_MAIN): Pass no argument to __exit_thread.
6411 * nptl/pthread_create.c: Include <exit-thread.h>.
6412 (start_thread): Call __exit_thread in place of __exit_thread_inline.
6413 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6414 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6415 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6416 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6417 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6418 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6419 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6420 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6421 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6422 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6423 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6424 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6425 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6426 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6427 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6428 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6430 2014-05-13 Andreas Schwab <schwab@suse.de>
6432 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6434 2014-05-12 Joseph Myers <joseph@codesourcery.com>
6436 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6437 (__ASSUME_UTIMES): Do not condition on kernel version.
6438 (__ASSUME_PSELECT): Define unconditionally.
6439 (__ASSUME_PPOLL): Likewise.
6440 (__ASSUME_ATFCTS): Likewise.
6441 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6442 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6443 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6444 (__ASSUME_UTIMENSAT): Define unconditionally.
6445 (__ASSUME_PRIVATE_FUTEX): Likewise.
6446 (__ASSUME_FALLOCATE): Likewise.
6447 (__ASSUME_O_CLOEXEC): Likewise.
6448 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6449 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6450 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6451 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6452 (__ASSUME_IN_NONBLOCK): Likewise.
6453 (__ASSUME_PIPE2): Likewise.
6454 (__ASSUME_EVENTFD2): Likewise.
6455 (__ASSUME_SIGNALFD4): Likewise.
6456 (__ASSUME_DUP3): Likewise.
6457 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6458 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6459 (__ASSUME_AT_RANDOM): Likewise.
6460 (__ASSUME_PREADV): Likewise.
6461 (__ASSUME_PWRITEV): Likewise.
6462 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6463 (__ASSUME_F_GETOWN_EX): Define unconditionally.
6464 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6465 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6466 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6467 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6468 (__ASSUME_O_CLOEXEC): Define unconditionally.
6469 (__ASSUME_PSELECT): Do not undefine conditionally.
6470 (__ASSUME_PPOLL): Likewise.
6471 (__ASSUME_ATFCTS): Likewise.
6472 (__ASSUME_SET_ROBUST_LIST): Likewise.
6473 (__ASSUME_UTIMENSAT): Likewise.
6474 (__ASSUME_FDATASYNC): Define unconditionally.
6475 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6476 (__ASSUME_SIGFRAME_V2): Likewise.
6477 )__ASSUME_EVENTFD2): Likewise.
6478 (__ASSUME_SIGNALFD4): Likewise.
6479 (__ASSUME_PSELECT): Do not undefine conditionally.
6480 (__ASSUME_PPOLL): Likewise.
6481 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6482 (__ASSUME_PSELECT): Define unconditionally.
6483 (__ASSUME_PPOLL): Likewise.
6484 (__ASSUME_O_CLOEXEC): Likewise.
6485 (__ASSUME_SOCK_CLOEXEC): Likewise.
6486 (__ASSUME_IN_NONBLOCK): Likewise.
6487 (__ASSUME_PIPE2): Likewise.
6488 (__ASSUME_EVENTFD2): Likewise.
6489 (__ASSUME_SIGNALFD4): Likewise.
6490 (__ASSUME_DUP3): Likewise.
6491 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6492 (__ASSUME_O_CLOEXEC): Likewise.
6493 (__ASSUME_SOCK_CLOEXEC): Likewise.
6494 (__ASSUME_IN_NONBLOCK): Likewise.
6495 (__ASSUME_PIPE2): Likewise.
6496 (__ASSUME_EVENTFD2): Likewise.
6497 (__ASSUME_SIGNALFD4): Likewise.
6498 (__ASSUME_DUP3): Likewise.
6499 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6500 (__ASSUME_EVENTFD2): Likewise.
6501 (__ASSUME_SIGNALFD4): Likewise.
6502 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6504 2014-05-12 Andreas Schwab <schwab@suse.de>
6507 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6508 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6509 than maximum RPC packet size.
6510 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6511 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6512 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6513 (_nss_nis_getservbyport_r): Likewise.
6515 2014-05-12 Will Newton <will.newton@linaro.org>
6517 * malloc/Makefile (tests): Add tst-mallopt.
6518 * malloc/tst-mallopt.c: New file.
6520 2014-05-09 Roland McGrath <roland@hack.frob.com>
6522 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6523 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6525 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6527 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6528 (tst-tlsmod6.so): Likewise.
6530 2014-05-09 Roland McGrath <roland@hack.frob.com>
6532 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6534 2014-05-09 Joseph Myers <joseph@codesourcery.com>
6537 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6538 and <dl-procinfo.h>.
6539 (__fegetenv): Save SSE state in envp->__eip if supported.
6540 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6541 envp->__eip if supported.
6542 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6543 and <dl-procinfo.h>.
6544 (__fesetenv): Always set __eip, __cs_selector, __opcode,
6545 __data_offset and __data_selector in environment to 0. Set SSE
6547 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6549 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6551 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6553 2014-05-09 Will Newton <will.newton@linaro.org>
6555 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6556 and libc_relro_required for ARM.
6557 * sysdeps/arm/preconfigure: Regenerate.
6559 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
6560 Stefan Liebler <stli@linux.vnet.ibm.com>
6562 * config.make.in (enable-lock-elision): New Makefile variable.
6563 * configure.ac: Likewise.
6564 * configure: Regenerate.
6565 * sysdeps/s390/configure.ac:
6566 Add check for gcc transactions support.
6567 * sysdeps/s390/configure: Regenerate.
6568 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6569 Build elision files if enabled.
6570 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6571 Add lock elision support for s390.
6572 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6573 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6574 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6575 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6576 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6577 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6578 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6580 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6582 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6584 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6586 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6587 (__lll_timedlock_elision, __lll_lock_elision)
6588 (__lll_unlock_elision, __lll_trylock_elision)
6589 (lll_timedlock_elision, lll_lock_elision)
6590 (lll_unlock_elision, lll_trylock_elision): Add.
6591 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6592 (pthread_mutex_t): Add lock elision support for s390.
6594 2014-05-14 Wilco <wdijkstr@arm.com>
6596 * sysdeps/arm/fclrexcpt.c: Cleanup.
6597 * sysdeps/arm/fedisblxcpt.c: Cleanup.
6598 * sysdeps/arm/feenablxcpt.c: Cleanup.
6599 * sysdeps/arm/fegetenv.c: Cleanup.
6600 * sysdeps/arm/fegetexcept.c: Cleanup.
6601 * sysdeps/arm/fegetround.c: Cleanup.
6602 * sysdeps/arm/feholdexcpt.c: Cleanup.
6603 * sysdeps/arm/fesetenv.c: Cleanup.
6604 * sysdeps/arm/fesetround.c: Cleanup.
6605 * sysdeps/arm/feupdateenv.c: Cleanup.
6606 * sysdeps/arm/fgetexcptflg.c: Cleanup.
6607 * sysdeps/arm/fraiseexcpt.c: Cleanup.
6608 * sysdeps/arm/fsetexcptflg.c: Cleanup.
6609 * sysdeps/arm/ftestexcept.c: Cleanup.
6610 * sysdeps/arm/get-rounding-mode.h: Cleanup.
6611 * sysdeps/arm/setfpucw.c: Cleanup.
6613 2014-05-09 Will Newton <will.newton@linaro.org>
6615 * sysdeps/arm/armv7/strcmp.S: New file.
6616 * NEWS: Mention addition of ARMv7 optimized strcmp.
6618 2014-05-08 Roland McGrath <roland@hack.frob.com>
6620 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6621 look for %.ac rather than %.in.
6623 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6624 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6625 * sysdeps/mach/hurd/configure: Regenerated.
6626 * sysdeps/unix/sysv/linux/configure: Regenerated.
6628 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6630 2014-05-07 Steve Ellcey <sellcey@mips.com>
6633 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6637 2014-05-07 Andreas Schwab <schwab@suse.de>
6639 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6640 when skipping over non-matching result from nscd.
6642 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
6645 * nptl/sockperf.c (client): Check socket return value.
6648 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6649 nscd security class.
6651 2014-05-06 Roland McGrath <roland@hack.frob.com>
6653 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6654 * sysdeps/arm/unwind.h: ... here.
6656 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6659 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6662 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6664 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6665 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6666 multiarch strncpy for PPC64.
6667 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6668 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6669 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6670 multiarch optimizations.
6671 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6672 (__libc_ifunc_impl_list): Likewise.
6673 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6674 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6675 multiarch stpncpy for PPC64.
6676 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6677 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6679 2014-05-06 Andreas Schwab <schwab@suse.de>
6682 * gmon/mcount.c (_MCOUNT_DECL): Use
6683 atomic_compare_and_exchange_bool_acq instead of
6684 catomic_compare_and_exchange_bool_acq.
6686 2014-05-05 Roland McGrath <roland@hack.frob.com>
6688 * elf/Makefile (others, install-bin): Remove pldd.
6689 (pldd-modules): Variable removed.
6690 ($(objpfx)pldd): Target removed.
6691 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6692 (others, install-bin): Append pldd here.
6693 ($(objpfx)pldd): New target.
6695 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6696 to 0, so the first #if test emitted later doesn't see it undefined.
6697 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6698 * sysdeps/gnu/errlist.c: Regenerated.
6700 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6702 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6703 [libc_hidden_builtin_def]: Define to empty value.
6704 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6705 [libc_hidden_builtin_def]: Likewise.
6706 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6707 [libc_hidden_builtin_def]: Likewise.
6708 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6709 [libc_hidden_builtin_def]: Likewise.
6710 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6711 __redirect_memcpy and define ifunc as default hidden symbol.
6712 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6713 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6715 2014-05-04 Adam Conrad <adconrad@0c3.net>
6717 * locale/iso-4217.def: Reintroduce XDR currency.
6719 2014-05-04 Allan McRae <allan@archlinux.org>
6721 * po/eo.po: Update Esperanto translation from translation project.
6723 2014-05-02 Carlos O'Donell <carlos@redhat.com>
6725 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6726 and FEATURE_INDEX_MAX to 1.
6727 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6729 2014-05-01 Steve Ellcey <sellcey@mips.com>
6731 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6732 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6733 * iconvdata/big5.c (ONE_DIRECTION): Define.
6734 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6735 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6736 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6737 * iconvdata/cp932.c (ONE_DIRECTION): Define.
6738 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6739 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6740 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6741 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6742 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6743 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6744 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6745 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6746 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6747 * iconvdata/gbk.c (ONE_DIRECTION): Define.
6748 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6749 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6750 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6751 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6752 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6753 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6754 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6755 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6756 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6757 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6758 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6759 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6760 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6761 * iconvdata/iso646.c (ONE_DIRECTION): Define.
6762 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6763 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6764 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6765 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6766 * iconvdata/johab.c (ONE_DIRECTION): Define.
6767 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6768 * iconvdata/sjis.c (ONE_DIRECTION): Define.
6769 * iconvdata/t.61.c (ONE_DIRECTION): Define.
6770 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6771 * iconvdata/tscii.c (ONE_DIRECTION): Define.
6772 * iconvdata/uhc.c (ONE_DIRECTION): Define.
6773 * iconvdata/unicode.c (ONE_DIRECTION): Define.
6774 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6775 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6776 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6778 2014-05-01 Roland McGrath <roland@hack.frob.com>
6780 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6781 (_IO_JUMPS_OFFSET): Define to 0.
6783 * nptl/sysdeps/pthread/bits/libc-lock.h
6784 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6785 (__libc_lock_define_initialized_recursive): Always define using
6786 initializer. Modern compilers treat uninitialized (implicit zero) and
6787 explicit zero initializers the same (i.e. put the datum in bss).
6789 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6791 * nscd/nscd-client.h: Include <string.h>.
6793 2014-05-01 David S. Miller <davem@davemloft.net>
6796 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6797 multiple zero bytes exist at the end of a string.
6798 Reported by Aurelien Jarno <aurelien@aurel32.net>
6800 * string/test-strcmp.c (check): Add explicit test for situations where
6801 there are multiple zero bytes after the first.
6803 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6806 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6807 when compiling wprintf.
6808 * stdio-common/tstdiomisc.c (t3): New function.
6811 2014-05-01 Steve Ellcey <sellcey@mips.com>
6813 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6814 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6815 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6816 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6818 2014-05-01 Steve Ellcey <sellcey@mips.com>
6820 * stdlib/longlong.h: Updated from GCC.
6822 2014-05-01 Will Newton <will.newton@linaro.org>
6823 Bernard Ogden <bernie.ogden@linaro.org>
6825 * NEWS: Update fixed bug list.
6828 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6830 2014-04-30 David S. Miller <davem@davemloft.net>
6832 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6833 (libc_feholdexcept_setround_sparc_ctx): New function.
6834 (libc_fesetenv_sparc_ctx): Likewise.
6835 (libc_feupdateenv_sparc_ctx): Likewise.
6836 (libc_feholdsetround_sparc_ctx): Likewise.
6837 (libc_feholdexcept_setround_ctx): Define.
6838 (libc_feholdexcept_setroundf_ctx): Likewise.
6839 (libc_feholdexcept_setroundl_ctx): Likewise.
6840 (libc_fesetenv_ctx): Likewise.
6841 (libc_fesetenvf_ctx): Likewise.
6842 (libc_fesetenvl_ctx): Likewise.
6843 (libc_feupdateenv_ctx): Likewise.
6844 (libc_feupdateenvf_ctx): Likewise.
6845 (libc_feupdateenvl_ctx): Likewise.
6846 (libc_feresetround_ctx): Likewise.
6847 (libc_feresetroundf_ctx): Likewise.
6848 (libc_feresetroundl_ctx): Likewise.
6849 (libc_feholdsetround_ctx): Likewise.
6850 (libc_feholdsetroundf_ctx): Likewise.
6851 (libc_feholdsetroundl_ctx): Likewise.
6853 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6854 with __USE_GNU instead of XOPEN cpp guards.
6856 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6859 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6860 with XOPEN cpp guards.
6862 2014-04-30 Julian Brown <julian@codesourcery.com>
6865 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6868 2014-04-30 Joseph Myers <joseph@codesourcery.com>
6871 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6873 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6874 * sysdeps/unix/sysv/linux/configure: Regenerated.
6875 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6876 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6877 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6878 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6879 * README: Update reference to required Linux kernel version.
6880 * manual/install.texi (Linux): Update reference to required Linux
6881 kernel headers version.
6882 * INSTALL: Regenerated.
6884 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6886 [POSIX] (limits.h): Likewise.
6887 [POSIX] (math.h): Likewise.
6888 [POSIX] (sys/wait.h): Likewise.
6889 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6891 [POSIX] (stddef.h): Do not allow header inclusion.
6893 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6895 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6897 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6899 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6900 Return immediately after lll_futex_wake.
6902 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6905 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6907 (datahead_init_pos): Call datahead_init_common early.
6908 (datahead_init_neg): Likewise.
6910 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6911 datahead_init_neg): New functions.
6912 * nscd/aicache.c (addhstaiX): Use them.
6913 * nscd/grpcache.c (cache_addgr): Likewise.
6914 * nscd/hstcache.c (cache_addhst): Likewise.
6915 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6916 * nscd/netgroupcache.c (do_notfound): Likewise.
6917 (addgetnetgrentX): Likewise.
6918 (addinnetgrX): Likewise.
6919 * nscd/pwdcache.c (cache_addpw): Likewise.
6920 * nscd/servicescache.c (cache_addserv): Likewise.
6922 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6923 Atsushi Onoe <atsushi@onoe.org>
6928 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6929 one response is valid.
6930 * resolv/res_send.c (send_dg): Check for validity of other
6931 response if the current response is a referral.
6933 2014-04-29 Steve Ellcey <sellcey@mips.com>
6935 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6937 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
6940 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6941 Always divide by positive zero when computing -Inf result.
6942 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6943 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6945 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6947 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6948 FPSCR if value do not change.
6949 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6950 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6951 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6952 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6953 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6954 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6957 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
6959 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6960 * sysdeps/unix/sysv/linux/hppa: Move directory from
6961 ports/systeps/unix/sysv/linux/hppa.
6962 * README: Update listing for hppa-*-linux-gnu.
6964 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
6967 * manual/stdio.texi (Hook functions): Fix types of stream hook
6970 * socket/sys/socket.h: Fix typo in comment.
6972 2014-04-28 Wilco <wdijkstr@arm.com>
6974 * sysdeps/arm/fenv_private.h: New file.
6975 * sysdeps/arm/math_private.h: New file.
6976 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6978 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
6980 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6982 (La_x86_64_retval): Likewise.
6984 2014-04-24 Ian Bolton <ian.bolton@arm.com>
6986 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6987 fpsr if value didn't change.
6988 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6989 to fpcr if value didn't change.
6990 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6991 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6992 fpsr or fpcr if value didn't change.
6993 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6994 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6995 fpcr if value didn't change.
6996 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6997 to fpsr if value didn't change.
6999 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7001 * nptl/tst-sem3.c: Use test-skeleton.c
7002 (main): Rename to do_test. Use return instead of
7004 * nptl/tst-sem4.c: Use test-skeleton.c
7005 (main): Rename to do_test.
7007 2014-04-22 David S. Miller <davem@davemloft.net>
7009 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7010 (struct sigaction): New struct member __glibc_reserved0, change
7011 type of sa_flags to int.
7013 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
7015 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7016 (COUNT_LEADING_ZEROS_0): Define for AArch64.
7018 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7020 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7021 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7023 2014-04-22 Will Newton <will.newton@linaro.org>
7024 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
7026 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7027 (__longjmp): Add longjmp and longjmp_target SystemTap
7029 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7030 (__sigsetjmp): Add setjmp SystemTap probe.
7032 2014-04-17 Carlos O'Donell <carlos@redhat.com>
7034 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7037 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7039 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7041 * sysdeps/powerpc/fpu/fenv_private.h
7042 (libc_feholdexcept_setroundl_ctx): Define to
7043 libc_feholdexcept_setround_ppc_ctx.
7044 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7045 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7046 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7047 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7049 2014-04-17 Ian Bolton <ian.bolton@arm.com>
7051 * sysdeps/aarch64/math-tests.h: New file.
7053 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
7055 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7057 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7058 Check and set bit_AVX2_Usable.
7059 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7061 (bit_AVX2): Likewise.
7062 (index_AVX2_Usable): Likewise.
7063 (CPUID_AVX2): Likewise.
7064 (HAS_AVX2): Likewise.
7066 2014-04-17 Will Newton <will.newton@linaro.org>
7068 * manual/setjmp.texi (System V contexts): Add note that
7069 calling setcontext on a context created by a call to a
7070 signal handler is undefined. Update text to note that
7071 setcontext from a signal handler is possible but not
7075 * stdlib/tst-setcontext.c: Include signal.h.
7076 (main): Check that the signal stack before and
7077 after swapcontext is the same.
7079 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7080 Re-implement to restore registers in user code and avoid
7081 rt_sigreturn system call.
7083 2014-04-17 Wilco <wdijkstr@arm.com>
7085 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7086 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7087 * math/test-fenv.c: Skip exception trap tests on targets which only
7088 support non-stop mode.
7090 2014-04-17 Ian Bolton <ian.bolton@arm.com>
7091 Wilco Dijkstra <wilco.dijkstra@arm.com>
7093 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7094 (libc_feholdsetround_aarch64_ctx)
7095 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7096 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7097 (libc_feresetround_ctx, libc_feresetroundf_ctx)
7098 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7099 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7100 (libc_feresetround_noexl_ctx): Define.
7102 2014-04-16 Richard Henderson <rth@redhat.com>
7104 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7106 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7109 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7110 const from the non-libc, non-ldso copy.
7112 * sysdeps/alpha/libm-test-ulps: Regenerate.
7114 2014-04-16 Ian Bolton <ian.bolton@arm.com>
7115 Wilco Dijkstra <wilco.dijkstra@arm.com>
7117 * sysdeps/aarch64/fpu/math_private.h: New file.
7119 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
7121 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7123 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
7126 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7127 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7128 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7129 Intel MPX bound registers before _dl_profile_fixup.
7130 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7131 registers after _dl_profile_fixup. Save and restore bound
7132 registers bnd0/bnd1 when calling _dl_call_pltexit.
7133 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7134 (LR_BND_OFFSET): Likewise.
7135 (LRV_BND0_OFFSET): Likewise.
7136 (LRV_BND1_OFFSET): Likewise.
7138 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7140 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7142 * sysdeps/mach/hurd/i386/tls.h: ... here.
7143 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7144 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7147 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7149 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7151 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7153 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7155 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7158 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7159 * sysdeps/s390/configure: Regenerate.
7162 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7163 Set round-to-nearest internally to reduce error accumulation.
7165 2014-04-16 Alan Modra <amodra@gmail.com>
7169 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7170 * math/libm-test.inc (frexp_test_data): Add tests.
7171 * NEWS: Update fixed bug list.
7173 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7175 * benchtests/Makefile: Depend on libraries in build directory.
7176 (bench-math): Separate out math tests.
7177 (bench-pthread): Separate out pthread tests.
7178 (bench): Include math and pthread tests.
7180 2014-04-14 Carlos O'Donell <carlos@redhat.com>
7183 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7184 _dl_debug_initialize.
7186 * configure.ac: Remove SELinux header check.
7187 * configure: Regenerate.
7188 * nscd/selinux.c (perms): Array of const char* to permission names.
7189 (nscd_request_avc_has_perm): Call security_deny_unknown to find
7190 default policy. Call string_to_security_class and string_to_av_perm to
7191 translate strings. Enforce default policy and call avs_has_perm with
7192 results of translated strings.
7194 2014-04-13 David S. Miller <davem@davemloft.net>
7196 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7198 2014-04-12 Allan McRae <allan@archlinux.org>
7201 * manual/string.texi (Collation Functions): Fix qsort argument
7203 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7205 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
7207 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7208 Make the test a no-op if there are no exceptions defined.
7210 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7212 * elf/Makefile (tests): make tst-dlopen-aout conditional on
7213 enable-hardcoded-path-in-tests
7215 2014-04-11 Will Newton <will.newton@linaro.org>
7217 * benchtests/Makefile (extra-objs): Add json-lib.o.
7218 (bench-func): Tidy up JSON output.
7219 * benchtests/bench-skeleton.c: Include json-lib.h.
7220 (main): Use JSON library functions to do output of
7222 * benchtests/bench-timing-type.c (main): Output the
7223 timing type simply, leaving formatting to the user.
7224 * benchtests/json-lib.c: New file.
7225 * benchtests/json-lib.h: Likewise.
7227 2014-04-11 Torvald Riegel <triegel@redhat.com>
7230 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7231 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
7232 memory barriers. Add comments.
7233 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7234 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7235 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7236 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7237 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7238 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7240 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7242 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7243 * sysdeps/s390/s390-64/configure.ac: ... this ...
7244 * sysdeps/s390/configure.ac: ... to here.
7245 * sysdeps/s390/s390-32/configure: Delete file.
7246 * sysdeps/s390/s390-64/configure: Delete file.
7247 * sysdeps/s390/configure: Regenerate.
7249 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
7251 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7253 2014-04-11 Will Newton <will.newton@linaro.org>
7255 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7256 to zero if it is not defined elsewhere. (mtrim): Test
7257 the value of MALLOC_DEBUG with #if rather than #ifdef.
7259 2014-04-10 Torvald Riegel <triegel@redhat.com>
7261 * benchtests/pthread_once-inputs: New file.
7262 * benchtests/pthread_once-source.c: New file.
7263 * benchtests/README: Update documentation.
7265 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
7266 H.J. Lu <hongjiu.lu@intel.com>
7269 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7270 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7271 * sysdeps/x86_64/configure: Regenerated.
7272 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7274 (REGISTER_SAVE_RAX): Likewise.
7275 (REGISTER_SAVE_RCX): Likewise.
7276 (REGISTER_SAVE_RDX): Likewise.
7277 (REGISTER_SAVE_RSI): Likewise.
7278 (REGISTER_SAVE_RDI): Likewise.
7279 (REGISTER_SAVE_R8): Likewise.
7280 (REGISTER_SAVE_R9): Likewise.
7281 (REGISTER_SAVE_BND0): Likewise.
7282 (REGISTER_SAVE_BND1): Likewise.
7283 (REGISTER_SAVE_BND2): Likewise.
7284 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
7285 bound registers when calling _dl_fixup.
7287 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7289 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7290 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7292 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7293 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7294 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7295 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7296 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7297 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7298 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7300 2014-04-09 Peter Brett <peter@peter-b.co.uk>
7303 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7304 pathconf(_PC_NAME_MAX).
7306 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7308 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7310 (__PTHREAD_SPINS): Move definition to ...
7311 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7312 (__PTHREAD_SPINS): ... here.
7313 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7314 (__PTHREAD_SPIN): Likewise.
7315 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7316 (__PTHREAD_SPIN): Likewise.
7317 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7318 (__PTHREAD_SPIN): Likewise.
7319 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7320 (__PTHREAD_SPIN): Likewise.
7321 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7322 (__PTHREAD_SPIN): Likewise.
7323 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7324 (__PTHREAD_SPIN): Likewise.
7325 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7326 (__PTHREAD_SPIN): Likewise.
7327 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7328 (__PTHREAD_SPIN): Likewise.
7329 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7330 (__PTHREAD_SPIN): Likewise.
7331 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7332 (__PTHREAD_SPIN): Likewise.
7333 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7334 (__PTHREAD_SPIN): Likewise.
7335 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7336 (__PTHREAD_SPIN): Likewise.
7338 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7339 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7340 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7341 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7343 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7344 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7345 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7346 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7348 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7349 strlen symbol for non multi-arch builds.
7350 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7351 missing hidden_def and weak_alias.
7353 2014-04-08 Carlos O'Donell <carlos@redhat.com>
7355 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7357 2014-04-07 Will Newton <will.newton@linaro.org>
7359 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7360 and contents. [!_LIBC] Remove #ifndef and contents.
7361 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
7362 * string/memccpy.c (__memccpy): Use ANSI prototype.
7363 * string/memfrob.c (memfrob): Likewise.
7364 * string/strcoll.c (STRCOLL): Likewise.
7365 * string/strlen.c (strlen): Likewise.
7366 * string/strtok.c (STRTOK): Likewise.
7367 * string/strcat.c: Remove unused #include of memcopy.h.
7368 (strcat): Use ANSI prototype.
7369 * string/strchr.c: Remove unused #include of memcopy.h.
7370 (strchr): Use ANSI prototype.
7371 * string/strcmp.c: Remove unused #include of memcopy.h.
7372 (strcmp): Use ANSI prototype.
7373 * string/strcpy.c: Remove unused #include of memcopy.h.
7374 (strcpy): Use ANSI prototype.
7376 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7378 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7379 * config.make.in (config-extra-cppflags): Set it from
7380 libc_extra_cppflags.
7381 * configure.ac (libc_extra_cflags): Make it accumulate over
7382 configure fragments.
7383 (libc_extra_cppflags): New flag.
7384 * configure. Regenerate.
7385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7386 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7387 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7391 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7392 result for FE_DOWNWARD rounding mode.
7393 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7397 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
7399 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7400 in function argument name.
7402 2014-04-03 David Svoboda <svoboda@cert.org>
7405 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7408 2014-04-03 Roland McGrath <roland@hack.frob.com>
7410 * elf/dl-unmap-segments.h: New file.
7411 * sysdeps/generic/ldsodefs.h
7412 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7413 * elf/dl-close.c: Include <dl-unmap-segments.h>.
7414 * elf/dl-fptr.c: Likewise.
7415 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7416 * sysdeps/aarch64/tlsdesc.c: Likewise.
7417 * sysdeps/arm/tlsdesc.c: Likewise.
7418 * sysdeps/i386/tlsdesc.c: Likewise.
7419 * sysdeps/tile/dl-runtime.c: Likewise.
7420 * sysdeps/x86_64/tlsdesc.c: Likewise.
7421 * elf/dl-load.h: New file.
7422 * elf/dl-load.c: Include it.
7423 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7424 Macros moved to dl-load.h.
7425 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7426 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7427 Use _dl_unmap_segments in place of __munmap.
7428 Break out segment-mapping loop into ...
7429 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7431 2014-04-03 Will Newton <will.newton@linaro.org>
7433 * elf/dl-lookup.c (do_lookup_x): Remove comment
7434 referring to nested function and move variable
7435 declarations down to before first use.
7437 2014-04-02 Joseph Myers <joseph@codesourcery.com>
7441 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7443 * math/s_catanf.c (__catanf): Likewise.
7444 * math/s_catanh.c (__catanh): Likewise.
7445 * math/s_catanhf.c (__catanhf): Likewise.
7446 * math/s_catanhl.c (__catanhl): Likewise.
7447 * math/s_catanl.c (__catanl): Likewise.
7448 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7449 by positive zero when computing -Inf result.
7450 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7451 (catanh_test): Likewise.
7452 * sysdeps/i386/fpu/libm-test-ulps: Update.
7453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7456 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7457 instead of using underflowing value in computing result.
7458 * math/s_clog10.c (__clog10): Likewise.
7459 * math/s_clog10f.c (__clog10f): Likewise.
7460 * math/s_clog10l.c (__clog10l): Likewise.
7461 * math/s_clogf.c (__clogf): Likewise.
7462 * math/s_clogl.c (__clogl): Likewise.
7463 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7464 (clog10_test): Likewise.
7465 * sysdeps/i386/fpu/libm-test-ulps: Update.
7466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7468 2014-04-02 Alan Modra <amodra@gmail.com>
7471 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7472 output when value is near a power of two. Use int64_t for lx and
7473 remove casts. Use decimal rather than hex exponent constants.
7474 Don't use long double multiplication when double will suffice.
7475 * math/libm-test.inc (nextafter_test_data): Add tests.
7476 * NEWS: Add 16739 and 16786 to bug list.
7478 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7480 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7482 2014-04-01 Will Newton <will.newton@linaro.org>
7484 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7485 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
7487 2014-04-01 Florian Weimer <fweimer@redhat.com>
7490 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7491 * nptl/tst-setuid2.c: New file.
7492 * nptl/Makefile (xtests): Add tst-setuid2.
7494 2014-04-01 Alan Modra <amodra@gmail.com>
7497 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7499 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7503 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7504 set errno as appropriate.
7505 * math/w_scalbf.c (__scalbf): Likewise.
7506 * math/w_scalbl.c (__scalbl): Likewise.
7507 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7508 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7509 * math/libm-test.inc (scalb_test_data): Add errno expectations.
7513 * math/w_atan2.c: Include <errno.h>.
7514 (__atan2): Set errno for result underflowing to zero.
7515 * math/w_atan2f.c: Include <errno.h>.
7516 (__atan2f): Set errno for result underflowing to zero.
7517 * math/w_atan2l.c: Include <errno.h>.
7518 (__atan2l): Set errno for result underflowing to zero.
7519 * math/auto-libm-test-in: Don't allow missing errno for some atan2
7521 * math/auto-libm-test-out: Regenerated.
7523 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7525 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7526 Encode instruction correctly in little endian.
7527 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7529 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7531 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7533 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7536 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7539 * sysdeps/unix/sysv/linux/kernel-features.h
7540 [__sparc__ && !__arch64__ && !__sparc_v9__]
7541 (__ASSUME_SET_ROBUST_LIST): Do not define.
7542 [__sparc__ && !__arch64__ && !__sparc_v9__]
7543 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7544 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7546 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7547 (__ASSUME_FUTEX_LOCK_PI): Undefine.
7548 (__ASSUME_REQUEUE_PI): Likewise.
7549 (__ASSUME_SET_ROBUST_LIST): Likewise.
7550 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7551 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7553 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7554 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7556 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7558 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7560 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7561 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7563 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7564 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7568 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7569 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7570 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7572 2014-03-31 Will Newton <will.newton@linaro.org>
7574 * benchtests/Makefile (bench): Add ffs and ffsll to list
7576 * benchtests/ffs-inputs: New file.
7577 * benchtests/ffsll-inputs: Likewise.
7579 2014-03-29 Joseph Myers <joseph@codesourcery.com>
7582 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7583 too large before casting to int.
7584 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7585 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7586 * math/libm-test.inc (scalb_test_data): Add more tests.
7588 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7590 * benchtests/Makefile (DETAILED_OPT): New make option.
7591 (bench-func): Run benchmark program with -d if DETAILED_OPT is
7593 * benchtests/bench-skeleton.c: Include stdbool.h.
7594 (main): Store and print timings per input.
7595 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7596 member to each argument value.
7597 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7598 (_print_arg_data): Initialize per-input timing to 0.
7600 * benchtests/Makefile (timing-type): New binary.
7601 (bench-clean): Also remove bench-timing-type.
7602 (bench): New target for timing-type.
7603 (bench-func): Print output in JSON format.
7604 * benchtests/bench-skeleton.c (main): Print output in JSON
7606 * benchtests/bench-timing-type.c: New file.
7607 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7608 (TIMING_PRINT_STATS): Remove.
7609 * benchtests/scripts/bench.py (_print_arg_data): Store variant
7612 * benchtests/bench-modf.c: Remove.
7613 * benchtests/modf-inputs: New inputs file.
7615 2014-03-28 Joseph Myers <joseph@codesourcery.com>
7618 * math/s_clog10.c (M_PI_LOG10E): New macro.
7619 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7620 imaginary parts are 0.
7621 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7622 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7623 imaginary parts are 0.
7624 * math/s_clog10l.c (M_PI_LOG10El): New macro.
7625 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7626 imaginary parts are 0.
7627 * math/libm-test.inc (clog10_test_data): Update expected results
7628 for when real and imaginary parts are 0.
7630 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7632 * elf/dl-load.c: Finish conversion of __builtin_expect into
7635 2014-03-27 Joseph Myers <joseph@codesourcery.com>
7638 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7639 1+x for argument with exponent below -67.
7640 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7642 * math/auto-libm-test-in: Add more tests of exp.
7643 * math/auto-libm-test-out: Regenerated.
7645 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7648 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7649 (nscd_getnetgrent): Use it.
7652 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7655 2014-03-27 Andi Kleen <ak@linux.intel.com>
7657 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7658 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7659 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7660 (lll_robust_unlock): Remove out of line section. Use cfi
7662 (LLL_STUB_UNWIND_INFO*): Remove.
7663 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7664 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7665 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7666 (lll_robust_unlock): Remove out of line section. Use cfi
7668 (LLL_STUB_UNWIND_INFO*): Remove.
7670 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7673 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7676 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7678 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7680 2014-03-26 Joseph Myers <joseph@codesourcery.com>
7683 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7685 * math/test-fenv-preserve.c: New file.
7686 * math/Makefile (tests): Add test-fenv-preserve.
7688 2014-03-26 Will Newton <will.newton@linaro.org>
7690 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7692 2014-03-25 Roland McGrath <roland@hack.frob.com>
7694 * scripts/versionlist.awk: Partition the version sets and emit all
7695 GLIBC_* (sorted) before all others (sorted).
7697 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7699 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7700 GLIBC_2.2.5 version.
7702 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7704 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7707 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7712 2014-03-25 Andreas Schwab <schwab@suse.de>
7714 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7715 label to be used after in6ailist is initialized.
7717 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7719 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7720 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7722 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7726 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7728 (fp_formats): Update initializers.
7729 (init_fp_formats): Initialize new field.
7730 (output_for_one_input_case): Allow underflow for results up to
7732 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7733 * math/auto-libm-test-in: Don't mark some underflows from asin and
7735 * math/auto-libm-test-out: Regenerated.
7736 * sysdeps/i386/fpu/libm-test-ulps: Update.
7737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7739 2014-03-25 Andreas Schwab <schwab@suse.de>
7741 * libio/Makefile (tst-ftell-partial-wide-ENV)
7742 (tst-ftell-active-handler-ENV): Define.
7744 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7746 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7748 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7750 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7752 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7754 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7755 * sysdeps/x86_64/fpu/multiarch/e_exp.c
7756 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7758 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7761 * elf/dl-load.c (open_verify): Add mode parameter.
7762 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7763 (open_path): Change from boolean 'secure' to complete flag 'mode'
7764 (_dl_map_object): Adjust.
7765 * elf/Makefile (tests): Add tst-dlopen-aout.
7766 * elf/tst-dlopen-aout.c: New test.
7768 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7771 * sysdeps/unix/sysv/linux/s390/bits/stat.h
7772 (struct stat): Rename member pad0 to __glibc_reserved0.
7775 * sysdeps/s390/s390-32/bits/wordsize.h
7776 (__WORDSIZE32_SIZE_ULONG): New define.
7777 * sysdeps/s390/s390-64/bits/wordsize.h
7778 (__WORDSIZE32_SIZE_ULONG): Likewise.
7779 * sysdeps/generic/stdint.h (SIZE_MAX):
7780 Define as UL if __WORDSIZE32_SIZE_ULONG.
7783 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7784 (__glibc_reserved0): New variable.
7785 (sa_flags): Change type to int.
7787 * posix/Makefile (before-compile): Use += before-compile instead
7790 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7791 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7793 2014-03-20 Andreas Schwab <schwab@suse.de>
7796 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7797 non-matching result from nscd.
7799 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7801 * scripts/bench.py: Moved to ...
7802 * benchtests/scripts/bench.py: ... here.
7803 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7805 2014-03-24 Andreas Schwab <schwab@suse.de>
7808 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7809 alloca_account and account alloca use for struct in6ailist.
7811 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7814 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7815 rounding mode to recompute results that overflow to infinity or
7817 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7819 * math/auto-libm-test-out: Regenerated.
7820 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7821 (ccosh_test): Likewise.
7822 (csin_test_data): Use plus_oflow.
7823 (csin_test): Use ALL_RM_TEST.
7824 (csinh_test_data): Use plus_oflow.
7825 (csinh_test): Use ALL_RM_TEST.
7826 * sysdeps/i386/fpu/libm-test-ulps: Update.
7827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7829 2014-03-21 Joseph Myers <joseph@codesourcery.com>
7831 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7832 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7833 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7836 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7838 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7839 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7840 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7841 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7843 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7844 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7846 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7847 * sysdeps/i386/fpu/libm-test-ulps: Update.
7848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7850 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7852 * scripts/bench.pl: Remove file.
7853 * scripts/bench.py: New benchmark script.
7854 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7855 * benchtests/README: Mention python dependency.
7856 * scripts/pylintrc: New file.
7857 * scripts/pylint: New file.
7859 * bits/mathdef.h: Use #ifdef instead of #if.
7860 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7861 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7862 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7863 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7864 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7865 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7867 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7868 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7870 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7871 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7872 and strpbrk-ppc64 objects.
7873 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7874 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7875 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7876 multiarch strpbrk for POWER7.
7877 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7878 multiarch strpbrk for PPC64.
7879 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7881 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7884 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7886 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7887 (atan_test): Likewise.
7888 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7889 (atanh_test): Use ALL_RM_TEST.
7890 (atan2_test_data): Likewise.
7891 (cabs_test): Likewise.
7892 (cacosh_test): Likewise.
7893 (carg_test): Likewise.
7894 (casin_test): Likewise.
7895 (casinh_test): Likewise.
7896 (cbrt_test): Likewise.
7897 (csqrt_test): Likewise.
7898 (erf_test): Likewise.
7899 (erfc_test): Likewise.
7900 (pow10_test): Likewise.
7901 (exp2_test): Likewise.
7902 (hypot_test): Likewise.
7903 (j0_test): Likewise.
7904 (j1_test): Likewise.
7905 (lgamma_test): Likewise.
7906 (gamma_test): Likewise.
7907 (sincos_test): Likewise.
7908 (tanh_test): Likewise.
7909 (y0_test): Likewise.
7910 (y1_test): Likewise.
7911 * sysdeps/i386/fpu/libm-test-ulps: Update.
7912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7914 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7916 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7917 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7918 and strcspn-ppc64 objects.
7919 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7920 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7921 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7922 multiarch strcspn for POWER7.
7923 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7924 multiarch strcspn for PPC64.
7925 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7927 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7930 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7932 * math/gen-libm-test.pl (generate_testfile): Expect only function
7933 name as argument to AUTO_TESTS_* and pass results for all rounding
7934 modes to parse_args.
7935 (parse_auto_input): Separate inputs of automatic tests from
7936 outputs before storing in %auto_tests.
7937 * math/libm-test.inc (acos_test_data): Update call to
7939 (acos_test): Use ALL_RM_TEST.
7940 (acos_tonearest_test_data): Remove.
7941 (acos_test_tonearest): Likewise.
7942 (acos_towardzero_test_data): Likewise.
7943 (acos_test_towardzero): Likewise.
7944 (acos_downward_test_data): Likewise.
7945 (acos_test_downward): Likewise.
7946 (acos_upward_test_data): Likewise.
7947 (acos_test_upward): Likewise.
7948 (acosh_test_data): Update call to AUTO_TESTS_f_f.
7949 (asin_test_data): Likewise.
7950 (asin_test): Use ALL_RM_TEST.
7951 (asin_tonearest_test_data): Remove.
7952 (asin_test_tonearest): Likewise.
7953 (asin_towardzero_test_data): Likewise.
7954 (asin_test_towardzero): Likewise.
7955 (asin_downward_test_data): Likewise.
7956 (asin_test_downward): Likewise.
7957 (asin_upward_test_data): Likewise.
7958 (asin_test_upward): Likewise.
7959 (asinh_test_data): Update call to AUTO_TESTS_f_f.
7960 (atan_test_data): Likewise.
7961 (atanh_test_data): Likewise.
7962 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7963 (cabs_test_data): Update call to AUTO_TESTS_c_f.
7964 (carg_test_data): Likewise.
7965 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7966 (ccos_test_data): Update call to AUTO_TESTS_c_c.
7967 (ccosh_test_data): Likewise.
7968 (cexp_test_data): Likewise.
7969 (clog_test_data): Likewise.
7970 (clog10_test_data): Likewise.
7971 (cos_test_data): Update call to AUTO_TESTS_f_f.
7972 (cos_test): Use ALL_RM_TEST.
7973 (cos_tonearest_test_data): Remove.
7974 (cos_test_tonearest): Likewise.
7975 (cos_towardzero_test_data): Likewise.
7976 (cos_test_towardzero): Likewise.
7977 (cos_downward_test_data): Likewise.
7978 (cos_test_downward): Likewise.
7979 (cos_upward_test_data): Likewise.
7980 (cos_test_upward): Likewise.
7981 (cosh_test_data): Update call to AUTO_TESTS_f_f.
7982 (cosh_test): Use ALL_RM_TEST.
7983 (cosh_tonearest_test_data): Remove.
7984 (cosh_test_tonearest): Likewise.
7985 (cosh_towardzero_test_data): Likewise.
7986 (cosh_test_towardzero): Likewise.
7987 (cosh_downward_test_data): Likewise.
7988 (cosh_test_downward): Likewise.
7989 (cosh_upward_test_data): Likewise.
7990 (cosh_test_upward): Likewise.
7991 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7992 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7993 (ctan_test_data): Likewise.
7994 (ctan_test): Use ALL_RM_TEST.
7995 (ctan_tonearest_test_data): Remove.
7996 (ctan_test_tonearest): Likewise.
7997 (ctan_towardzero_test_data): Likewise.
7998 (ctan_test_towardzero): Likewise.
7999 (ctan_downward_test_data): Likewise.
8000 (ctan_test_downward): Likewise.
8001 (ctan_upward_test_data): Likewise.
8002 (ctan_test_upward): Likewise.
8003 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8004 (ctanh_test): Use ALL_RM_TEST.
8005 (ctanh_tonearest_test_data): Remove.
8006 (ctanh_test_tonearest): Likewise.
8007 (ctanh_towardzero_test_data): Likewise.
8008 (ctanh_test_towardzero): Likewise.
8009 (ctanh_downward_test_data): Likewise.
8010 (ctanh_test_downward): Likewise.
8011 (ctanh_upward_test_data): Likewise.
8012 (ctanh_test_upward): Likewise.
8013 (erf_test_data): Update call to AUTO_TESTS_f_f.
8014 (erfc_test_data): Likewise.
8015 (exp_test_data): Likewise.
8016 (exp_test): Use ALL_RM_TEST.
8017 (exp_tonearest_test_data): Remove.
8018 (exp_test_tonearest): Likewise.
8019 (exp_towardzero_test_data): Likewise.
8020 (exp_test_towardzero): Likewise.
8021 (exp_downward_test_data): Likewise.
8022 (exp_test_downward): Likewise.
8023 (exp_upward_test_data): Likewise.
8024 (exp_test_upward): Likewise.
8025 (exp10_test_data): Update call to AUTO_TESTS_f_f.
8026 (exp10_test): Use ALL_RM_TEST.
8027 (exp10_tonearest_test_data): Remove.
8028 (exp10_test_tonearest): Likewise.
8029 (exp10_towardzero_test_data): Likewise.
8030 (exp10_test_towardzero): Likewise.
8031 (exp10_downward_test_data): Likewise.
8032 (exp10_test_downward): Likewise.
8033 (exp10_upward_test_data): Likewise.
8034 (exp10_test_upward): Likewise.
8035 (exp2_test_data): Update call to AUTO_TESTS_f_f.
8036 (expm1_test_data): Likewise.
8037 (expm1_test): Use ALL_RM_TEST.
8038 (expm1_tonearest_test_data): Remove.
8039 (expm1_test_tonearest): Likewise.
8040 (expm1_towardzero_test_data): Likewise.
8041 (expm1_test_towardzero): Likewise.
8042 (expm1_downward_test_data): Likewise.
8043 (expm1_test_downward): Likewise.
8044 (expm1_upward_test_data): Likewise.
8045 (expm1_test_upward): Likewise.
8046 (fma_test_data): Update call to AUTO_TESTS_fff_f.
8047 (fma_test): Use ALL_RM_TEST.
8048 (fma_towardzero_test_data): Remove.
8049 (fma_test_towardzero): Likewise.
8050 (fma_downward_test_data): Likewise.
8051 (fma_test_downward): Likewise.
8052 (fma_upward_test_data): Likewise.
8053 (fma_test_upward): Likewise.
8054 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8055 (j0_test_data): Update call to AUTO_TESTS_f_f.
8056 (j1_test_data): Likewise.
8057 (jn_test_data): Update call to AUTO_TESTS_if_f.
8058 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8059 (log_test_data): Update call to AUTO_TESTS_f_f.
8060 (log10_test_data): Likewise.
8061 (log1p_test_data): Likewise.
8062 (log2_test_data): Likewise.
8063 (pow_test_data): Update call to AUTO_TESTS_ff_f.
8064 (pow_tonearest_test_data): Likewise.
8065 (sin_test_data): Update call to AUTO_TESTS_f_f.
8066 (sin_test): Use ALL_RM_TEST.
8067 (sin_tonearest_test_data): Remove.
8068 (sin_test_tonearest): Likewise.
8069 (sin_towardzero_test_data): Likewise.
8070 (sin_test_towardzero): Likewise.
8071 (sin_downward_test_data): Likewise.
8072 (sin_test_downward): Likewise.
8073 (sin_upward_test_data): Likewise.
8074 (sin_test_upward): Likewise.
8075 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8076 (sinh_test_data): Update call to AUTO_TESTS_f_f.
8077 (sinh_test): Use ALL_RM_TEST.
8078 (sinh_tonearest_test_data): Remove.
8079 (sinh_test_tonearest): Likewise.
8080 (sinh_towardzero_test_data): Likewise.
8081 (sinh_test_towardzero): Likewise.
8082 (sinh_downward_test_data): Likewise.
8083 (sinh_test_downward): Likewise.
8084 (sinh_upward_test_data): Likewise.
8085 (sinh_test_upward): Likewise.
8086 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8087 (sqrt_test): Use ALL_RM_TEST.
8088 (sqrt_tonearest_test_data): Remove.
8089 (sqrt_test_tonearest): Likewise.
8090 (sqrt_towardzero_test_data): Likewise.
8091 (sqrt_test_towardzero): Likewise.
8092 (sqrt_downward_test_data): Likewise.
8093 (sqrt_test_downward): Likewise.
8094 (sqrt_upward_test_data): Likewise.
8095 (sqrt_test_upward): Likewise.
8096 (tan_test_data): Update call to AUTO_TESTS_f_f.
8097 (tan_test): Use ALL_RM_TEST.
8098 (tan_tonearest_test_data): Remove.
8099 (tan_test_tonearest): Likewise.
8100 (tan_towardzero_test_data): Likewise.
8101 (tan_test_towardzero): Likewise.
8102 (tan_downward_test_data): Likewise.
8103 (tan_test_downward): Likewise.
8104 (tan_upward_test_data): Likewise.
8105 (tan_test_upward): Likewise.
8106 (tanh_test_data): Update call to AUTO_TESTS_f_f.
8107 (tgamma_test_data): Likewise.
8108 (y0_test_data): Likewise.
8109 (y1_test_data): Likewise.
8110 (yn_test_data): Update call to AUTO_TESTS_if_f.
8111 (main): Do not call removed functions.
8113 2014-03-19 Joseph Myers <joseph@codesourcery.com>
8115 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8116 (ldexp_test_data): Remove.
8117 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
8119 (scalb_test): Use ALL_RM_TEST.
8121 2014-03-19 Andreas Schwab <schwab@suse.de>
8123 * nscd/nscd.service: Also invalidate netgroup cache on reload.
8125 2014-03-19 Joseph Myers <joseph@codesourcery.com>
8128 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8129 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8130 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8131 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8132 (__ASSUME_PREADV): Undefine.
8133 (__ASSUME_PWRITEV): Likewise.
8135 2014-03-18 Roland McGrath <roland@hack.frob.com>
8137 * bits/mman-linux.h: Add comment about non-Linux use.
8138 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8139 bits/mman-linux.h resting place.
8141 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8142 * bits/mman-linux.h: ... here.
8144 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8146 * conform/conformtest.pl: Add standard definition when calling C
8147 preprocessor on data files.
8148 (checknamespace): Remove unused variable.
8150 2014-03-18 Joseph Myers <joseph@codesourcery.com>
8152 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8153 minus_oflow, plus_uflow and minus_uflow in expected results.
8154 * math/libm-test.inc (scalbn_test_data): Add more tests of
8155 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
8157 (scalbn_test): Use ALL_RM_TEST.
8158 (scalbln_test_data): Add more tests of negative arguments. Use
8159 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8160 (scalbln_test): Use ALL_RM_TEST.
8162 2014-03-18 Roland McGrath <roland@hack.frob.com>
8164 * scripts/abilist.awk: Ignore symbols marked with .hidden.
8166 2014-03-18 Will Newton <will.newton@linaro.org>
8168 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8171 2014-03-18 Joseph Myers <joseph@codesourcery.com>
8173 * Makerules [!subdir] (check-abi): Exit with error status if a
8176 2014-03-17 Joseph Myers <joseph@codesourcery.com>
8178 * math/libm-test.inc (nearbyint_test_data): Include all tests used
8179 for rint. Include results for all rounding modes.
8180 (nearbyint_test): Use ALL_RM_TEST.
8181 (rint_test_data): Include all tests used for nearbyint.
8183 2014-03-17 Will Newton <will.newton@linaro.org>
8185 * nptl/sysdeps/pthread/pthread.h: Revert previous
8188 * sysdeps/generic/ldsodefs.h: Revert previous
8191 * libio/genops.c: Revert previous change.
8192 * libio/libioP.h: Likewise.
8193 * stdio-common/vfprintf.c: Likewise.
8195 * sysdeps/generic/math_private.h: Revert previous
8198 * sysdeps/generic/math_private.h: Check whether
8199 HAVE_RM_CTX is defined with #ifdef rather
8202 * argp/argp-fmtstream.h: Check whether
8203 __STRICT_ANSI__ is defined with #ifdef rather
8205 * argp/argp.h: Likewise.
8207 * libio/genops.c: Check whether
8208 _IO_JUMPS_OFFSET is defined with #ifdef rather
8210 * libio/libioP.h: Likewise.
8211 * stdio-common/vfprintf.c: Likewise.
8213 * sysdeps/generic/ldsodefs.h: Check whether
8214 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8217 * nptl/sysdeps/pthread/pthread.h: Check
8218 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8221 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8223 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8225 * libio/tst-ftell-active-handler.c (do_append_test): Add a
8229 * libio/fileops.c (_IO_file_open): Seek to end of file but
8230 don't cache the offset.
8231 (get_file_offset): Remove function.
8232 (do_ftell): Use cached offset when available.
8233 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8234 don't cache the offset.
8235 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8237 (do_one_test): Call it.
8238 (do_ftell_test): Fix up expected old offset for a+ mode.
8239 * libio/wfileops.c (do_ftell_wide): Used cached offset when
8242 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8243 up test status with function return status.
8244 (do_write_test): Likewise.
8245 (do_append_test): Likewise.
8247 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8248 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8251 2014-03-17 Joseph Myers <joseph@codesourcery.com>
8253 * math/gen-libm-test.pl (parse_args): Handle results specified for
8254 each rounding mode separately.
8255 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8256 tests and results from lrint_tonearest_test_data,
8257 lrint_towardzero_test_data, lrint_downward_test_data and
8258 lrint_upward_test_data.
8259 (lrint_test): Use ALL_RM_TEST.
8260 (lrint_tonearest_test_data): Remove.
8261 (lrint_test_tonearest): Likewise.
8262 (lrint_towardzero_test_data): Likewise.
8263 (lrint_test_towardzero): Likewise.
8264 (lrint_downward_test_data): Likewise.
8265 (lrint_test_downward): Likewise.
8266 (lrint_upward_test_data): Likewise.
8267 (lrint_test_upward): Likewise.
8268 (llrint_test_data): Merge in per-rounding-mode tests and results
8269 from llrint_tonearest_test_data, llrint_towardzero_test_data,
8270 llrint_downward_test_data and llrint_upward_test_data.
8271 (llrint_test): Use ALL_RM_TEST.
8272 (llrint_tonearest_test_data): Remove.
8273 (llrint_test_tonearest): Likewise.
8274 (llrint_towardzero_test_data): Likewise.
8275 (llrint_test_towardzero): Likewise.
8276 (llrint_downward_test_data): Likewise.
8277 (llrint_test_downward): Likewise.
8278 (llrint_upward_test_data): Likewise.
8279 (llrint_test_upward): Likewise.
8280 (rint_test_data): Merge in per-rounding-mode tests and results
8281 from rint_tonearest_test_data, rint_towardzero_test_data,
8282 rint_downward_test_data and rint_upward_test_data. Add
8283 per-rounding-mode results for tests not in those arrays.
8284 (rint_test): Use ALL_RM_TEST.
8285 (rint_tonearest_test_data): Remove.
8286 (rint_test_tonearest): Likewise.
8287 (rint_towardzero_test_data): Likewise.
8288 (rint_test_towardzero): Likewise.
8289 (rint_downward_test_data): Likewise.
8290 (rint_test_downward): Likewise.
8291 (rint_upward_test_data): Likewise.
8292 (rint_test_upward): Likewise.
8293 (main): Don't call removed functions.
8295 2014-03-14 Roland McGrath <roland@hack.frob.com>
8297 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8298 "Compiled on ..." crapola. It is anti-useful.
8300 2014-03-14 Joseph Myers <joseph@codesourcery.com>
8302 * scripts/evaluate-test.sh: Handle fourth argument to determine
8303 whether test run should stop on failure.
8304 * Makeconfig (stop-on-test-failure): New variable.
8305 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8306 $(stop-on-test-failure).
8307 * Makefile (tests): Give a summary of results from testing and
8308 exit with failure status if they include an ERROR or FAIL.
8310 * manual/install.texi (Configuring and compiling): Mention
8311 stop-on-test-failure=y.
8312 * INSTALL: Regenerated.
8314 2014-03-14 Roland McGrath <roland@hack.frob.com>
8316 * scripts/versionlist.awk: New file.
8317 * Makerules [$(build-shared) = yes]
8318 (postclean-generated): Add Versions.def, not Versions.def.v and
8320 ($(common-objpfx)Versions.def.v.i): Target removed.
8321 ($(common-objpfx)Versions.def): New target.
8322 ($(common-objpfx)Versions.all): Depend on that rather that
8323 $(common-objpfx)Versions.def.v.
8324 * Versions.def: File removed.
8326 * Makeconfig (+gccwarn): Add -Wundef.
8327 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8328 a dl-sysdep.h breaking its contract.
8329 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8330 * include/stackinfo.h: New file.
8331 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8332 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8333 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8334 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8335 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8336 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8337 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8338 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8339 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8340 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8341 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8342 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8343 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8344 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8345 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8347 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8350 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8352 * math/libm-test.inc (round_test_data): Add more tests.
8355 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8357 * math/libm-test.inc (nearbyint_test_data): Add more tests.
8360 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8362 * math/libm-test.inc (ceil_test_data): Add more tests.
8364 * math/libm-test.inc (trunc_test_data): Add more tests related to
8367 2014-03-14 Roland McGrath <roland@hack.frob.com>
8369 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8370 with #if rather than #ifdef.
8371 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8373 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
8375 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8376 first. Disable AVX-512 GCC support if assembler doesn't support
8378 * sysdeps/x86_64/configure: Regenerated.
8380 2014-03-13 Carlos O'Donell <carlos@redhat.com>
8382 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8383 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8384 (__old_pthread_attr_setstack): Likewise.
8385 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8386 [!_STACK_GROWS_DOWN]: Likewise.
8388 2014-03-13 Mike Frysinger <vapier@gentoo.org>
8390 * config.make.in (have-bash2): Delete.
8391 * configure.ac (libc_cv_have_bash2): Delete.
8392 * configure: Regenerate.
8393 * elf/Makefile (common-ldd-rewrite): Rename to ...
8394 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
8395 (sh-ldd-rewrite): Delete.
8396 (bash-ldd-rewrite): Delete.
8397 (have-bash2): Delete checks.
8398 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8401 * config.make.in (have-ksh): Delete.
8403 * configure.ac (libc_cv_have_ksh): Delete.
8404 * configure: Regenerate.
8406 * elf/Makefile: Delete $(have-ksh) check.
8407 ($(objpfx)sotruss): Change KSH to BASH.
8408 * elf/sotruss.ksh: Rename to ...
8409 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
8410 function style to match POSIX. Drop ksh vim mode setting.
8412 * manual/time.texi (Specifying the Time Zone with TZ): Change
8413 Tuesday to Thursday.
8415 * debug/tst-longjmp_chk2.c: Update header comment.
8416 (stackoverflow_handler): Add comment. Call assert on pass value.
8418 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
8421 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8422 (HAVE_AVX512_ASM_SUPPORT): Likewise.
8423 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8424 (La_x86_64_vector): Add zmm.
8425 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8426 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8427 ($(objpfx)tst-audit10): New target.
8428 ($(objpfx)tst-audit10.out): Likewise.
8429 (tst-audit10-ENV): New.
8430 (AVX512-CFLAGS): Likewise.
8431 (CFLAGS-tst-audit10.c): Likewise.
8432 (CFLAGS-tst-auditmod10a.c): Likewise.
8433 (CFLAGS-tst-auditmod10b.c): Likewise.
8434 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8435 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8436 * sysdeps/x86_64/configure: Regenerated.
8437 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8438 AVX-512 zmm register support.
8439 (_dl_x86_64_save_sse): Likewise.
8440 (_dl_x86_64_restore_sse): Likewise.
8441 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8442 size vector registers.
8443 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8444 (ZMM_SIZE): Likewise.
8445 * sysdeps/x86_64/tst-audit10.c: New file.
8446 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8447 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8449 2014-03-13 Roland McGrath <roland@hack.frob.com>
8451 * configure.ac (HAVE_EHDR_START): New check.
8452 * configure: Regenerated.
8453 * config.h.in (HAVE_EHDR_START): New #undef.
8454 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8455 assuming the lowest-addressed segment maps the start of the file.
8457 2014-03-13 Joseph Myers <joseph@codesourcery.com>
8459 * INSTALL: Regenerated.
8461 2014-03-13 Will Newton <will.newton@linaro.org>
8463 * manual/setjmp.texi (System V contexts): Improve
8464 clarity and grammar of documentation.
8466 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8469 * elf/Makefile (tests): Add tst-pie2.
8470 (tests-pie): Add tst-pie2.
8471 * elf/tst-pie2.c: New file.
8472 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8474 * elf/rtld.c (map_doit): Load executable as lt_executable.
8475 (dl_main): Likewise.
8477 2014-03-12 Joseph Myers <joseph@codesourcery.com>
8480 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8481 (__ASSUME_PSELECT): Undefine.
8483 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8486 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8487 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8489 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8490 selector for static builds.
8492 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8495 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8498 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8500 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8501 IFUNC selector for static builds.
8503 2014-03-11 Joseph Myers <joseph@codesourcery.com>
8505 * sysdeps/mips/math_private.h [__mips_hard_float]
8506 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8507 libc_feresetround_mips_ctx.
8508 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8509 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8510 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8513 * math/s_nextafter.c (__nextafter): Do not return value from
8514 overflowing computation.
8515 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8516 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8517 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8519 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8521 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8522 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8524 2014-03-11 Roland McGrath <roland@hack.frob.com>
8526 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8527 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8528 Move sfi_sp use from the load-multiple (that no longer sets sp) to
8529 the new mov targetting sp.
8531 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8534 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8535 Define it for static builds as well.
8536 (NO_BZERO_IMPL): Likewise.
8538 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8540 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8541 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8542 multiarch strspn for PPC64.
8543 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8544 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8545 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8546 (__libc_ifunc_impl_list): Likewise.
8547 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8548 multiarch optimizations
8549 * string/strspn.c (strspn): Using macro to redefine symbol name.
8551 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8552 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8554 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8555 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8556 multiarch strncat for PPC64.
8557 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8558 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8559 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8560 (__libc_ifunc_impl_list): Likewise.
8561 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8562 multiarch optimizations
8564 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8567 * nscd/nscd.service: Make service type forking.
8569 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8571 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8572 sign in non default rounding modes.
8573 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8575 2014-03-08 Joseph Myers <joseph@codesourcery.com>
8577 * math/libm-test.inc (ALL_RM_TEST): New macro.
8578 (ceil_test): Use ALL_RM_TEST.
8579 (cimag_test): Likewise.
8580 (conj_test): Likewise.
8581 (copysign_test): Likewise.
8582 (cproj_test): Likewise.
8583 (creal_test): Likewise.
8584 (fabs_test): Likewise.
8585 (floor_test): Likewise.
8586 (fmax_test): Likewise.
8587 (fmin_test): Likewise.
8588 (fmod_test): Likewise.
8589 (fpclassify_test): Likewise.
8590 (frexp_test): Likewise.
8591 (ilogb_test): Likewise.
8592 (isfinite_test): Likewise.
8593 (finite_test): Likewise.
8594 (isgreater_test): Likewise.
8595 (isgreaterequal_test): Likewise.
8596 (isinf_test): Likewise.
8597 (isless_test): Likewise.
8598 (islessequal_test): Likewise.
8599 (islessgreater_test): Likewise.
8600 (isnan_test): Likewise.
8601 (isnormal_test): Likewise.
8602 (issignaling_test): Likewise.
8603 (isunordered_test): Likewise.
8604 (logb_test): Likewise.
8605 (logb_downward_test_data): Remove.
8606 (logb_test_downward): Likewise.
8607 (lround_test): Use ALL_RM_TEST.
8608 (llround_test): Likewise.
8609 (modf_test): Likewise.
8610 (nexttoward_test): Likewise.
8611 (remainder_test): Likewise.
8612 (drem_test): Likewise.
8613 (remainder_tonearest_test_data): Likewise.
8614 (remainder_test_tonearest): Likewise.
8615 (drem_test_tonearest): Likewise.
8616 (remainder_towardzero_test_data): Likewise.
8617 (remainder_test_towardzero): Likewise.
8618 (drem_test_towardzero): Likewise.
8619 (remainder_downward_test_data): Likewise.
8620 (remainder_test_downward): Likewise.
8621 (drem_test_downward): Likewise.
8622 (remainder_upward_test_data): Likewise.
8623 (remainder_test_upward): Likewise.
8624 (drem_test_upward): Likewise.
8625 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
8626 (round_test): Use ALL_RM_TEST.
8627 (signbit_test): Likewise.
8628 (trunc_test): Likewise.
8629 (significand_test): Likewise.
8630 (main): Don't call removed functions.
8632 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8635 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8637 (ILL_ILLOPN): Likewise.
8638 (ILL_ILLADR): Likewise.
8639 (ILL_ILLTRP): Likewise.
8640 (ILL_PRVOPC): Likewise.
8641 (ILL_PRVREG): Likewise.
8642 (ILL_COPROC): Likewise.
8643 (ILL_BADSTK): Likewise.
8644 (FPE_INTDIV): Likewise.
8645 (FPE_INTOVF): Likewise.
8646 (FPE_FLTDIV): Likewise.
8647 (FPE_FLTOVF): Likewise.
8648 (FPE_FLTUND): Likewise.
8649 (FPE_FLTRES): Likewise.
8650 (FPE_FLTINV): Likewise.
8651 (FPE_FLTSUB): Likewise.
8652 (SEGV_MAPERR): Likewise.
8653 (SEGV_ACCERR): Likewise.
8654 (BUS_ADRALN): Likewise.
8655 (BUS_ADRERR): Likewise.
8656 (BUS_OBJERR): Likewise.
8657 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8658 (TRAP_TRACE): Likewise.
8659 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8661 (CLD_KILLED): Likewise.
8662 (CLD_DUMPED): Likewise.
8663 (CLD_TRAPPED): Likewise.
8664 (CLD_STOPPED): Likewise.
8665 (CLD_CONTINUED): Likewise.
8666 (POLL_IN): Likewise.
8667 (POLL_OUT): Likewise.
8668 (POLL_MSG): Likewise.
8669 (POLL_ERR): Likewise.
8670 (POLL_PRI): Likewise.
8671 (POLL_HUP): Likewise.
8672 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8674 (ILL_ILLOPN): Likewise.
8675 (ILL_ILLADR): Likewise.
8676 (ILL_ILLTRP): Likewise.
8677 (ILL_PRVOPC): Likewise.
8678 (ILL_PRVREG): Likewise.
8679 (ILL_COPROC): Likewise.
8680 (ILL_BADSTK): Likewise.
8681 (FPE_INTDIV): Likewise.
8682 (FPE_INTOVF): Likewise.
8683 (FPE_FLTDIV): Likewise.
8684 (FPE_FLTOVF): Likewise.
8685 (FPE_FLTUND): Likewise.
8686 (FPE_FLTRES): Likewise.
8687 (FPE_FLTINV): Likewise.
8688 (FPE_FLTSUB): Likewise.
8689 (SEGV_MAPERR): Likewise.
8690 (SEGV_ACCERR): Likewise.
8691 (BUS_ADRALN): Likewise.
8692 (BUS_ADRERR): Likewise.
8693 (BUS_OBJERR): Likewise.
8694 (BUS_MCEERR_AR): Likewise.
8695 (BUS_MCEERR_AO): Likewise.
8696 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8697 (TRAP_TRACE): Likewise.
8698 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8700 (CLD_KILLED): Likewise.
8701 (CLD_DUMPED): Likewise.
8702 (CLD_TRAPPED): Likewise.
8703 (CLD_STOPPED): Likewise.
8704 (CLD_CONTINUED): Likewise.
8705 (POLL_IN): Likewise.
8706 (POLL_OUT): Likewise.
8707 (POLL_MSG): Likewise.
8708 (POLL_ERR): Likewise.
8709 (POLL_PRI): Likewise.
8710 (POLL_HUP): Likewise.
8711 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8712 (ILL_ILLOPN): Likewise.
8713 (ILL_ILLADR): Likewise.
8714 (ILL_ILLTRP): Likewise.
8715 (ILL_PRVOPC): Likewise.
8716 (ILL_PRVREG): Likewise.
8717 (ILL_COPROC): Likewise.
8718 (ILL_BADSTK): Likewise.
8719 (FPE_INTDIV): Likewise.
8720 (FPE_INTOVF): Likewise.
8721 (FPE_FLTDIV): Likewise.
8722 (FPE_FLTOVF): Likewise.
8723 (FPE_FLTUND): Likewise.
8724 (FPE_FLTRES): Likewise.
8725 (FPE_FLTINV): Likewise.
8726 (FPE_FLTSUB): Likewise.
8727 (SEGV_MAPERR): Likewise.
8728 (SEGV_ACCERR): Likewise.
8729 (BUS_ADRALN): Likewise.
8730 (BUS_ADRERR): Likewise.
8731 (BUS_OBJERR): Likewise.
8732 (BUS_MCEERR_AR): Likewise.
8733 (BUS_MCEERR_AO): Likewise.
8734 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8735 (TRAP_TRACE): Likewise.
8736 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8738 (CLD_KILLED): Likewise.
8739 (CLD_DUMPED): Likewise.
8740 (CLD_TRAPPED): Likewise.
8741 (CLD_STOPPED): Likewise.
8742 (CLD_CONTINUED): Likewise.
8743 (POLL_IN): Likewise.
8744 (POLL_OUT): Likewise.
8745 (POLL_MSG): Likewise.
8746 (POLL_ERR): Likewise.
8747 (POLL_PRI): Likewise.
8748 (POLL_HUP): Likewise.
8749 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8751 (ILL_ILLOPN): Likewise.
8752 (ILL_ILLADR): Likewise.
8753 (ILL_ILLTRP): Likewise.
8754 (ILL_PRVOPC): Likewise.
8755 (ILL_PRVREG): Likewise.
8756 (ILL_COPROC): Likewise.
8757 (ILL_BADSTK): Likewise.
8758 (ILL_BADIADDR): Likewise.
8759 (ILL_BREAK): Likewise.
8760 (FPE_INTDIV): Likewise.
8761 (FPE_INTOVF): Likewise.
8762 (FPE_FLTDIV): Likewise.
8763 (FPE_FLTOVF): Likewise.
8764 (FPE_FLTUND): Likewise.
8765 (FPE_FLTRES): Likewise.
8766 (FPE_FLTINV): Likewise.
8767 (FPE_FLTSUB): Likewise.
8768 (FPE_DECOVF): Likewise.
8769 (FPE_DECDIV): Likewise.
8770 (FPE_DECERR): Likewise.
8771 (FPE_INVASC): Likewise.
8772 (FPE_INVDEC): Likewise.
8773 (SEGV_MAPERR): Likewise.
8774 (SEGV_ACCERR): Likewise.
8775 (SEGV_PSTKOVF): Likewise.
8776 (BUS_ADRALN): Likewise.
8777 (BUS_ADRERR): Likewise.
8778 (BUS_OBJERR): Likewise.
8779 (BUS_MCEERR_AR): Likewise.
8780 (BUS_MCEERR_AO): Likewise.
8781 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8782 (TRAP_TRACE): Likewise.
8783 (TRAP_BRANCH): Likewise.
8784 (TRAP_HWBKPT): Likewise.
8785 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8787 (CLD_KILLED): Likewise.
8788 (CLD_DUMPED): Likewise.
8789 (CLD_TRAPPED): Likewise.
8790 (CLD_STOPPED): Likewise.
8791 (CLD_CONTINUED): Likewise.
8792 (POLL_IN): Likewise.
8793 (POLL_OUT): Likewise.
8794 (POLL_MSG): Likewise.
8795 (POLL_ERR): Likewise.
8796 (POLL_PRI): Likewise.
8797 (POLL_HUP): Likewise.
8798 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8799 (ILL_ILLOPN): Likewise.
8800 (ILL_ILLADR): Likewise.
8801 (ILL_ILLTRP): Likewise.
8802 (ILL_PRVOPC): Likewise.
8803 (ILL_PRVREG): Likewise.
8804 (ILL_COPROC): Likewise.
8805 (ILL_BADSTK): Likewise.
8806 (FPE_INTDIV): Likewise.
8807 (FPE_INTOVF): Likewise.
8808 (FPE_FLTDIV): Likewise.
8809 (FPE_FLTOVF): Likewise.
8810 (FPE_FLTUND): Likewise.
8811 (FPE_FLTRES): Likewise.
8812 (FPE_FLTINV): Likewise.
8813 (FPE_FLTSUB): Likewise.
8814 (SEGV_MAPERR): Likewise.
8815 (SEGV_ACCERR): Likewise.
8816 (BUS_ADRALN): Likewise.
8817 (BUS_ADRERR): Likewise.
8818 (BUS_OBJERR): Likewise.
8819 (BUS_MCEERR_AR): Likewise.
8820 (BUS_MCEERR_AO): Likewise.
8821 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8822 (TRAP_TRACE): Likewise.
8823 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8825 (CLD_KILLED): Likewise.
8826 (CLD_DUMPED): Likewise.
8827 (CLD_TRAPPED): Likewise.
8828 (CLD_STOPPED): Likewise.
8829 (CLD_CONTINUED): Likewise.
8830 (POLL_IN): Likewise.
8831 (POLL_OUT): Likewise.
8832 (POLL_MSG): Likewise.
8833 (POLL_ERR): Likewise.
8834 (POLL_PRI): Likewise.
8835 (POLL_HUP): Likewise.
8836 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8837 (ILL_ILLOPN): Likewise.
8838 (ILL_ILLADR): Likewise.
8839 (ILL_ILLTRP): Likewise.
8840 (ILL_PRVOPC): Likewise.
8841 (ILL_PRVREG): Likewise.
8842 (ILL_COPROC): Likewise.
8843 (ILL_BADSTK): Likewise.
8844 (FPE_INTDIV): Likewise.
8845 (FPE_INTOVF): Likewise.
8846 (FPE_FLTDIV): Likewise.
8847 (FPE_FLTOVF): Likewise.
8848 (FPE_FLTUND): Likewise.
8849 (FPE_FLTRES): Likewise.
8850 (FPE_FLTINV): Likewise.
8851 (FPE_FLTSUB): Likewise.
8852 (SEGV_MAPERR): Likewise.
8853 (SEGV_ACCERR): Likewise.
8854 (BUS_ADRALN): Likewise.
8855 (BUS_ADRERR): Likewise.
8856 (BUS_OBJERR): Likewise.
8857 (BUS_MCEERR_AR): Likewise.
8858 (BUS_MCEERR_AO): Likewise.
8859 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8860 (TRAP_TRACE): Likewise.
8861 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8863 (CLD_KILLED): Likewise.
8864 (CLD_DUMPED): Likewise.
8865 (CLD_TRAPPED): Likewise.
8866 (CLD_STOPPED): Likewise.
8867 (CLD_CONTINUED): Likewise.
8868 (POLL_IN): Likewise.
8869 (POLL_OUT): Likewise.
8870 (POLL_MSG): Likewise.
8871 (POLL_ERR): Likewise.
8872 (POLL_PRI): Likewise.
8873 (POLL_HUP): Likewise.
8874 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8875 (ILL_ILLOPN): Likewise.
8876 (ILL_ILLADR): Likewise.
8877 (ILL_ILLTRP): Likewise.
8878 (ILL_PRVOPC): Likewise.
8879 (ILL_PRVREG): Likewise.
8880 (ILL_COPROC): Likewise.
8881 (ILL_BADSTK): Likewise.
8882 (FPE_INTDIV): Likewise.
8883 (FPE_INTOVF): Likewise.
8884 (FPE_FLTDIV): Likewise.
8885 (FPE_FLTOVF): Likewise.
8886 (FPE_FLTUND): Likewise.
8887 (FPE_FLTRES): Likewise.
8888 (FPE_FLTINV): Likewise.
8889 (FPE_FLTSUB): Likewise.
8890 (SEGV_MAPERR): Likewise.
8891 (SEGV_ACCERR): Likewise.
8892 (BUS_ADRALN): Likewise.
8893 (BUS_ADRERR): Likewise.
8894 (BUS_OBJERR): Likewise.
8895 (BUS_MCEERR_AR): Likewise.
8896 (BUS_MCEERR_AO): Likewise.
8897 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8898 (TRAP_TRACE): Likewise.
8899 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8901 (CLD_KILLED): Likewise.
8902 (CLD_DUMPED): Likewise.
8903 (CLD_TRAPPED): Likewise.
8904 (CLD_STOPPED): Likewise.
8905 (CLD_CONTINUED): Likewise.
8906 (POLL_IN): Likewise.
8907 (POLL_OUT): Likewise.
8908 (POLL_MSG): Likewise.
8909 (POLL_ERR): Likewise.
8910 (POLL_PRI): Likewise.
8911 (POLL_HUP): Likewise.
8912 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8913 (ILL_ILLOPN): Likewise.
8914 (ILL_ILLADR): Likewise.
8915 (ILL_ILLTRP): Likewise.
8916 (ILL_PRVOPC): Likewise.
8917 (ILL_PRVREG): Likewise.
8918 (ILL_COPROC): Likewise.
8919 (ILL_BADSTK): Likewise.
8920 (ILL_DBLFLT): Likewise.
8921 (ILL_HARDWALL): Likewise.
8922 (FPE_INTDIV): Likewise.
8923 (FPE_INTOVF): Likewise.
8924 (FPE_FLTDIV): Likewise.
8925 (FPE_FLTOVF): Likewise.
8926 (FPE_FLTUND): Likewise.
8927 (FPE_FLTRES): Likewise.
8928 (FPE_FLTINV): Likewise.
8929 (FPE_FLTSUB): Likewise.
8930 (SEGV_MAPERR): Likewise.
8931 (SEGV_ACCERR): Likewise.
8932 (BUS_ADRALN): Likewise.
8933 (BUS_ADRERR): Likewise.
8934 (BUS_OBJERR): Likewise.
8935 (BUS_MCEERR_AR): Likewise.
8936 (BUS_MCEERR_AO): Likewise.
8937 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8938 (TRAP_TRACE): Likewise.
8939 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8941 (CLD_KILLED): Likewise.
8942 (CLD_DUMPED): Likewise.
8943 (CLD_TRAPPED): Likewise.
8944 (CLD_STOPPED): Likewise.
8945 (CLD_CONTINUED): Likewise.
8946 (POLL_IN): Likewise.
8947 (POLL_OUT): Likewise.
8948 (POLL_MSG): Likewise.
8949 (POLL_ERR): Likewise.
8950 (POLL_PRI): Likewise.
8951 (POLL_HUP): Likewise.
8952 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8953 (ILL_ILLOPN): Likewise.
8954 (ILL_ILLADR): Likewise.
8955 (ILL_ILLTRP): Likewise.
8956 (ILL_PRVOPC): Likewise.
8957 (ILL_PRVREG): Likewise.
8958 (ILL_COPROC): Likewise.
8959 (ILL_BADSTK): Likewise.
8960 (FPE_INTDIV): Likewise.
8961 (FPE_INTOVF): Likewise.
8962 (FPE_FLTDIV): Likewise.
8963 (FPE_FLTOVF): Likewise.
8964 (FPE_FLTUND): Likewise.
8965 (FPE_FLTRES): Likewise.
8966 (FPE_FLTINV): Likewise.
8967 (FPE_FLTSUB): Likewise.
8968 (SEGV_MAPERR): Likewise.
8969 (SEGV_ACCERR): Likewise.
8970 (BUS_ADRALN): Likewise.
8971 (BUS_ADRERR): Likewise.
8972 (BUS_OBJERR): Likewise.
8973 (BUS_MCEERR_AR): Likewise.
8974 (BUS_MCEERR_AO): Likewise.
8975 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8976 (TRAP_TRACE): Likewise.
8977 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8979 (CLD_KILLED): Likewise.
8980 (CLD_DUMPED): Likewise.
8981 (CLD_TRAPPED): Likewise.
8982 (CLD_STOPPED): Likewise.
8983 (CLD_CONTINUED): Likewise.
8984 (POLL_IN): Likewise.
8985 (POLL_OUT): Likewise.
8986 (POLL_MSG): Likewise.
8987 (POLL_ERR): Likewise.
8988 (POLL_PRI): Likewise.
8989 (POLL_HUP): Likewise.
8990 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8991 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8994 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8995 before #include of <time.h>.
8996 [!__USE_XOPEN2K] (__need_timespec): Likewise.
8997 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8998 (test-xfail-UNIX98/sched.h/conform): Likewise.
9000 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
9002 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9003 error absence of trapping exception support.
9004 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9006 2014-03-07 Joseph Myers <joseph@codesourcery.com>
9008 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9009 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9010 * timezone/Makefile (testdata): Move definition above include of
9012 (test-zones): New variable.
9013 (tests-special): Add zone files.
9014 (build-testdata): Use $(evaluate-test).
9016 * elf/Makefile (tests-special): Rename tests to end with .out.
9017 ($(objpfx)noload-mem): Likewise.
9018 ($(objpfx)tst-leaks1-mem): Likewise.
9019 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9020 * iconv/Makefile (xtests-special): Change test-iconvconfig to
9021 $(objpfx)test-iconvconfig.out.
9022 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
9023 set -e inside subshell and redirect output to file.
9024 * iconvdata/Makefile (generated): Rename tests to end with .out.
9026 (tests-special): Rename tests to end with .out.
9027 ($(objpfx)mtrace-tst-loading): Likewise.
9028 * intl/Makefile (generated): Likewise.
9029 (tests-special): Likewise.
9030 ($(objpfx)mtrace-tst-gettext): Likewise.
9031 * misc/Makefile (generated): Likewise.
9032 (tests-special): Likewise.
9033 ($(objpfx)tst-error1-mem): Likewise.
9034 * nptl/Makefile (tests-special): Likewise.
9035 ($(objpfx)tst-stack3-mem): Likewise.
9036 (generated): Likewise.
9037 * posix/Makefile (generated): Likewise.
9038 (tests-special): Likewise.
9039 (xtests-special): Likewise.
9040 ($(objpfx)tst-fnmatch-mem): Likewise.
9041 ($(objpfx)bug-regex2-mem): Likewise.
9042 ($(objpfx)bug-regex14-mem): Likewise.
9043 ($(objpfx)bug-regex21-mem): Likewise.
9044 ($(objpfx)bug-regex31-mem): Likewise.
9045 ($(objpfx)tst-vfork3-mem): Likewise.
9046 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9047 ($(objpfx)tst-pcre-mem): Likewise.
9048 ($(objpfx)tst-boost-mem): Likewise.
9049 ($(objpfx)bug-ga2-mem): Likewise.
9050 ($(objpfx)bug-glob2-mem): Likewise.
9051 * resolv/Makefile (generate): Likewise.
9052 (tests-special): Likewise.
9053 (xtests-special): Likewise.
9054 (generated): Likewise.
9055 ($(objpfx)mtrace-tst-leaks): Likewise.
9056 ($(objpfx)mtrace-tst-leaks2): Likewise.
9058 * scripts/merge-test-results.sh: New file.
9059 * Makefile (tests-special-notdir): New variable.
9060 (tests): Run merge-test-results.sh.
9062 * Rules (tests-special-notdir): New variable.
9063 (xtests-special-notdir): Likewise.
9064 (tests): Run merge-test-results.sh
9067 * Makeconfig (test-xfail-name): New variable.
9068 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9069 compute variable name for expected failures.
9070 * conform/Makefile (conformtest-headers-data): New variable.
9071 (conformtest-standards): Likewise.
9072 (conformtest-headers-ISO): Likewise.
9073 (conformtest-headers-ISO99): Likewise.
9074 (conformtest-headers-ISO11): Likewise.
9075 (conformtest-headers-POSIX): Likewise.
9076 (conformtest-headers-XPG3): Likewise.
9077 (conformtest-headers-XPG4): Likewise.
9078 (conformtest-headers-UNIX98): Likewise.
9079 (conformtest-headers-XOPEN2K): Likewise.
9080 (conformtest-headers-POSIX2008): Likewise.
9081 (conformtest-headers-XOPEN2K8): Likewise.
9082 (conformtest-header-list-base): Likewise.
9083 (conformtest-header-list-tests): Likewise.
9084 (conformtest-header-base): Likewise.
9085 (conformtest-header-tests): Likewise.
9086 (tests-special): Add $(conformtest-header-list-tests). If
9087 [$(fast-check) && !$(cross-compiling)], add
9088 $(conformtest-header-tests) instead of
9089 $(objpfx)run-conformtest.out.
9090 (generated): Add $(conformtest-header-list-base). If
9091 [$(fast-check) && !$(cross-compiling)], add
9092 $(conformtest-header-base). Remove previous setting.
9093 ($(conformtest-header-list-tests)): New target.
9094 (test-xfail-run-conformtest): Remove variable.
9095 ($(objpfx)run-conformtest.out): Remove target.
9096 (test-xfail-ISO11/complex.h/conform): New variable.
9097 (test-xfail-ISO11/stdalign.h/conform): Likewise.
9098 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9099 (test-xfail-XPG3/varargs.h/conform): Likewise.
9100 (test-xfail-XPG4/varargs.h/conform): Likewise.
9101 (test-xfail-UNIX98/varargs.h/conform): Likewise.
9102 (test-xfail-XPG4/ndbm.h/conform): Likewise.
9103 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9104 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9105 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9106 (test-xfail-XPG3/fcntl.h/conform): Likewise.
9107 (test-xfail-XPG3/ftw.h/conform): Likewise.
9108 (test-xfail-XPG3/grp.h/conform): Likewise.
9109 (test-xfail-XPG3/langinfo.h/conform): Likewise.
9110 (test-xfail-XPG3/limits.h/conform): Likewise.
9111 (test-xfail-XPG3/pwd.h/conform): Likewise.
9112 (test-xfail-XPG3/search.h/conform): Likewise.
9113 (test-xfail-XPG3/signal.h/conform): Likewise.
9114 (test-xfail-XPG3/stdio.h/conform): Likewise.
9115 (test-xfail-XPG3/stdlib.h/conform): Likewise.
9116 (test-xfail-XPG3/string.h/conform): Likewise.
9117 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9118 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9119 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9120 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9121 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9122 (test-xfail-XPG3/sys/types.h/conform): Likewise.
9123 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9124 (test-xfail-XPG3/termios.h/conform): Likewise.
9125 (test-xfail-XPG3/time.h/conform): Likewise.
9126 (test-xfail-XPG3/unistd.h/conform): Likewise.
9127 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9128 (test-xfail-XPG4/fcntl.h/conform): Likewise.
9129 (test-xfail-XPG4/langinfo.h/conform): Likewise.
9130 (test-xfail-XPG4/netdb.h/conform): Likewise.
9131 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9132 (test-xfail-XPG4/signal.h/conform): Likewise.
9133 (test-xfail-XPG4/stdio.h/conform): Likewise.
9134 (test-xfail-XPG4/stdlib.h/conform): Likewise.
9135 (test-xfail-XPG4/stropts.h/conform): Likewise.
9136 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9137 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9138 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9139 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9140 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9141 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9142 (test-xfail-XPG4/sys/time.h/conform): Likewise.
9143 (test-xfail-XPG4/sys/types.h/conform): Likewise.
9144 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9145 (test-xfail-XPG4/termios.h/conform): Likewise.
9146 (test-xfail-XPG4/ucontext.h/conform): Likewise.
9147 (test-xfail-XPG4/unistd.h/conform): Likewise.
9148 (test-xfail-XPG4/utmpx.h/conform): Likewise.
9149 (test-xfail-POSIX/sched.h/conform): Likewise.
9150 (test-xfail-POSIX/signal.h/conform): Likewise.
9151 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9152 (test-xfail-POSIX/tar.h/conform): Likewise.
9153 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9154 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9155 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9156 (test-xfail-UNIX98/netdb.h/conform): Likewise.
9157 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9158 (test-xfail-UNIX98/sched.h/conform): Likewise.
9159 (test-xfail-UNIX98/signal.h/conform): Likewise.
9160 (test-xfail-UNIX98/stdio.h/conform): Likewise.
9161 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9162 (test-xfail-UNIX98/stropts.h/conform): Likewise.
9163 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9164 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9165 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9166 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9167 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9168 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9169 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9170 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9171 (test-xfail-UNIX98/unistd.h/conform): Likewise.
9172 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9173 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9174 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9175 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9176 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9177 (test-xfail-XOPEN2K/math.h/conform): Likewise.
9178 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9179 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9180 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9181 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9182 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9183 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9184 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9185 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9186 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9187 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9188 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9189 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9190 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9191 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9192 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9193 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9194 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9195 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9196 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9197 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9198 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9199 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9200 (test-xfail-POSIX2008/signal.h/conform): Likewise.
9201 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9202 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9203 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9204 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9205 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9206 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9207 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9208 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9209 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9210 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9211 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9212 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9213 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9214 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9215 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9216 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9217 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9218 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9219 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9220 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9221 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9222 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9223 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9224 (conformtest-cc-flags): Likewise.
9225 ($(conformtest-header-tests): New target.
9226 * conform/check-header-lists.sh: New file.
9227 * conform/run-conformtest.sh: Remove.
9229 * conform/conformtest.pl: Allow ' and \ in values given for
9231 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9233 [POSIX] (sys/types.h): Likewise.
9234 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9236 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9238 * conform/data/signal.h-data (SIGIO): Remove expectation.
9239 [XPG3] (SIGBUS): Do not expect.
9240 [POSIX || XPG3] (SIGPOLL): Likewise.
9241 [POSIX || XPG3] (SIGPROF): Likewise.
9242 [POSIX || XPG3] (SIGSYS): Likewise.
9243 [XPG3] (SIGTRAP): Likewise.
9244 [POSIX || XPG3] (SIGURG): Likewise.
9245 [POSIX || XPG3] (SIGVTALRM): Likewise.
9246 [POSIX || XPG3] (SIGXCPU): Likewise.
9247 [POSIX || XPG3] (SIGXFSZ): Likewise.
9248 [POSIX] (SA_SIGINFO): Expect.
9249 [XPG3] (siginfo_t): Do not expect type or contents.
9250 [POSIX] (si_pid): Do not expect element.
9251 [POSIX] (si_uid): Likewise.
9252 [POSIX] (si_addr): Likewise.
9253 [POSIX] (si_status): Likewise.
9254 [POSIX] (si_band): Likewise.
9255 [XPG4] (si_value): Likewise.
9256 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9257 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9258 [POSIX || XPG3] (ILL_ILLADR): Likewise.
9259 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9260 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9261 [POSIX || XPG3] (ILL_PRVREG): Likewise.
9262 [POSIX || XPG3] (ILL_COPROC): Likewise.
9263 [POSIX || XPG3] (ILL_BADSTK): Likewise.
9264 [POSIX || XPG3] (FPE_INTDIV): Likewise.
9265 [POSIX || XPG3] (FPE_INTOVF): Likewise.
9266 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9267 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9268 [POSIX || XPG3] (FPE_FLTUND): Likewise.
9269 [POSIX || XPG3] (FPE_FLTRES): Likewise.
9270 [POSIX || XPG3] (FPE_FLTINV): Likewise.
9271 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9272 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9273 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9274 [POSIX || XPG3] (BUS_ADRALN): Likewise.
9275 [POSIX || XPG3] (BUS_ADRERR): Likewise.
9276 [POSIX || XPG3] (BUS_OBJERR): Likewise.
9277 [POSIX || XPG3] (CLD_EXITED): Likewise.
9278 [POSIX || XPG3] (CLD_KILLED): Likewise.
9279 [POSIX || XPG3] (CLD_DUMPED): Likewise.
9280 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9281 [POSIX || XPG3] (CLD_STOPPED): Likewise.
9282 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9283 [POSIX || XPG3] (POLL_IN): Likewise.
9284 [POSIX || XPG3] (POLL_OUT): Likewise.
9285 [POSIX || XPG3] (POLL_MSG): Likewise.
9286 [POSIX || XPG3] (POLL_ERR): Likewise.
9287 [POSIX || XPG3] (POLL_PRI): Likewise.
9288 [POSIX || XPG3] (POLL_HUP): Likewise.
9289 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9290 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9291 (SIG*): Do not allow.
9292 [XPG3] (si_*): Likewise.
9293 [XPG3] (SI_*): Likewise.
9294 [XPG3 || XPG4] (sigev_*): Likewise.
9295 [XPG3 || XPG4] (SIGEV_*): Likewise.
9296 [XPG3 || XPG4] (sival_*): Likewise.
9297 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9298 [POSIX || XPG3] (BUS_*): Likewise.
9299 [POSIX || XPG3] (CLD_*): Likewise.
9300 [POSIX || XPG3] (FPE_*): Likewise.
9301 [POSIX || XPG3] (ILL_*): Likewise.
9302 [POSIX || XPG3] (POLL_*): Likewise.
9303 [POSIX || XPG3] (SEGV_*): Likewise.
9304 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9305 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9306 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9307 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9308 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9309 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9310 Specify type and value.
9311 (TVERSLEN): Likewise.
9312 (REGTYPE): Likewise.
9313 (AREGTYPE): Likewise.
9314 (LNKTYPE): Likewise.
9315 (SYMTYPE): Likewise.
9316 (CHRTYPE): Likewise.
9317 (BLKTYPE): Likewise.
9318 (DIRTYPE): Likewise.
9319 (FIFOTYPE): Likewise.
9320 (CONTTYPE): Likewise.
9325 (TUWRITE): Likewise.
9328 (TGWRITE): Likewise.
9331 (TOWRITE): Likewise.
9333 [POSIX] (TSVTX): Expect constant.
9335 2014-03-06 Joseph Myers <joseph@codesourcery.com>
9337 * Makefile (tests): Change dependencies to ....
9338 (tests-special): ... additions to this variable.
9339 (tests): Depend on $(tests-special).
9340 * Makerules (check-abi-list): New variable.
9341 (check-abi): Depend on $(check-abi-list).
9342 [$(subdir) = elf] (tests-special): Add
9343 $(objpfx)check-abi-libc.out.
9344 [$(build-shared) = yes && subdir] (tests-special): Add
9346 [$(build-shared) = yes && subdir] (tests): Do not depend on
9348 * Rules (tests): Depend on $(tests-special).
9349 (xtests): Depend on $(xtests-special).
9350 * catgets/Makefile (tests): Change dependencies to ....
9351 (tests-special): ... additions to this variable.
9352 * conform/Makefile (tests): Change dependencies to ....
9353 (tests-special): ... additions to this variable.
9354 * elf/Makefile (tests): Change dependencies to ....
9355 (tests-special): ... additions to this variable.
9356 * grp/Makefile (tests): Change dependencies to ....
9357 (tests-special): ... additions to this variable.
9358 * iconv/Makefile (xtests): Change dependencies to ....
9359 (xtests-special): ... additions to this variable.
9360 * iconvdata/Makefile (tests): Change dependencies to ....
9361 (tests-special): ... additions to this variable.
9362 * intl/Makefile (tests): Change dependencies to ....
9363 (tests-special): ... additions to this variable. Also add
9364 $(objpfx)tst-gettext.out.
9365 * io/Makefile (tests): Change dependencies to ....
9366 (tests-special): ... additions to this variable.
9367 * libio/Makefile (tests): Change dependencies to ....
9368 (tests-special): ... additions to this variable.
9369 * malloc/Makefile (tests): Change dependencies to ....
9370 (tests-special): ... additions to this variable.
9371 * misc/Makefile (tests): Change dependencies to ....
9372 (tests-special): ... additions to this variable.
9373 * nptl/Makefile (tests): Change dependencies to ....
9374 (tests-special): ... additions to this variable.
9375 * nptl_db/Makefile (tests): Change dependencies to ....
9376 (tests-special): ... additions to this variable.
9377 * posix/Makefile (tests): Change dependencies to ....
9378 (tests-special): ... additions to this variable.
9379 (xtests): Change dependencies to ....
9380 (xtests-special): ... additions to this variable.
9381 * resolv/Makefile (tests): Change dependencies to ....
9382 (tests-special): ... additions to this variable.
9383 (xtests): Change dependencies to ....
9384 (xtests-special): ... additions to this variable.
9385 * stdio-common/Makefile (tests): Change dependencies to ....
9386 (tests-special): ... additions to this variable.
9387 (do-tst-unbputc): Remove target.
9388 (do-tst-printf): Likewise.
9389 * stdlib/Makefile (tests): Change dependencies to ....
9390 (tests-special): ... additions to this variable.
9391 * string/Makefile (tests): Change dependencies to ....
9392 (tests-special): ... additions to this variable.
9393 * sysdeps/x86/Makefile (tests): Change dependencies to ....
9394 (tests-special): ... additions to this variable.
9396 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9398 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9400 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9401 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9403 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9404 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9405 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9406 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9407 * conform/data/libgen.h-data [XPG3]: Likewise.
9408 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9409 * conform/data/ndbm.h-data [XPG3]: Likewise.
9410 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9411 * conform/data/netdb.h-data [XPG3]: Likewise.
9412 * conform/data/netinet/in.h-data [XPG3]: Likewise.
9413 * conform/data/poll.h-data [XPG3]: Likewise.
9414 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9415 * conform/data/strings.h-data [XPG3]: Likewise.
9416 * conform/data/stropts.h-data [XPG3]: Likewise.
9417 * conform/data/sys/mman.h-data [XPG3]: Likewise.
9418 * conform/data/sys/resource.h-data [XPG3]: Likewise.
9419 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9421 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9422 * conform/data/sys/time.h-data [XPG3]: Likewise.
9423 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9424 * conform/data/sys/uio.h-data [XPG3]: Likewise.
9425 * conform/data/sys/un.h-data [XPG3]: Likewise.
9426 * conform/data/syslog.h-data [XPG3]: Likewise.
9427 * conform/data/ucontext.h-data [XPG3]: Likewise.
9428 * conform/data/utmpx.h-data [XPG3]: Likewise.
9429 * conform/data/varargs.h-data [UNIX98]: Enable file.
9431 * manual/Makefile (INSTALL_INFO): Remove variable setting.
9433 * math/libm-test.inc (struct test_f_f_data): Move expected results
9434 into structure for each rounding mode.
9435 (struct test_ff_f_data): Likewise.
9436 (struct test_ff_f_data_nexttoward): Likewise.
9437 (struct test_fi_f_data): Likewise.
9438 (struct test_fl_f_data): Likewise.
9439 (struct test_if_f_data): Likewise.
9440 (struct test_fff_f_data): Likewise.
9441 (struct test_c_f_data): Likewise.
9442 (struct test_f_f1_data): Likewise.
9443 (struct test_fF_f1_data): Likewise.
9444 (struct test_ffI_f1_data): Likewise.
9445 (struct test_c_c_data): Likewise.
9446 (struct test_cc_c_data): Likewise.
9447 (struct test_f_i_data): Likewise.
9448 (struct test_ff_i_data): Likewise.
9449 (struct test_f_l_data): Likewise.
9450 (struct test_f_L_data): Likewise.
9451 (struct test_fFF_11_data): Likewise.
9453 (RM_FE_DOWNWARD): Likewise.
9454 (RM_FE_TONEAREST): Likewise.
9455 (RM_FE_TOWARDZERO): Likewise.
9456 (RM_FE_UPWARD): Likewise.
9457 (RUN_TEST_LOOP_f_f): Update references to expected results.
9458 (RUN_TEST_LOOP_2_f): Likewise.
9459 (RUN_TEST_LOOP_fff_f): Likewise.
9460 (RUN_TEST_LOOP_c_f): Likewise.
9461 (RUN_TEST_LOOP_f_f1): Likewise.
9462 (RUN_TEST_LOOP_fF_f1): Likewise.
9463 (RUN_TEST_LOOP_fI_f1): Likewise.
9464 (RUN_TEST_LOOP_ffI_f1): Likewise.
9465 (RUN_TEST_LOOP_c_c): Likewise.
9466 (RUN_TEST_LOOP_cc_c): Likewise.
9467 (RUN_TEST_LOOP_f_i): Likewise.
9468 (RUN_TEST_LOOP_f_i_tg): Likewise.
9469 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9470 (RUN_TEST_LOOP_f_b): Likewise.
9471 (RUN_TEST_LOOP_f_b_tg): Likewise.
9472 (RUN_TEST_LOOP_f_l): Likewise.
9473 (RUN_TEST_LOOP_f_L): Likewise.
9474 (RUN_TEST_LOOP_fFF_11): Likewise.
9475 * math/gen-libm-test.pl (parse_args): Output four copies of
9476 expected results for each test.
9478 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9479 (__ASSUME_UTIMES): Remove.
9480 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9481 (__ASSUME_UTIMES): Likewise.
9483 * math/gen-auto-libm-tests.c: Update comment on output format.
9484 (output_for_one_input_case): Generate before-rounding and
9485 after-rounding information as conditions on output flags not
9486 floating-point format.
9487 * math/auto-libm-test-out: Regenerated.
9488 * math/gen-libm-test.pl (cond_value): New function.
9489 (or_cond_value): Use cond_value.
9490 (generate_testfile): Handle conditional exceptions.
9492 2014-03-05 Joseph Myers <joseph@codesourcery.com>
9494 * math/libm-test.inc (max_valid_error): New variable.
9495 (init_max_error): Take new argument specifying whether function
9496 results are exactly determined. Set max_valid_error and bound
9497 other variables for errors based on this argument.
9498 (set_max_error): Do not record results above max_valid_error.
9499 (check_float_internal): Only accept errors of up to 0.5ulps if
9500 also at most max_valid_error.
9501 (START): Take new argument EXACT and pass it to init_max_error.
9502 (acos_test): Update call to START.
9503 (acos_test_tonearest): Likewise.
9504 (acos_test_towardzero): Likewise.
9505 (acos_test_downward): Likewise.
9506 (acos_test_upward): Likewise.
9507 (acosh_test): Likewise.
9508 (asin_test): Likewise.
9509 (asin_test_tonearest): Likewise.
9510 (asin_test_towardzero): Likewise.
9511 (asin_test_downward): Likewise.
9512 (asin_test_upward): Likewise.
9513 (asinh_test): Likewise.
9514 (atan_test): Likewise.
9515 (atanh_test): Likewise.
9516 (atan2_test): Likewise.
9517 (cabs_test): Likewise.
9518 (cacos_test): Likewise.
9519 (cacosh_test): Likewise.
9520 (carg_test): Likewise.
9521 (casin_test): Likewise.
9522 (casinh_test): Likewise.
9523 (catan_test): Likewise.
9524 (catanh_test): Likewise.
9525 (cbrt_test): Likewise.
9526 (ccos_test): Likewise.
9527 (ccosh_test): Likewise.
9528 (ceil_test): Likewise.
9529 (cexp_test): Likewise.
9530 (cimag_test): Likewise.
9531 (clog_test): Likewise.
9532 (clog10_test): Likewise.
9533 (conj_test): Likewise.
9534 (copysign_test): Likewise.
9535 (cos_test): Likewise.
9536 (cos_test_tonearest): Likewise.
9537 (cos_test_towardzero): Likewise.
9538 (cos_test_downward): Likewise.
9539 (cos_test_upward): Likewise.
9540 (cosh_test): Likewise.
9541 (cosh_test_tonearest): Likewise.
9542 (cosh_test_towardzero): Likewise.
9543 (cosh_test_downward): Likewise.
9544 (cosh_test_upward): Likewise.
9545 (cpow_test): Likewise.
9546 (cproj_test): Likewise.
9547 (creal_test): Likewise.
9548 (csin_test): Likewise.
9549 (csinh_test): Likewise.
9550 (csqrt_test): Likewise.
9551 (ctan_test): Likewise.
9552 (ctan_test_tonearest): Likewise.
9553 (ctan_test_towardzero): Likewise.
9554 (ctan_test_downward): Likewise.
9555 (ctan_test_upward): Likewise.
9556 (ctanh_test): Likewise.
9557 (ctanh_test_tonearest): Likewise.
9558 (ctanh_test_towardzero): Likewise.
9559 (ctanh_test_downward): Likewise.
9560 (ctanh_test_upward): Likewise.
9561 (erf_test): Likewise.
9562 (erfc_test): Likewise.
9563 (exp_test): Likewise.
9564 (exp_test_tonearest): Likewise.
9565 (exp_test_towardzero): Likewise.
9566 (exp_test_downward): Likewise.
9567 (exp_test_upward): Likewise.
9568 (exp10_test): Likewise.
9569 (exp10_test_tonearest): Likewise.
9570 (exp10_test_towardzero): Likewise.
9571 (exp10_test_downward): Likewise.
9572 (exp10_test_upward): Likewise.
9573 (pow10_test): Likewise.
9574 (exp2_test): Likewise.
9575 (expm1_test): Likewise.
9576 (expm1_test_tonearest): Likewise.
9577 (expm1_test_towardzero): Likewise.
9578 (expm1_test_downward): Likewise.
9579 (expm1_test_upward): Likewise.
9580 (fabs_test): Likewise.
9581 (fdim_test): Likewise.
9582 (floor_test): Likewise.
9583 (fma_test): Likewise.
9584 (fma_test_towardzero): Likewise.
9585 (fma_test_downward): Likewise.
9586 (fma_test_upward): Likewise.
9587 (fmax_test): Likewise.
9588 (fmin_test): Likewise.
9589 (fmod_test): Likewise.
9590 (fpclassify_test): Likewise.
9591 (frexp_test): Likewise.
9592 (hypot_test): Likewise.
9593 (ilogb_test): Likewise.
9594 (isfinite_test): Likewise.
9595 (finite_test): Likewise.
9596 (isgreater_test): Likewise.
9597 (isgreaterequal_test): Likewise.
9598 (isinf_test): Likewise.
9599 (isless_test): Likewise.
9600 (islessequal_test): Likewise.
9601 (islessgreater_test): Likewise.
9602 (isnan_test): Likewise.
9603 (isnormal_test): Likewise.
9604 (issignaling_test): Likewise.
9605 (isunordered_test): Likewise.
9606 (j0_test): Likewise.
9607 (j1_test): Likewise.
9608 (jn_test): Likewise.
9609 (ldexp_test): Likewise.
9610 (lgamma_test): Likewise.
9611 (gamma_test): Likewise.
9612 (lrint_test): Likewise.
9613 (lrint_test_tonearest): Likewise.
9614 (lrint_test_towardzero): Likewise.
9615 (lrint_test_downward): Likewise.
9616 (lrint_test_upward): Likewise.
9617 (llrint_test): Likewise.
9618 (llrint_test_tonearest): Likewise.
9619 (llrint_test_towardzero): Likewise.
9620 (llrint_test_downward): Likewise.
9621 (llrint_test_upward): Likewise.
9622 (log_test): Likewise.
9623 (log10_test): Likewise.
9624 (log1p_test): Likewise.
9625 (log2_test): Likewise.
9626 (logb_test): Likewise.
9627 (logb_test_downward): Likewise.
9628 (lround_test): Likewise.
9629 (llround_test): Likewise.
9630 (modf_test): Likewise.
9631 (nearbyint_test): Likewise.
9632 (nextafter_test): Likewise.
9633 (nexttoward_test): Likewise.
9634 (pow_test): Likewise.
9635 (pow_test_tonearest): Likewise.
9636 (pow_test_towardzero): Likewise.
9637 (pow_test_downward): Likewise.
9638 (pow_test_upward): Likewise.
9639 (remainder_test): Likewise.
9640 (drem_test): Likewise.
9641 (remainder_test_tonearest): Likewise.
9642 (drem_test_tonearest): Likewise.
9643 (remainder_test_towardzero): Likewise.
9644 (drem_test_towardzero): Likewise.
9645 (remainder_test_downward): Likewise.
9646 (drem_test_downward): Likewise.
9647 (remainder_test_upward): Likewise.
9648 (drem_test_upward): Likewise.
9649 (remquo_test): Likewise.
9650 (rint_test): Likewise.
9651 (rint_test_tonearest): Likewise.
9652 (rint_test_towardzero): Likewise.
9653 (rint_test_downward): Likewise.
9654 (rint_test_upward): Likewise.
9655 (round_test): Likewise.
9656 (scalb_test): Likewise.
9657 (scalbn_test): Likewise.
9658 (scalbln_test): Likewise.
9659 (signbit_test): Likewise.
9660 (sin_test): Likewise.
9661 (sin_test_tonearest): Likewise.
9662 (sin_test_towardzero): Likewise.
9663 (sin_test_downward): Likewise.
9664 (sin_test_upward): Likewise.
9665 (sincos_test): Likewise.
9666 (sinh_test): Likewise.
9667 (sinh_test_tonearest): Likewise.
9668 (sinh_test_towardzero): Likewise.
9669 (sinh_test_downward): Likewise.
9670 (sinh_test_upward): Likewise.
9671 (sqrt_test): Likewise.
9672 (sqrt_test_tonearest): Likewise.
9673 (sqrt_test_towardzero): Likewise.
9674 (sqrt_test_downward): Likewise.
9675 (sqrt_test_upward): Likewise.
9676 (tan_test): Likewise.
9677 (tan_test_tonearest): Likewise.
9678 (tan_test_towardzero): Likewise.
9679 (tan_test_downward): Likewise.
9680 (tan_test_upward): Likewise.
9681 (tanh_test): Likewise.
9682 (tgamma_test): Likewise.
9683 (trunc_test): Likewise.
9684 (y0_test): Likewise.
9685 (y1_test): Likewise.
9686 (yn_test): Likewise.
9687 (significand_test): Likewise.
9689 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9690 individual tests in comment.
9691 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9692 (prev_max_error): New variable.
9693 (prev_real_max_error): Likewise.
9694 (prev_imag_max_error): Likewise.
9695 (compare_ulp_data): Don't refer to test names in comment.
9696 (find_test_ulps): Remove function.
9697 (find_function_ulps): Likewise.
9698 (find_complex_function_ulps): Likewise.
9699 (init_max_error): Take function name as argument. Look up ulps
9701 (print_ulps): Remove function.
9702 (print_max_error): Use prev_max_error instead of calling
9704 (print_complex_max_error): Use prev_real_max_error and
9705 prev_imag_max_error instead of calling find_complex_function_ulps.
9706 (check_float_internal): Take max_ulp parameter instead of calling
9707 find_test_ulps. Don't call print_ulps.
9708 (check_float): Update call to check_float_internal.
9709 (check_complex): Update calls to check_float_internal.
9710 (START): Pass argument to init_max_error.
9711 * math/gen-libm-test.pl (%results): Don't include "kind"
9713 (parse_ulps): Don't handle ulps of individual tests.
9714 (print_ulps_file): Likewise.
9715 (output_ulps): Likewise.
9716 * math/README.libm-test: Update.
9717 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9719 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9720 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9721 * sysdeps/arm/libm-test-ulps: Likewise.
9722 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9723 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9724 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9725 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9726 * sysdeps/microblaze/libm-test-ulps: Likewise.
9727 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9728 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9729 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9730 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9731 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9732 * sysdeps/sh/libm-test-ulps: Likewise.
9733 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9734 * sysdeps/tile/libm-test-ulps: Likewise.
9735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9737 2014-03-04 Joseph Myers <joseph@codesourcery.com>
9739 * math/libm-test.inc (print_complex_max_error): Check separately
9740 whether real and imaginary errors are within allowed range and
9741 pass 0 to print_complex_function_ulps instead of value within
9744 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9746 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9748 (get_handles_fopen): Likewise.
9749 (do_write_test): Likewise.
9751 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9753 * libio/fileops.c (do_ftell): Use cached offset when
9755 * libio/iofwide.c (do_ftell_wide): Likewise.
9756 * libio/iofdopen.c (_IO_new_fdopen): Don't use
9758 * libio/wfileops.c (_IO_fwide): Don't cache offset.
9761 * libio/libioP.h (get_file_offset): New function.
9762 * libio/fileops.c (get_file_offset): Likewise.
9763 (do_ftell): Likewise.
9764 (_IO_new_file_seekoff): Split out ftell logic.
9765 * libio/wfileops.c (do_ftell_wide): Likewise.
9766 (_IO_wfile_seekoff): Split out ftell logic.
9767 * libio/tst-ftell-active-handler.c: New test case.
9768 * libio/Makefile (tests): Add it.
9770 2014-03-03 Roland McGrath <roland@hack.frob.com>
9772 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9773 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9775 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9778 * nscd/connections.c (nscd_init): Call do_exit.
9779 (start_threads): Call do_exit and notify_parent.
9780 (begin_drop_privileges): Call do_exit.
9781 (finish_drop_privileges): Likewise.
9782 * nscd/selinux.c (preserve_capabilities): Likewise.
9783 (install_real_capabilities): Likewise.
9784 (nscd_selinux_enabled): Likewise.
9785 (avc_create_thread): Likewise.
9786 (avc_alloc_lock): Likewise.
9787 (nscd_avc_init): Likewise.
9788 * nscd/nscd.c (parent_fd): New static variable.
9789 (main): Create a pipe between parent and child processes.
9790 Skip closing parent_fd.
9791 (monitor_child): New function.
9792 (do_exit): Likewise.
9793 (notify_parent): Likewise.
9794 * nscd/nscd.h (notify_parent): Likewise.
9795 (do_exit): Likewise.
9797 2014-03-03 Carlos O'Donell <carlos@redhat.com>
9799 * malloc/malloc.c (__libc_calloc): Revert last change.
9801 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9805 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9807 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9808 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9810 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9811 (__libc_ifunc_impl_list): Likewise.
9812 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9813 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9814 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9815 * string/strrchr.c: Define STRRCHR.
9817 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
9819 * benchtest/bench-strtok.c (simple_strtok): Delete.
9820 (strtok_string): Use as benchmark.
9821 * string/strtok (STRTOK): New macro.
9823 2014-02-28 Carlos O'Donell <carlos@redhat.com>
9825 * manual/threads.texi: Add header and standard comments to all
9828 * elf/dl-lookup.c (check_match): New function.
9829 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9830 (do_lookup_x): Remove nested function check_match. Use non-nested
9831 function check_match.
9833 2014-02-28 Roland McGrath <roland@hack.frob.com>
9835 * csu/Makefile (generated, before-compile): Use += rather than =.
9836 * catgets/Makefile (generated, generated-dirs): Likewise.
9837 * debug/Makefile (generated): Likewise.
9838 * dlfcn/Makefile (generated): Likewise.
9839 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9840 * iconvdata/Makefile (before-compile, generated): Likewise.
9841 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9842 * libio/Makefile (generated): Likewise.
9843 * malloc/Makefile (generated): Likewise.
9844 * manual/Makefile (generated, generated-dirs): Likewise.
9845 * misc/Makefile (generated): Likewise.
9846 * posix/Makefile (generated): Likewise.
9847 * resolv/Makefile (generated): Likewise.
9848 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9849 * timezone/Makefile (generated, generated-dirs): Likewise.
9851 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9853 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9855 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9856 power8 implementation.
9857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9858 file: POWER8 llround ifunc implementation.
9859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9860 (__lllround): Add POWER8 implementation.
9861 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9862 POWER8 llround implementation.
9864 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9865 power8 implementation.
9866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9867 file: POWER8 llrint ifunc implementation.
9868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9869 Add POWER8 implementation.
9870 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9871 POWER8 llrint implementation.
9873 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9874 power8 implementation.
9875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9876 file: POWER8 finite ifunc implementation.
9877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9878 Add POWER8 implementation.
9879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9881 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9882 POWER8 finite implementation.
9883 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9885 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9886 power8 implementation.
9887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9888 file: POWER8 isinf ifunc implementation.
9889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9890 POWER8 implementation.
9891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9893 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9894 isinf implementation.
9895 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9897 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9898 (INIT_ARCH): Add hwcap2 initialization.
9899 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9900 power8 implementation.
9901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9902 file: POWER8 isnan ifunc implementation.
9903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9904 POWER8 implementation.
9905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9907 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9908 isnan implementation.
9909 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9911 2014-02-27 Joey Ye <joey.ye@arm.com>
9913 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9914 (_FP_NANFRAC_Q): Set to zero.
9916 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9919 * math/auto-libm-test-in: New test inputs.
9920 * math/auto-libm-test-out: Regenerate.
9921 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9924 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9926 2014-02-27 Joseph Myers <joseph@codesourcery.com>
9928 * scripts/evaluate-test.sh: Take new argument indicating whether
9929 failure is expected.
9930 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9931 indicating whether failure is expected.
9932 * conform/Makefile (test-xfail-run-conformtest): New variable.
9933 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9935 * posix/Makefile (test-xfail-annexc): New variable.
9936 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9938 2014-02-26 Joseph Myers <joseph@codesourcery.com>
9940 * argp/Makefile: Include Makeconfig immediately after defining
9942 * assert/Makefile: Likewise.
9943 * benchtests/Makefile: Likewise.
9944 * catgets/Makefile: Likewise.
9945 * conform/Makefile: Likewise.
9946 * crypt/Makefile: Likewise.
9947 * csu/Makefile: Likewise.
9948 (all): Remove target.
9949 * ctype/Makefile: Include Makeconfig immediately after defining
9951 * debug/Makefile: Likewise.
9952 * dirent/Makefile: Likewise.
9953 * dlfcn/Makefile: Likewise.
9954 * gmon/Makefile: Likewise.
9955 * gnulib/Makefile: Likewise.
9956 * grp/Makefile: Likewise.
9957 * gshadow/Makefile: Likewise.
9958 * hesiod/Makefile: Likewise.
9959 * hurd/Makefile: Likewise.
9960 (all): Remove target.
9961 * iconvdata/Makefile: Include Makeconfig immediately after
9963 * inet/Makefile: Likewise.
9964 * intl/Makefile: Likewise.
9965 * io/Makefile: Likewise.
9966 * libio/Makefile: Likewise.
9967 (all): Remove target.
9968 * locale/Makefile: Include Makeconfig immediately after defining
9970 * login/Makefile: Likewise.
9971 * mach/Makefile: Likewise.
9972 (all): Remove target.
9973 * malloc/Makefile: Include Makeconfig immediately after defining
9975 (all): Remove target.
9976 * manual/Makefile: Include Makeconfig immediately after defining
9978 * math/Makefile: Likewise.
9979 * misc/Makefile: Likewise.
9980 * nis/Makefile: Likewise.
9981 * nss/Makefile: Likewise.
9982 * po/Makefile: Likewise.
9983 (all): Remove target.
9984 * posix/Makefile: Include Makeconfig immediately after defining
9986 * pwd/Makefile: Likewise.
9987 * resolv/Makefile: Likewise.
9988 * resource/Makefile: Likewise.
9989 * rt/Makefile: Likewise.
9990 * setjmp/Makefile: Likewise.
9991 * shadow/Makefile: Likewise.
9992 * signal/Makefile: Likewise.
9993 * socket/Makefile: Likewise.
9994 * soft-fp/Makefile: Likewise.
9995 * stdio-common/Makefile: Likewise.
9996 * stdlib/Makefile: Likewise.
9997 * streams/Makefile: Likewise.
9998 * string/Makefile: Likewise.
9999 * sunrpc/Makefile: Likewise.
10000 (all): Remove target.
10001 * sysvipc/Makefile: Include Makeconfig immediately after defining
10003 * termios/Makefile: Likewise.
10004 * time/Makefile: Likewise.
10005 * timezone/Makefile: Likewise.
10006 (all): Remove target.
10007 * wcsmbs/Makefile: Include Makeconfig immediately after defining
10009 * wctype/Makefile: Likewise.
10011 2014-02-26 Steve Ellcey <sellcey@mips.com>
10013 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10014 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10015 (libc_feholdexcept_setround_mips): Ditto.
10016 (libc_feholdsetround): New.
10017 (libc_feholdsetroundf): New.
10018 (libc_feholdsetroundl): New.
10019 (libc_feupdateenv_test_mips): New.
10020 (libc_feupdateenv_test): New.
10021 (libc_feupdateenv_testf): New.
10022 (libc_feupdateenv_testl): New.
10023 (libc_feresetround): New.
10024 (libc_feresetroundf): New.
10025 (libc_feresetroundl): New.
10026 (libc_fetestexcept_mips): New.
10027 (libc_fetestexcept): New.
10028 (libc_fetestexceptf): New.
10029 (libc_fetestexceptl): New.
10030 (HAVE_RM_CTX): New.
10031 (libc_feholdexcept_setround_mips_ctx): New.
10032 (libc_feholdexcept_setround_ctx): New.
10033 (libc_feholdexcept_setroundf_ctx): New.
10034 (libc_feholdexcept_setroundl_ctx): New.
10035 (libc_fesetenv_mips_ctx): New.
10036 (libc_fesetenv_ctx): New.
10037 (libc_fesetenv_ctxf): New.
10038 (libc_fesetenv_ctxl): New.
10039 (libc_feupdateenv_mips_ctx): New.
10040 (libc_feupdateenv_ctx): New.
10041 (libc_feupdateenvf_ctx): New.
10042 (libc_feupdateenvl_ctx): New.
10043 (libc_feholdsetround_mips_ctx): New.
10044 (libc_feholdsetround_ctx): New.
10045 (libc_feholdsetroundf_ctx): New.
10046 (libc_feholdsetroundl_ctx): New.
10047 (libc_feresetround_mips_ctx): New.
10048 (libc_feresetround_ctx): New.
10049 (libc_feresetroundf_ctx): New.
10050 (libc_feresetroundl_ctx): New.
10052 2014-02-26 Carlos O'Donell <carlos@redhat.com>
10054 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10056 * manual/ipc.texi: New file.
10057 * manual/Makefile (chapters): Add ipc.
10058 * manual/job.texi: Add "Inter-Process Communication" to next.
10059 * manual/process.texi: Add "Inter-Process Communication" to prev.
10061 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10065 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
10067 * malloc/malloc.c (__libc_calloc): Simplify implementation.
10069 * manual/arith.texi: Fix spaces after sentences.
10070 * manual/charset.texi: Likewise.
10071 * manual/errno.texi: Likewise.
10072 * manual/install.texi: Likewise.
10073 * manual/llio.texi: Likewise.
10074 * manual/locale.texi: Likewise.
10075 * manual/maint.texi: Likewise.
10076 * manual/math.texi: Likewise.
10077 * manual/memory.texi: Likewise.
10078 * manual/message.texi: Likewise.
10079 * manual/probes.texi: Likewise.
10080 * manual/resource.texi: Likewise.
10081 * manual/signal.texi: Likewise.
10082 * manual/socket.texi: Likewise.
10083 * manual/stdio.texi: Likewise.
10084 * manual/string.texi: Likewise.
10085 * manual/time.texi: Likewise.
10086 * manual/users.texi: Likewise.
10088 2014-02-25 Carlos O'Donell <carlos@redhat.com>
10091 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10092 _DEFAULT_SOURCE is defined.
10094 2014-02-25 Ulrich Drepper <drepper@gmail.com>
10095 Carlos O'Donell <carlos@redhat.com>
10098 * elf/dl-tls.c (_dl_count_modids): New function.
10099 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10100 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10101 audit library and increment generation counter.
10102 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10103 * elf/tst-audit9.c: New file.
10104 * elf/tst-auditmod9a.c: New file.
10105 * elf/tst-auditmod9b.c: New file.
10106 * elf/Makefile: Add rules to build and run tst-audit9.
10108 2014-02-25 Florian Weimer <fweimer@redhat.com>
10111 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10113 2014-02-25 Will Newton <will.newton@linaro.org>
10115 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10116 (__longjmp): Restore sp and lr before restoring callee
10117 saved registers. Add longjmp and longjmp_target
10118 SystemTap probe point.
10119 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10120 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10121 Define to zero to match jmpbuf layout.
10122 * sysdeps/arm/setjmp.S: Include stap-probe.h.
10123 (__sigsetjmp): Save sp and lr before saving callee
10124 saved registers. Add setjmp SystemTap probe point.
10126 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10128 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10130 2014-02-24 Andreas Schwab <schwab@suse.de>
10133 * elf/pldd.c (wait_for_ptrace_stop): New function.
10134 (main): Call it after attaching.
10136 2014-02-22 Roland McGrath <roland@hack.frob.com>
10138 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10139 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10140 Versions files is now verboten.
10141 * hurd/Versions (libc: GLIBC_2.0):
10142 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10143 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10144 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10145 * mach/Versions: Likewise.
10147 * csu/Versions: Remove unused %include.
10148 * resolv/Versions: Likewise.
10150 2014-02-21 Joseph Myers <joseph@codesourcery.com>
10152 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10153 ($(objpfx)check-local-headers.out): Likewise.
10154 ($(objpfx)begin-end-check.out): Likewise.
10155 * Makerules (check-abi-%.out): Likewise.
10156 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10157 ($(objpfx)test2.cat): Likewise.
10158 ($(objpfx)de/libc.cat): Likewise.
10159 ($(objpfx)test-gencat.out): Likewise.
10160 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10161 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10162 ($(objpfx)noload-mem): Likewise.
10163 ($(objpfx)tst-pathopt.out): Likewise.
10164 ($(objpfx)tst-rtld-load-self.out): Likewise.
10165 ($(objpfx)tst-array1-cmp.out): Likewise.
10166 ($(objpfx)tst-array1-static-cmp.out): Likewise.
10167 ($(objpfx)tst-array2-cmp.out): Likewise.
10168 ($(objpfx)tst-array3-cmp.out): Likewise.
10169 ($(objpfx)tst-array4-cmp.out): Likewise.
10170 ($(objpfx)tst-array5-cmp.out): Likewise.
10171 ($(objpfx)tst-array5-static-cmp.out): Likewise.
10172 ($(objpfx)check-textrel.out): Likewise.
10173 ($(objpfx)check-execstack.out): Likewise.
10174 ($(objpfx)check-localplt.out): Likewise.
10175 ($(objpfx)order2-cmp.out): Likewise.
10176 ($(objpfx)tst-leaks1-mem): Likewise.
10177 ($(objpfx)tst-leaks1-static-mem): Likewise.
10178 ($(objpfx)tst-initorder-cmp.out): Likewise.
10179 ($(objpfx)tst-initorder2-cmp.out): Likewise.
10180 ($(objpfx)tst-unused-dep.out): Likewise.
10181 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10182 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10183 * iconv/Makefile (test-iconvconfig): Likewise.
10184 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10185 ($(objpfx)iconv-test.out): Likewise.
10186 ($(objpfx)tst-tables.out): Likewise.
10187 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10188 ($(objpfx)tst-gettext.out): Likewise.
10189 ($(objpfx)tst-translit.out): Likewise.
10190 ($(objpfx)tst-gettext2.out): Likewise.
10191 ($(objpfx)tst-gettext4.out): Likewise.
10192 ($(objpfx)tst-gettext6.out): Likewise.
10193 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10194 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10195 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10196 ($(objpfx)tst-fopenloc-mem.out): Likewise.
10197 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10198 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10199 * posix/Makefile ($(objpfx)globtest.out): Likewise.
10200 ($(objpfx)wordexp-tst.out): Likewise.
10201 ($(objpfx)annexc.out): Likewise.
10202 ($(objpfx)tst-fnmatch-mem): Likewise.
10203 ($(objpfx)bug-regex2-mem): Likewise.
10204 ($(objpfx)bug-regex14-mem): Likewise.
10205 ($(objpfx)bug-regex21-mem): Likewise.
10206 ($(objpfx)bug-regex31-mem): Likewise.
10207 ($(objpfx)tst-vfork3-mem): Likewise.
10208 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10209 ($(objpfx)tst-pcre-mem): Likewise.
10210 ($(objpfx)tst-boost-mem): Likewise.
10211 ($(objpfx)tst-getconf.out): Likewise.
10212 ($(objpfx)bug-ga2-mem): Likewise.
10213 ($(objpfx)bug-glob2-mem): Likewise.
10214 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10215 ($(objpfx)mtrace-tst-leaks2): Likewise.
10216 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10217 ($(objpfx)tst-printf.out): Likewise.
10218 ($(objpfx)tst-setvbuf1.out): Likewise.
10219 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10220 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10221 ($(objpfx)tst-fmtmsg.out): Likewise.
10222 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10223 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10225 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10226 * bits/sigaction.h [__USE_MISC]: Likewise.
10227 * bits/waitstatus.h: Update #endif comments.
10228 * ctype/ctype.h: Likewise.
10229 * dirent/dirent.h: Likewise.
10230 [__USE_MISC]: Remove redundant conditionals.
10231 * grp/grp.h: Update #endif comments.
10232 [__USE_GNU]: Remove redundant conditionals.
10233 [__USE_MISC]: Likewise.
10234 * inet/netinet/in.h [__USE_GNU]: Likewise.
10235 * io/sys/stat.h [__USE_MISC]: Likewise.
10236 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10237 * libio/bits/stdio.h: Update #endif comments.
10238 [__USE_MISC]: Remove redundant conditionals.
10239 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10240 * libio/stdio.h: Update #endif comments.
10241 [__USE_MISC]: Remove redundant conditionals.
10242 * math/bits/math-finite.h [__USE_MISC]: Likewise.
10243 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10244 * math/math.h: Update #else and #endif comments.
10245 [__USE_MISC]: Remove redundant conditionals.
10246 * misc/sys/uio.h: Update #endif comments.
10247 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10248 * posix/glob.h [__USE_MISC]: Likewise.
10249 * posix/sys/types.h: Update #endif comments.
10250 [__USE_MISC]: Remove redundant conditionals.
10251 * posix/sys/wait.h: Update #endif comments.
10252 [__USE_MISC]: Remove redundant conditionals.
10253 * posix/unistd.h: Update #endif comments.
10254 [__USE_MISC]: Remove redundant conditionals.
10255 * pwd/pwd.h [__USE_GNU]: Likewise.
10256 [__USE_MISC]: Likewise.
10257 * resolv/netdb.h [__USE_GNU]: Likewise.
10258 * signal/signal.h: Update #endif comments.
10259 [__USE_MISC]: Remove redundant conditionals.
10260 * stdlib/stdlib.h: Update #else and #endif comments.
10261 [__USE_MISC]: Remove redundant conditionals.
10262 [__USE_GNU]: Likewise.
10263 * string/bits/string2.h [__USE_MISC]: Likewise.
10264 * string/string.h: Update #endif comments.
10265 [__USE_MISC]: Remove redundant conditionals.
10266 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10268 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10269 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10270 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10272 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10274 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10276 [__USE_MISC]: Remove redundant conditionals.
10277 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10278 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10279 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10280 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10281 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10283 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10284 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10286 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10287 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10289 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10291 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10292 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10294 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10296 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10297 * sysdeps/x86/bits/string.h: Update #endif comments.
10298 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10300 * time/sys/time.h: Update #endif comments.
10301 * time/time.h: Likewise.
10302 [__USE_MISC]: Remove redundant conditionals.
10304 2014-02-21 Yury Gribov <y.gribov@samsung.com>
10307 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10309 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
10311 * Versions.def (librt): Add GLIBC_2.17.
10313 2014-02-21 Adam Conrad <adconrad@0c3.net>
10315 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10316 synonym for _SYS_AUXV_H to allow direct inclusion.
10317 * sysdeps/sparc/bits/hwcap.h: Likewise.
10318 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10319 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10320 * sysdeps/sparc/sysdep.h: Likewise.
10322 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10324 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10326 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10328 * benchtests/bench-strrchr.c: Print length instead of position.
10330 2014-02-20 Joseph Myers <joseph@codesourcery.com>
10333 * sysdeps/unix/sysv/linux/kernel-features.h
10334 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10335 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10336 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10337 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10339 [__i386__ || __powerpc__ || __sh__ || __sparc__]
10340 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10341 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10342 (__ASSUME_SENDMMSG): Define instead of using previous
10343 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10344 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10345 (__ASSUME_SENDMMSG_SYSCALL): Define.
10346 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10347 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10349 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10350 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10352 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10353 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10355 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10356 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10357 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10358 [__ASSUME_SENDMMSG]: Change conditionals to
10359 [__ASSUME_SENDMMSG_SOCKETCALL].
10360 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10361 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10363 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10364 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10366 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10367 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10368 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10369 [!__ASSUME_SENDMMSG]: Change conditional to
10370 [!__ASSUME_SENDMMSG_SOCKETCALL].
10371 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10372 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10376 * sysdeps/unix/sysv/linux/kernel-features.h
10377 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10378 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10379 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10380 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10381 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10382 [__i386__ || __sparc__]
10383 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10384 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10385 (__ASSUME_RECVMMSG): Define instead of using previous
10386 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10387 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10388 (__ASSUME_RECVMMSG_SYSCALL): Define.
10389 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10390 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10392 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10393 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10395 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10396 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10398 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10399 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10400 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10401 [__ASSUME_RECVMMSG]: Change condition to
10402 [__ASSUME_RECVMMSG_SOCKETCALL].
10403 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10404 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10406 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10407 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10408 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10410 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10411 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10412 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10413 [!__ASSUME_RECVMMSG]: Change condition to
10414 [!__ASSUME_RECVMMSG_SOCKETCALL].
10415 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10416 (__ASSUME_RECVMMSG_SYSCALL): Define.
10419 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10420 __powerpc__ || __s390__ || __sh__ || __sparc__]
10421 (__ASSUME_SOCKETCALL): Define.
10422 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10423 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10424 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10425 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10426 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10427 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10428 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10429 (__ASSUME_ACCEPT4): Define instead of using previous
10430 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10431 __powerpc__ || __sparc__ || __s390__)] condition.
10432 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10433 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10434 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10435 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10436 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10437 [!__ASSUME_ACCEPT4]: Change condition to
10438 [!__ASSUME_ACCEPT4_SOCKETCALL].
10439 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10440 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
10441 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10442 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10443 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10444 __ASSUME_ACCEPT4_SYSCALL.
10445 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10446 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10447 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10448 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10449 __ASSUME_ACCEPT4_SYSCALL.
10450 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10451 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10452 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10453 [__ASSUME_ACCEPT4]: Change condition to
10454 [__ASSUME_ACCEPT4_SOCKETCALL].
10455 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10456 (__ASSUME_SOCKETCALL): Define.
10457 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10458 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10459 (__ASSUME_SOCKETCALL): Define.
10460 (__ASSUME_ACCEPT4): Remove.
10461 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10463 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10464 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10466 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10467 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10469 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10471 (HWCAP_ARM_LPAE): Likewise.
10472 (HWCAP_ARM_EVTSTRM): Likewise.
10473 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10474 Add vpfd32, lpae and evtstrm.
10475 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10478 2014-02-19 Joseph Myers <joseph@codesourcery.com>
10480 * math/auto-libm-test-in: Add tests of clog10.
10481 * math/auto-libm-test-out: Regenerated.
10482 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10483 * sysdeps/i386/fpu/libm-test-ulps: Update.
10484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10486 2014-02-18 Andreas Schwab <schwab@suse.de>
10489 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10490 Store non-zero if the second buffer was newly allocated.
10491 (send_dg): Likewise.
10492 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10493 to send_vc and send_dg.
10494 (res_nsend): Pass NULL for ansp2_malloced.
10495 * resolv/res_query.c (__libc_res_nquery): Add parameter
10496 answerp2_malloced and pass it down to __libc_res_nsend.
10497 (res_nquery): Pass additional NULL to __libc_res_nquery.
10498 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10499 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
10500 second answer buffer if answerp2_malloced was set.
10501 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10502 (__libc_res_nquerydomain): Add parameter
10503 answerp2_malloced and pass it down to __libc_res_nquery.
10504 (res_nquerydomain): Pass additional NULL to
10505 __libc_res_nquerydomain.
10506 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10507 additional NULL to __libc_res_nsend and __libc_res_nquery.
10508 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10509 additional NULL to __libc_res_nsearch.
10510 (_nss_dns_gethostbyname4_r): Revert last change. Use new
10511 parameter of __libc_res_nsearch to check for separately allocated
10513 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10515 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10516 additional NULL to __libc_res_nquery.
10517 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10518 __libc_res_nsearch.
10519 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10520 * include/resolv.h: Update prototypes of __libc_res_nquery,
10521 __libc_res_nsearch, __libc_res_nsend.
10523 2014-02-18 Joseph Myers <joseph@codesourcery.com>
10525 * math/auto-libm-test-in: Add tests of fma.
10526 * math/auto-libm-test-out: Regenerated.
10527 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10528 (fma_towardzero_test_data): Likewise.
10529 (fma_downward_test_data): Likewise.
10530 (fma_upward_test_data): Likewise.
10531 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10533 (rounding_modes): Add values for new field.
10534 (func_calc_method): Add value mpfr_fff_f.
10535 (func_calc_desc): Add mpfr_fff_f union field.
10536 (test_function): Add field exact_args.
10537 (FUNC): Add macro argument EXACT_ARGS.
10538 (FUNC_mpfr_f_f): Update call to FUNC.
10539 (FUNC_mpfr_f_f): Likewise.
10540 (FUNC_mpfr_ff_f): Likewise.
10541 (FUNC_mpfr_if_f): Likewise.
10542 (FUNC_mpc_c_f): Likewise.
10543 (FUNC_mpc_c_c): Likewise.
10544 (test_functions): Add fma. Update calls to FUNC.
10545 (handle_input_arg): Add argument exact_args.
10546 (add_test): Update call to handle_input_arg.
10547 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
10548 (output_for_one_input_case): Update call to calc_generic_results.
10549 Recalculate exact zero results in each rounding mode.
10551 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10552 non-negative before setting low bit.
10553 * math/auto-libm-test-in: Mark one asin test possibly having
10554 spurious underflow.
10555 * math/auto-libm-test-out: Regenerated.
10556 * sysdeps/i386/fpu/libm-test-ulps: Update.
10557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10559 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
10561 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10562 * sysdeps/unix/sysv/linux/microblaze: Move directory from
10563 ports/sysdeps/unix/sysv/linux/microblaze.
10564 * README: Add missing listing for microblaze*-*-linux-gnu.
10566 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
10568 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10571 2014-02-16 Mike Frysinger <vapier@gentoo.org>
10573 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10574 * sysdeps/unix/sysv/linux/ia64: Move directory from
10575 ports/sysdeps/unix/sysv/linux/ia64.
10576 * README: Update listing for ia64-*-linux-gnu.
10578 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
10579 Joseph Myers <joseph@codesourcery.com>
10581 * Makeconfig (test-name): New variable.
10582 (evaluate-test): Likewise.
10583 * Makerules (do-test-clean): Remove .test-result files.
10584 (common-mostlyclean): Likewise.
10585 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10586 * scripts/evaluate-test.sh: New file.
10588 2014-02-14 Joseph Myers <joseph@codesourcery.com>
10590 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10591 separate $(objpfx)tst-fopenloc-cmp.out and
10592 $(objpfx)tst-fopenloc-mem.out targets.
10593 (tests): Update dependencies.
10594 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10595 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10596 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10597 (tst-rxspencer-no-utf8-ARGS): New variable.
10598 (tst-rxspencer-no-utf8-ENV): Likewise.
10599 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10600 instead of $(objpfx)tst-rxspencer-mem.
10601 ($(objpfx)tst-rxspencer-mem): Change target to
10602 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
10603 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10604 * posix/tst-rxspencer-no-utf8.c: New file.
10606 * elf/Makefile ($(objpfx)order.out): Remove rule.
10607 [$(run-built-tests) = yes] (tests): Depend on
10608 $(objpfx)order-cmp.out.
10609 ($(objpfx)order-cmp.out): New rule.
10610 [$(run-built-tests) = yes] (tests): Depend on
10611 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10612 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10613 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10614 $(objpfx)tst-array5-static-cmp.out.
10615 ($(objpfx)tst-array1.out): Remove rule.
10616 ($(objpfx)tst-array1-cmp.out): New rule.
10617 ($(objpfx)tst-array1-static.out): Remove rule.
10618 ($(objpfx)tst-array1-static-cmp.out): New rule.
10619 ($(objpfx)tst-array2.out): Remove rule.
10620 ($(objpfx)tst-array2-cmp.out): New rule.
10621 ($(objpfx)tst-array3.out): Remove rule.
10622 ($(objpfx)tst-array3-cmp.out): New rule.
10623 ($(objpfx)tst-array4.out): Remove rule.
10624 ($(objpfx)tst-array4-cmp.out): New rule.
10625 ($(objpfx)tst-array5.out): Remove rule.
10626 ($(objpfx)tst-array5-cmp.out): New rule.
10627 ($(objpfx)tst-array5-static.out): Remove rule.
10628 ($(objpfx)tst-array5-static-cmp.out): New rule.
10629 [$(run-built-tests) = yes] (tests): Depend on
10630 $(objpfx)order2-cmp.out.
10631 ($(objpfx)order2.out): Remove rule.
10632 ($(objpfx)order2-cmp.out): New rule.
10633 ($(objpfx)tst-initorder.out): Remove rule.
10634 [$(run-built-tests) = yes] (tests): Depend on
10635 $(objpfx)tst-initorder-cmp.out.
10636 ($(objpfx)tst-initorder-cmp.out): New rule.
10637 ($(objpfx)tst-initorder2.out): Remove rule.
10638 [$(run-built-tests) = yes] (tests): Depend on
10639 $(objpfx)tst-initorder2-cmp.out.
10640 ($(objpfx)tst-initorder2-cmp.out): New rule.
10641 [$(run-built-tests) = yes] (tests): Depend on
10642 $(objpfx)tst-unused-dep-cmp.out.
10643 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10644 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10645 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10646 on $(objpfx)tst-setvbuf1-cmp.out.
10647 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10648 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10649 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10650 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10651 ($(objpfx)tst-svc.out): Remove rule.
10652 ($(objpfx)tst-svc-cmp.out): New rule.
10654 2014-02-13 Joseph Myers <joseph@codesourcery.com>
10656 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10657 * ctype/ctype.h [__USE_MISC]: Likewise.
10658 * dirent/dirent.h [__USE_MISC]: Likewise.
10659 * grp/grp.h [__USE_MISC]: Likewise.
10660 * io/fcntl.h [__USE_MISC]: Likewise.
10661 * io/sys/stat.h [__USE_MISC]: Likewise.
10662 * libio/stdio.h [__USE_MISC]: Likewise.
10663 * posix/unistd.h [__USE_MISC]: Likewise.
10664 * pwd/pwd.h [__USE_MISC]: Likewise.
10665 * stdlib.h [__USE_MISC]: Likewise.
10666 * string/bits/string2.h [__USE_MISC]: Likewise.
10667 * string/string.h [__USE_MISC]: Likewise.
10668 * time/time.h [__USE_MISC]: Likewise.
10670 2014-02-13 Andreas Schwab <schwab@suse.de>
10673 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10674 second answer buffer if it was separately allocated.
10676 2014-02-12 Joseph Myers <joseph@codesourcery.com>
10678 * sysdeps/mips/math-tests.h: Include <features.h>.
10679 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10680 (ROUNDING_TESTS_long_double): Do not define.
10681 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10682 (EXCEPTION_TESTS_long_double): Likewise.
10683 * sysdeps/mips/mips64/libm-test-ulps: Update.
10685 * include/features.h (__USE_BSD): Remove macro definitions.
10686 (__USE_SVID): Likewise.
10687 (_BSD_SOURCE): Likewise.
10688 (_SVID_SOURCE): Likewise.
10689 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10690 from definition of _DEFAULT_SOURCE.
10691 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10693 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10694 * bits/mman.h [__USE_BSD]: Likewise.
10695 * bits/termios.h [__USE_BSD]: Likewise.
10696 * bits/waitstatus.h [__USE_BSD]: Likewise.
10697 * ctype/ctype.h [__USE_SVID]: Likewise.
10698 * dirent/dirent.h [__USE_BSD]: Likewise.
10699 * grp/grp.h [__USE_SVID]: Likewise.
10700 [__USE_BSD]: Likewise.
10701 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10702 * io/fcntl.h [__USE_BSD]: Likewise.
10703 * io/ftw.h [__USE_BSD]: Likewise.
10704 * io/sys/stat.h [__USE_BSD]: Likewise.
10705 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10706 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10707 * libio/stdio.h [__USE_SVID]: Likewise.
10708 [__USE_BSD]: Likewise.
10709 * math/math.h [__USE_SVID]: Likewise.
10710 [__USE_BSD]: Likewise.
10711 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10712 * misc/bits/syslog.h [__USE_BSD]: Likewise.
10713 * misc/search.h [__USE_SVID]: Likewise.
10714 * misc/sys/mman.h [__USE_BSD]: Likewise.
10715 * misc/sys/syslog.h [__USE_BSD]: Likewise.
10716 * misc/sys/uio.h [__USE_BSD]: Likewise.
10717 * posix/bits/unistd.h [__USE_BSD]: Likewise.
10718 * posix/glob.h [__USE_BSD]: Likewise.
10719 * posix/regex.h [__USE_BSD]: Likewise.
10720 * posix/sys/types.h [__USE_BSD]: Likewise.
10721 [__USE_SVID]: Likewise.
10722 * posix/sys/utsname.h [__USE_SVID]: Likewise.
10723 * posix/sys/wait.h [__USE_BSD]: Likewise.
10724 [__USE_SVID]: Likewise.
10725 * posix/unistd.h [__USE_BSD]: Likewise.
10726 [__USE_SVID]: Likewise.
10727 * pwd/pwd.h [__USE_SVID]: Likewise.
10728 * resolv/netdb.h [__USE_BSD]: Likewise.
10729 * setjmp/setjmp.h [__USE_BSD]: Likewise.
10730 * signal/signal.h [__USE_BSD]: Likewise.
10731 [__USE_SVID]: Likewise.
10732 * socket/sys/socket.h [__USE_BSD]: Likewise.
10733 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10734 * stdlib/stdlib.h [__USE_BSD]: Likewise.
10735 [__USE_SVID]: Likewise.
10736 * string/bits/string2.h [__USE_BSD]: Likewise.
10737 [__USE_SVID]: Likewise.
10738 * string/bits/string3.h [__USE_BSD]: Likewise.
10739 * string/endian.h [__USE_BSD]: Likewise.
10740 * string/string.h [__USE_SVID]: Likewise.
10741 [__USE_BSD]: Likewise.
10742 * string/strings.h [__USE_BSD]: Likewise.
10743 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10744 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10745 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10746 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10747 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10748 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10750 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10752 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10753 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10755 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10756 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10758 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10760 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10761 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10762 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10764 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10766 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10767 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10768 * termios/termios.h [__USE_BSD]: Likewise.
10769 * time/sys/time.h [__USE_BSD]: Likewise.
10770 * time/time.h [__USE_BSD]: Likewise.
10771 [__USE_SVID]: Likewise.
10773 * Makefile (subdir_targets): Remove subdir_lint.out.
10775 * stdio-common/Makefile (do-tst-unbputc): Remove target.
10776 (do-tst-printf): Likewise.
10777 (tests): Depend directly on $(objpfx)tst-unbputc.out and
10778 $(objpfx)tst-printf.out.
10780 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10782 * Makerules (check-abi-%): Change target to
10783 $(objpfx)check-abi-%.out.
10784 (check-abi target): Update dependencies.
10785 (check-abi-pattern variable): Redirect output of diff to $@.
10786 (check-abi variable): Likewise.
10787 * elf/Makefile (check-abi): Update dependencies.
10789 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10791 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10792 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10794 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10795 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10796 value has largest subnormal exponent.
10797 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10798 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10799 * sysdeps/aarch64/soft-fp/sfp-machine.h
10800 (_FP_TININESS_AFTER_ROUNDING): New macro.
10801 * sysdeps/alpha/soft-fp/sfp-machine.h
10802 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10803 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10805 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10806 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10807 * sysdeps/mips/soft-fp/sfp-machine.h
10808 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10809 * sysdeps/powerpc/soft-fp/sfp-machine.h
10810 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10811 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10813 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10814 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10815 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10816 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10817 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10820 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
10823 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10826 2014-02-12 Richard Henderson <rth@redhat.com>
10828 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10829 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10830 * sysdeps/unix/sysv/linux/alpha: Move directory from
10831 ports/sysdeps/unix/sysv/linux/alpha.
10832 * README: Update listing for alpha-*-linux-gnu.
10834 2014-02-11 Joseph Myers <joseph@codesourcery.com>
10836 * include/features.h: Update comment documenting feature test
10838 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10840 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10841 (_SVID_SOURCE): Likewise.
10842 (_DEFAULT_SOURCE): Update description of default features.
10843 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10845 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10846 (S_ISVTX): Likewise.
10847 * manual/math.texi (Mathematical Constants): Likewise.
10848 * manual/signal.texi (Interrupted Primitives): Likewise.
10849 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10850 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10851 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10852 Don't refer to _SVID_SOURCE in warning text.
10854 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10856 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10858 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10859 * sysdeps/mips/dl-lookup.c: Remove.
10860 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10862 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10865 * math/auto-libm-test-in: Add testcase for expl.
10866 * math/auto-libm-test-out: Regenerate.
10867 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10868 calculation of unsafe.
10869 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10871 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
10873 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10874 * sysdeps/unix/sysv/linux/aarch64: Move directory from
10875 ports/sysdeps/unix/sysv/linux/aarch64.
10876 * README: Update listing for aarch64*-*-linux-gnu.
10878 2014-02-11 Will Newton <will.newton@linaro.org>
10880 * manual/probes.texi (Mathematical Function Probes): Use
10881 "triggered" instead of "hit".
10883 * manual/probes.texi (Internal Probes): Add documentation
10884 of setjmp, longjmp and longjmp_target probes.
10886 * include/stap-probe.h: Add comment about probe argument
10889 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10890 definition. (tr_where, tr_freehook, tr_mallochook,
10891 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10893 2014-02-11 David S. Miller <davem@davemloft.net>
10895 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10896 processing int_tests.
10898 2014-02-10 Joseph Myers <joseph@codesourcery.com>
10900 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10901 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10902 * sysdeps/unix/sysv/linux/mips: Move directory from
10903 ports/sysdeps/unix/sysv/linux/mips.
10904 * README: Update listing for mips-*-linux-gnu and
10905 mips64-*-linux-gnu.
10907 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10909 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10910 * sysdeps/unix/sysv/linux/m68k: Move directory from
10911 ports/sysdeps/unix/sysv/linux/m68k.
10912 * README: Update listing for m68k-*-linux-gnu.
10914 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10916 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10917 * sysdeps/unix/sysv/linux/generic: Move directory from
10918 ports/sysdeps/unix/sysv/linux/generic.
10919 * sysdeps/unix/sysv/linux/tile: Move directory from
10920 ports/sysdeps/unix/sysv/linux/tile.
10921 * README: Update listing for tile*-*-linux-gnu.
10923 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
10925 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10927 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10928 * catgets/open_catalog.c (__open_catalog): Likewise.
10929 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10930 * debug/confstr_chk.c: Likewise.
10931 * debug/fread_chk.c (__fread_chk): Likewise.
10932 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10933 * debug/getgroups_chk.c: Likewise.
10934 * debug/mbsnrtowcs_chk.c: Likewise.
10935 * debug/mbsrtowcs_chk.c: Likewise.
10936 * debug/mbstowcs_chk.c: Likewise.
10937 * debug/memcpy_chk.c: Likewise.
10938 * debug/memmove_chk.c: Likewise.
10939 * debug/mempcpy_chk.c: Likewise.
10940 * debug/memset_chk.c: Likewise.
10941 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10942 * debug/strcat_chk.c (__strcat_chk): Likewise.
10943 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10944 * debug/strncat_chk.c (__strncat_chk): Likewise.
10945 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10946 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10947 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10948 * debug/wcpncpy_chk.c: Likewise.
10949 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10950 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10951 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10952 * debug/wcsncpy_chk.c: Likewise.
10953 * debug/wcsnrtombs_chk.c: Likewise.
10954 * debug/wcsrtombs_chk.c: Likewise.
10955 * debug/wcstombs_chk.c: Likewise.
10956 * debug/wmemcpy_chk.c: Likewise.
10957 * debug/wmemmove_chk.c: Likewise.
10958 * debug/wmempcpy_chk.c: Likewise.
10959 * debug/wmemset_chk.c: Likewise.
10960 * dirent/scandirat.c (SCANDIRAT): Likewise.
10961 * dlfcn/dladdr1.c (dladdr1): Likewise.
10962 * dlfcn/dladdr.c (dladdr): Likewise.
10963 * dlfcn/dlclose.c (dlclose_doit): Likewise.
10964 * dlfcn/dlerror.c (__dlerror): Likewise.
10965 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10966 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10967 * dlfcn/dlopen.c (dlopen_doit): Likewise.
10968 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10969 * dlfcn/dlsym.c (dlsym_doit): Likewise.
10970 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10971 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10972 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10974 * elf/dl-conflict.c: Likewise.
10975 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10976 * elf/dl-dst.h: Likewise.
10977 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10978 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10979 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10980 * elf/dl-init.c (call_init, _dl_init): Likewise.
10981 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10982 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10983 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10985 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10987 * elf/dl-minimal.c (__libc_memalign): Likewise.
10988 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10989 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10990 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10991 * elf/dl-sym.c (do_sym): Likewise.
10992 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10993 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10994 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10995 * elf/dl-writev.h (_dl_writev): Likewise.
10996 * elf/ldconfig.c (search_dir): Likewise.
10997 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10998 (dl_main): Likewise.
10999 * elf/setup-vdso.h (setup_vdso): Likewise.
11000 * grp/compat-initgroups.c (compat_call): Likewise.
11001 * grp/fgetgrent.c (fgetgrent): Likewise.
11002 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11003 * grp/putgrent.c (putgrent): Likewise.
11004 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11006 * hurd/hurdinit.c: Likewise.
11007 * iconvdata/8bit-gap.c (struct): Likewise.
11008 * iconvdata/ansi_x3.110.c : Likewise.
11009 * iconvdata/big5.c : Likewise.
11010 * iconvdata/big5hkscs.c : Likewise.
11011 * iconvdata/cp1255.c: Likewise.
11012 * iconvdata/cp1258.c : Likewise.
11013 * iconvdata/cp932.c : Likewise.
11014 * iconvdata/euc-cn.c: Likewise.
11015 * iconvdata/euc-jisx0213.c : Likewise.
11016 * iconvdata/euc-jp.c: Likewise.
11017 * iconvdata/euc-jp-ms.c : Likewise.
11018 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11019 * iconvdata/gb18030.c : Likewise.
11020 * iconvdata/gbbig5.c (const): Likewise.
11021 * iconvdata/gbgbk.c: Likewise.
11022 * iconvdata/gbk.c : Likewise.
11023 * iconvdata/ibm1364.c : Likewise.
11024 * iconvdata/ibm930.c : Likewise.
11025 * iconvdata/ibm932.c: Likewise.
11026 * iconvdata/ibm933.c : Likewise.
11027 * iconvdata/ibm935.c : Likewise.
11028 * iconvdata/ibm937.c : Likewise.
11029 * iconvdata/ibm939.c : Likewise.
11030 * iconvdata/ibm943.c: Likewise.
11031 * iconvdata/iso_11548-1.c: Likewise.
11032 * iconvdata/iso-2022-cn.c : Likewise.
11033 * iconvdata/iso-2022-cn-ext.c : Likewise.
11034 * iconvdata/iso-2022-jp-3.c: Likewise.
11035 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11036 * iconvdata/iso-2022-kr.c : Likewise.
11037 * iconvdata/iso646.c (gconv_end): Likewise.
11038 * iconvdata/iso_6937-2.c : Likewise.
11039 * iconvdata/iso_6937.c : Likewise.
11040 * iconvdata/iso8859-1.c: Likewise.
11041 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11042 * iconvdata/shift_jisx0213.c : Likewise.
11043 * iconvdata/sjis.c : Likewise.
11044 * iconvdata/t.61.c : Likewise.
11045 * iconvdata/tcvn5712-1.c : Likewise.
11046 * iconvdata/tscii.c: Likewise.
11047 * iconvdata/uhc.c : Likewise.
11048 * iconvdata/unicode.c (gconv_end): Likewise.
11049 * iconvdata/utf-16.c (gconv_end): Likewise.
11050 * iconvdata/utf-32.c (gconv_end): Likewise.
11051 * iconvdata/utf-7.c (base64): Likewise.
11052 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11053 * iconv/gconv_close.c (__gconv_close): Likewise.
11054 * iconv/gconv_open.c (__gconv_open): Likewise.
11055 * iconv/gconv_simple.c (internal_ucs4_loop_single)
11056 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11057 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11058 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11059 (ucs4le_internal_loop_single): Likewise.
11060 * iconv/iconv.c (iconv): Likewise.
11061 * iconv/iconv_close.c: Likewise.
11062 * iconv/loop.c (SINGLE): Likewise.
11063 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11064 * include/atomic.h: Likewise.
11065 * inet/inet6_option.c (option_alloc): Likewise.
11066 * intl/bindtextdom.c (set_binding_values): Likewise.
11067 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11068 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11069 * intl/localealias.c (read_alias_file): Likewise.
11070 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11071 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11072 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11073 * libio/fmemopen.c (fmemopen): Likewise.
11074 * libio/iofgets.c (_IO_fgets): Likewise.
11075 * libio/iofgets_u.c (fgets_unlocked): Likewise.
11076 * libio/iofgetws.c (fgetws): Likewise.
11077 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11078 * libio/iogetdelim.c (_IO_getdelim): Likewise.
11079 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11080 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11081 * locale/findlocale.c (_nl_find_locale): Likewise.
11082 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11083 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11085 * locale/setlocale.c (setlocale): Likewise.
11086 * login/programs/pt_chown.c (main): Likewise.
11087 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11088 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11089 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11090 (mmap, mmap64, mremap, munmap): Likewise.
11091 * math/e_exp2l.c: Likewise.
11092 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11093 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11094 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11095 * math/s_catan.c (__catan): Likewise.
11096 * math/s_catanf.c (__catanf): Likewise.
11097 * math/s_catanh.c (__catanh): Likewise.
11098 * math/s_catanhf.c (__catanhf): Likewise.
11099 * math/s_catanhl.c (__catanhl): Likewise.
11100 * math/s_catanl.c (__catanl): Likewise.
11101 * math/s_ccosh.c (__ccosh): Likewise.
11102 * math/s_ccoshf.c (__ccoshf): Likewise.
11103 * math/s_ccoshl.c (__ccoshl): Likewise.
11104 * math/s_cexp.c (__cexp): Likewise.
11105 * math/s_cexpf.c (__cexpf): Likewise.
11106 * math/s_cexpl.c (__cexpl): Likewise.
11107 * math/s_clog10.c (__clog10): Likewise.
11108 * math/s_clog10f.c (__clog10f): Likewise.
11109 * math/s_clog10l.c (__clog10l): Likewise.
11110 * math/s_clog.c (__clog): Likewise.
11111 * math/s_clogf.c (__clogf): Likewise.
11112 * math/s_clogl.c (__clogl): Likewise.
11113 * math/s_csin.c (__csin): Likewise.
11114 * math/s_csinf.c (__csinf): Likewise.
11115 * math/s_csinh.c (__csinh): Likewise.
11116 * math/s_csinhf.c (__csinhf): Likewise.
11117 * math/s_csinhl.c (__csinhl): Likewise.
11118 * math/s_csinl.c (__csinl): Likewise.
11119 * math/s_csqrt.c (__csqrt): Likewise.
11120 * math/s_csqrtf.c (__csqrtf): Likewise.
11121 * math/s_csqrtl.c (__csqrtl): Likewise.
11122 * math/s_ctan.c (__ctan): Likewise.
11123 * math/s_ctanf.c (__ctanf): Likewise.
11124 * math/s_ctanh.c (__ctanh): Likewise.
11125 * math/s_ctanhf.c (__ctanhf): Likewise.
11126 * math/s_ctanhl.c (__ctanhl): Likewise.
11127 * math/s_ctanl.c (__ctanl): Likewise.
11128 * math/w_pow.c: Likewise.
11129 * math/w_powf.c: Likewise.
11130 * math/w_powl.c: Likewise.
11131 * math/w_scalb.c (sysv_scalb): Likewise.
11132 * math/w_scalbf.c (sysv_scalbf): Likewise.
11133 * math/w_scalbl.c (sysv_scalbl): Likewise.
11134 * misc/error.c (error_tail): Likewise.
11135 * misc/pselect.c (__pselect): Likewise.
11136 * nis/nis_callback.c (__nis_create_callback): Likewise.
11137 * nis/nis_call.c (__nisfind_server): Likewise.
11138 * nis/nis_creategroup.c (nis_creategroup): Likewise.
11139 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11140 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11141 * nis/nis_getservlist.c (nis_getservlist): Likewise.
11142 * nis/nis_lookup.c (nis_lookup): Likewise.
11143 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11144 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11145 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11146 * nis/nis_xdr.c (xdr_endpoint): Likewise.
11147 * nis/nss_compat/compat-grp.c (getgrent_next_file)
11148 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11149 * nis/nss_compat/compat-initgroups.c (add_group)
11150 (internal_getgrent_r): Likewise.
11151 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11152 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11153 * nis/nss_compat/compat-spwd.c (getspent_next_file)
11154 (internal_getspnam_r): Likewise.
11155 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11156 (_nss_nis_getaliasbyname_r): Likewise.
11157 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11158 (_nss_nis_getntohost_r): Likewise.
11159 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11160 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11161 (_nss_nis_getgrgid_r): Likewise.
11162 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11163 (internal_nis_gethostent_r, internal_gethostbyname2_r)
11164 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11165 (_nss_nis_gethostbyname4_r): Likewise.
11166 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11167 (initgroups_netid): Likewise.
11168 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11169 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11170 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11171 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11172 (_nss_nis_getprotobynumber_r): Likewise.
11173 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11174 (_nss_nis_getsecretkey): Likewise.
11175 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11176 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11177 (_nss_nis_getpwuid_r): Likewise.
11178 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11179 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11180 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11181 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11182 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11183 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11184 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11186 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11187 (_nss_nisplus_getntohost_r): Likewise.
11188 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11189 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11190 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11191 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11193 * nis/nss_nisplus/nisplus-initgroups.c
11194 (_nss_nisplus_initgroups_dyn): Likewise.
11195 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11196 (_nss_nisplus_getnetbyaddr_r): Likewise.
11197 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11198 (_nss_nisplus_getprotobynumber_r): Likewise.
11199 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11200 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11201 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11203 * nis/nss_nisplus/nisplus-service.c
11204 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11205 (_nss_nisplus_getservbyport_r): Likewise.
11206 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11207 (_nss_nisplus_getspnam_r): Likewise.
11208 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11210 * nscd/aicache.c (addhstaiX): Likewise.
11211 * nscd/cache.c (cache_search, prune_cache): Likewise.
11212 * nscd/connections.c (register_traced_file, send_ro_fd)
11213 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11214 (main_loop_epoll): Likewise.
11215 * nscd/grpcache.c (addgrbyX): Likewise.
11216 * nscd/hstcache.c (addhstbyX): Likewise.
11217 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11218 * nscd/mem.c (gc, mempool_alloc): Likewise.
11219 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11220 (addinnetgrX): Likewise.
11221 * nscd/nscd-client.h (__nscd_acquire_maplock)
11222 (__nscd_drop_map_ref): Likewise.
11223 * nscd/nscd_getai.c (__nscd_getai): Likewise.
11224 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11225 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11227 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11228 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11229 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11230 (__nscd_get_map_ref): Likewise.
11231 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11232 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11234 * nscd/pwdcache.c (addpwbyX): Likewise.
11235 * nscd/selinux.c (preserve_capabilities): Likewise.
11236 * nscd/servicescache.c (addservbyX): Likewise.
11237 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11238 * posix/fnmatch.c (fnmatch): Likewise.
11239 * posix/getopt.c (_getopt_internal_r): Likewise.
11240 * posix/glob.c (glob, glob_in_dir): Likewise.
11241 * posix/wordexp.c (exec_comm_child): Likewise.
11242 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11243 (getanswer_r, gaih_getanswer_slice): Likewise.
11244 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11245 * resolv/res_init.c: Likewise.
11246 * resolv/res_mkquery.c (res_nmkquery): Likewise.
11247 * resolv/res_query.c (__libc_res_nquery): Likewise.
11248 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11250 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11251 * stdio-common/perror.c (perror): Likewise.
11252 * stdio-common/printf_fp.c (___printf_fp): Likewise.
11253 * stdio-common/tmpnam.c (tmpnam): Likewise.
11254 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11255 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11256 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11258 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11259 * stdlib/putenv.c (putenv): Likewise.
11260 * stdlib/setenv.c (__add_to_environ): Likewise.
11261 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11262 * stdlib/strtol_l.c (INTERNAL): Likewise.
11263 * string/memmem.c (memmem): Likewise.
11264 * string/strerror.c (strerror): Likewise.
11265 * string/strnlen.c (__strnlen): Likewise.
11266 * string/test-memmem.c (simple_memmem): Likewise.
11267 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11268 * sunrpc/pm_getport.c (__get_socket): Likewise.
11269 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11270 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11271 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11272 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11274 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11275 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11276 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11277 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11278 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11279 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11281 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11283 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11284 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11285 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11286 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11287 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11288 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11289 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11290 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11291 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11292 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11293 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11294 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11296 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11298 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11300 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11301 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11302 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11303 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11304 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11305 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11306 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11307 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11308 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11309 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11310 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11311 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11312 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11313 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11314 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11315 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11317 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11319 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11321 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11323 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11324 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11325 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11327 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11328 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11329 * sysdeps/posix/opendir.c (__opendirat): Likewise.
11330 * sysdeps/posix/sleep.c: Likewise.
11331 * sysdeps/posix/tempname.c: Likewise.
11332 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11333 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11335 * sysdeps/powerpc/powerpc32/dl-machine.h
11336 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11337 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11338 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11339 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11340 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11342 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11343 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11344 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11345 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11346 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11347 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11348 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11349 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11350 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11351 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11352 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11353 (elf_machine_lazy_rel): Likewise.
11354 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11355 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11356 (elf_machine_lazy_rel): Likewise.
11357 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11358 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11359 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11360 * sysdeps/unix/grantpt.c (grantpt): Likewise.
11361 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11362 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11363 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11364 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11366 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11367 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11368 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11369 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11370 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11371 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11372 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11373 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11374 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11375 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11376 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11378 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11379 (__posix_fallocate64_l64): Likewise.
11380 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11381 (posix_fallocate): Likewise.
11382 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11384 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11385 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11386 (getifaddrs_internal): Likewise.
11387 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11388 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11389 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11390 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11391 * sysdeps/unix/sysv/linux/posix_fallocate64.c
11392 (__posix_fallocate64_l64): Likewise.
11393 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11395 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11396 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11397 (__get_clockfreq): Likewise.
11398 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11399 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11400 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11401 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11402 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11403 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11404 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11405 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11407 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11408 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11409 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11410 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11411 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11412 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11413 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11415 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11416 (posix_fallocate): Likewise.
11417 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11418 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11419 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11420 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11421 (elf_machine_rela, elf_machine_rela_relative)
11422 (elf_machine_lazy_rel): Likewise.
11423 * time/asctime.c (asctime_internal): Likewise.
11424 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11425 * time/tzset.c (__tzset_parse_tz): Likewise.
11426 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11427 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11428 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11429 * wcsmbs/wcsmbsload.h: Likewise.
11432 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11434 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11435 (arena_get2): Remove THREAD_STATS conditionals.
11436 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11437 (__malloc_stats, int): Likewise.
11439 2014-02-08 Mike Frysinger <vapier@gentoo.org>
11441 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11442 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
11444 * manual/setjmp.texi: Fix typos/grammar errors.
11446 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11447 Only return early when n is <= 0. Delete unused return statement.
11449 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11450 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11451 * debug/tst-longjmp_chk3.c: New file.
11453 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11454 (test_main): Replace code with set_fortify_handler call.
11455 * debug/test-strcpy_chk.c: Likewise.
11456 * debug/tst-chk1.c: Likewise.
11457 * debug/tst-longjmp_chk.c: Likewise.
11458 * test-skeleton.c: Include fcntl.h & paths.h
11459 (set_fortify_handler): Define.
11461 * debug/tst-longjmp_chk.c: Add header comment and include
11462 ../test-skeleton.c.
11463 (do_test): Mark static.
11464 (TEST_FUNCTION): Define.
11466 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11467 (IP_PMTUDISC_INTERFACE): Likewise.
11468 (IP_MULTICAST_IF): Likewise.
11469 (IP_MULTICAST_TTL): Likewise.
11470 (IP_MULTICAST_LOOP): Likewise.
11471 (IP_ADD_MEMBERSHIP): Likewise.
11472 (IP_DROP_MEMBERSHIP): Likewise.
11473 (IP_UNBLOCK_SOURCE): Likewise.
11474 (IP_BLOCK_SOURCE): Likewise.
11475 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11476 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11477 (IP_MSFILTER): Likewise.
11478 (MCAST_JOIN_GROUP): Likewise.
11479 (MCAST_BLOCK_SOURCE): Likewise.
11480 (MCAST_UNBLOCK_SOURCE): Likewise.
11481 (MCAST_LEAVE_GROUP): Likewise.
11482 (MCAST_JOIN_SOURCE_GROUP): Likewise.
11483 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11484 (MCAST_MSFILTER): Likewise.
11485 (IP_MULTICAST_ALL): Likewise.
11486 (IP_UNICAST_IF): Likewise.
11488 * timezone/Makefile: Delete $(have-ksh) check.
11489 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11490 * timezone/tzselect.ksh: Add +x mode bits.
11492 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11493 (ANON_INODE_FS_MAGIC): Likewise.
11494 (BDEVFS_MAGIC): Likewise.
11495 (BINFMTFS_MAGIC): Likewise.
11496 (BTRFS_TEST_MAGIC): Likewise.
11497 (CRAMFS_MAGIC_WEND): Likewise.
11498 (DEBUGFS_MAGIC): Likewise.
11499 (ECRYPTFS_SUPER_MAGIC): Likewise.
11500 (EXT3_SUPER_MAGIC): Likewise.
11501 (EXT4_SUPER_MAGIC): Likewise.
11502 (FUTEXFS_SUPER_MAGIC): Likewise.
11503 (HOSTFS_SUPER_MAGIC): Likewise.
11504 (HUGETLBFS_MAGIC): Likewise.
11505 (MINIX3_SUPER_MAGIC): Likewise.
11506 (MTD_INODE_FS_MAGIC): Likewise.
11507 (NILFS_SUPER_MAGIC): Likewise.
11508 (OPENPROM_SUPER_MAGIC): Likewise.
11509 (PIPEFS_MAGIC): Likewise.
11510 (PSTOREFS_MAGIC): Likewise.
11511 (QNX6_SUPER_MAGIC): Likewise.
11512 (RAMFS_MAGIC): Likewise.
11513 (REISERFS_SUPER_MAGIC_STRING): Likewise.
11514 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11515 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11516 (SECURITYFS_MAGIC): Likewise.
11517 (SELINUX_MAGIC): Likewise.
11518 (SMACK_MAGIC): Likewise.
11519 (SOCKFS_MAGIC): Likewise.
11520 (SQUASHFS_MAGIC): Likewise.
11521 (STACK_END_MAGIC): Likewise.
11522 (TMPFS_MAGIC): Likewise.
11523 (USBDEVICE_SUPER_MAGIC): Likewise.
11524 (V9FS_MAGIC): Likewise.
11525 (XENFS_SUPER_MAGIC): Likewise.
11526 (CRAMFS_MAGIC): Fix typo in comment.
11527 (EXT2_SUPER_MAGIC): Update comment.
11528 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11530 2014-02-08 Joseph Myers <joseph@codesourcery.com>
11532 * sysdeps/arm: Move directory from ports/sysdeps/arm.
11533 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11534 * sysdeps/unix/sysv/linux/arm: Move directory from
11535 ports/sysdeps/unix/sysv/linux/arm.
11536 * README: Update listing for arm-*-linux-gnueabi.
11538 * README: Remove mention of am33.
11540 2014-02-07 Roland McGrath <roland@hack.frob.com>
11542 * bits/sigset.h (__sigemptyset): Use a statement expression rather
11543 than the comma operator, to avoid "rhs of comma has no effect"
11545 (__sigfillset, __sigandset, __sigorset): Likewise.
11546 * include/signal.h (__sigemptyset): Likewise.
11547 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11549 2014-02-07 Allan McRae <allan@archlinux.org>
11551 * version.h (RELEASE): Set to "development".
11552 (VERSION): Set to "2.19.90"
11553 * NEWS: Add 2.20 section.
11555 2014-02-06 Carlos O'Donell <carlos@redhat.com>
11558 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11560 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11562 * manual/contrib.texi: Update entry for Carlos O'Donell,
11563 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11565 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
11567 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11569 * sysdeps/unix/sysv/linux/kernel-features.h
11570 [__LINUX_KERNEL_VERSION >= 0x020621]
11571 (__ASSUME_PROC_PID_TASK_COMM): Define.
11573 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11576 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11577 conversion when destination buffer does not have enough space.
11578 * libio/tst-ftell-partial-wide.c: New test case.
11579 * libio/Makefile (tests): Add tst-ftell-partial-wide.
11581 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11582 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
11583 Leonard and Allan McRae.
11585 2014-02-04 David S. Miller <davem@davemloft.net>
11587 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11590 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11619 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11621 * nptl/shlib-versions: Change powerpc*le start to 2.17.
11622 * shlib-versions: Likewise.
11624 2014-02-04 Roland McGrath <roland@hack.frob.com>
11625 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11627 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11628 (abilist-pattern): New variable, set to %-le.abilist.
11630 * Makerules (abilist-pattern): New variable.
11631 (vpath): Use $(abilist-pattern) in place of %.abilist.
11632 (check-abi-% pattern rule): Likewise.
11633 (check-abi, update-abi): Likewise.
11635 2014-02-04 Eric Wong <normalperson@yhbt.net>
11637 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11639 2014-02-03 Carlos O'Donell <carlos@redhat.com>
11641 * manual/startup.texi: Add next, previous, and top entries for
11642 the `Program Arguments' and `Environment Variables' nodes.
11644 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
11646 * manual/macros.texi: Add comments before MTASC-safety macros.
11648 * manual/users.texi: Document MTASC-safety properties.
11650 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11651 (pthread_getspecific, pthread_setspecific): Format with
11652 @deftypefun, and add @safety note.
11653 * manual/signal.texi: Move comments that analyze the above
11654 functions to their home place.
11656 2014-02-03 Allan McRae <allan@archlinux.org>
11658 * po/sl.po: Update Slovenian translation from translation project.
11660 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
11662 * manual/time.texi (timegm): Add missing blank after @c.
11663 Reported by Joseph Myers <joseph@codesourcery.com>.
11665 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
11667 * manual/check-safety.sh: New.
11668 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11670 * manual/terminal.texi: Document MTASC-safety properties.
11672 * manual/filesys.texi: Document MTASC-safety properties.
11674 * manual/errno.texi: Document MTASC-safety properties.
11676 * manual/intro.texi: Document safety identifiers and
11679 * manual/string.texi (wcstok): Fix prototype.
11680 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11682 * manual/time.texi: Document MTASC-safety properties.
11684 * manual/string.texi: Document MTASC-safety properties.
11686 * manual/threads.texi: Document MTASC-safety properties.
11688 * manual/stdio.texi: Document MTASC-safety properties.
11690 * manual/syslog.texi: Document MTASC-safety properties.
11692 * manual/sysinfo.texi: Document MTASC-safety properties.
11694 * manual/startup.texi: Document MTASC-safety properties.
11696 * manual/socket.texi: Document MTASC-safety properties.
11698 * manual/signal.texi: Document MTASC-safety properties.
11700 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
11702 * manual/setjmp.texi: Document MTASC-safety properties.
11704 * manual/search.texi: Document MTASC-safety properties.
11706 * manual/resource.texi: Document MTASC-safety properties.
11708 * manual/process.texi: Document MTASC-safety properties.
11710 * manual/platform.texi: Document MTASC-safety properties.
11712 * manual/pipe.texi: Document MTASC-safety properties.
11714 * manual/pattern.texi: Document MTASC-safety properties.
11716 * manual/message.texi: Document MTASC-safety properties.
11719 * manual/memory.texi: Document MTASC-safety properties.
11721 * manual/math.texi: Document MTASC-safety properties.
11723 * manual/locale.texi: Document MTASC-safety properties.
11725 * manual/llio.texi: Document MTASC-safety properties.
11727 * manual/libdl.texi: New.
11729 * manual/lang.texi: Document MTASC-safety properties.
11731 * manual/job.texi: Document MTASC-safety properties.
11733 * manual/getopt.texi: Document MTASC-safety properties.
11735 * manual/ctype.texi: Document MTASC-safety properties.
11737 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
11740 * csu/libc-tls.c (static_map): Remove variable.
11741 (__libc_setup_tls): Use main executable's link map for TLS data.
11742 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11743 casing for LM_ID_BASE and GL(dl_nns).
11744 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11745 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
11746 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11747 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11748 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11750 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11753 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
11755 * manual/debug.texi: Document MTASC-safety properties.
11757 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
11760 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11761 of __x86_64__ when disabling x87 inline functions.
11763 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
11765 * manual/charset.texi: Document MTASC-safety properties.
11767 * manual/crypt.texi: Document MTASC-safety properties.
11769 * manual/conf.texi: Document MTASC-safety properties.
11771 * manual/arith.texi: Document MTASC-safety properties.
11773 * manual/argp.texi: Document MTASC-safety properties.
11775 * manual/macros.texi: Introduce macros to document multi
11776 thread, asynchronous signal and asynchronous cancellation
11778 * manual/intro.texi: Introduce the properties themselves.
11780 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11782 * sysdeps/sh/sh4/Makefile: New file.
11784 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
11786 * math/gen-libm-test.pl ($srcdir): New variable.
11787 ($auto_input): Use it.
11789 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11792 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11793 access beyond array bounds when parsing netgroups file.
11795 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11796 the old buffer before realloc.
11798 2014-01-27 Allan McRae <allan@archlinux.org>
11800 * po/fr.po: Update French translation from translation project.
11802 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11804 * sysdeps/sh/libm-test-ulps: Regenerate.
11806 2014-01-24 David S. Miller <davem@davemloft.net>
11808 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11810 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11812 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11813 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11815 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11818 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11819 string pointers after reallocation.
11821 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11823 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11824 __SH4A__ instead of __SH_FPU_ANY__.
11826 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11828 * sysdeps/sh/fpu_control.h: New file.
11829 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11830 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11831 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11832 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11833 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11834 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11835 * sysdeps/sh/sys/ucontext.h: Remove.
11836 * sysdeps/sh/sys: Remove directory.
11838 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11840 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11841 s390/sys/ucontext.h.
11842 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11843 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11845 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11848 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11850 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11853 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11854 Adjust the vDSO correctly for internal calls.
11855 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11857 2014-01-20 Allan McRae <allan@archlinux.org>
11859 * po/ca.po: Update Catalan translation from translation project.
11861 2014-01-16 Mike Frysinger <vapier@gentoo.org>
11863 * sysdeps/s390/sotruss-lib.c: New file.
11865 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11868 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11869 (__GI___gettimeofday): Alias for a different internal symbol to avoid
11870 local calls issues by not having a PLT stub required for IFUNC calls.
11871 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11873 2014-01-16 Joseph Myers <joseph@codesourcery.com>
11875 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11876 * math/test-fpucw-static.c: Likewise.
11878 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11881 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11883 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11885 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11886 implementation for powerpc.
11888 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
11891 * sysdeps/posix/system.c (__libc_system): Do not enable
11892 asynchronous cancellation.
11894 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11897 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11898 handling only for numbers special also in the IEEE case.
11900 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11902 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11904 2014-01-11 Allan McRae <allan@archlinux.org>
11906 * po/bg.po: Update Bulgarian translation from translation project.
11908 * po/de.po: Update German translation from translation project.
11910 2014-01-10 Roland McGrath <roland@hack.frob.com>
11912 * sysdeps/generic/gcc-compat.h: New file.
11914 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11916 * benchtests/asin-inputs: Correct slow inputs.
11917 * benchtests/acos-inputs: Likewise.
11919 2014-01-10 Allan McRae <allan@archlinux.org>
11921 * po:sv.po: Update Swedish translation from translation project.
11923 * po/vi.po: Update Vietnamese translation from translation project.
11925 * po/eo.po: Update Esperanto translation from translation project.
11927 * po/cs.po: Update Czech translation from translation project.
11929 * po/nl.po: Update Dutch translation from translation project.
11931 * po/pl.po: Update Polish translation from translation project.
11933 * po/ru.po: Update Russian translation from translation project.
11935 * po/uk.po: Update Ukrainian translation from translation project.
11937 2014-01-08 Brooks Moses <bmoses@google.com>
11939 * elf/dl-load.c: Fix comment typo.
11941 2014-01-08 Carlos O'Donell <carlos@redhat.com>
11943 * po/header.pot: Rename to...
11944 * po/pot.header: ... this.
11945 * po/Makefile: Use pot.header.
11947 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
11948 Maxim Kuvyrkov <maxim@kugelworks.com>
11951 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11952 SRC and DEST against LEN.
11954 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11957 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11959 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11961 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11965 2014-01-08 Joseph Myers <joseph@codesourcery.com>
11968 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11969 for large positive arguments.
11971 2014-01-07 Joseph Myers <joseph@codesourcery.com>
11973 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11975 * math/auto-libm-test-in: Mark various tests with
11976 xfail-rounding:ldbl-128ibm.
11977 * math/auto-libm-test-out: Regenerated.
11980 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11981 Increase overflow threshold.
11983 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
11986 * stdio-common/vfprintf.c: Check for integer overflow.
11988 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11990 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11991 the first argument and return value of __tls_get_addr_internal.
11993 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11995 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11996 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11998 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12000 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12001 * sysdeps/s390/rtld-global-offsets.sym: New file.
12002 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12004 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12005 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12006 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12008 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12009 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12015 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12016 halfs of GPRs for high_gprs contexts.
12017 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12018 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
12020 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12022 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12024 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12025 for high GPRs (uc_high_gprs) and for future extensions
12027 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12028 for future extensions (__reserved).
12029 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12031 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12032 SC_HIGHGPRS offset definition.
12033 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12034 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12036 * Versions.def: Add GLIBC_2.19 for libpthread.
12037 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12038 siglongjmp for libpthread with GLIBC_2.19 symver.
12039 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12040 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12041 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12042 * sysdeps/s390/__longjmp.c: New file.
12043 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12044 * sysdeps/s390/longjmp.c: New file.
12045 * sysdeps/s390/setjmp.S: New file.
12046 * sysdeps/s390/sigjmp.S: New file.
12047 * sysdeps/s390/v1-longjmp.c: New file.
12048 * sysdeps/s390/v1-setjmp.h: New file.
12049 * sysdeps/s390/v1-sigjmp.c: New file.
12050 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12051 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12052 GLIBC_2.19 version.
12053 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12054 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12055 versioned symbols for ____longjmp_chk.
12056 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12066 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12067 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12068 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12069 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12070 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12071 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12072 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12073 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12074 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12075 * sysdeps/s390/rtld-__longjmp.c: New file.
12076 * sysdeps/s390/rtld-setjmp.S: New file.
12078 2014-01-06 Joseph Myers <joseph@codesourcery.com>
12081 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12082 Return -__logl (x) for small positive arguments without evaluating
12085 2014-01-06 Mike Frysinger <vapier@gentoo.org>
12087 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12089 (__ptrace_peeksiginfo_args): ... this.
12090 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12091 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12092 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12094 2014-01-06 Allan McRae <allan@archlinux.org>
12096 * inet/netinet/in.h: Fix typo in comment.
12098 2014-01-05 Andreas Jaeger <aj@suse.de>
12100 * sysdeps/i386/fpu/libm-test-ulps: Update.
12102 2014-01-05 Allan McRae <allan@archlinux.org>
12104 * po/libc.pot: Regenerated.
12106 * malloc/memusagestat.c: Fix gettext call formatting.
12108 2014-01-04 Sami Kerola <kerolasa@iki.fi>
12110 * nscd/nscd.c: Improve usage() output.
12112 2014-01-04 Mike Frysinger <vapier@gentoo.org>
12114 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12115 * sysdeps/unix/sysv/linux/configure: Regenerated.
12116 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12117 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12119 2014-01-03 Joseph Myers <joseph@codesourcery.com>
12122 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12123 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12125 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12127 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12128 extra tokens at end of #undef directive.
12129 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12130 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12131 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12133 2014-01-03 Joseph Myers <joseph@codesourcery.com>
12135 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12137 * math/auto-libm-test-in: Mark various tests with
12138 xfail-rounding:ldbl-128ibm.
12139 * math/auto-libm-test-out: Regenerated.
12141 2014-01-02 Joseph Myers <joseph@codesourcery.com>
12144 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12145 numbers with subnormal high part when calculating exponent.
12148 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12152 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12154 (__ieee754_acoshl): Use __log1pl not __log1p.
12156 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
12158 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12159 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12160 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12161 (grow_heap, heap_trim, _int_new_arena, get_free_list)
12162 (reused_arena, arena_get2): Convert to GNU style.
12163 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12164 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12165 (memalign_check, __malloc_set_state): Likewise.
12166 * malloc/mallocbug.c (main): Likewise.
12167 * malloc/malloc.c (__malloc_assert, malloc_init_state)
12168 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12169 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12170 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12171 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12172 (__posix_memalign, malloc_info): Likewise.
12173 * malloc/malloc.h: Likewise.
12174 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12175 (mallochook, memalignhook, reallochook, mabort): Likewise.
12176 * malloc/mcheck.h: Likewise.
12177 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12178 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12179 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12180 * malloc/morecore.c (__default_morecore): Likewise.
12181 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12182 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12183 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12184 (print_and_abort): Likewise.
12185 * malloc/obstack.h: Likewise.
12186 * malloc/set-freeres.c (__libc_freeres): Likewise.
12187 * malloc/tst-mallocstate.c (main): Likewise.
12188 * malloc/tst-mtrace.c (main): Likewise.
12189 * malloc/tst-realloc.c (do_test): Likewise.
12191 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12194 * nscd/netgroupcache.c (do_notfound): New function.
12195 (addgetnetgrentX): Use it.
12198 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12199 NSS_STATUS_NOTFOUND.
12201 2014-01-01 Joseph Myers <joseph@codesourcery.com>
12203 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12206 2014-01-01 Allan McRae <allan@archlinux.org>
12208 * scripts/update-copyrights: Update configure input file suffix.
12210 * NEWS: Update copyright year.
12211 * catgets/gencat.c: Likewise.
12212 * csu/version.c: Likewise.
12213 * debug/catchsegv.sh: Likewise.
12214 * debug/pcprofiledump.c: Likewise.
12215 * debug/xtrace.sh: Likewise.
12216 * elf/ldconfig.c: Likewise.
12217 * elf/ldd.bash.in: Likewise.
12218 * elf/pldd.c: Likewise.
12219 * elf/sotruss.ksh: Likewise.
12220 * elf/sprof.c: Likewise.
12221 * iconv/iconv_prog.c: Likewise.
12222 * iconv/iconvconfig.c: Likewise.
12223 * locale/programs/locale.c: Likewise.
12224 * locale/programs/localedef.c: Likewise.
12225 * login/programs/pt_chown.c: Likewise.
12226 * malloc/memusage.sh: Likewise.
12227 * malloc/memusagestat.c: Likewise.
12228 * malloc/mtrace.pl: Likewise.
12229 * manual/libc.texinfo: Likewise.
12230 * nscd/nscd.c: Likewise.
12231 * nss/getent.c: Likewise.
12232 * nss/makedb.c: Likewise.
12233 * posix/getconf.c: Likewise.
12234 * scripts/test-installation.pl: Likewise.
12236 * All files with FSF copyright notices: Update copyright dates
12237 using scripts/update-copyrights.
12238 * intl/plural.c: Regenerated.
12239 * locale/programs/charmap-kw.h: Likewise.
12240 * locale/programs/locfile-kw.h: Likewise.
12242 2013-12-31 Mike Frysinger <vapier@gentoo.org>
12244 * sysdeps/unix/sysv/linux/configure: Regenerated.
12245 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12246 the linux/fanotify.h header.
12247 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12248 HAVE_LINUX_FANOTIFY_H is defined.
12250 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12252 * benchtests/cos-inputs: New inputs.
12253 * benchtests/sin-inputs: Likewise.
12255 * benchtests/atan-inputs: New inputs. Fix name of multiple
12256 precision fallback inputs.
12258 * benchtests/atanh-inputs: New inputs.
12259 * benchtests/tanh-inputs: Likewise.
12261 * benchtests/acosh-inputs: New inputs.
12262 * benchtests/asinh-inputs: Likewise.
12264 * benchtests/cosh-inputs: New inputs.
12265 * benchtests/sinh-inputs: Likewise.
12267 * benchtests/acos-inputs: Add more inputs.
12268 * benchtests/asin-inputs: Likewise.
12270 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
12273 * manual/arith.texi: Fix spelling.
12274 * manual/charset.texi: Likewise.
12275 * manual/errno.texi: Likewise.
12276 * manual/filesys.texi: Likewise.
12277 * manual/lang.texi: Likewise.
12278 * manual/llio.texi: Likewise.
12279 * manual/locale.texi: Likewise.
12280 * manual/message.texi: Likewise.
12281 * manual/resource.texi: Likewise.
12282 * manual/search.texi: Likewise.
12283 * manual/setjmp.texi: Likewise.
12284 * manual/stdio.texi: Likewise.
12285 * manual/string.texi: Likewise.
12286 * manual/sysinfo.texi: Likewise.
12287 * manual/time.texi: Likewise.
12289 2013-12-27 Carlos O'Donell <carlos@redhat.com>
12291 * po/sl.po: New file.
12293 2013-12-27 Mike Frysinger <vapier@gentoo.org>
12295 * .gitignore: Add core/.gdbinit/.gdb_history.
12297 2013-12-27 Allan McRae <allan@archlinux.org>
12300 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12301 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12303 2013-12-24 Brooks Moses <bmoses@google.com>
12305 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12306 all compilers that claim C++98 compliance, not just GCC.
12307 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12310 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12312 * NEWS: Restore accidentally deleted bug-fix entries.
12314 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12315 Ondřej Bílka <neleai@seznam.cz>
12318 * malloc/malloc.c (_int_free): Perform sanity check only if we
12321 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
12324 * manual/stdio.texi (String Input Conversions): Clarify that character
12325 classes are not supported.
12327 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12331 2013-12-22 Joseph Myers <joseph@codesourcery.com>
12334 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12335 Calculate results for small negative arguments directly rather
12336 than using reflection formula with special underflow handling.
12338 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12339 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12340 sysdeps/unix/bsd/bsd4.4/syscalls.list.
12341 (fchflags): Likewise.
12342 (revoke): Likewise.
12343 (setlogin): Likewise.
12344 (sigaltstack): Likewise.
12346 (sigblock): Remove.
12347 (sigsetmask): Likewise.
12349 (waitpid): Likewise.
12350 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12351 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12353 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12354 * sysdeps/unix/bsd/Makefile: ... here.
12355 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12356 * sysdeps/unix/bsd/Versions: ... here.
12357 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12358 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12359 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12360 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12361 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12362 * sysdeps/unix/bsd/sigblock.c: ... here.
12363 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12364 * sysdeps/unix/bsd/sigsetmask.c: ... here.
12365 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12366 * sysdeps/unix/bsd/sigvec.c: ... here.
12367 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12368 * sysdeps/unix/bsd/tcdrain.c: ... here.
12369 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12370 * sysdeps/unix/bsd/tcgetattr.c: ... here.
12371 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12372 * sysdeps/unix/bsd/tcsetattr.c: ... here.
12373 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12374 * sysdeps/unix/bsd/wait.c: ... here.
12375 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12376 * sysdeps/unix/bsd/wait3.c: ... here.
12377 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12378 * sysdeps/unix/bsd/waitpid.c: ... here.
12380 2013-12-21 Joseph Myers <joseph@codesourcery.com>
12383 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12384 round-to-nearest for [!USE_AS_EXPM1L].
12385 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12386 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
12387 more tests of exp and exp10. Expect some exp10 tests to miss
12388 exceptions or fail in directed rounding modes.
12389 * math/auto-libm-test-out: Regenerated.
12390 * math/libm-test.inc (exp10_tonearest_test_data): New array.
12391 (exp10_test_tonearest): New function.
12392 (exp10_towardzero_test_data): New array.
12393 (exp10_test_towardzero): New function.
12394 (exp10_downward_test_data): New array.
12395 (exp10_test_downward): New function.
12396 (exp10_upward_test_data): New array.
12397 (exp10_test_upward): New function.
12398 (main): Call the new functions.
12399 * sysdeps/i386/fpu/libm-test-ulps: Update.
12400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12402 2013-12-20 Joseph Myers <joseph@codesourcery.com>
12404 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12405 asinh, atan, atan2, atanh, cbrt, cos and cosh.
12406 * math/auto-libm-test-out: Regenerated.
12407 * math/libm-test.inc (acosh_test_data): Add more tests.
12408 (atanh_test_data): Likewise.
12409 (ceil_test_data): Likewise.
12410 (copysign_test_data): Likewise.
12411 * sysdeps/i386/fpu/libm-test-ulps: Update.
12412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12414 * timezone/checktab.awk: Update from tzcode 2013i.
12415 * timezone/private.h: Likewise.
12416 * timezone/scheck.c: Likewise.
12417 * timezone/tzfile.h: Likewise.
12418 * timezone/tzselect.ksh: Likewise.
12419 * timezone/zdump.c: Likewise.
12420 * timezone/zic.c: Likewise.
12422 * math/auto-libm-test-in: Add tests of cpow.
12423 * math/auto-libm-test-out: Regenerated.
12424 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12425 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12427 (func_calc_desc): Add mpc_cc_c union field.
12428 (test_functions): Add cpow.
12429 (special_fill_2pi): New function.
12430 (special_real_inputs): Add 2pi.
12431 (calc_generic_results): Handle mpc_cc_c.
12432 * sysdeps/i386/fpu/libm-test-ulps: Update.
12433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12435 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12436 csqrt, ctan and ctanh.
12437 * math/auto-libm-test-out: Regenerated.
12438 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12439 (TEST_COND_x86): Likewise.
12440 (ccos_test_data): Use AUTO_TESTS_c_c.
12441 (ccosh_test_data): Likewise.
12442 (cexp_test_data): Likewise.
12443 (clog_test_data): Likewise.
12444 (csqrt_test_data): Likewise.
12445 (ctan_test_data): Likewise.
12446 (ctan_tonearest_test_data): Likewise.
12447 (ctan_towardzero_test_data): Likewise.
12448 (ctan_downward_test_data): Likewise.
12449 (ctan_upward_test_data): Likewise.
12450 (ctanh_test_data): Likewise.
12451 (ctanh_tonearest_test_data): Likewise.
12452 (ctanh_towardzero_test_data): Likewise.
12453 (ctanh_downward_test_data): Likewise.
12454 (ctanh_upward_test_data): Likewise.
12455 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12457 (func_calc_desc): Add mpc_c_c union field.
12458 (FUNC_mpc_c_c): New macro.
12459 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12460 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12462 (special_fill_min_subnorm_p120): New function.
12463 (special_real_inputs): Add min_subnorm_p120.
12464 (calc_generic_results): Handle mpc_c_c.
12465 * sysdeps/i386/fpu/libm-test-ulps: Update.
12466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12468 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12470 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12471 (do_sin_slow): New functions.
12472 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12473 (cslow2, csloww1, csloww2): Use the new functions.
12475 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12476 Use M to change sign of result instead of X. Assume X is
12478 (csloww1): Likewise.
12482 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12483 arguments A and DA.
12487 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12489 (sloww1): Don't adjust sign of DX.
12490 (csloww1): Likewise.
12491 (sloww2): Use X directly and don't adjust sign of DX.
12492 (csloww2): Likewise.
12494 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12496 * math/auto-libm-test-in: Add tests of cabs and carg.
12497 * math/auto-libm-test-out: Regenerated.
12498 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12499 (carg_test_data): Likewise.
12500 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12502 (func_calc_desc): Add mpc_c_f union field.
12503 (test_functions): Add cabs and carg.
12504 (calc_generic_results): Handle mpc_c_f.
12506 * sysdeps/powerpc/powerpc32/libgcc-compat.S
12507 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12508 as a macro and a compat symbol.
12509 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12510 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12511 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12512 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12513 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12514 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12516 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12518 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12520 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12522 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12524 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12526 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12527 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12530 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12534 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12536 * manual/texinfo.tex: Update to version 2013-11-26.10 with
12537 trailing whitespace removed.
12538 * scripts/config.guess: Update to version 2013-11-29.
12539 * scripts/config.sub: Update to version 2013-10-01.
12541 * math/auto-libm-test-in: Add tests of sincos.
12542 * math/auto-libm-test-out: Regenerated.
12543 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12544 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12546 (func_calc_desc): Add mpfr_f_11 union field.
12547 (test_functions): Add sincos.
12548 (calc_generic_results): Handle mpfr_f_11.
12549 * sysdeps/i386/fpu/libm-test-ulps: Update.
12550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12552 2013-12-19 Andreas Schwab <schwab@suse.de>
12554 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12556 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12557 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12558 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12560 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12562 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12563 * sysdeps/i386/fpu/libm-test-ulps: Update.
12564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12567 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12568 round-to-nearest mode when using frndint.
12569 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12570 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12571 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12573 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
12575 * math/auto-libm-test-out: Regenerated.
12576 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12577 (TEST_COND_x86): Likewise.
12578 (expm1_tonearest_test_data): New array.
12579 (expm1_test_tonearest): New function.
12580 (expm1_towardzero_test_data): New array.
12581 (expm1_test_towardzero): New function.
12582 (expm1_downward_test_data): New array.
12583 (expm1_test_downward): New function.
12584 (expm1_upward_test_data): New array.
12585 (expm1_test_upward): New function.
12586 (main): Run the new test functions.
12587 * sysdeps/i386/fpu/libm-test-ulps: Update.
12588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12590 * include/features.h: Update comment documenting feature test
12591 macros. Mention _DEFAULT_SOURCE in comment.
12592 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12593 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12594 _BSD_SOURCE and _SVID_SOURCE.
12595 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12596 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12597 !_SVID_SOURCE]: Likewise.
12598 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12599 (__USE_POSIX_IMPLICITLY): Define.
12600 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12601 (_POSIX_SOURCE): Undefine and redefine.
12602 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12603 (_POSIX_C_SOURCE): Likewise.
12604 * manual/creature.texi (_DEFAULT_SOURCE): Document.
12605 (Feature Test Macros): Update documentation of default features.
12607 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12609 * benchtests/Makefile: Add bench-strtok.
12610 * benchtests/bench-strtok.c: New file: strtok benchtest.
12612 2013-12-19 Allan McRae <allan@archlinux.org>
12614 * manual/install.texi: Suppress menu for plain text output.
12615 * INSTALL: Regenerated.
12617 2013-12-18 Brooks Moses <bmoses@google.com>
12620 * misc/getauxval.c: Include errno.h.
12621 (__getauxval): Set errno to ENOENT if the requested type is not
12623 * misc/sys/auxv.h (getauxval): Document that it may set errno;
12624 don't declare with __attribute_const__.
12625 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12626 * manual/startup.texi: Document that getauxval sets errno.
12628 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12630 * math/auto-libm-test-in: Add tests of jn and yn.
12631 * math/auto-libm-test-out: Regenerated.
12632 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12633 (yn_test_data): Likewise.
12634 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12636 (func_calc_desc): Add mpfr_if_f union field.
12637 (FUNC_mpfr_if_f): New macro.
12638 (test_functions): Add jn and yn.
12639 (calc_generic_results): Assert type of second input for
12640 mpfr_ff_f. Handle mpfr_if_f.
12641 (output_for_one_input_case): Disable all checking for arguments
12642 fitting floating-point types in case of an integer argument.
12643 * sysdeps/i386/fpu/libm-test-ulps: Update.
12644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12647 Don't expect fegetround reference in libm.so.
12649 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12651 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12652 $(config-cflags-nofma).
12654 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12656 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12657 * math/auto-libm-test-out: Regenerated.
12660 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12661 to determine exponent and adjust argument to have exponent of -1.
12662 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12664 * math/auto-libm-test-out: Regenerated.
12665 * sysdeps/i386/fpu/libm-test-ulps: Update.
12666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12668 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
12670 * manual/probes.texi: Remove cases when per-thread arenas are
12673 2013-12-18 Andreas Schwab <schwab@suse.de>
12675 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12676 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12677 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12678 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12679 * sysdeps/i386/i686/multiarch/Makefile: Update.
12680 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12682 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12684 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12685 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12687 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
12690 Support TZ transition times < 00:00:00.
12691 This is needed for version-3 tz-format files; it supports time
12692 stamps past 2037 for America/Godthab (the only entry in the tz
12693 database for which this change is relevant).
12694 * manual/time.texi (TZ Variable): Document transition times
12695 from -167:59:59 through -00:00:01.
12696 * time/tzset.c (tz_rule): Time of day is now signed.
12697 (__tzset_parse_tz): Parse negative time of day.
12699 Document TZ transition times >= 25:00:00.
12700 * manual/time.texi (TZ Variable): Document transition times from
12701 25:00:00 through 167:59:59. These are already supported, and this
12702 support will help with version-3 tz-format files.
12704 * manual/time.texi (TZ Variable): Modernize North America example
12705 to reflect current (i.e., 2007-and-later) daylight saving rules.
12707 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12709 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12711 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12712 * sysdeps/unix/bsd/bits/stat.h: Likewise.
12713 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12714 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12715 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12716 * sysdeps/unix/bsd/bsdstat.h: Likewise.
12717 * sysdeps/unix/bsd/clock.c: Likewise.
12718 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12719 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12720 * sysdeps/unix/bsd/init-posix.c: Likewise.
12721 * sysdeps/unix/bsd/poll.c: Likewise.
12722 * sysdeps/unix/bsd/ptsname.c: Likewise.
12723 * sysdeps/unix/bsd/seekdir.c: Likewise.
12724 * sysdeps/unix/bsd/setegid.c: Likewise.
12725 * sysdeps/unix/bsd/seteuid.c: Likewise.
12726 * sysdeps/unix/bsd/setgid.c: Likewise.
12727 * sysdeps/unix/bsd/setrgid.c: Likewise.
12728 * sysdeps/unix/bsd/setruid.c: Likewise.
12729 * sysdeps/unix/bsd/setsid.c: Likewise.
12730 * sysdeps/unix/bsd/setuid.c: Likewise.
12731 * sysdeps/unix/bsd/sigaction.c: Likewise.
12732 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12733 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12734 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12735 * sysdeps/unix/bsd/telldir.c: Likewise.
12736 * sysdeps/unix/bsd/times.c: Likewise.
12737 * sysdeps/unix/bsd/usleep.c: Likewise.
12739 * misc/Makefile (install-lib): Remove libbsd-compat.a.
12740 ($(objpfx)libbsd-compat.a): Remove rule.
12742 * include/features.h (__FAVOR_BSD): Do not define.
12743 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12744 features conflicting with POSIX.
12745 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12746 (_BSD_SOURCE): Remove description of not being a subset of other
12747 feature test macros.
12748 * manual/job.texi (getpgrp): Do not document BSD version.
12749 (getpgid): Do not document by reference to BSD getpgrp.
12750 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12751 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12752 * signal/signal.h [__FAVOR_BSD]: Likewise.
12753 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12754 instead of making contents conditional on [__FAVOR_BSD].
12755 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12757 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12761 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12764 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12765 values below 2**-450, not 2**-500.
12766 * math/auto-libm-test-in: Don't allow spurious underflow from
12768 * math/auto-libm-test-out: Regenerated.
12772 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12773 values of ha and hb and sort them after adjusting subnormal
12775 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12777 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12778 values of ea and eb and sort them after adjusting subnormal
12780 * math/auto-libm-test-in: Do not expect some hypot tests of
12781 subnormals to fail. Add more hypot tests.
12782 * math/auto-libm-test-out: Regenerated.
12784 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12787 * sysdeps/sh/s_fma.c: New file.
12788 * sysdeps/sh/s_fmaf.c: New file.
12789 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
12791 * sysdeps/sh/Implies: Add sh/soft-fp.
12793 2013-12-16 Roland McGrath <roland@hack.frob.com>
12795 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
12796 level of indirection to members `objname', `errstring', `malloced'.
12797 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12798 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
12799 it as the __longjmp argument (just pass 1 instead).
12800 (_dl_catch_error): Initialize C with argument pointers and address of
12801 volatile local ERRCODE rather than copying values out of C at return.
12803 2013-12-16 Joseph Myers <joseph@codesourcery.com>
12805 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12806 * math/auto-libm-test-out: Regenerated.
12807 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12808 (hypot_test_data): Likewise.
12809 (pow_test_data): Likewise.
12810 (pow_tonearest_test_data): Likewise.
12811 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12813 (func_calc_desc): Add mpfr_ff_f union field.
12814 (FUNC_mpfr_ff_f): New macro.
12815 (test_functions): Add atan2, hypot and pow.
12816 (special_fill_min): New function.
12817 (special_fill_minus_min): Likewise.
12818 (special_fill_min_subnorm): Likewise.
12819 (special_fill_minus_min_subnorm): Likewise.
12820 (special_real_inputs): Add min, -min, min_subnorm and
12822 (calc_generic_results): Handle mpfr_ff_f.
12823 * sysdeps/i386/fpu/libm-test-ulps: Update.
12824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12826 2013-12-16 Will Newton <will.newton@linaro.org>
12828 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12829 (Aligned Memory Blocks): Add documentation for aligned_alloc
12830 and suggest it as an alternative to posix_memalign.
12831 (Hooks for Malloc): Document __memalign_hook is also called
12832 for aligned_alloc. (Summary of Malloc): Add summary for
12833 aligned alloc. Document __memalign_hook is also called
12836 2013-12-16 Will Newton <will.newton@linaro.org>
12838 * manual/memory.texi (Malloc Examples): Clarify default
12839 alignment documentation. Suggest posix_memalign rather
12840 than memalign or valloc.
12841 (Aligned Memory Blocks): Remove suggestion to use memalign
12842 or valloc. Remove obsolete comment about BSD.
12843 Document memalign errno values and mark the function obsolete.
12844 Document posix_memalign returned error codes. Mark valloc
12845 as obsolete. (Hooks for Malloc): __memalign_hook is also
12846 called for posix_memalign and valloc.
12847 (Summary of Malloc): Add posix_memalign to function summary.
12848 __memalign_hook is also called for posix_memalign and valloc.
12850 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12852 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12856 (sloww): Use mynumber union. Expand ternary operator into
12857 if-else statements.
12858 (cslow): use mynumber union.
12860 2013-12-16 Allan McRae <allan@archlinux.org>
12862 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12863 * configure: Regenerated.
12865 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12868 * configure.ac: Added --enable-maintainer-mode. Check for
12869 autoconf when enabled.
12870 * configure: Regenerated.
12872 * nscd/nscd.service: New file.
12873 * nscd/nscd.tmpfiles: New file.
12875 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
12878 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12879 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12880 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12881 (strstr): Add __strstr_sse2_unaligned ifunc.
12882 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12883 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12884 (strcasestr): Remove __strcasestr_sse42 ifunc.
12885 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12886 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12887 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12889 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12891 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12892 * sysdeps/sh/bits/fenv.h: ... here.
12893 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12895 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12897 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12899 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12900 hypotf multiarch implementations.
12901 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12902 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12903 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12904 multiarch hypot for PPC64.
12905 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12906 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12907 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12908 multiarch hypotf for PPC64.
12910 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12911 modff multiarch implementations.
12912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12915 multiarch modf for PPC64.
12916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12919 multiarch modff for PPC64.
12921 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12922 and logl multiarch implementations.
12923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12926 multiarch logb for PPC64.
12927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12930 multiarch logb for PPC64.
12931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12934 multiarch logb for PPC64.
12936 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12937 isinff multiarch implementation.
12938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12942 multiarch isinf for PPC64.
12943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12946 multiarch isinff for PPC64.
12948 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12949 finitef multiarch implementation.
12950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12954 multiarch finite for PPC64.
12955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12958 multiarch finitef for PPC64.
12960 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12961 lrint multiarch implementation.
12962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12966 multiarch llrint for PPC64.
12967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12968 multiarch lrint for PPC64.
12970 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12971 copysignf multiarch implementation.
12972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12977 multiarch copysign for PPC64.
12978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12979 multiarch copysignf for PPC64.
12981 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12982 multiarch implementation.
12983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12991 multiarch llround for PPC64.
12992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12993 multiarch trunc for PPC64.
12994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12995 multiarch truncf for PPC64.
12997 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12998 multiarch implementation.
12999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13007 multiarch llround for PPC64.
13008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13009 multiarch round for PPC64.
13010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13011 multiarch roundf for PPC64.
13013 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13014 multiarch implementation.
13015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13023 multiarch llround for PPC64.
13024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13025 multiarch floor for PPC64.
13026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13027 multiarch floorf for PPC64.
13029 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13030 multiarch implementation.
13031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13039 multiarch llround for PPC64.
13040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13041 multiarch ceil for PPC64.
13042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13043 multiarch ceilf for PPC64.
13045 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13046 multiarch implementation.
13047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13054 multiarch llround for PPC64.
13055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13056 multiarch lround for PPC64.
13058 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13059 multiarch implementation.
13060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13067 multiarch isnan for PPC64.
13068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13069 multiarch isnanf for PPC64.
13071 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13072 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13073 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13074 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13075 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13078 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13079 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13080 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13081 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13083 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13084 multiarch implementations.
13085 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13086 (__libc_ifunc_impl_list): Likewise.
13087 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13088 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13089 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13090 multiarch stpcpy for PPC64.
13092 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13093 multiarch implementations.
13094 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13095 (__libc_ifunc_impl_list): Likewise.
13096 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13097 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13098 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13099 multiarch strcpy for PPC64.
13101 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13102 redefine function name.
13103 (_wordcopy_fwd_dest_aligned): Likewise.
13104 (_wordcopy_bwd_aligned): Likewise.
13105 (_wordcopy_bwd_dest_aligned): Likewise.
13106 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13107 multiarch implementations.
13108 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13109 (__libc_ifunc_impl_list): Likewise.
13110 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13111 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13112 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13113 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13114 multiarch wcscpy for PPC64.
13116 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13117 multiarch implementations.
13118 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13119 (__libc_ifunc_impl_list): Likewise.
13120 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13121 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13122 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13123 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13124 multiarch wcscpy for PPC64.
13126 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13127 multiarch implementations.
13128 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13129 (__libc_ifunc_impl_list): Likewise.
13130 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13131 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13132 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13133 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13134 multiarch wcsrchr for PPC64.
13136 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13137 multiarch implementations.
13138 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13139 (__libc_ifunc_impl_list): Likewise.
13140 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13141 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13142 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13143 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13144 multiarch wcschr for PPC64.
13146 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13147 multiarch implementations.
13148 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13149 (__libc_ifunc_impl_list): Likewise.
13150 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13151 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13152 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13153 multiarch strchrnul for PPC64.
13155 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13157 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13158 (__libc_ifunc_impl_list): Likewise.
13159 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13160 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13161 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13162 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13165 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13167 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13168 (__libc_ifunc_impl_list): Likewise.
13169 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13170 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13171 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13172 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13175 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13176 multiarch implementations.
13177 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13178 (__libc_ifunc_impl_list): Likewise.
13179 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13180 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13181 strncasecmp for PPC64.
13182 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13183 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13184 multiarch strncasecmp_l for PPC64.
13186 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13187 multiarch implementations.
13188 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13189 (__libc_ifunc_impl_list): Likewise.
13190 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13191 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13192 multiarch strcasecmp for PPC64.
13193 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13195 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13196 multiarch strcasecmp_l for PPC64.
13198 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13200 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13201 (__libc_ifunc_impl_list): Likewise.
13202 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13203 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13204 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13207 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13209 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13210 (__libc_ifunc_impl_list): Likewise.
13211 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13212 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13213 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13216 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13218 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13219 (__libc_ifunc_impl_list): Likewise.
13220 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13221 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13222 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13223 rawmemrchr for PPC64.
13225 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13227 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13228 (__libc_ifunc_impl_list): Likewise.
13229 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13230 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13231 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13234 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13236 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13237 (__libc_ifunc_impl_list): Likewise.
13238 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13239 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13240 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13243 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13245 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13246 (__libc_ifunc_impl_list): Likewise.
13247 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13248 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13249 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13252 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13253 avoid cretion of __bzero symbol.
13254 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13256 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13258 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13260 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13261 multiarch implementations.
13262 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13263 (__libc_ifunc_impl_list): Likewise.
13264 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13265 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13266 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13267 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13269 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13270 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13271 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13272 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13273 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13275 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13277 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13278 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13280 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13281 (__libc_ifunc_impl_list): Likewise.
13282 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13283 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13284 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13285 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13288 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13289 multiarch for POWER/PPC64.
13290 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13291 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13292 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13293 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13294 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13295 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13296 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13297 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13298 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13301 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13302 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13303 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13304 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13305 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13306 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13307 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13308 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13309 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13310 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13311 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13312 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13313 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13314 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13315 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13324 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13326 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13328 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13330 * benchtests/Makefile (bench): Add exp2 and log2.
13331 (LDLIBS-bench-exp2): Add -lm.
13332 (LDLIBS-bench-log2): Likewise.
13333 * benchtests/exp2-inputs: New inputs file.
13334 * benchtests/log2-inputs: New inputs file.
13335 * benchtests/log-inputs: Add new inputs.
13336 * benchtests/tan-inputs: Likewise.
13338 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13340 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13342 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13343 (csloww2): ... from here.
13345 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13346 instead of structures.
13347 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13348 (POLYNOMIAL): Likewise.
13349 (TAYLOR_SLOW): Likewise.
13355 (sloww1); Likewise.
13356 (sloww2): Likewise.
13357 (bsloww1): Likewise.
13358 (bsloww2): Likewise.
13359 (cslow2): Likewise.
13360 (csloww): Likewise.
13361 (csloww1): Likewise.
13362 (csloww2): Likewise.
13364 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
13366 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13367 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13368 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13369 * malloc/hooks.c (realloc_check): Likewise.
13371 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13372 * malloc/arena.c: Remove PER_THREAD conditional.
13373 [!PER_THREAD]: Remove code.
13374 (ptmalloc_unlock_all2): Likewise.
13375 (ptmalloc_init): Likewise.
13376 (_int_new_arena): Likewise.
13377 (arena_get2): Likewise.
13378 * malloc/hooks.c (__malloc_get_state): Likewise.
13379 (__malloc_set_state): Likewise.
13380 * malloc/malloc.c: Likewise.
13381 (struct malloc_state): Likewise.
13382 (struct malloc_par): Likewise.
13383 (__libc_realloc): Likewise.
13384 (__libc_mallopt): Likewise.
13386 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13388 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13390 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
13392 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13393 macro to a function. Check for zero perturb_byte.
13394 (_int_malloc, _int_free): Remove zero perturb_byte checks.
13396 * malloc/malloc.c: (force_reg): Remove.
13397 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13398 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13399 force_reg by atomic_forced_read.
13400 * malloc/arena.c (ptmalloc_init): Likewise.
13401 * malloc/hooks.c (top_check): Likewise.
13403 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13407 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
13409 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13411 2013-12-08 Joseph Myers <joseph@codesourcery.com>
13413 * math/auto-libm-test-in: Add tests of lgamma.
13414 * math/auto-libm-test-out: Regenerated.
13415 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13416 (M_LOG_2_SQRT_PIl): Likewise.
13417 (lgamma_test_data): Use AUTO_TESTS_f_f1.
13418 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13420 (func_calc_desc): Add mpfr_f_f1 union field.
13421 (ARGS1): New macro.
13429 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13430 (test_functions): Add lgamma.
13431 (calc_generic_results): Handle mpfr_f_f1.
13432 * sysdeps/i386/fpu/libm-test-ulps: Update.
13433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13435 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13437 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13438 __mpn_add_n for PowerPC64/POWER7.
13439 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13440 __mpn_sub_n for PowerPC64/POWER7.
13442 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13443 __mpn_addmul_1 for PowerPC64.
13444 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13445 __mpn_submul_1 for PowerPC64.
13446 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13448 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13451 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
13454 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13456 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13458 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13460 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13461 add multiarch folders.
13462 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13463 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13464 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13465 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13466 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13467 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13468 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13469 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13470 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13471 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13472 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13481 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13487 multiarch __ieee754_hypot for PowerPC32.
13488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13493 multiarch __ieee754_hypotf for PowerPC32.
13495 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13496 long_double_symbol only if __logbl is defined.
13497 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13498 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13499 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13500 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13501 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13502 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13503 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13504 path for implementation.
13505 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13506 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13508 logb, and logbl multiarch implementations for PowerPC32.
13509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13514 multiarch logb for PowerPC32.
13515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13520 multiarch logbf for PowerPC32.
13521 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13525 multiarch logbl implementation for PowerPC32.
13527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13528 and modff multiarch implementations.
13529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13534 multiarch modf for PowerPC32.
13535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13540 multiarch modff for PowerPC32.
13542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13543 and lrintf multiarch implementations.
13544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13549 multiarch lrint for PowerPC32.
13550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13551 file: multiarch lrintf for PowerPC32.
13553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13554 and lroundf multiarch implementations.
13555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13562 multiarch lround for PowerPC32.
13563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13564 file: multiarch lroundf for PowerPC32.
13566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13567 copysign and copysignf multiarch implementations.
13568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13573 file: multiarch copysign for PowerPC32.
13574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13575 file: multiarch copysignf for PowerPC32.
13577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13578 and truncf multiarch implementations.
13579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13584 multiarch trunc for PowerPC32.
13585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13590 multiarch truncf for PowerPC32.
13592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13593 and roundf multiarch implementations.
13594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13599 multiarch round for PowerPC32.
13600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13605 multiarch roundf for PowerPC32.
13607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13608 and floorf multiarch implementations.
13609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13614 multiarch floor for PowerPC32.
13615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13620 multiarch floorf for PowerPC32.
13622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13623 and ceilf multiarch implementations.
13624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13629 multiarch ceil for PowerPC32.
13630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13635 multiarch ceilf for PowerPC32.
13637 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13639 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13640 FINITEF is defined.
13641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13642 and finitef multiarch implementations.
13643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13648 multiarch finite for PowerPC32.
13649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13652 file: multiarch finitef for PowerPC32.
13654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13655 and isinff multiarch implementations.
13656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13661 multiarch isinf for PowerPC32.
13662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13665 multiarch isinff for PowerPC32.
13667 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13668 alias when __isnan is defined.
13669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13670 and isnanf multiarch implementations.
13671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13680 multiarch isnan for PowerPC32.
13681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13686 multiarch isnanf for PowerPC32.
13688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13689 and sqrtf multiarch implementations.
13690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13695 multiarch sqrt for PowerPC32.
13696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13701 multiarch sqrtf for PowerPC32.
13703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13704 and llroundf multiarch implementations.
13705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13712 file: multiarch llround for PowerPC32.
13713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13714 file: multiarch llroundf for PowerPC32.
13716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13717 multiarch PowerPC32 fpu implementations.
13718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13723 multiarch llrint for PowerPC32.
13724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13733 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13735 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13737 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13739 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13740 multiarch wordcopy for PPC32.
13741 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13743 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13744 (__libc_ifunc_impl_list): Likewise.
13745 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13746 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13747 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13748 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13749 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13750 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13752 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13753 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13755 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13757 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13759 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13760 multiarch wcscpy for PPC32.
13761 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13763 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13764 (__libc_ifunc_impl_list): Likewise.
13765 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13766 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13767 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13768 sysdeps/powerpc/power6/wcscpy.c.
13770 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13771 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13773 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13775 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13777 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13778 multiarch wcsrchr for PPC32.
13779 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13781 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13782 (__libc_ifunc_impl_list): Likewise.
13783 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13784 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13785 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13786 sysdeps/powerpc/power6/wcsrchr.c.
13788 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13790 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13792 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13793 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13794 multiarch wcschr for PPc32.
13795 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13797 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13798 (__libc_ifunc_impl_list): Likewise.
13799 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13800 * sysdeps/powerpc/power6/wcschr.c: ... to here.
13801 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13802 sysdeps/powerpc/power6/wcschr.c.
13804 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13805 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13807 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13808 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13809 file: multiarch strchr for PPC32.
13810 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13812 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13813 (__libc_ifunc_impl_list): Likewise.
13815 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13817 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13819 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13821 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13822 multiarch strchrnul for PPC32.
13823 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13825 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13826 (__libc_ifunc_impl_list): Likewise.
13828 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13830 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13831 multiarch strncasecmp for PPC32.
13832 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13834 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13835 multiarch strncasecmp_l for PPC32.
13836 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13837 strncasecmp multiarch objects.
13838 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13839 (__libc_ifunc_impl_list): Likewise.
13841 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13843 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13844 multiarch strncasecmp for PPC32.
13845 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13847 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13848 multiarch strcasecmp_l for PPC32.
13849 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13851 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13852 (__libc_ifunc_impl_list): Likewise.
13854 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13856 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13858 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13859 multiarch strncmp for PPC32.
13860 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13862 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13863 (__libc_ifunc_impl_list): Likewise.
13865 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13866 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13868 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13869 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13870 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13872 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13873 (__libc_ifunc_impl_list): Likewise.
13875 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13877 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13879 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13880 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13882 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13883 (__libc_ifunc_impl_list): Likewise.
13885 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13887 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13889 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13890 multiarch rawmemchr for PPC32.
13891 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13893 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13894 (__libc_ifunc_impl_list): Likewise.
13896 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13898 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13900 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13901 file: memrchr multiarch for PPC32.
13902 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13904 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13905 (__libc_ifunc_impl_list): Likewise.
13907 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13908 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13910 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13911 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13912 multiarch memchr for PPC32.
13913 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13915 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13916 (__libc_ifunc_impl_list): Likewise.
13918 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13919 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13921 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13923 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13924 file: multiarch mempcpy for PPC32.
13925 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13927 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13928 (__libc_ifunc_impl_list): Likewise.
13930 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13931 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13932 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13933 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13934 multiarch bzero for PPC32.
13935 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13937 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13939 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13940 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13941 file: multiarch memset for PPC32.
13942 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13943 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13944 memset multiarch objects.
13945 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13946 (__libc_ifunc_impl_list): Likewise.
13948 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13950 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13951 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13953 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13954 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13956 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13957 (__libc_ifunc_impl_list): Likewise.
13959 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13960 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13961 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13963 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13965 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13967 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13968 multiarch memcpy for PPC32.
13969 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13971 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13972 (__libc_ifunc_impl_list): Likewise.
13974 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13975 support multiarch for POWER/PPC32.
13976 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13978 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13980 Implies file to make multiarch folder appers before the fpu and
13981 default folder for power4 configuration.
13983 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13985 * scripts/bench.pl: Append volatile keyword to type.
13987 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13989 * sysdeps/sh/sotruss-lib.c: New file.
13990 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13992 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13994 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13996 2013-12-05 Joseph Myers <joseph@codesourcery.com>
13999 * math/w_tgamma.c: Include <errno.h>.
14000 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
14001 * math/w_tgammaf.c: Include <errno.h>.
14002 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
14003 * math/w_tgammal.c: Include <errno.h>.
14004 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
14005 * math/auto-libm-test-in: Do not allow missing errno on tgamma
14006 underflow. Add more tgamma tests.
14007 * math/auto-libm-test-out: Regenerated.
14008 * sysdeps/i386/fpu/libm-test-ulps: Update.
14009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14011 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14012 sin, sinh, tan, tanh, tgamma, y0 and y1.
14013 * math/auto-libm-test-out: Regenerated.
14014 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14015 (TEST_COND_x86): Likewise.
14016 (M_E2l): Remove macro.
14018 (M_2_SQRT_PIl): Likewise.
14019 (M_SQRT_PIl): Likewise.
14020 (M_1_DIV_El): Likewise.
14021 (log_test_data): Use AUTO_TESTS_f_f.
14022 (log10_test_data): Likewise.
14023 (log1p_test_data): Likewise.
14024 (log2_test_data): Likewise.
14025 (sin_test_data): Likewise.
14026 (sin_tonearest_test_data): Likewise.
14027 (sin_towardzero_test_data): Likewise.
14028 (sin_downward_test_data): Likewise.
14029 (sin_upward_test_data): Likewise.
14030 (sinh_test_data): Likewise.
14031 (sinh_tonearest_test_data): Likewise.
14032 (sinh_towardzero_test_data): Likewise.
14033 (sinh_downward_test_data): Likewise.
14034 (sinh_upward_test_data): Likewise.
14035 (tan_test_data): Likewise.
14036 (tan_tonearest_test_data): Likewise.
14037 (tan_towardzero_test_data): Likewise.
14038 (tan_downward_test_data): Likewise.
14039 (tan_upward_test_data): Likewise.
14040 (tanh_test_data): Likewise.
14041 (tgamma_test_data): Likewise.
14042 (y0_test_data): Likewise.
14043 (y1_test_data): Likewise.
14044 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14045 (special_real_inputs): Add pi/4.
14046 * sysdeps/i386/fpu/libm-test-ulps: Update.
14047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14049 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14051 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14052 "longjmp_target" static probes.
14053 (__longjmp): Rename to __longjmp_symbol.
14054 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14055 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14056 on which longjmp to generate.
14057 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14058 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14060 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14061 (__sigjmp_save): Rename to __sigjmp_save_symbol.
14062 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14063 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14064 and __sigjmp_save_symbol based on which sigsetjmp to generated.
14065 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14067 __longjmp_symbol based on which __longjmp to generate.
14068 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14070 (setjmp): Rename to setjmp_symbol.
14071 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14072 (_setjmp): Rename to _setjmp_symbol.
14073 (__sigsetjmp): Rename to __sigsetjmp_symbol.
14074 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14075 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14076 which setjmp to generate.
14077 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14078 "longjmp_target" static probes.
14080 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14082 * benchtests/README: Add note about output arguments.
14083 * benchtests/bench-sincos.c: Remove file.
14084 * benchtests/sincos-inputs: New file.
14085 * scripts/bench.pl: Identify output arguments and define
14086 static variables for them.
14088 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14091 * Makefile (INSTALL): Add install-plain.texi as the primary
14093 * manual/install-plain.texi: New file.
14094 * manual/install.texi: Include node directive only for
14095 non-plaintext output.
14097 2013-12-04 Joseph Myers <joseph@codesourcery.com>
14099 * stdlib/longlong.h: Update from GCC.
14103 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14104 * math/w_j0f.c (y0f): Likewise.
14105 * math/w_j0l.c (__y0l): Likewise.
14106 * math/w_j1.c (y1): Likewise.
14107 * math/w_j1f.c (y1f): Likewise.
14108 * math/w_j1l.c (__y1l): Likewise
14109 * math/w_jn.c (yn): Likewise.
14110 * math/w_jnf.c (ynf): Likewise.
14111 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14112 Bessel function pole errors in _POSIX_ mode. Use NAN as return
14113 value for Bessel function domain errors outside _SVID_ mode.
14114 Adjust sign of return value for yn (negative integer, 0).
14115 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14116 by zero in return for negative x and set sign appropriately for
14118 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14119 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14120 * math/libm-test.inc (y0_test_data): Add more tests and adjust
14121 expectations in error cases.
14122 (y1_test_data): Likewise.
14123 (yn_test_data): Likewise.
14124 * sysdeps/i386/fpu/libm-test-ulps: Update.
14125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14127 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14129 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14130 "64" to "64-v1". Add "64-v2".
14131 (abi-64-options): Rename to ...
14132 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
14133 (abi-64-condition): Rename to ...
14134 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
14135 (abi-64-ld-soname): Rename to ...
14136 (abi-64-v1-ld-soname): ... this.
14137 (abi-64-v2-options): Define.
14138 (abi-64-v2-condition): Likewise.
14139 (abi-64-v2-ld-soname): Likewise.
14140 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14141 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14146 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14147 Alan Modra <amodra@gmail.com>
14149 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14150 New versions for use with the ELFv2 ABI.
14151 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14152 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14154 (struct La_ppc64v2_retval): Likewise.
14155 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14156 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14157 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14158 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14159 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14160 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14161 Do not save or restore CR.
14162 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14163 (_dl_profile_resolve): Do no save or restore CR. Support extended
14164 return values for ELFv2 ABI. Fix location of FPR return registers.
14165 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14166 updated values for _CALL_ELF == 2.
14167 (La_regs, La_retval, int_retval): Likewise.
14169 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14171 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14172 (FRAME_MIN_SIZE_PARM): Likewise.
14173 (FRAME_BACKCHAIN): Likewise.
14174 (FRAME_CR_SAVE): Likewise.
14175 (FRAME_LR_SAVE): Likewise.
14176 (FRAME_TOC_SAVE): Likewise.
14177 (FRAME_PARM_SAVE): Likewise.
14178 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14179 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14180 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14181 (call_mcount_parm_offset): New macro.
14182 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14183 (PROF): Use symbolic stack frame offsets.
14184 (TAIL_CALL_SYSCALL_ERROR): Likewise.
14185 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14186 Redefine in terms of FRAME_MIN_SIZE.
14187 (_dl_runtime_resolve): Use symbolic stack frame offsets.
14188 (_dl_profile_resolve): Likewise. Update comment.
14189 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14190 symbols stack frame offsets.
14191 (__sigsetjmp): Likewise.
14192 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14193 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14194 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14195 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14198 (FRAME_BACKCHAIN): Remove.
14199 (FRAME_CR_SAVE): Likewise.
14200 (FRAME_LR_SAVE): Likewise.
14201 (FRAME_COMPILER_DW): Likewise.
14202 (FRAME_LINKER_DW): Likewise.
14203 (FRAME_TOC_SAVE): Likewise.
14204 (FRAME_PARM_SAVE): Likewise.
14205 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14206 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14207 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14209 (CHECK_SP): Use symbolic stack frame offsets.
14210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14211 zone" instead of caller's parameter save area for temp storage.
14212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14213 Likewise. Also, use symbolic stack frame offsets.
14214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14215 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14216 our own stack frame instead of the caller's.
14217 (__socket): Use symbolic stack frame offsets.
14219 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14220 Alan Modra <amodra@gmail.com>
14222 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14224 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14225 (PPC64_LOCAL_ENTRY_OFFSET): Define.
14226 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14228 (elf_machine_fixup_plt): Call it.
14229 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
14231 (elf_machine_rela): Update call to elf_machine_plt_conflict.
14232 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14233 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14234 r2 before calling target.
14236 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14237 Alan Modra <amodra@gmail.com>
14239 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14240 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14241 versions of macros to support ELFv2 ABI.
14242 (LOCALENTRY): New macro.
14243 (ENTRY, EALIGN): Use it.
14244 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14245 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14246 fall through into ENTRY entry point.
14247 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14248 Only define if _CALL_ELF != 2.
14250 (elf_machine_matches_host): Verify ABI version matches.
14251 (RTLD_START): Use LOCALENTRY.
14252 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14253 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14254 (PLT_ENTRY_WORDS): New macro.
14255 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14256 (elf_machine_runtime_setup): Support ELFv2 ABI.
14257 (elf_machine_fixup_plt): Likewise.
14258 (elf_machine_plt_conflict): Likewise.
14259 (resolve_ifunc): Likewise.
14260 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14261 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14264 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14266 (makecontext): Support ELFv2 ABI.
14267 * elf/elf.h (EF_PPC64_ABI): Define.
14269 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14271 * sysdeps/powerpc/powerpc64/sysdep.h
14272 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14273 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14274 (ENTRY) [ASSEMBLER]: ... but instead here ...
14275 (EALIGN) [ASSEMBLER]: ... and here.
14276 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14277 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14278 (ENTRY_2) [!ASSEMBLER]: Use it.
14279 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14280 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
14281 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14282 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14283 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14285 Use PPC64_LOAD_FUNCPTR.
14287 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14289 2013-12-04 Alan Modra <amodra@gmail.com>
14291 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14292 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14293 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14294 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14296 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14297 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14298 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14299 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14300 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14301 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14303 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14306 (__makecontext): Fix incorrect CFI when backtracing out of
14307 context created via makecontext.
14308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14309 (__setcontext): Fix incorrect CFI during switch to new context.
14310 (__novec_setcontext): Likewise.
14312 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14315 * time/strptime_l.c (__strptime_internal): Allow modifiers
14317 * time/tst-strptime.c (day_tests): Add testcase.
14319 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14321 * scripts/bench.pl: Skip over blank lines.
14323 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
14326 * manual/time.texi (Calendar Time): Clarify what timezone functions
14329 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14331 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14333 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
14335 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14337 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14338 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14339 * debug/memset_chk.c (__memset_chk): Likewise.
14340 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14341 * debug/strncpy_chk.c: Likewise.
14343 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14347 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14348 (__ieee754_exp): For possibly underflowing results, check size of
14349 result and force underflow exception if required.
14350 * math/auto-libm-test-in: Add more tests of exp.
14351 * math/auto-libm-test-out: Regenerated.
14352 * sysdeps/i386/fpu/libm-test-ulps: Update.
14353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14356 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14357 * math/w_exp2f.c (__exp2f): Likewise.
14358 * math/w_exp2l.c (__exp2l): Likewise.
14359 * math/auto-libm-test-in: Do not allow missing errno on exp2
14361 * math/auto-libm-test-out: Regenerated.
14363 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
14366 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14367 handle filename validation.
14368 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14371 2013-12-03 Joseph Myers <joseph@codesourcery.com>
14374 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14375 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14376 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14378 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14379 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14380 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14381 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14382 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14383 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14384 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14385 * math/auto-libm-test-in: Don't allow missing errno from erfc.
14386 Add more erfc tests.
14387 * math/auto-libm-test-out: Regenerated.
14388 * sysdeps/i386/fpu/libm-test-ulps: Update.
14389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14391 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14392 exp2, expm1, j0 and j1.
14393 * math/auto-libm-test-out: Regenerated.
14394 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14395 (erfc_test_data): Likewise.
14396 (exp_test_data): Likewise.
14397 (exp_tonearest_test_data): Likewise.
14398 (exp_towardzero_test_data): Likewise.
14399 (exp_downward_test_data): Likewise.
14400 (exp_upward_test_data): Likewise.
14401 (exp10_test_data): Likewise.
14402 (exp2_test_data): Likewise.
14403 (expm1_test_data): Likewise.
14404 (j0_test_data): Likewise.
14405 (j1_test_data): Likewise.
14406 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14407 (input_flag_type): Add flag_xfail_rounding.
14408 (input_flags): Add xfail-rounding.
14409 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14410 (output_for_one_input_case): Handle flag_xfail_rounding.
14411 * sysdeps/i386/fpu/libm-test-ulps: Update.
14412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14414 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
14417 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14420 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14423 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14424 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14425 (STAP_PROBE0): New macro.
14426 (STAP_PROBE1): Likewise.
14427 (STAP_PROBE2): Likewise.
14428 (STAP_PROBE3): Likewise.
14429 (STAP_PROBE4): Likewise.
14431 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
14433 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14435 2013-12-02 Steve Ellcey <sellcey@mips.com>
14437 * benchtests/Makefile (bench): Add sqrt.
14438 (LDLIBS-bench-sqrt): New.
14439 * benchtests/sqrt-input: New.
14441 2013-12-02 Pavel Simerda <psimerda@redhat.com>
14443 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14444 (GAIH_EAI): Likewise.
14445 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14446 (gaih_inet): Likewise.
14447 (getaddrinfo): Don't use GAIH_EAI.
14449 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14450 (struct gaih): Remove definition.
14452 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14454 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14455 Use HERRNOP directly.
14457 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14461 2013-11-30 Joseph Myers <joseph@codesourcery.com>
14463 * math/gen-auto-libm-tests.c (test_functions): Add more
14464 single-argument functions.
14465 (special_fill_pi_2): New function.
14466 (special_fill_minus_pi_2): Likewise.
14467 (special_fill_pi_6): Likewise.
14468 (special_fill_minus_pi_6): Likewise.
14469 (special_fill_pi_3): Likewise.
14470 (special_fill_2pi_3): Likewise.
14471 (special_fill_e): Likewise.
14472 (special_fill_1_e): Likewise.
14473 (special_fill_e_minus_1): Likewise.
14474 (special_real_inputs): Add more special inputs.
14475 (output_for_one_input_case): Do not require ERANGE on underflow to
14476 zero if round-to-nearest result does not underflow to zero, unless
14477 exact results required.
14478 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14479 atan, atanh, cbrt, cos and cosh.
14480 * math/auto-libm-test-out: Regenerated.
14481 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14482 (acos_tonearest_test_data): Likewise.
14483 (acos_towardzero_test_data): Likewise.
14484 (acos_downward_test_data): Likewise.
14485 (acos_upward_test_data): Likewise.
14486 (acosh_test_data): Likewise.
14487 (asin_test_data): Likewise.
14488 (asin_tonearest_test_data): Likewise.
14489 (asin_towardzero_test_data): Likewise.
14490 (asin_upward_test_data): Likewise.
14491 (asinh_test_data): Likewise.
14492 (atan_test_data): Likewise.
14493 (atanh_test_data): Likewise.
14494 (cbrt_test_data): Likewise.
14495 (cos_test_data): Likewise.
14496 (cos_tonearest_test_data): Likewise.
14497 (cos_towardzero_test_data): Likewise.
14498 (cos_downward_test_data): Likewise.
14499 (cos_upward_test_data): Likewise.
14500 (cosh_test_data): Likewise.
14501 (cosh_tonearest_test_data): Likewise.
14502 (cosh_towardzero_test_data): Likewise.
14503 (cosh_downward_test_data): Likewise.
14504 (cosh_upward_test_data): Likewise.
14505 * sysdeps/i386/fpu/libm-test-ulps: Update.
14506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14508 2013-11-29 Joseph Myers <joseph@codesourcery.com>
14511 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14512 * math/w_exp10f.c (__exp10f): Likewise.
14513 * math/w_exp10l.c (__exp10l): Likewise.
14514 * math/libm-test.inc (exp10_test_data): Add more tests and expect
14515 errno settings in existing tests.
14518 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14519 precision control set to double precision.
14520 * sysdeps/i386/fpu/w_sqrt.c: New file.
14521 * math/auto-libm-test-in: Add more tests.
14522 * math/auto-libm-test-out: Update.
14524 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14525 (sqrt_test_tonearest): New function.
14526 (sqrt_towardzero_test_data): New variable.
14527 (sqrt_test_towardzero): New function.
14528 (sqrt_downward_test_data): New variable.
14529 (sqrt_test_downward): New function.
14530 (sqrt_upward_test_data): New variable.
14531 (sqrt_test_upward): New function.
14532 (main): Call the new functions.
14534 * math/gen-auto-libm-tests.c: New file.
14535 * math/auto-libm-test-in: Likewise.
14536 * math/auto-libm-test-out: New generated file.
14537 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14539 (%beautify): Add generated representations of zero.
14540 (top level): Set $auto_input and call parse_auto_input.
14541 (beautify): Remove trailing "f" from hex float constants.
14542 (parse_args): Handle XFAIL_TEST.
14543 (convert_condition): New function.
14544 (or_value): Likewise.
14545 (or_cond_value): Likewise.
14546 (generate_testfile): Handle AUTO_TESTS_* lines.
14547 (parse_auto_input): New function.
14548 * math/libm-test.inc (XFAIL_TEST): New macro.
14549 (ERRNO_UNCHANGED): Update value.
14550 (ERRNO_EDOM): Likewise.
14551 (ERRNO_ERANGE): Likewise.
14552 (IGNORE_RESULT): Likewise.
14553 (TEST_COND_flt_32): New macro.
14554 (TEST_COND_dbl_64): Likewise.
14555 (TEST_COND_ldbl_96_intel): Likewise.
14556 (TEST_COND_ldbl_96_m68k): Likewise.
14557 (TEST_COND_ldbl_128): Likewise.
14558 (TEST_COND_ldbl_128ibm): Likewise.
14559 (TEST_COND_long32): Likewise.
14560 (TEST_COND_long64): Likewise.
14561 (TEST_COND_before_rounding): Likewise.
14562 (TEST_COND_after_rounding): Likewise.
14563 (enable_test): Handle XFAIL_TEST flag.
14564 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14565 with finite results.
14566 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14567 auto-libm-test-out.
14569 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14570 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14573 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14574 __tls_get_addr_internal instead of __tls_get_offset in order to
14575 avoid GOT pointer dependency. Make rtld export
14576 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14577 __tls_get_addr since we are a __tls_get_offset platform.
14578 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14579 GOT pointer being set up before.
14580 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14582 2013-11-28 Joseph Myers <joseph@codesourcery.com>
14584 * manual/math.texi (Errors in Math Functions): Document accuracy
14588 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14589 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14590 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14591 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14592 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14593 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14594 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14595 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14596 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14597 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14598 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14599 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14600 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14601 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14602 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14603 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14605 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14606 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14607 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14608 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14609 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14611 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14613 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14615 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14616 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14617 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14618 atomic-feupdateenv and flt-rounds.
14619 * sysdeps/powerpc/nofpu/Versions (libc): Add
14620 __atomic_feholdexcept, __atomic_feclearexcept,
14621 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14622 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14623 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14624 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14625 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14630 * manual/arith.texi (FP Exceptions): Document that exceptions may
14631 not be raised when matherr is used.
14632 (Math Error Reporting): Document overflow in directed rounding
14633 modes. Document that errno may not be set when finite values are
14634 returned on overflow. Document intent to set errno on underflow
14635 only for underflow to zero.
14638 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14639 round-to-nearest then adjust result for other rounding modes.
14640 * include/fenv.h (fegetround): Use libm_hidden_proto.
14641 * math/fegetround.c (fegetround): Use libm_hidden_def.
14642 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14643 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14644 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14645 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14647 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14648 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14649 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14650 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14652 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14655 * nss/Versions (libnss_files): Add
14656 _nss_files_gethostbyname3_r.
14657 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14659 (HOST_DB_LOOKUP): Remove macro.
14660 (_nss_files_gethostbyname_r): Implement function without the
14661 HOST_DB_LOOKUP macro.
14662 (_nss_files_gethostbyname2_r): Likewise.
14664 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
14666 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14668 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
14670 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14671 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14674 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14676 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14677 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14678 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14679 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14680 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14681 __fe_nomask_env_priv and attribute_hidden.
14682 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14683 (libc_feupdateenv_test_ppc): Likewise.
14684 (libc_feresetround_ppc): Likewise.
14685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14686 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14687 compat_symbol macro.
14688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14689 (__fe_nomask_env): Likewise.
14690 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14692 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14694 * string/Makefile: Remove ifunc tests.
14695 * string/test-string.h: Define TEST_IFUNC.
14696 * string/test-bcopy-ifunc.c: Remove.
14697 * string/test-bzero-ifunc.c: Likewise.
14698 * string/test-memccpy-ifunc.c: Likewise.
14699 * string/test-memchr-ifunc.c: Likewise.
14700 * string/test-memcmp-ifunc.c: Likewise.
14701 * string/test-memcpy-ifunc.c: Likewise.
14702 * string/test-memmem-ifunc.c: Likewise.
14703 * string/test-memmove-ifunc.c: Likewise.
14704 * string/test-mempcpy-ifunc.c: Likewise.
14705 * string/test-memrchr-ifunc.c: Likewise.
14706 * string/test-memset-ifunc.c: Likewise.
14707 * string/test-rawmemchr-ifunc.c: Likewise.
14708 * string/test-stpcpy-ifunc.c: Likewise.
14709 * string/test-stpncpy-ifunc.c: Likewise.
14710 * string/test-strcasecmp-ifunc.c: Likewise.
14711 * string/test-strcasestr-ifunc.c: Likewise.
14712 * string/test-strcat-ifunc.c: Likewise.
14713 * string/test-strchr-ifunc.c: Likewise.
14714 * string/test-strchrnul-ifunc.c: Likewise.
14715 * string/test-strcmp-ifunc.c: Likewise.
14716 * string/test-strcpy-ifunc.c: Likewise.
14717 * string/test-strcspn-ifunc.c: Likewise.
14718 * string/test-strlen-ifunc.c: Likewise.
14719 * string/test-strncasecmp-ifunc.c: Likewise.
14720 * string/test-strncat-ifunc.c: Likewise.
14721 * string/test-strncmp-ifunc.c: Likewise.
14722 * string/test-strncpy-ifunc.c: Likewise.
14723 * string/test-strnlen-ifunc.c: Likewise.
14724 * string/test-strpbrk-ifunc.c: Likewise.
14725 * string/test-strrchr-ifunc.c: Likewise.
14726 * string/test-strspn-ifunc.c: Likewise.
14727 * string/test-strstr-ifunc.c: Likewise.
14729 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14731 * benchtests/Makefile: Remove ifunc tests.
14732 * benchtests/bench-string.h: Define TEST_IFUNC.
14733 * benchtests/bench-bcopy-ifunc.c: Remove.
14734 * benchtests/bench-bzero-ifunc.c: Likewise.
14735 * benchtests/bench-memccpy-ifunc.c: Likewise.
14736 * benchtests/bench-memchr-ifunc.c: Likewise.
14737 * benchtests/bench-memcmp-ifunc.c: Likewise.
14738 * benchtests/bench-memcpy-ifunc.c: Likewise.
14739 * benchtests/bench-memmem-ifunc.c: Likewise.
14740 * benchtests/bench-memmove-ifunc.c: Likewise.
14741 * benchtests/bench-mempcpy-ifunc.c: Likewise.
14742 * benchtests/bench-memrchr-ifunc.c: Likewise.
14743 * benchtests/bench-memset-ifunc.c: Likewise.
14744 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14745 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14746 * benchtests/bench-stpcpy-ifunc.c: Likewise.
14747 * benchtests/bench-stpncpy-ifunc.c: Likewise.
14748 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14749 * benchtests/bench-strcasestr-ifunc.c: Likewise.
14750 * benchtests/bench-strcat-ifunc.c: Likewise.
14751 * benchtests/bench-strchr-ifunc.c: Likewise.
14752 * benchtests/bench-strchrnul-ifunc.c: Likewise.
14753 * benchtests/bench-strcmp-ifunc.c: Likewise.
14754 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14755 * benchtests/bench-strcpy-ifunc.c: Likewise.
14756 * benchtests/bench-strcspn-ifunc.c: Likewise.
14757 * benchtests/bench-strlen-ifunc.c: Likewise.
14758 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14759 * benchtests/bench-strncat-ifunc.c: Likewise.
14760 * benchtests/bench-strncmp-ifunc.c: Likewise.
14761 * benchtests/bench-strncpy-ifunc.c: Likewise.
14762 * benchtests/bench-strnlen-ifunc.c: Likewise.
14763 * benchtests/bench-strpbrk-ifunc.c: Likewise.
14764 * benchtests/bench-strrchr-ifunc.c: Likewise.
14765 * benchtests/bench-strsep-ifunc.c: Likewise.
14766 * benchtests/bench-strspn-ifunc.c: Likewise.
14767 * benchtests/bench-strstr-ifunc.c: Likewise.
14769 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14771 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14773 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14775 * resolv/netdb.h: Use __glibc_reserved instead __unused.
14776 * rt/aio.h: Likewise.
14777 * sysdeps/gnu/bits/utmp.h: Likewise.
14778 * sysdeps/gnu/bits/utmpx.h: Likewise.
14779 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14780 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14781 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14782 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14783 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14784 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14785 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14786 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14787 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14788 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14789 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14790 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14791 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14793 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14794 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14795 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14796 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14797 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14798 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14799 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14800 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14801 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14802 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14803 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14804 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14805 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14806 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14807 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14808 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14809 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14810 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14811 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14812 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14813 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14814 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14815 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14816 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14817 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14818 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14819 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14820 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14822 2013-11-25 Carlos O'Donell <carlos@redhat.com>
14825 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14826 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14828 2013-11-25 Joseph Myers <joseph@codesourcery.com>
14830 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14831 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14834 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14836 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14837 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14838 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14839 (__fesetround): Remove define.
14840 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14841 rounding and exceptions handling.
14842 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14843 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14844 (__fe_nomask_env): Likewise.
14845 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14846 __fegetround instead of fegetround.
14847 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14848 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14850 2013-11-21 Roland McGrath <roland@hack.frob.com>
14852 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14855 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14857 2013-11-21 Meador Inge <meadori@codesourcery.com>
14860 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14861 (encrypt_r): Likewise.
14862 * malloc/obstack.h (obstack_free): Likewise.
14863 * posix/unistd.h (encrypt): Likewise.
14865 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14867 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14868 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14869 DL_CALL_DT_FINI() that call the functions directly.
14870 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14871 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14872 * elf/dl-fini.c: Likewise.
14874 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
14876 * malloc/hooks.c (memalign_check): Add alignment rounding.
14877 * malloc/malloc.c (_mid_memalign): New function.
14878 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14879 Implement by calling _mid_memalign.
14880 * manual/probes.texi (Memory Allocation Probes): Remove
14881 memory_valloc_retry and memory_pvalloc_retry.
14883 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14885 * locale/programs/locarchive.c (open_archive): Add const
14886 qualifier to ARCHIVEFNAME and copy default fname to
14890 * libio/tst-widetext.input: Rename Oriya to Odia.
14891 * locale/iso-639.def: Likewise.
14893 * manual/probes.texi (Mathematical Function Probes): Add
14894 documentation for sin, cos, asin and acos probes.
14895 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14896 (__sin32): Add slowasin probe.
14897 (__cos32): Add slowacos probe.
14898 (__mpsin): Add slowsin probe.
14899 (__mpcos): Add slowcos probe.
14901 2013-11-19 Joseph Myers <joseph@codesourcery.com>
14904 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14905 thread-local __sim_exceptions_thread and global
14906 __sim_exceptions_global.
14907 (__sim_disabled_exceptions): Change to thread-local
14908 __sim_disabled_exceptions_thread and global
14909 __sim_disabled_exceptions_global.
14910 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14911 and global __sim_round_mode_global.
14912 (__simulate_exceptions): Use thread-local floating-point state and
14913 set global state from it as needed.
14914 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14915 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14916 __sim_round_mode_thread.
14917 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14918 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14919 and global __sim_exceptions_global.
14920 (__sim_disabled_exceptions): Change to thread-local
14921 __sim_disabled_exceptions_thread and global
14922 __sim_disabled_exceptions_global.
14923 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14924 and global __sim_round_mode_global.
14925 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14926 (SIM_SET_GLOBAL): Likewise.
14927 * sysdeps/powerpc/soft-fp/sfp-machine.h
14928 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14929 __sim_round_mode_thread.
14930 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14931 __sim_disabled_exceptions_thread.
14932 (__sim_exceptions): Change to __sim_exceptions_thread.
14933 (__sim_disabled_exceptions): Change to
14934 __sim_disabled_exceptions_thread.
14935 (__sim_round_mode): Change to __sim_round_mode_thread.
14936 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14937 thread-local floating-point state and set global state from it as
14939 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14940 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14941 (__sim_disabled_exceptions): Remove extern declaration.
14942 (feenableexcept): Use thread-local floating-point state and set
14943 global state from it as needed.
14944 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14945 extern declaration.
14946 (__sim_disabled_exceptions): Likewise.
14947 (__sim_round_mode): Likewise.
14948 (__fegetenv): Use thread-local floating-point state.
14949 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14950 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14951 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14952 floating-point state and set global state from it as needed.
14953 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14954 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14955 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14957 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14958 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14960 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14961 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14962 Use __sim_round_mode_thread.
14963 * math/test-fenv-tls.c: New file.
14964 * math/Makefile (tests): Add test-fenv-tls.
14965 ($(objpfx)test-fenv-tls): Depend on
14966 $(common-objpfx)nptl/libpthread.so.
14968 2013-11-19 Andreas Schwab <schwab@suse.de>
14970 * locale/programs/locale.c (show_info): Decode wordarray elements.
14971 * locale/categories.def (LC_MONETARY): Add element for
14972 _NL_MONETARY_CRNCYSTR.
14973 * locale/C-monetary.c (conversion_rate): New variable.
14974 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14977 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
14979 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14980 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14982 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14984 * elf/Makefile (tst-auxv): New test.
14985 * elf/tst-auxv.c: New
14986 * elf/rtld.c (dl_main): Adjust AT_EXECFN
14988 2013-11-18 Joseph Myers <joseph@codesourcery.com>
14990 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14991 (hidden_proto): Caller changed.
14992 (hidden_tls_proto): New macro.
14993 (libc_hidden_tls_proto): Likewise.
14994 (rtld_hidden_tls_proto): Likewise.
14995 (libm_hidden_tls_proto): Likewise.
14996 (libresolv_hidden_tls_proto): Likewise.
14997 (librt_hidden_tls_proto): Likewise.
14998 (libdl_hidden_tls_proto): Likewise.
14999 (libnss_files_hidden_tls_proto): Likewise.
15000 (libnsl_hidden_tls_proto): Likewise.
15001 (libnss_nisplus_hidden_tls_proto): Likewise.
15002 (libutil_hidden_tls_proto): Likewise.
15004 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
15007 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15008 (decompose_rpath): Defer expansion to fillin_rpath.
15009 (_dl_init_paths): Pass linkmap to fillin_rpath.
15011 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15013 * benchtests/Makefile: Add strsep.
15014 * benchtests/bench-strsep.c: New file: strsep benchtest.
15015 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15017 2013-11-18 Andreas Schwab <schwab@suse.de>
15019 * locale/programs/locale.c (show_info) [case byte]: Check for
15020 '\377' instead of '\177'.
15021 * locale/C-monetary.c (not_available): Always use "\377".
15022 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15023 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
15024 detect unavailable sign_posn locale elements.
15025 * locale/localeconv.c (__localeconv): For grouping and
15026 mon_grouping handle "\177" and "\377" like no grouping.
15027 (INT_ELEM): New macro. Use it to set all numeric members.
15028 * locale/programs/ld-monetary.c (monetary_read)
15029 <tok_mon_grouping>: Normalize single -1 to the empty string.
15030 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15033 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
15036 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15037 when we match (nil).
15038 * stdio-common/tst-sscanf.c (struct test): Add testcase.
15040 2013-11-16 Joseph Myers <joseph@codesourcery.com>
15042 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15043 (NO_TEST_INLINE): Update value.
15044 (ERRNO_UNCHANGED): Likewise.
15045 (ERRNO_EDOM): Likewise.
15046 (ERRNO_ERANGE): Likewise.
15047 (IGNORE_RESULT): Likewise.
15048 (check_float_internal): Check signs of NaN results if
15049 TEST_NAN_SIGN used.
15050 (check_complex): Pass TEST_NAN_SIGN flag through to second
15051 check_float_internal call.
15052 (copysign_test_data): Add tests with quiet NaNs as second
15053 argument. Use TEST_NAN_SIGN.
15054 (fabs_test_data): Add test of negative quiet NaN argument. Use
15056 (signbit_test_data): Add tests of quiet NaN argument.
15057 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15059 * math/gen-libm-test.pl (show_exceptions): Take extra argument
15061 (parse_args): Handle function results specified as IGNORE.
15062 * math/libm-test.inc (IGNORE_RESULT): New macro.
15063 (check_float_internal): Do not check numerical result if flag
15065 (check_complex): Pass through IGNORE_RESULT to second
15066 check_float_internal call.
15067 (check_int): Do not check numerical result if flag IGNORE_RESULT
15069 (check_long): Likewise.
15070 (check_bool): Likewise.
15071 (check_longlong): Likewise.
15072 (lrint_test_data): Add tests of infinite and NaN arguments.
15073 (lrint_tonearest_test_data): Likewise.
15074 (lrint_towardzero_test_data): Likewise.
15075 (lrint_downward_test_data): Likewise.
15076 (lrint_upward_test_data): Likewise.
15077 (llrint_test_data): Likewise.
15078 (llrint_tonearest_test_data): Likewise.
15079 (llrint_towardzero_test_data): Likewise.
15080 (llrint_downward_test_data): Likewise.
15081 (llrint_upward_test_data): Likewise.
15082 (lround_test_data): Likewise.
15083 (llround_test_data): Likewise.
15085 * math/libm-test.inc (NO_TEST_INLINE): New macro.
15086 (ERRNO_UNCHANGED): Update value.
15087 (ERRNO_EDOM): Likewise.
15088 (ERRNO_ERANGE): Likewise.
15089 (NO_TEST_INLINE_FLOAT): New macro.
15090 (NO_TEST_INLINE_DOUBLE): Likewise.
15091 (enable_test): New function.
15092 (RUN_TEST_f_f): Check enable_test before running test.
15093 (RUN_TEST_2_f): Likewise.
15094 (RUN_TEST_fff_f): Likewise.
15095 (RUN_TEST_c_f): Likewise.
15096 (RUN_TEST_f_f1): Likewise.
15097 (RUN_TEST_fF_f1): Likewise.
15098 (RUN_TEST_fI_f1): Likewise.
15099 (RUN_TEST_ffI_f1): Likewise.
15100 (RUN_TEST_c_c): Likewise.
15101 (RUN_TEST_cc_c): Likewise.
15102 (RUN_TEST_f_i): Likewise.
15103 (RUN_TEST_f_i_tg): Likewise.
15104 (RUN_TEST_ff_i_tg): Likewise.
15105 (RUN_TEST_f_b): Likewise.
15106 (RUN_TEST_f_b_tg): Likewise.
15107 (RUN_TEST_f_l): Likewise.
15108 (RUN_TEST_f_L): Likewise.
15109 (RUN_TEST_fFF_11): Likewise.
15110 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15112 (cosh_test_data): Likewise.
15113 (exp_test_data): Likewise.
15114 (expm1_test_data): Likewise.
15115 (hypot_test_data): Likewise.
15116 (pow_test_data): Likewise.
15117 (sinh_test_data): Likewise.
15118 (tanh_test_data): Likewise.
15119 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15122 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15123 tests with quiet NaN input and output.
15124 (acosh_test_data): Likewise.
15125 (asin_test_data): Likewise.
15126 (asinh_test_data): Likewise.
15127 (atan_test_data): Likewise.
15128 (atanh_test_data): Likewise.
15129 (atan2_test_data): Likewise.
15130 (cbrt_test_data): Likewise.
15131 (cos_test_data): Likewise.
15132 (cosh_test_data): Likewise.
15133 (erf_test_data): Likewise.
15134 (erfc_test_data): Likewise.
15135 (exp_test_data): Likewise.
15136 (exp10_test_data): Likewise.
15137 (exp2_test_data): Likewise.
15138 (expm1_test_data): Likewise.
15139 (hypot_test_data): Likewise.
15140 (j0_test_data): Likewise.
15141 (j1_test_data): Likewise.
15142 (jn_test_data): Likewise.
15143 (lgamma_test_data): Likewise.
15144 (log_test_data): Likewise.
15145 (log10_test_data): Likewise.
15146 (log1p_test_data): Likewise.
15147 (log2_test_data): Likewise.
15148 (pow_test_data): Likewise.
15149 (scalb_test_data): Likewise.
15150 (sin_test_data): Likewise.
15151 (sincos_test_data): Likewise.
15152 (sinh_test_data): Likewise.
15153 (tan_test_data): Likewise.
15154 (tanh_test_data): Likewise.
15155 (tgamma_test_data): Likewise.
15156 (y0_test_data): Likewise.
15157 (y1_test_data): Likewise.
15158 (yn_test_data): Likewise.
15161 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15162 argument being NaN and avoid computations with second argument in
15164 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15165 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15166 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15168 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
15170 * locale/iso-639.def: Add Chitwani Tharu (the).
15172 2013-11-14 Andreas Schwab <schwab@suse.de>
15174 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15175 word instead of empty string.
15177 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15180 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15182 (__fe_nomask_env): Likewise.
15184 2013-11-13 Steve Ellcey <sellcey@mips.com>
15186 * benchtests/bench-timing.h: Include time.h.
15188 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
15191 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15193 * sysdeps/unix/sysv/linux/configure: Regenerated.
15195 2013-11-13 Joseph Myers <joseph@codesourcery.com>
15198 * stdlib/strtod_l.c (round_and_return): Do not consider
15199 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15200 exponent one less than half the least subnormal exponent.
15201 * stdlib/test-strtod-round-data: Add more tests.
15202 * stdlib/tst-strtod-round.c (tests): Regenerated.
15204 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15207 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15208 (__fe_mask_env): Likewise.
15209 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15210 libm_hidden_proto and add function prototype.
15211 (__fe_mask_env): Add function prototype.
15212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15213 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15215 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15217 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15219 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15221 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15222 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15224 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15226 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15227 of htab_find_slot().
15229 2013-11-11 David S. Miller <davem@davemloft.net>
15232 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15233 symbol in the non-vis3 case in static builds.
15234 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15235 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15236 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15237 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15239 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15242 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15245 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15247 * benchtests/Makefile: Add bench-strtod.
15248 * benchtests/bench-strtod.c: New file: strtod benchtest
15250 2013-11-11 Andreas Schwab <schwab@suse.de>
15253 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15254 terminating NUL in key length.
15256 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15258 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15259 Add artificial ODP entry for vDSO symbol for PPC64.
15260 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15261 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15263 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
15266 * nss/getent.c (services_keys): Recognize services starting with digit.
15268 2013-11-06 David S. Miller <davem@davemloft.net>
15271 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15272 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15274 2013-11-06 Will Newton <will.newton@linaro.org>
15276 * manual/memory.texi (Malloc Examples): Remove register
15277 keyword from examples.
15279 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
15281 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15283 2013-11-04 Joseph Myers <joseph@codesourcery.com>
15286 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15287 depending on [__GCC_IEC_559 > 0].
15288 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15289 depending on [__GCC_IEC_559_COMPLEX > 0].
15291 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
15293 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15296 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
15298 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15300 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
15303 * malloc/malloc (malloc_info): Do not handle first bin as
15306 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
15308 * locale/iso-639.def: Add Central Nahuatl (nhn).
15310 2013-11-01 Bruno Haible <bruno@clisp.org>
15313 * manual/math.texi (BSD Random): Specify range upper bound as
15316 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
15318 * locale/iso-639.def: Add Meadow Mari (mhr).
15320 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
15322 [BZ #14752], [BZ #15763]
15323 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15325 * rt/tst_shm.c: Add test for escaping directory.
15327 2013-10-31 Andreas Schwab <schwab@suse.de>
15330 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15331 followed by 'x' as part of digit sequence.
15332 * stdio-common/tst-sscanf.c (double_tests2): New tests.
15334 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15337 * configure.ac: allow GNU Make 4.0 and greater.
15338 * configure: Regenerated.
15340 2013-10-30 Will Newton <will.newton@linaro.org>
15343 * malloc/hooks.c (memalign_check): Limit alignment to the
15344 maximum representable power of two.
15345 * malloc/malloc.c (__libc_memalign): Likewise.
15346 * malloc/tst-memalign.c (do_test): Add test for very
15347 large alignment values.
15348 * malloc/tst-posix_memalign.c (do_test): Likewise.
15350 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15353 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15354 (munmap_chunk): Likewise.
15355 (mremap_chunk): Likewise.
15357 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
15360 * stdlib/div.c (div): Remove obsolete code.
15361 * stdlib/ldiv.c (ldiv): Likewise.
15362 * stdlib/lldiv.c (lldiv): Likewise.
15364 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15367 * nss/nss_files/files-XXX.c (get_contents_ret): New
15369 (get_contents): New function.
15370 (internal_getent): Use it. Expand size of LINEBUFLEN.
15372 2013-10-30 Mike Frysinger <vapier@gentoo.org>
15374 * configure.in: Moved to ...
15375 * configure.ac: ... here. Change reference to configure.in
15377 * sysdeps/arm/preconfigure.ac: ... here.
15378 configure.in to configure.ac.
15379 * sysdeps/gnu/configure.in: Moved to ...
15380 * sysdeps/gnu/configure.ac: ... here.
15381 * sysdeps/i386/configure.in: Moved to ...
15382 * sysdeps/i386/configure.ac: ... here.
15383 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15384 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15385 * sysdeps/mach/configure.in: Moved to ...
15386 * sysdeps/mach/configure.ac: ... here.
15387 * sysdeps/mach/hurd/configure.in: Moved to ...
15388 * sysdeps/mach/hurd/configure.ac: ... here.
15389 * sysdeps/powerpc/configure.in: Moved to ...
15390 * sysdeps/powerpc/configure.ac: ... here.
15391 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15392 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15393 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15394 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15395 * sysdeps/s390/s390-32/configure.in: Moved to ...
15396 * sysdeps/s390/s390-32/configure.ac: ... here.
15397 * sysdeps/s390/s390-64/configure.in: Moved to ...
15398 * sysdeps/s390/s390-64/configure.ac: ... here.
15399 * sysdeps/sh/configure.in: Moved to ...
15400 * sysdeps/sh/configure.ac: ... here.
15401 * sysdeps/sparc/configure.in: Moved to ...
15402 * sysdeps/sparc/configure.ac: ... here.
15403 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15404 * sysdeps/unix/sysv/linux/configure.ac: ... here.
15405 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15406 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15407 * sysdeps/x86_64/configure.in: Moved to ...
15408 * sysdeps/x86_64/configure.ac: ... here.
15409 * sysdeps/x86_64/preconfigure.in: Moved to ...
15410 * sysdeps/x86_64/preconfigure.ac: ... here.
15411 * aclocal.m4: Change reference to configure.in to configure.ac.
15412 * config.h.in: Likewise.
15413 * manual/install.texi: Likewise.
15414 * manual/maint.texi: Likewise.
15415 * Makefile: Likewise.
15416 * malloc/Makefile: Likewise.
15417 * nscd/Makefile: Likewise.
15418 * Makeconfig: Change reference to configure.in and
15419 preconfigure.in to configure.ac and preconfigure.ac
15421 * INSTALL: Regenerated.
15422 * configure: Likewise.
15423 * sysdeps/gnu/configure: Likewise.
15424 * sysdeps/i386/configure: Likewise.
15425 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15426 * sysdeps/mach/configure: Likewise.
15427 * sysdeps/mach/hurd/configure: Likewise.
15428 * sysdeps/powerpc/configure: Likewise.
15429 * sysdeps/powerpc/powerpc32/configure: Likewise.
15430 * sysdeps/powerpc/powerpc64/configure: Likewise.
15431 * sysdeps/s390/s390-32/configure: Likewise.
15432 * sysdeps/s390/s390-64/configure: Likewise.
15433 * sysdeps/sh/configure: Likewise.
15434 * sysdeps/sparc/configure: Likewise.
15435 * sysdeps/unix/sysv/linux/configure: Likewise.
15436 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15437 * sysdeps/x86_64/configure: Likewise.
15438 * sysdeps/x86_64/preconfigure: Likewise.
15440 2013-10-29 Andreas Schwab <schwab@suse.de>
15442 * stdio-common/Makefile (tst-swscanf-ENV): Define.
15444 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15446 * benchtests/pow-inputs: Add new inputs.
15448 * benchtests/exp-inputs: Add new inputs.
15450 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15451 conditional check for return value.
15452 (__cos32): Likewise.
15454 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15456 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15457 to provide a boost for large inputs with word alignment.
15458 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15459 implementation based on optimized PPC64 strcpy.
15460 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15461 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15462 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15463 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15465 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15468 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15470 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15473 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15474 * time/tst-strptime.c (day_tests): Add testcase.
15476 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15479 * manual/pattern.texi: Acknowledge that fnmatch can fail.
15481 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
15484 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15485 MAP_FAILED on error.
15487 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15490 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15491 heap for large requests.
15493 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
15496 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15497 result if the result has no associated interface.
15498 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15499 interface for all 127.X.Y.Z addresses.
15501 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
15503 * locale/iso-639.def: Add Ligurian (lij)
15505 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
15508 * sunrpc/rpc_main.c: Document rpcgen -5.
15510 2013-10-19 Michael Stahl <mstahl@redhat.com>
15512 * elf/rtld.c (do_preload): Print the reason why preloading failed.
15514 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15517 * posix/glob.c: Match only directories when trailing slash is present.
15518 * posix/tst-gnuglob.c (my_opendir): Do not open files.
15519 (main): Add testcase.
15521 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15524 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15526 2013-10-18 Carlos O'Donell <carlos@redhat.com>
15528 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15529 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15530 AUTH_DES and cindex for FIPS 140-2.
15531 (DES Encryption): Add cindex FIPS 46-3.
15533 * locale/locarchive.h (struct locarhandle): Add fname.
15534 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15535 if an optional argument was specified to --list-archive,
15537 * locale/programs/locarchive.c (show_archive_content): Take new
15538 argument fname and pass it via ah.fname to open_archive.
15539 * locale/programs/localedef.h: Update decl.
15540 (open_archive): If AH->fname is non-null, open that file
15541 rather than the default file name, and don't ignore ENOENT.
15542 (create_archive): Set AH.fname to NULL.
15543 (delete_locales_from_archive): Likewise.
15544 (add_locales_to_archive): Likewise.
15545 * locale/programs/locfile.c (write_all_categories): Likewise.
15547 2013-10-18 Joseph Myers <joseph@codesourcery.com>
15548 Aldy Hernandez <aldyh@redhat.com>
15550 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15551 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15552 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15553 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15554 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15555 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15556 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15557 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15558 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15559 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15560 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15561 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15562 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15563 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15564 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15566 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15568 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15570 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15572 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15573 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15575 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15576 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15577 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15578 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15580 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15581 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15582 * sysdeps/powerpc/preconfigure: Likewise.
15583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15585 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15586 Replace contents of file by #include of <fenv_libc.h>.
15587 * sysdeps/powerpc/soft-fp/sfp-machine.h
15588 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15590 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15591 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15592 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15593 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15594 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15595 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15596 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15597 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15598 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15599 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15600 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15601 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15603 Allow copysignl PLT reference to be missing.
15605 2013-10-18 Richard Sandiford <richard@codesourcery.com>
15606 Joseph Myers <joseph@codesourcery.com
15609 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15611 (add_to_tablewc): Assert sequence of wide characters is nonempty.
15613 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15615 * elf/tst-tls-dlinfo.c: Don't include tls.h.
15616 * elf/tst-tls1.c: Likewise.
15617 * elf/tst-tls10.h: Likewise.
15618 * elf/tst-tls14.c: Likewise.
15619 * elf/tst-tls2.c: Likewise.
15620 * elf/tst-tls3.c: Likewise.
15621 * elf/tst-tls4.c: Likewise.
15622 * elf/tst-tls5.c: Likewise.
15623 * elf/tst-tls6.c: Likewise.
15624 * elf/tst-tls7.c: Likewise.
15625 * elf/tst-tls8.c: Likewise.
15626 * elf/tst-tls9.c: Likewise.
15627 * elf/tst-tlsmod1.c: Likewise.
15628 * elf/tst-tlsmod13.c: Likewise.
15629 * elf/tst-tlsmod13a.c: Likewise.
15630 * elf/tst-tlsmod14a.c: Likewise.
15631 * elf/tst-tlsmod16a.c: Likewise.
15632 * elf/tst-tlsmod16b.c: Likewise.
15633 * elf/tst-tlsmod2.c: Likewise.
15634 * elf/tst-tlsmod3.c: Likewise.
15635 * elf/tst-tlsmod4.c: Likewise.
15636 * elf/tst-tlsmod5.c: Likewise.
15637 * elf/tst-tlsmod6.c: Likewise.
15639 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
15642 * malloc/malloc.c: remove checks for statistics.
15644 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15647 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15648 * inet/tst-network.c: Add testcase.
15650 2013-10-17 Andreas Schwab <schwab@suse.de>
15653 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15654 to determine canonical name.
15656 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15658 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15659 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15660 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15661 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15662 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15663 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15664 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15665 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15666 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15667 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15668 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15669 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15670 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15671 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15672 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15673 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15674 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15675 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15676 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15677 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15678 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15679 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15680 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15681 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15682 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15683 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15684 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15685 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15686 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15687 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15688 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15689 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15690 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15691 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15692 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15693 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15694 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15695 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15696 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15697 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15698 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15699 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15700 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15701 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15702 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15703 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15704 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15705 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15706 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15707 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15708 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15709 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15710 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15711 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15712 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15713 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15714 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15715 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15717 2013-10-17 Joseph Myers <joseph@codesourcery.com>
15720 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15721 make result into a quiet NaN.
15723 2013-10-16 Joseph Myers <joseph@codesourcery.com>
15725 * soft-fp/adddf3.c: Fix horizontal whitespace.
15726 * soft-fp/addsf3.c: Likewise.
15727 * soft-fp/addtf3.c: Likewise.
15728 * soft-fp/divdf3.c: Likewise.
15729 * soft-fp/divsf3.c: Likewise.
15730 * soft-fp/divtf3.c: Likewise.
15731 * soft-fp/double.h: Likewise.
15732 * soft-fp/eqdf2.c: Likewise.
15733 * soft-fp/eqsf2.c: Likewise.
15734 * soft-fp/eqtf2.c: Likewise.
15735 * soft-fp/extenddftf2.c: Likewise.
15736 * soft-fp/extended.h: Likewise.
15737 * soft-fp/extendsfdf2.c: Likewise.
15738 * soft-fp/extendsftf2.c: Likewise.
15739 * soft-fp/extendxftf2.c: Likewise.
15740 * soft-fp/fixdfdi.c: Likewise.
15741 * soft-fp/fixdfsi.c: Likewise.
15742 * soft-fp/fixdfti.c: Likewise.
15743 * soft-fp/fixsfdi.c: Likewise.
15744 * soft-fp/fixsfsi.c: Likewise.
15745 * soft-fp/fixsfti.c: Likewise.
15746 * soft-fp/fixtfdi.c: Likewise.
15747 * soft-fp/fixtfsi.c: Likewise.
15748 * soft-fp/fixtfti.c: Likewise.
15749 * soft-fp/fixunsdfdi.c: Likewise.
15750 * soft-fp/fixunsdfsi.c: Likewise.
15751 * soft-fp/fixunsdfti.c: Likewise.
15752 * soft-fp/fixunssfdi.c: Likewise.
15753 * soft-fp/fixunssfsi.c: Likewise.
15754 * soft-fp/fixunssfti.c: Likewise.
15755 * soft-fp/fixunstfdi.c: Likewise.
15756 * soft-fp/fixunstfsi.c: Likewise.
15757 * soft-fp/fixunstfti.c: Likewise.
15758 * soft-fp/floatdidf.c: Likewise.
15759 * soft-fp/floatdisf.c: Likewise.
15760 * soft-fp/floatditf.c: Likewise.
15761 * soft-fp/floatsidf.c: Likewise.
15762 * soft-fp/floatsisf.c: Likewise.
15763 * soft-fp/floatsitf.c: Likewise.
15764 * soft-fp/floattidf.c: Likewise.
15765 * soft-fp/floattisf.c: Likewise.
15766 * soft-fp/floattitf.c: Likewise.
15767 * soft-fp/floatundidf.c: Likewise.
15768 * soft-fp/floatundisf.c: Likewise.
15769 * soft-fp/floatunditf.c: Likewise.
15770 * soft-fp/floatunsidf.c: Likewise.
15771 * soft-fp/floatunsisf.c: Likewise.
15772 * soft-fp/floatunsitf.c: Likewise.
15773 * soft-fp/floatuntidf.c: Likewise.
15774 * soft-fp/floatuntisf.c: Likewise.
15775 * soft-fp/floatuntitf.c: Likewise.
15776 * soft-fp/fmadf4.c: Likewise.
15777 * soft-fp/fmasf4.c: Likewise.
15778 * soft-fp/fmatf4.c: Likewise.
15779 * soft-fp/gedf2.c: Likewise.
15780 * soft-fp/gesf2.c: Likewise.
15781 * soft-fp/getf2.c: Likewise.
15782 * soft-fp/ledf2.c: Likewise.
15783 * soft-fp/lesf2.c: Likewise.
15784 * soft-fp/letf2.c: Likewise.
15785 * soft-fp/muldf3.c: Likewise.
15786 * soft-fp/mulsf3.c: Likewise.
15787 * soft-fp/multf3.c: Likewise.
15788 * soft-fp/negdf2.c: Likewise.
15789 * soft-fp/negsf2.c: Likewise.
15790 * soft-fp/negtf2.c: Likewise.
15791 * soft-fp/op-1.h: Likewise.
15792 * soft-fp/op-2.h: Likewise.
15793 * soft-fp/op-4.h: Likewise.
15794 * soft-fp/op-8.h: Likewise.
15795 * soft-fp/op-common.h: Likewise.
15796 * soft-fp/quad.h: Likewise.
15797 * soft-fp/single.h: Likewise.
15798 * soft-fp/soft-fp.h: Likewise.
15799 * soft-fp/sqrtdf2.c: Likewise.
15800 * soft-fp/sqrtsf2.c: Likewise.
15801 * soft-fp/sqrttf2.c: Likewise.
15802 * soft-fp/subdf3.c: Likewise.
15803 * soft-fp/subsf3.c: Likewise.
15804 * soft-fp/subtf3.c: Likewise.
15805 * soft-fp/truncdfsf2.c: Likewise.
15806 * soft-fp/trunctfdf2.c: Likewise.
15807 * soft-fp/trunctfsf2.c: Likewise.
15808 * soft-fp/trunctfxf2.c: Likewise.
15809 * soft-fp/unorddf2.c: Likewise.
15810 * soft-fp/unordsf2.c: Likewise.
15811 * soft-fp/unordtf2.c: Likewise.
15813 2013-10-15 Joseph Myers <joseph@codesourcery.com>
15815 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15816 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15818 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
15820 * elf/dl-libc.c: Clear initfini list after freeing.
15822 2013-10-14 Joseph Myers <joseph@codesourcery.com>
15824 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15825 * soft-fp/addsf3.c: Likewise.
15826 * soft-fp/addtf3.c: Likewise.
15827 * soft-fp/divdf3.c: Likewise.
15828 * soft-fp/divsf3.c: Likewise.
15829 * soft-fp/divtf3.c: Likewise.
15830 * soft-fp/double.h: Likewise.
15831 * soft-fp/eqdf2.c: Likewise.
15832 * soft-fp/eqsf2.c: Likewise.
15833 * soft-fp/eqtf2.c: Likewise.
15834 * soft-fp/extenddftf2.c: Likewise.
15835 * soft-fp/extended.h: Likewise.
15836 * soft-fp/extendsfdf2.c: Likewise.
15837 * soft-fp/extendsftf2.c: Likewise.
15838 * soft-fp/extendxftf2.c: Likewise.
15839 * soft-fp/fixdfdi.c: Likewise.
15840 * soft-fp/fixdfsi.c: Likewise.
15841 * soft-fp/fixdfti.c: Likewise.
15842 * soft-fp/fixsfdi.c: Likewise.
15843 * soft-fp/fixsfsi.c: Likewise.
15844 * soft-fp/fixsfti.c: Likewise.
15845 * soft-fp/fixtfdi.c: Likewise.
15846 * soft-fp/fixtfsi.c: Likewise.
15847 * soft-fp/fixtfti.c: Likewise.
15848 * soft-fp/fixunsdfdi.c: Likewise.
15849 * soft-fp/fixunsdfsi.c: Likewise.
15850 * soft-fp/fixunsdfti.c: Likewise.
15851 * soft-fp/fixunssfdi.c: Likewise.
15852 * soft-fp/fixunssfsi.c: Likewise.
15853 * soft-fp/fixunssfti.c: Likewise.
15854 * soft-fp/fixunstfdi.c: Likewise.
15855 * soft-fp/fixunstfsi.c: Likewise.
15856 * soft-fp/fixunstfti.c: Likewise.
15857 * soft-fp/floatdidf.c: Likewise.
15858 * soft-fp/floatdisf.c: Likewise.
15859 * soft-fp/floatditf.c: Likewise.
15860 * soft-fp/floatsidf.c: Likewise.
15861 * soft-fp/floatsisf.c: Likewise.
15862 * soft-fp/floatsitf.c: Likewise.
15863 * soft-fp/floattidf.c: Likewise.
15864 * soft-fp/floattisf.c: Likewise.
15865 * soft-fp/floattitf.c: Likewise.
15866 * soft-fp/floatundidf.c: Likewise.
15867 * soft-fp/floatundisf.c: Likewise.
15868 * soft-fp/floatunsidf.c: Likewise.
15869 * soft-fp/floatunsisf.c: Likewise.
15870 * soft-fp/floatuntidf.c: Likewise.
15871 * soft-fp/floatuntisf.c: Likewise.
15872 * soft-fp/floatuntitf.c: Likewise.
15873 * soft-fp/fmadf4.c: Likewise.
15874 * soft-fp/fmasf4.c: Likewise.
15875 * soft-fp/fmatf4.c: Likewise.
15876 * soft-fp/gedf2.c: Likewise.
15877 * soft-fp/gesf2.c: Likewise.
15878 * soft-fp/getf2.c: Likewise.
15879 * soft-fp/ledf2.c: Likewise.
15880 * soft-fp/lesf2.c: Likewise.
15881 * soft-fp/letf2.c: Likewise.
15882 * soft-fp/muldf3.c: Likewise.
15883 * soft-fp/mulsf3.c: Likewise.
15884 * soft-fp/multf3.c: Likewise.
15885 * soft-fp/negdf2.c: Likewise.
15886 * soft-fp/negsf2.c: Likewise.
15887 * soft-fp/negtf2.c: Likewise.
15888 * soft-fp/op-1.h: Likewise.
15889 * soft-fp/op-2.h: Likewise.
15890 * soft-fp/op-4.h: Likewise.
15891 * soft-fp/op-8.h: Likewise.
15892 * soft-fp/op-common.h: Likewise.
15893 * soft-fp/quad.h: Likewise.
15894 * soft-fp/single.h: Likewise.
15895 * soft-fp/soft-fp.h: Likewise.
15896 * soft-fp/sqrtdf2.c: Likewise.
15897 * soft-fp/sqrtsf2.c: Likewise.
15898 * soft-fp/sqrttf2.c: Likewise.
15899 * soft-fp/subdf3.c: Likewise.
15900 * soft-fp/subsf3.c: Likewise.
15901 * soft-fp/subtf3.c: Likewise.
15902 * soft-fp/truncdfsf2.c: Likewise.
15903 * soft-fp/trunctfdf2.c: Likewise.
15904 * soft-fp/trunctfsf2.c: Likewise.
15905 * soft-fp/trunctfxf2.c: Likewise.
15906 * soft-fp/unorddf2.c: Likewise.
15907 * soft-fp/unordsf2.c: Likewise.
15908 * soft-fp/unordtf2.c: Likewise.
15910 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
15913 * misc/error.c (error_tail): Fix possible buffer overflow.
15915 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15918 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15921 2013-10-14 P. J. McDermott <pj@pehjota.net>
15924 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15925 testing pipefail option.
15927 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15929 * soft-fp/double.h: Indent preprocessor directives inside #if.
15930 * soft-fp/extended.h: Likewise.
15931 * soft-fp/op-2.h: Likewise.
15932 * soft-fp/op-4.h: Likewise.
15933 * soft-fp/op-common.h: Likewise.
15934 * soft-fp/quad.h: Likewise.
15935 * soft-fp/single.h: Likewise.
15936 * soft-fp/soft-fp.h: Likewise.
15938 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
15940 * iconv/iconv_prog.c: Fix typos.
15941 * stdio-common/psiginfo-data.h: Likewise.
15943 2013-10-12 Reuben Thomas <rrt@sc3d.org>
15946 * locale/setlocale.c: Fix typo.
15948 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15951 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15952 signaling NaN arguments.
15953 * soft-fp/unordsf2.c (__unordsf2): Likewise.
15954 * soft-fp/unordtf2.c (__unordtf2): Likewise.
15957 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15958 unordered operands.
15959 * soft-fp/gesf2.c (__gesf2): Likewise.
15960 * soft-fp/getf2.c (__getf2): Likewise.
15961 * soft-fp/ledf2.c (__ledf2): Likewise.
15962 * soft-fp/lesf2.c (__lesf2): Likewise.
15963 * soft-fp/letf2.c (__letf2): Likewise.
15965 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15966 * soft-fp/eqsf2.c (__eqsf2): Likewise.
15967 * soft-fp/eqtf2.c (__eqtf2): Likewise.
15968 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15969 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15970 * soft-fp/fixdfti.c (__fixdfti): Likewise.
15971 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15972 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15973 * soft-fp/fixsfti.c (__fixsfti): Likewise.
15974 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15975 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15976 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15977 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15978 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15979 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15980 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15981 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15982 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15983 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15984 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15985 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15986 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15987 * soft-fp/floatdisf.c (__floatdisf): Likewise.
15988 * soft-fp/floatsisf.c (__floatsisf): Likewise.
15989 * soft-fp/floattidf.c (__floattidf): Likewise.
15990 * soft-fp/floattisf.c (__floattisf): Likewise.
15991 * soft-fp/floattitf.c (__floattitf): Likewise.
15992 * soft-fp/floatundidf.c (__floatundidf): Likewise.
15993 * soft-fp/floatundisf.c (__floatundisf): Likewise.
15994 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15995 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15996 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15997 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15998 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15999 * soft-fp/gesf2.c (__gesf2): Likewise.
16000 * soft-fp/getf2.c (__getf2): Likewise.
16001 * soft-fp/ledf2.c (__ledf2): Likewise.
16002 * soft-fp/lesf2.c (__lesf2): Likewise.
16003 * soft-fp/letf2.c (__letf2): Likewise.
16005 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16006 Undefine and redefine.
16007 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16008 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16009 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16010 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16011 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16012 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16013 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16014 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16015 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16016 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16017 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16018 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16019 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16020 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16021 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16024 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16025 without decrementing exponent if mantissa >= that for the
16026 denominator, not >.
16027 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16028 denominator, not >. Decrement exponent in < case instead of
16029 incrementing in >= case.
16030 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16031 without decrementing exponent if mantissa >= that for the
16032 denominator, not >.
16034 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16035 computing saturated result for unsigned overflow.
16037 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16038 Jeff Law <law@redhat.com>
16040 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16041 (atan2Mp): Add systemtap probe marker.
16042 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16043 (__ieee754_log): Add systemtap probe marker.
16044 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16045 (atanMp): Add systemtap probe marker.
16046 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16047 (tanMp): Add systemtap probe marker.
16048 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16049 (__slowexp): Add systemtap probe marker.
16050 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16051 (__slowpow): Add systemtap probe marker.
16052 * manual/probes.texi: Document probes.
16054 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
16057 * libio/fileops.c (_IO_new_file_write): Return count of bytes
16059 (_IO_new_file_xsputn): Don't return EOF if nothing has been
16061 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16062 written to buffer but not flushed.
16063 * libio/iofwrite_u.c: Likewise.
16064 * libio/iopadn.c: Return bytes returned even if EOF was
16066 * libio/iowpadn.c: Likewise.
16067 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16068 if _IO_padn does not write the whole buffer.
16069 [!COMPILE_WPRINTF] (PAD): Likewise.
16071 2013-10-10 David S. Miller <davem@davemloft.net>
16073 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16076 2013-10-10 Joseph Myers <joseph@codesourcery.com>
16078 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
16079 instead of FSF address.
16080 * soft-fp/fixdfti.c: Likewise.
16081 * soft-fp/fixsfti.c: Likewise.
16082 * soft-fp/fixtfti.c: Likewise.
16083 * soft-fp/fixunsdfti.c: Likewise.
16084 * soft-fp/fixunssfti.c: Likewise.
16085 * soft-fp/fixunstfti.c: Likewise.
16086 * soft-fp/floattidf.c: Likewise.
16087 * soft-fp/floattisf.c: Likewise.
16088 * soft-fp/floattitf.c: Likewise.
16089 * soft-fp/floatuntidf.c: Likewise.
16090 * soft-fp/floatuntisf.c: Likewise.
16091 * soft-fp/floatuntitf.c: Likewise.
16092 * soft-fp/trunctfxf2.c: Likewise.
16094 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
16095 * soft-fp/fixdfti.c: Likewise.
16096 * soft-fp/fixsfti.c: Likewise.
16097 * soft-fp/fixtfti.c: Likewise.
16098 * soft-fp/fixunsdfti.c: Likewise.
16099 * soft-fp/fixunssfti.c: Likewise.
16100 * soft-fp/fixunstfti.c: Likewise.
16101 * soft-fp/floattidf.c: Likewise.
16102 * soft-fp/floattisf.c: Likewise.
16103 * soft-fp/floattitf.c: Likewise.
16104 * soft-fp/floatuntidf.c: Likewise.
16105 * soft-fp/floatuntisf.c: Likewise.
16106 * soft-fp/floatuntitf.c: Likewise.
16107 * soft-fp/trunctfxf2.c: Likewise.
16109 2013-10-10 David S. Miller <davem@davemloft.net>
16111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16113 2013-10-10 Joseph Myers <joseph@codsourcery.com>
16115 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16116 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16117 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16118 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16119 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16120 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16121 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16123 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16124 for NaNs before doing comparisons on argument.
16125 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16128 2013-10-10 Will Newton <will.newton@linaro.org>
16130 * malloc/hooks.c (memalign_check): Ensure the value of bytes
16131 passed to _int_memalign does not overflow.
16133 2013-10-10 Torvald Riegel <triegel@redhat.com>
16135 * scripts/bench.pl: Add include-sources directive.
16136 * benchtests/README: Update documentation.
16138 2013-10-10 Joseph Myers <joseph@codesourcery.com>
16140 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16141 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16142 instead of FP_INIT_ROUNDMODE.
16143 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16144 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16147 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
16148 copy class of input value.
16149 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
16150 not handle exceptions.
16151 * soft-fp/negsf2.c (__negsf2): Likewise.
16152 * soft-fp/negtf2.c (__negtf2): Likewise.
16153 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16155 2013-10-09 Joseph Myers <joseph@codesourcery.com>
16157 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16158 semicolon. From Linux kernel.
16160 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
16162 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16164 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
16167 * manual/socket.texi: Added statement about buffer
16168 for gethostbyname2_r.
16170 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
16172 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16173 Use .p2align directive instead, throughout.
16174 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16175 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16176 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16177 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16178 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16179 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16180 * sysdeps/x86_64/strchr.S: Likewise.
16181 * sysdeps/x86_64/strrchr.S: Likewise.
16183 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16185 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16187 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16189 * sysdeps/generic/math_private.h (__mpsin1): Remove
16191 (__mpcos1): Likewise.
16192 (__mpsin): New argument __range_reduce.
16193 (__mpcos): Likewise.
16194 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16195 (slow): Use __mpsin and __mpcos.
16199 (sloww1): Likewise.
16200 (sloww2): Likewise.
16201 (bsloww): Likewise.
16202 (bsloww1): Likewise.
16203 (bsloww2): Likewise.
16204 (cslow2): Likewise.
16205 (csloww): Likewise.
16206 (csloww1): Likewise.
16207 (csloww2): Likewise.
16208 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16209 range_reduce. Merge in __mpsin1.
16210 (__mpcos): Likewise.
16211 (__mpsin1): Remove.
16212 (__mpcos1): Likewise.
16214 2013-10-07 Joseph Myers <joseph@codesourcery.com>
16216 * locale/loadlocale.c (_nl_intern_locale_data): Use
16218 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16219 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16220 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16221 obstack data is appropriately aligned.
16222 (obstack_int32_grow_fast): Likewise.
16223 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16224 * locale/programs/locfile.c (add_locale_uint32): Likewise.
16225 (add_locale_uint32_array): Likewise.
16227 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16229 * benchtests/Makefile: Remove ARGLIST and RET variables.
16230 ($(objpfx)bench-%.c): Pass only function name to the script.
16231 * benchtests/README: Update documentation.
16232 * benchtests/acos-inputs: Add new directives.
16233 * benchtests/acosh-inputs: Likewise.
16234 * benchtests/asin-inputs: Likewise.
16235 * benchtests/asinh-inputs: Likewise.
16236 * benchtests/atan-inputs: Likewise.
16237 * benchtests/atanh-inputs: Likewise.
16238 * benchtests/cos-inputs: Likewise.
16239 * benchtests/cosh-inputs: Likewise.
16240 * benchtests/exp-inputs: Likewise.
16241 * benchtests/log-inputs: Likewise.
16242 * benchtests/pow-inputs: Likewise.
16243 * benchtests/rint-inputs: Likewise.
16244 * benchtests/sin-inputs: Likewise.
16245 * benchtests/sinh-inputs: Likewise.
16246 * benchtests/tan-inputs: Likewise.
16247 * benchtests/tanh-inputs: Likewise.
16248 * scripts/bench.pl: Add support for new directives.
16250 2013-10-07 Alan Modra <amodra@gmail.com>
16252 * README: Fix careless merge.
16254 2013-10-05 Alan Modra <amodra@gmail.com>
16256 * NEWS: Mention powerpc64le support and bugs fixed.
16257 * README: Both big-endian and little-endian powerpc64 supported.
16259 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16261 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16262 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16263 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16264 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16266 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
16268 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16271 2013-10-04 Joseph Myers <joseph@codesourcery.com>
16273 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16274 Move -mhard-float appending from
16275 ports/sysdeps/powerpc/powerpc32/Makefile.
16276 [$(with-fp) = yes] (ASFLAGS): Likewise.
16277 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16278 * sysdeps/powerpc/nofpu: Move directory from
16279 ports/sysdeps/powerpc/nofpu.
16280 * sysdeps/powerpc/soft-fp: Move directory from
16281 ports/sysdeps/powerpc/soft-fp.
16282 * sysdeps/powerpc/powerpc32/405: Move directory from
16283 ports/sysdeps/powerpc/powerpc32/405.
16284 * sysdeps/powerpc/powerpc32/440: Move directory from
16285 ports/sysdeps/powerpc/powerpc32/440.
16286 * sysdeps/powerpc/powerpc32/464: Move directory from
16287 ports/sysdeps/powerpc/powerpc32/464.
16288 * sysdeps/powerpc/powerpc32/476: Move directory from
16289 ports/sysdeps/powerpc/powerpc32/476.
16290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16291 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16293 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16295 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16297 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16299 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16300 * README: Update for powerpc-*-linux-gnu software floating point
16303 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16304 case to powerpc/powerpc32*.
16305 * sysdeps/unix/sysv/linux/configure: Regenerated.
16307 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16308 (_FPU_MASK_OM): Define as 0x04.
16309 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16310 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16312 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16314 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16317 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16320 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16323 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16324 and setcontext_e500.
16326 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
16328 * locale/iso-3166.def: Update iso-1366.def and related occurrences
16330 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16332 * manual/threads.texi (Default Thread Attributes): Fix typo.
16334 2013-10-04 Will Newton <will.newton@linaro.org>
16336 * malloc/Makefile: Add tst-memalign.
16337 * malloc/tst-memalign.c: New file.
16339 * malloc/tst-posix_memalign.c: Add comments.
16340 (do_test): Add comments and call free on all potentially
16341 allocated pointers. Add space after cast.
16343 * malloc/tst-pvalloc.c: Add comments.
16344 (do_test): Add comments and call free on all potentially
16345 allocated pointers. Remove duplicate check for NULL pointer.
16346 Add space after cast.
16348 * malloc/tst-valloc.c: Add comments.
16349 (do_test): Add comments and call free on all potentially
16350 allocated pointers. Remove duplicate check for NULL pointer.
16351 Add space after cast.
16353 2013-10-04 Alan Modra <amodra@gmail.com>
16355 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16356 Use stdint types in rather than __attribute__((mode())).
16357 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16359 2013-10-04 Alan Modra <amodra@gmail.com>
16361 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16362 Correct handling of unaligned relocs for little-endian.
16363 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16365 2013-10-04 Alan Modra <amodra@gmail.com>
16367 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16368 * configure: Regenerate.
16369 * nptl/shlib-versions: Powerpc*le starts at 2.18.
16370 * shlib-versions: Likewise.
16372 2013-10-04 Alan Modra <amodra@gmail.com>
16374 * string/tester.c (test_memrchr): Increment reported test cycle.
16376 2013-10-04 Alan Modra <amodra@gmail.com>
16378 * string/test-memcpy.c (do_one_test): When reporting errors, print
16379 string address and don't overrun end of string.
16381 2013-10-04 Alan Modra <amodra@gmail.com>
16383 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16384 insrdi. Make better use of reg selection to speed exit slightly.
16385 Schedule entry path a little better. Remove useless "are we done"
16386 checks on entry to main loop. Handle wrapping around zero address.
16387 Correct main loop count. Handle single left-over word from main
16388 loop inline rather than by using loop_small. Remove extra word
16389 case in loop_small caused by wrong loop count. Add little-endian
16391 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16392 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
16394 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16395 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16396 support. Avoid rlwimi.
16397 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16399 2013-10-04 Alan Modra <amodra@gmail.com>
16401 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16402 insrdi. Formatting.
16403 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16404 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16405 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16406 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16407 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16408 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16410 2013-10-04 Alan Modra <amodra@gmail.com>
16412 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16413 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16414 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16415 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16416 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16417 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16418 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16419 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16420 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
16421 use of regs. Use power7 mtocrf. Tidy function tails.
16423 2013-10-04 Alan Modra <amodra@gmail.com>
16425 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16426 Formatting. Consistently use rXXX register defines or rN defines.
16427 Use early exit labels that avoid restoring unused non-volatile regs.
16428 Make cr field use more consistent with rWORDn compares. Rename
16429 regs used as shift registers for unaligned loop, using rN defines
16430 for short lifetime/multiple use regs.
16431 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16432 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
16433 addi 1,1,64 to pop stack frame. Simplify return value code.
16434 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16436 2013-10-04 Alan Modra <amodra@gmail.com>
16438 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16439 support. Correct typos, formatting. Optimize tail. Use insrdi
16440 rather than rlwimi.
16441 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16442 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16443 little-endian support. Correct typos.
16444 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
16445 rather than rlwimi.
16446 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
16447 in loop and entry code to keep "and." results.
16448 (strchr): Add little-endian support. Comment. Move cntlzd
16450 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16452 2013-10-04 Alan Modra <amodra@gmail.com>
16454 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16455 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16456 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16457 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16459 2013-10-04 Alan Modra <amodra@gmail.com>
16461 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16462 (rTMP): Define as r11.
16463 (strcmp): Add little-endian support. Optimise tail.
16464 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16465 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16466 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16467 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16468 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16469 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16470 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16472 2013-10-04 Alan Modra <amodra@gmail.com>
16474 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16475 little-endian support. Remove unnecessary "are we done" tests.
16476 Handle "s" wrapping around zero and extremely large "size".
16477 Correct main loop count. Handle single left-over word from main
16478 loop inline rather than by using small_loop. Correct comments.
16479 Delete "zero" tail, use "end_max" instead.
16480 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16482 2013-10-04 Alan Modra <amodra@gmail.com>
16484 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16485 support. Don't branch over align.
16486 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16487 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16488 support. Rearrange tmp reg use to suit. Comment.
16489 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16491 2013-10-04 Alan Modra <amodra@gmail.com>
16493 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16495 2013-10-04 Alan Modra <amodra@gmail.com>
16497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16498 conditional form of branch and link when obtaining pc.
16499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16501 2013-10-04 Alan Modra <amodra@gmail.com>
16503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16508 2013-10-04 Alan Modra <amodra@gmail.com>
16510 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16511 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16512 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16513 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16514 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16515 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16516 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16517 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16518 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16519 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16521 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16522 Alistair Popple <alistair@ozlabs.au.ibm.com>
16523 Alan Modra <amodra@gmail.com>
16526 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16527 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16528 _dl_hwcap access for little-endian.
16529 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
16530 destroy vmx regs when saving unaligned.
16531 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16532 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
16533 destroy vmx regs when saving unaligned.
16535 2013-10-04 Alan Modra <amodra@gmail.com>
16537 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16538 Don't use a union to pack hi/low value.
16540 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16542 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16544 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16545 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16546 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16547 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16548 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16550 2013-10-04 Alan Modra <amodra@gmail.com>
16552 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16553 constants to usual value for .cst8 section, and remove redundant
16555 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16556 constant for 0x1p52. Load little-endian words of double from
16557 correct stack offsets.
16559 2013-10-04 Alan Modra <amodra@gmail.com>
16561 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16562 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16563 words of double from correct stack offsets.
16564 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16565 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16566 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16567 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16568 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16569 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16570 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16571 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16572 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16573 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16574 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16575 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16576 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16577 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16578 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16579 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16580 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16582 2013-10-04 Alan Modra <amodra@gmail.com>
16584 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16585 64-bit int/double union.
16586 (_FPU_SETCW): Likewise.
16587 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16588 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16590 2013-10-04 Alan Modra <amodra@gmail.com>
16592 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16593 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16595 2013-10-04 Alan Modra <amodra@gmail.com>
16597 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16598 use vector int constants.
16599 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16601 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16603 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16604 array with long long.
16605 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16606 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16607 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16608 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16609 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16610 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16611 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16612 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16613 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16614 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16615 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16616 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16617 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16619 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16621 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16622 (__signbit): Likewise. Correct for little-endian.
16623 (__signbitl): Call __signbit.
16624 (lrint): Correct for little-endian.
16625 (lrintf): Call lrint.
16627 2013-10-04 Alan Modra <amodra@gmail.com>
16629 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16630 union 32-bit int array member with 64-bit int array.
16631 (t515, tm256): Double rather than long double.
16632 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16634 2013-10-04 Alan Modra <amodra@gmail.com>
16636 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16638 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16639 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16640 version of math_ldbl.h.
16642 2013-10-04 Alan Modra <amodra@gmail.com>
16644 [BZ #15734], [BZ #15735]
16645 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16646 all uses of ieee875 long double macros and unions. Simplify test
16647 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16648 ldbl_extract_mantissa value for ix,iy exponents. Properly
16649 normalize after ldbl_extract_mantissa, and don't add hidden bit
16650 already handled. Don't treat low word of ieee854 mantissa like
16651 low word of IBM long double and mask off bit when testing for
16653 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16654 all uses of ieee875 long double macros and unions. Simplify tests
16655 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16656 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16657 two1022, instead use their values. Recognise that tests for large
16658 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16659 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16660 Rewrite all uses of ieee875 long double macros and unions. Simplify
16661 test for 0.0L and nan. Correct negation.
16662 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16663 ieee875 long double macros and unions. Correct output for large
16664 magnitude x. Correct absolute value calculation.
16665 (__erfcl): Likewise.
16666 * math/libm-test.inc: Add tests for errors discovered in IBM long
16667 double versions of fmodl, remainderl, erfl and erfcl.
16669 2013-10-04 Alan Modra <amodra@gmail.com>
16671 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16672 all uses of ieee854 long double macros and unions. Simplify tests
16673 for long doubles that are fully specified by the high double.
16674 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16676 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16677 Remove dead code too.
16678 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16679 (__ieee754_ynl): Likewise.
16680 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16681 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16682 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16683 Remove dead code too.
16684 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16685 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16686 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16687 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16689 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16691 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16692 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16693 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16694 Comment on variable precision.
16695 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16696 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16698 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16699 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16700 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16701 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16702 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16704 2013-10-04 Alan Modra <amodra@gmail.com>
16706 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16707 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16708 all uses of ieee854 long double macros and unions.
16709 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16710 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16711 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16712 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16713 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16714 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16716 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16717 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16718 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16719 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16720 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16721 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16722 Simplify sign and nan test too.
16723 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16724 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16725 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16726 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16728 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16729 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16731 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16732 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16733 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16734 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16735 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16736 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16738 2013-10-04 Alan Modra <amodra@gmail.com>
16740 * stdio-common/printf_size.c (__printf_size): Don't use
16741 union ieee854_long_double in fpnum union.
16742 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
16743 signbit macro to retrieve sign from long double.
16744 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16745 retrieve sign from long double.
16746 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16747 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16748 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16749 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16750 * math/test-misc.c (main): Don't use union ieee854_long_double.
16752 2013-10-04 Alan Modra <amodra@gmail.com>
16755 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16756 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16757 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16758 calculation. Remove unnecessary test for denormal exponent.
16759 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16760 Correct handling of denormals. Avoid undefined shift behaviour.
16761 Correct normalisation of low mantissa when low double is denormal.
16762 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16763 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
16764 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16765 Correct normalisation of low mantissa. Test for overflow of high
16766 mantissa and normalise.
16767 (ldbl_nearbyint): Use more readable constant for two52.
16768 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16769 (__mpn_construct_long_double): Fix test for overflow of high
16770 mantissa and correct normalisation. Avoid undefined shift.
16772 2013-10-04 Alan Modra <amodra@gmail.com>
16774 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16775 (union ibm_extended_long_double): Define as an array of ieee754_double.
16776 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16777 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16778 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16779 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16780 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16781 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16782 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16783 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16784 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16785 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16786 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16788 2013-10-03 Joseph Myers <joseph@codesourcery.com>
16790 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16791 page size instead of calling getpagesize.
16793 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16794 (LOCFILE_ALIGN_MASK): Likewise.
16795 (LOCFILE_ALIGN_UP): Likewise.
16796 (LOCFILE_ALIGNED_P): Likewise.
16797 * locale/programs/ld-collate.c (collate_output): Use the new
16798 macros instead of __alignof__ (int32_t).
16799 * locale/weight.h (findidx): Likewise.
16801 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
16804 * manual/string.texi: Fix strncat and wcsncat.
16806 2013-10-03 Brooks Moses <bmoses@google.com>
16809 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16810 * Makerules: ...here, and adjust associated comments.
16812 2013-10-02 Will Newton <will.newton@linaro.org>
16814 * malloc/Makefile: Add tst-pvalloc.
16815 * malloc/tst-pvalloc.c: New file.
16817 2013-10-02 Will Newton <will.newton@linaro.org>
16819 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16820 improve test coverage.
16822 2013-10-02 Will Newton <will.newton@linaro.org>
16824 * malloc/Makefile: Add tst-posix_memalign.
16825 * malloc/tst-posix_memalign.c: New file.
16827 2013-10-01 Eric Blake <eblake@redhat.com>
16829 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16830 Use __THROWNL rather than __THROW on static functions.
16832 2013-09-30 Petr Machata <pmachata@redhat.com>
16834 * elf/elf.h (R_AARCH64_ABS16): New macro.
16835 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16836 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16837 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16838 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16839 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16840 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16841 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16842 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16843 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16844 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16845 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16846 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16847 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16848 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16849 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16850 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16851 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16852 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16853 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16854 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16855 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16856 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16857 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16858 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16859 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16860 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16861 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16862 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16863 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16864 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16865 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16866 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16867 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16868 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16869 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16870 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16871 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16872 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16873 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16874 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16875 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16876 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16877 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16878 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16879 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16880 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16881 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16882 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16883 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16884 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16885 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16886 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16887 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16888 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16889 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16890 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16891 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16892 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16893 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16894 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16895 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16896 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16897 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16898 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16899 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16900 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16901 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16902 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16903 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16904 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16905 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16906 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16907 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16908 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16909 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16910 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16911 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16912 (R_AARCH64_TLSDESC_LDR): Likewise.
16913 (R_AARCH64_TLSDESC_ADD): Likewise.
16914 (R_AARCH64_TLSDESC_CALL): Likewise.
16916 2013-09-30 Andreas Schwab <schwab@suse.de>
16919 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16920 the nss database lookup.
16921 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16922 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16924 2013-09-28 Mike Frysinger <vapier@gentoo.org>
16926 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16928 2013-09-28 P. J. McDermott <pj@pehjota.net>
16930 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16931 ${Bash-specific parameter/pattern/string} parameter expansion.
16932 * sysdeps/unix/make-syscalls.sh: Likewise.
16934 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16936 * sysdeps/sh/stackguard-macros.h: New file.
16938 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
16940 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16941 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16942 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16943 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16944 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16945 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16947 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16949 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16950 Fix thread ID register.
16952 2013-09-25 Joseph Myers <joseph@codesourcery.com>
16954 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16955 [POSIX || UNIX98]: Require rather than permitting all symbols from
16957 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16958 element of struct sched_param.
16959 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16960 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16961 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16962 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16965 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
16967 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16968 argument calculation.
16970 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16972 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16974 [POSIX] (pthread_attr_t): Do not require type.
16975 [POSIX] (pthread_cond_t): Likewise.
16976 [POSIX] (pthread_condattr_t): Likewise.
16977 [POSIX] (pthread_key_t): Likewise.
16978 [POSIX] (pthread_mutex_t): Likewise.
16979 [POSIX] (pthread_mutexattr_t): Likewise.
16980 [POSIX] (pthread_once_t): Likewise.
16981 [POSIX] (pthread_t): Likewise.
16982 [POSIX-based standards] (pthread_atfork): Expect function.
16984 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16985 Richard Sandiford <richard@codesourcery.com>
16987 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16988 (swap_endianness_p): New extern variable.
16989 (set_big_endian): New inline function.
16990 (maybe_swap_uint32): Likewise.
16991 (maybe_swap_uint32_array): Likewise.
16992 (maybe_swap_uint32_obstack): Likewise.
16993 * locale/programs/locfile.c: Include <stdbool.h>.
16994 (swap_endianness_p): New variable.
16995 (add_locale_uint32): Call maybe_swap_uint32.
16996 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16997 (write_locale_data): Call maybe_swap_uint32_array.
16998 * locale/programs/ld-collate.c (obstack_int32_grow): Call
17000 (obstack_int32_grow_fast): Likewise.
17001 (output_weightwc): Call maybe_swap_uint32_obstack.
17002 (collate_output): Likewise.
17003 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17004 (OPT_LITTLE_ENDIAN): Likewise.
17005 (options): Add --little-endian and --big-endian options.
17006 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17007 * locale/programs/locarchive.c: Include "locfile.h".
17011 (create_archive): Use the new macros to access fields of
17012 structures directly mapped from or written to locale archives.
17013 (oldlocrecentcmp): Likewise.
17014 (enlarge_archive): Likewise.
17015 (insert_name): Likewise.
17016 (add_alias): Likewise.
17017 (add_locale): Likewise.
17018 (delete_locales_from_archive): Likewise.
17019 (show_archive_content): Likewise.
17020 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
17023 2013-09-24 Roland McGrath <roland@hack.frob.com>
17025 * manual/freemanuals.texi: Updated from (newly) canonical copy at
17026 http://www.gnu.org/doc/freemanuals.texi.
17027 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17029 2013-09-24 Will Newton <will.newton@linaro.org>
17031 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17034 2013-09-23 Joseph Myers <joseph@codesourcery.com>
17036 * locale/hashval.h (compute_hashval): Interpret bytes of key as
17039 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
17041 * manual/threads.texi (POSIX Threads): Fix a typo.
17043 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17046 * string/tst-strcoll-overflow.c: New test case.
17047 * string/Makefile (xtests): Add tst-strcoll-overflow.
17048 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17049 cache if string sizes may cause integer overflow.
17052 * string/strcoll_l.c (coll_seq): New members rule, idx,
17053 save_idx and back_us.
17054 (get_next_seq_nocache): New function.
17055 (do_compare_nocache): New function.
17056 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17059 2013-09-23 Carlos O'Donell <carlos@redhat.com>
17062 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17063 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17064 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17067 * elf/Makefile (tests): Add tst-ptrguard1.
17068 (tests-static): Add tst-ptrguard1-static.
17069 (tst-ptrguard1-ARGS): Define.
17070 (tst-ptrguard1-static-ARGS): Define.
17071 * elf/tst-ptrguard1.c: New file.
17072 * elf/tst-ptrguard1-static.c: New file.
17073 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17074 * sysdeps/i386/stackguard-macros.h: Likewise.
17075 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17076 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17077 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17078 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17079 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17080 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17082 2013-09-23 Hector Marco <hecmargi@upv.es>
17083 Ismael Ripoll <iripoll@disca.upv.es>
17084 Carlos O'Donell <carlos@redhat.com>
17087 * sysdeps/generic/stackguard-macros.h: Define
17088 __pointer_chk_guard_local and POINTER_CHK_GUARD.
17089 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17090 Define __pointer_chk_guard_local.
17091 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17092 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17094 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
17097 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17099 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
17101 * include/string.h (__ffs): Declare as hidden.
17102 * string/ffs.c (__ffs): Define as hidden.
17103 * sysdeps/i386/ffs.c (__ffs): Likewise.
17104 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17105 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17106 * sysdeps/s390/ffs.c (__ffs): Likewise.
17107 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17109 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
17111 * NEWS: Mention malloc probes.
17113 * malloc/arena.c (new_heap): New memory_heap_new probe.
17114 (grow_heap): New memory_heap_more probe.
17115 (shrink_heap): New memory_heap_less probe.
17116 (heap_trim): New memory_heap_free probe.
17117 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17118 (systrim): New memory_sbrk_less probe.
17119 * manual/probes.texi: Document them.
17121 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17122 * manual/probes.texi: Document it.
17124 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17125 (__libc_realloc): Add memory_realloc_retry probe.
17126 (__libc_memalign): Add memory_memalign_retry probe.
17127 (__libc_valloc): Add memory_valloc_retry probe.
17128 (__libc_pvalloc): Add memory_pvalloc_retry probe.
17129 (__libc_calloc): Add memory_calloc_retry probe.
17130 * manual/probes.texi: Document them.
17132 * malloc/arena.c (get_free_list): Add probe
17133 memory_arena_reuse_free_list.
17134 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17135 and memory_arena_reuse.
17136 (arena_get2) [!PER_THREAD]: Likewise.
17137 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17138 memory_arena_reuse_realloc.
17139 * manual/probes.texi: Document them.
17141 * malloc/malloc.c (__libc_free): Add
17142 memory_mallopt_free_dyn_thresholds probe.
17143 (__libc_mallopt): Add multiple memory_mallopt probes.
17144 * manual/probes.texi: Document them.
17146 * malloc/malloc.c: Include stap-probe.h.
17147 (__libc_mallopt): Add memory_mallopt probe.
17148 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17149 * manual/probes.texi: New.
17150 * manual/Makefile (chapters): Add probes.
17151 * manual/threads.texi: Set next node.
17153 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
17155 [BZ #15963, #13985]
17156 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17157 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17158 Add `Chinese' to `nan' entry name.
17160 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17162 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17163 (POLYNOMIAL): Likewise.
17164 (TAYLOR_SINCOS): Likewise.
17165 (TAYLOR_SLOW): Likewise.
17166 (__sin): Use TAYLOR_SINCOS.
17168 (slow): Use TAYLOR_SLOW.
17170 (bsloww): Likewise.
17171 (csloww): Likewise.
17173 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17175 * stdlib/strtod_l.c: Fix buffer overrun.
17177 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17179 * benchtests/Makefile (bench): Add sincos.
17180 * benchtests/bench-sincos.c: New file.
17182 * math/libm-test.inc (cos_test_data): New test inputs.
17183 (sin_test_data): Likewise.
17185 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17191 (sloww1): Likewise.
17192 (sloww2): Likewise.
17193 (bsloww1): Likewise.
17194 (bsloww2): Likewise.
17195 (cslow2): Likewise.
17196 (csloww1): Likewise.
17197 (csloww2): Likewise.
17199 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17204 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17208 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
17210 * config.h.in (HAVE_MIPS_NAN2008): New macro.
17211 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17212 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17213 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17214 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17215 * elf/cache.c (print_entry): Handle the new cache flags.
17217 2013-09-18 Joseph Myers <joseph@codesourcery.com>
17218 Aldy Hernandez <aldyh@redhat.com>
17220 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17221 Change condition to [_SOFT_FLOAT].
17222 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17223 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17224 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17225 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17226 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17227 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17228 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17229 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17230 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17231 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17232 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17233 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17234 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17235 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17236 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17237 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17240 2013-09-18 Joseph Myers <joseph@codesourcery.com>
17242 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17243 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17244 (__longjmp): Use LOAD_GP to load saved GPRs.
17245 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17246 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17247 (__sigsetjmp): Use SAVE_GP to save GPRs.
17249 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17250 Do not append -msoft-float.
17251 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17253 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17255 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17257 2013-09-17 Joseph Myers <joseph@codesourcery.com>
17260 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17261 (_FPU_GETCW): Use initial "__" on variable and field names but not
17262 on macro parameter name.
17263 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
17264 parentheses around reference to macro parameter.
17266 2013-09-13 Richard Sandiford <richard@codesourcery.com>
17268 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17270 (ctype_startup): Use uint32_t in cast and sizeof for
17273 2013-09-11 Jia Liu <proljc@gmail.com>
17275 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17277 [__FreeBSD__]: Likewise.
17279 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
17281 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17282 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17283 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17284 (strchr): Remove __strchr_sse42 ifunc selection.
17285 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17286 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17288 2013-09-11 Will Newton <will.newton@linaro.org>
17290 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17291 parameter to RES. Remove hardcoded 1000 value.
17292 * benchtests/bench-skeleton.c (main): Pass RES parameter
17293 to TIMING_INIT and multiply result by 1000.
17295 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17299 2013-09-11 Andreas Schwab <schwab@suse.de>
17301 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17303 (O_TMPFILE) [__USE_GNU]: Define.
17304 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17307 2013-09-11 Will Newton <will.newton@linaro.org>
17310 * malloc/malloc.c (__libc_memalign): Check the value of bytes
17313 2013-09-11 Will Newton <will.newton@linaro.org>
17316 * malloc/malloc.c (__libc_valloc): Check the value of bytes
17319 2013-09-11 Will Newton <will.newton@linaro.org>
17322 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17325 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
17327 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17328 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17329 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17330 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17331 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17333 2013-09-10 Allan McRae <allan@archlinux.org>
17336 * manual/arith.texi (Parsing of Floats): Clarify
17340 * manual/install.texi (Running make install): Mention
17342 * INSTALL: Regenerated.
17344 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17346 * csu/init-first.c (_init): Remove the !SHARED condition around
17347 FPU control word initialization.
17348 * elf/dl-support.c (_dl_fpu_control): New variable.
17349 (_dl_aux_init) <AT_FPUCW>: Initialize it.
17350 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17351 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17352 * math/test-fpucw-static.c: New file.
17353 * math/test-fpucw-ieee.c: New file.
17354 * math/test-fpucw-ieee-static.c: New file.
17355 * math/Makefile (tests): Add `test-fpucw-ieee' and
17357 (tests-static): New variable.
17358 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17360 [($(build-shared),yes)]
17361 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17363 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17366 2013-09-09 Allan McRae <allan@archlinux.org>
17369 * manual/string.texi (Collation Functions): Fix typo in
17371 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17374 * stdlib/isomac.c (get_null_defines): Fix memory leak.
17377 * libio/memstream.c (open_memstream): Fix memory leak.
17378 * libio/wmemstream.c (open_wmemstream): Likewise.
17381 * nscd/netgroupcache.c: Fix nesting of ifdefs.
17383 2013-09-09 Will Newton <will.newton@linaro.org>
17385 * malloc/Makefile: Add tst-realloc to tests.
17386 * malloc/tst-realloc.c: New file.
17388 2013-09-09 Allan McRae <allan@archlinux.org>
17391 * COPYING: Update from GNU website to fix FSF address.
17392 * COPYING.LIB: Likewise.
17394 2013-09-06 David S. Miller <davem@davemloft.net>
17396 * po/zh_TW.po: Update Chinese (traditional) translation from
17397 translation project.
17399 2013-09-06 Richard Sandiford <richard@codesourcery.com>
17400 Joseph Myers <joseph@codesourcery.com>
17402 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17404 (obstack_chunk_alloc): New macro.
17405 (obstack_chunk_free): Likewise.
17406 (record_offset): New function.
17407 (init_locale_data): Likewise.
17408 (align_locale_data): Likewise.
17409 (add_locale_empty): Likewise.
17410 (add_locale_raw_data): Likewise.
17411 (add_locale_raw_obstack): Likewise.
17412 (add_locale_string): Likewise.
17413 (add_locale_wstring): Likewise.
17414 (add_locale_uint32): Likewise.
17415 (add_locale_uint32_array): Likewise.
17416 (add_locale_char): Likewise.
17417 (start_locale_structure): Likewise.
17418 (end_locale_structure): Likewise.
17419 (start_locale_prelude): Likewise.
17420 (end_locale_prelude): Likewise.
17421 (write_locale_data): Take locale_file structure rather than an
17423 * locale/programs/locfile.h: Include "obstack.h".
17424 (struct locale_file): Change to store locale file contents instead
17426 (init_locale_data): New prototype.
17427 (align_locale_data): Likewise.
17428 (add_locale_empty): Likewise.
17429 (add_locale_raw_data): Likewise.
17430 (add_locale_raw_obstack): Likewise.
17431 (add_locale_string): Likewise.
17432 (add_locale_wstring): Likewise.
17433 (add_locale_uint32): Likewise.
17434 (add_locale_uint32_array): Likewise.
17435 (add_locale_char): Likewise.
17436 (start_locale_structure): Likewise.
17437 (end_locale_structure): Likewise.
17438 (start_locale_prelude): Likewise.
17439 (end_locale_prelude): Likewise.
17440 (write_locale_data): Update prototype.
17441 * locale/programs/3level.h (struct TABLE): Remove result field.
17442 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17443 Use new locale_file interface.
17444 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17445 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17446 * locale/programs/ld-address.c (address_output): Use new
17447 locale_file interface.
17448 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17450 (collate_finish): Don't call collseq_table_finalize.
17451 (collate_output): Use new locale_file interface.
17452 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17454 (NO_FINALIZE): Change to NO_ADD_LOCALE.
17455 (TABLE): Move defines earlier in file.
17456 (ELEMENT): Likewise.
17457 (DEFAULT): Likewise.
17458 (wctrans_table_add): Move macro and inline function earlier in
17460 (struct wctype_table): Move type earlier in file.
17461 (add_locale_wctype_table): New static prototype.
17462 (struct locale_ctype_t): Use logical types instead of struct iovec
17463 pointers for members.
17464 (ctype_output): Use new locale_file interface.
17465 (wctype_table_finalize): Change to add_locale_wctype_table. Use
17466 new locale_file interface.
17467 (allocate_arrays): Update for use of new locale_file interface.
17468 * locale/programs/ld-identification.c (identification_output): Use
17469 new locale_file interface.
17470 * locale/programs/ld-measurement.c (measurement_output): Likewise.
17471 * locale/programs/ld-messages.c (messages_output): Likewise.
17472 * locale/programs/ld-monetary.c (monetary_output): Likewise.
17473 * locale/programs/ld-name.c (name_output): Likewise.
17474 * locale/programs/ld-numeric.c (numeric_output): Likewise.
17475 * locale/programs/ld-paper.c (paper_output): Likewise.
17476 * locale/programs/ld-telephone.c (telephone_output): Likewise.
17477 * locale/programs/ld-time.c (time_output): Likewise.
17479 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17481 * benchtests/Makefile: Add memrchr benchmark.
17482 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17483 benchmark as memrchr.
17484 * benchtests/bench-memrchr-ifunc.c: New file.
17485 * benchtests/bench-memrchr.c: New file.
17487 2013-09-06 Will Newton <will.newton@linaro.org>
17489 * benchtests/Makefile (string-bench): Add memcpy.
17491 2013-09-05 Carlos O'Donell <carlos@redhat.com>
17492 Cong Wang <amwang@redhat.com>
17495 * sysdeps/unix/sysv/linux/bits/in.h
17496 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17497 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17498 before __USE_KERNEL_IPV6_DEFS uses.
17499 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17501 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17502 sockaddr_in6, or ipv6_mreq.
17504 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17506 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17507 memory access for final bytes in some large inputs.
17508 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17510 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17512 * string/test-memrchr.c: New file.
17513 * string/test-memrchr-ifunc.c: New file.
17514 * string/Makefile: Add new memrchr testcase.
17516 2013-09-05 Mike Frysinger <vapier@gentoo.org>
17518 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17519 fanotify_init returns EPERM.
17521 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17523 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17525 (top level): Treat second token from macro or constant entries for
17526 allowed headers as allowed.
17527 * include/complex.h: Condition internal declarations on
17529 * include/fenv.h: Condition include of <stdbool.h> and internal
17530 declarations on [!_ISOMAC].
17532 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
17535 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17537 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17539 * configure.in (--enable-versioning): Remove configure option.
17540 (libc_cv_asm_symver_directive): Remove configure test.
17541 (libc_cv_ld_version_script_option): Likewise.
17542 (VERSIONING): Remove variable and AC_SUBST.
17543 (DO_VERSIONING): Remove AC_DEFINE.
17544 * configure: Regenerated.
17545 * config.h.in (DO_VERSIONING): Remove macro.
17546 * Makerules [$(versioning) = yes]: Change conditionals to
17547 [$(build-shared) = yes].
17548 * config.make.in (versioning): Remove variable.
17549 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17550 [$(build-shared) = yes].
17551 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17552 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17553 * elf/Makefile [$(versioning) = yes]: Change conditionals to
17554 [$(build-shared) = yes].
17555 * extra-lib.mk [$(versioning) = yes]: Likewise.
17556 * hurd/Makefile [$(versioning) = yes]: Likewise.
17557 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17559 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17561 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17562 [SHARED && !NO_HIDDEN].
17563 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17565 [SHARED && DO_VERSIONING]: Likewise..
17566 * libio/Makefile [$(versioning) = yes]: Change conditionals to
17567 [$(build-shared) = yes].
17568 * manual/install.texi (--disable-versioning): Remove
17570 * INSTALL: Regenerated.
17571 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17573 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17574 [$(build-shared) = yes].
17575 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17576 * sysdeps/i386/i686/multiarch/strstr-c.c
17577 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17578 [SHARED && !NO_HIDDEN].
17579 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17580 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17581 * sysdeps/powerpc/powerpc32/dl-machine.c
17582 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17583 * sysdeps/powerpc/powerpc32/sysdep.h
17584 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17585 to [SHARED && PIC && !NO_HIDDEN].
17586 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17587 conditional to [SHARED].
17589 2013-09-04 Will Newton <will.newton@linaro.org>
17591 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17592 * benchtests/bench-string.h: Include bench-timing.h instead
17593 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17594 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17595 call to HP_TIMING_DIFF_INIT.
17596 * benchtests/bench-memccpy.c: Use bench-timing.h macros
17597 instead of hp-timing.h macros.
17598 * benchtests/bench-memchr.c: Likewise.
17599 * benchtests/bench-memcmp.c: Likewise.
17600 * benchtests/bench-memcpy.c: Likewise.
17601 * benchtests/bench-memmem.c: Likewise.
17602 * benchtests/bench-memmove.c: Likewise.
17603 * benchtests/bench-memset.c: Likewise.
17604 * benchtests/bench-rawmemchr.c: Likewise.
17605 * benchtests/bench-strcasecmp.c: Likewise.
17606 * benchtests/bench-strcasestr.c: Likewise.
17607 * benchtests/bench-strcat.c: Likewise.
17608 * benchtests/bench-strchr.c: Likewise.
17609 * benchtests/bench-strcmp.c: Likewise.
17610 * benchtests/bench-strcpy.c: Likewise.
17611 * benchtests/bench-strcpy_chk.c: Likewise.
17612 * benchtests/bench-strlen.c: Likewise.
17613 * benchtests/bench-strncasecmp.c: Likewise.
17614 * benchtests/bench-strncat.c: Likewise.
17615 * benchtests/bench-strncmp.c: Likewise.
17616 * benchtests/bench-strncpy.c: Likewise.
17617 * benchtests/bench-strnlen.c: Likewise.
17618 * benchtests/bench-strpbrk.c: Likewise.
17619 * benchtests/bench-strrchr.c: Likewise.
17620 * benchtests/bench-strspn.c: Likewise.
17621 * benchtests/bench-strstr.c: Likewise.
17623 2013-09-04 Will Newton <will.newton@linaro.org>
17625 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17627 2013-09-03 Joseph Myers <joseph@codesourcery.com>
17630 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17631 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17632 * math/libm-test.inc (lgamma_test_data): Add more tests.
17633 * sysdeps/i386/fpu/libm-test-ulps: Update.
17634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17636 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
17638 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17639 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17641 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17642 Add strcmp-sse2-unaligned
17643 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17645 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17647 * Versions.def (libc): Add GLIBC_2.19.
17649 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17651 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17652 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17654 2013-09-02 Joseph Myers <joseph@codesourcery.com>
17657 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17658 intermediate calculations in recurrence.
17659 (__ieee754_ynf): Likewise.
17660 * math/libm-test.inc (jn_test_data): Do not allow spurious
17661 underflow exception. Add more tests.
17662 (yn_test_data): Add more tests.
17663 * sysdeps/i386/fpu/libm-test-ulps: Update.
17664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17666 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
17668 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17670 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17672 * csu/init-first.c: Fix then/than typos.
17673 * locale/programs/ld-collate.c: Likewise.
17674 * locale/programs/linereader.h: Likewise.
17675 * manual/charset.texi: Likewise.
17676 * manual/filesys.texi: Likewise.
17677 * manual/stdio.texi: Likewise.
17678 * manual/string.texi: Likewise.
17679 * stdlib/fmtmsg.c: Likewise.
17680 * sysdeps/i386/stpncpy.S: Likewise.
17681 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17682 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17683 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17684 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17686 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17688 * elf/dl-open.c: Fix typos.
17689 * iconvdata/gbbig5.c: Likewise.
17690 * iconvdata/iso-2022-jp.c: Likewise.
17691 * iconv/gconv_int.h: Likewise.
17692 * iconv/loop.c: Likewise.
17693 * nis/rpcsvc/nis.h: Likewise.
17694 * resolv/ns_name.c: Likewise.
17695 * stdio-common/vfscanf.c: Likewise.
17696 * streams/stropts.h: Likewise.
17697 * sunrpc/rpc_thread.c: Likewise.
17698 * sysdeps/i386/strpbrk.S: Likewise.
17699 * sysdeps/ieee754/k_standard.c: Likewise.
17700 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17701 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17702 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17703 * sysdeps/mach/hurd/profil.c: Likewise.
17704 * sysdeps/s390/dl-procinfo.h: Likewise.
17705 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17706 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17707 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17708 * sysdeps/x86_64/dl-trampoline.S: Likewise.
17709 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17711 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17713 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17714 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17716 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17718 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17719 aix specific files.
17720 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17721 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17722 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17723 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17724 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17725 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17726 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17727 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17729 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17730 Roland McGrath <roland@hack.frob.com>
17732 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17733 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17735 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17737 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17738 __executable_start symbol instead of _start.
17740 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17742 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17743 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17745 * sysdeps/gnu/ldsodefs.h: ... this new file.
17747 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17748 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17749 instead of ELFOSABI_LINUX.
17751 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17752 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17753 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17754 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17756 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17757 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17758 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17760 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17761 (ibm_extended_long_double): Add ieee_nan member.
17762 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17763 (do_test): New function.
17765 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17767 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17768 functions, renamed from truncdfsf_test, trunctfsf_test,
17770 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17772 (do_test): Run all these.
17774 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17776 * argp/argp-help.c: Fix typos.
17777 * argp/argp-parse.c: Likewise.
17778 * debug/backtracesyms.c: Likewise.
17779 * elf/elf.h: Likewise.
17780 * malloc/malloc.c: Likewise.
17781 * nis/nis_print.c: Likewise.
17782 * resolv/res_comp.c: Likewise.
17783 * stdlib/stdlib.h: Likewise.
17784 * sunrpc/clnt_tcp.c: Likewise.
17785 * sunrpc/clnt_udp.c: Likewise.
17786 * sunrpc/clnt_unix.c: Likewise.
17787 * sysdeps/unix/bsd/ptsname.c: Likewise.
17788 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17789 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17796 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17798 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17800 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17801 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17803 2013-08-27 Mike Frysinger <vapier@gentoo.org>
17806 * dlfcn/Makefile (tests): Add bug-dl-leaf.
17807 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17808 ($(objpfx)bug-dl-leaf): New rule.
17809 ($(objpfx)bug-dl-leaf.so): Likewise.
17810 ($(objpfx)bug-dl-leaf.out): Likewise.
17811 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17812 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17813 * dlfcn/bug-dl-leaf.c: New test.
17814 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17815 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17816 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17817 (dlclose): Likewise.
17818 (dlmopen): Likewise.
17820 2013-08-27 Roland McGrath <roland@hack.frob.com>
17822 * include/netdb.h [!_ISOMAC]:
17823 Don't include <tls.h>.
17824 (h_errno, __libc_h_errno): Move declaration and macros out of
17827 * include/resolv.h [_RESOLV_H_]:
17828 Don't include <tls.h>.
17829 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17830 * resolv/res_libc.c: Don't include <tls.h>.
17831 (_res): Use __attribute__ ((nocommon)) in place of
17832 __attribute__ ((section (".bss"))).
17834 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17835 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17837 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17839 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17840 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17842 * resolv/res_mkquery.c: Include <sys/time.h>.
17844 * inet/ifreq.c: Moved to ...
17845 * sysdeps/unix/ifreq.c: ... here.
17846 * inet/ifreq.c: New file, true stub version.
17848 * socket/sa_len.c: New file.
17849 * socket/Makefile (aux): Add it.
17850 * sysdeps/unix/sysv/linux/Makefile
17851 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17852 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17853 and #include <socket/sa_len.c>.
17854 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17855 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17857 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17858 * bits/socket.h: ... here.
17860 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17861 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17862 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17864 2013-08-27 Andreas Schwab <schwab@suse.de>
17867 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17868 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17869 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17870 * string/test-strcasecmp.c (test_main): Run tests in several
17872 * string/test-strncasecmp.c (test_main): Likewise.
17874 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17875 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17876 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17877 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17878 (__strncasecmp_ssse3) [PIC]: Likewise.
17880 2013-08-26 Roland McGrath <roland@hack.frob.com>
17882 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17884 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17885 instead of explicitly declaring xdecrypt.
17886 * nis/nss_nis/nis-publickey.c: Likewise.
17888 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17891 * nscd/aicache.c: Include res_hconf.h.
17892 (addhstaiX): Initialize res_hconf.
17894 2013-08-26 Andreas Schwab <schwab@suse.de>
17896 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17897 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17899 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17901 * nscd/aicache.c (addhstaiX): Fix indentation.
17903 2013-08-25 Mike Frysinger <vapier@gentoo.org>
17905 * configure.ac: Quote $build_pt_chown test.
17906 * configure: Regenerated.
17908 2013-08-23 Joseph Myers <joseph@codesourcery.com>
17911 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17912 * math/s_cexpf.c (__cexpf): Likewise.
17913 * math/s_cexpl.c (__cexpl): Likewise.
17914 * math/libm-test.inc (cexp_test_data): Correct expected return
17915 value for NaN + i0. Add another test.
17917 2013-08-22 David S. Miller <davem@davemloft.net>
17919 * po/ca.po: Update Catalan translation from translation project.
17920 * po/uk.po: Add Ukrainian translations from translation project.
17922 2013-08-21 Joseph Myers <joseph@codesourcery.com>
17925 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17926 is infinite, not alongside NaN test.
17927 * math/s_fdimf.c (__fdimf): Likewise.
17928 * math/s_fdiml.c (__fdiml): Likewise.
17929 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17930 errno is unchanged.
17932 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
17934 * argp/argp-help.c: Fix typos.
17935 * crypt/speeds.c: Likewise.
17936 * csu/check_fds.c: Likewise.
17937 * elf/dl-load.c: Likewise.
17938 * elf/dl-open.c: Likewise.
17939 * elf/reldep3.c: Likewise.
17940 * elf/reldep.c: Likewise.
17941 * elf/sprof.c: Likewise.
17942 * iconv/iconv_charmap.c: Likewise.
17943 * iconv/skeleton.c: Likewise.
17944 * iconv/strtab.c: Likewise.
17945 * io/lockf64.c: Likewise.
17946 * libio/libioP.h: Likewise.
17947 * resolv/gai_notify.c: Likewise.
17948 * resolv/ns_name.c: Likewise.
17949 * resolv/ns_samedomain.c: Likewise.
17950 * resolv/res_send.c: Likewise.
17951 * stdlib/random.c: Likewise.
17952 * sunrpc/rpc/xdr.h: Likewise.
17953 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17954 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17955 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17956 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17957 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17958 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17959 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17960 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17961 * sysdeps/mach/hurd/check_fds.c: Likewise.
17962 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17963 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17964 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17965 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17966 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17967 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17968 * sysdeps/pthread/aio_notify.c: Likewise.
17969 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17970 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17971 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17972 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17973 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17975 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17977 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17978 version if bit_Slow_SSE4_2 is set.
17979 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17980 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17982 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17985 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17986 trampoline stack frame information.
17987 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17988 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17989 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17990 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17991 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17992 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17993 (_libc_vdso_platform_setup): Initialize the signal trampolines.
17994 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17996 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17997 interrupting a syscall and set with option SA_SIGINFO.
17999 2013-08-20 Joseph Myers <joseph@codesourcery.com>
18002 * math/s_cproj.c (__cproj): Only return an infinity if one part of
18003 argument is infinite.
18004 * math/s_cprojf.c (__cprojf): Likewise.
18005 * math/s_cprojl.c (__cprojl): Likewise.
18006 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18007 * math/libm-test.inc (cproj_test_data): Add more tests.
18009 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18011 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18012 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18013 size. Use __ffs to determine corresponding shift.
18015 2013-08-20 Joseph Myers <joseph@codesourcery.com>
18016 Roland McGrath <roland@hack.frob.com>
18018 * Makefile (INSTALL): Remove trailing blank lines from output of
18021 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18023 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18024 Align 32 bit compat elf_greg to 8 bytes.
18026 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
18028 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18030 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18032 * string/strcoll_l.c (coll_seq): New structure.
18033 (get_next_seq_cached): New function.
18034 (get_next_seq): New function.
18035 (do_compare): New function.
18036 (STRCOLL): Use GNU style definition. Simplify implementation
18037 by using get_next_seq, get_next_seq_cached and do_compare.
18039 2013-08-16 Florian Weimer <fweimer@redhat.com>
18043 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18045 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18047 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18048 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18049 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
18051 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18052 GETDENTS_64BIT_ALIGNED.
18053 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18054 * manual/filesys.texi (Reading/Closing Directory): Document
18055 ENAMETOOLONG return value of readdir_r. Recommend readdir more
18057 * manual/conf.texi (Limits for Files): Add portability note to
18058 NAME_MAX, PATH_MAX.
18059 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18061 2013-08-13 Andreas Schwab <schwab@suse.de>
18064 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18066 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18067 LDBL_MAX_EXP >= 16384]: Add tests for it.
18069 2013-08-12 David S. Miller <davem@davemloft.net>
18071 * version.h (RELEASE): Set to "development".
18072 (VERSION): Set to "2.18.90".
18073 * NEWS: Add 2.19 section.
18075 2013-08-03 David S. Miller <davem@davemloft.net>
18077 * po/ko.po: Update Korean translation from translation project.
18079 2013-08-01 David S. Miller <davem@davemloft.net>
18081 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
18082 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18085 2013-07-30 David S. Miller <davem@davemloft.net>
18087 * po/fr.po: Update French translation from translation project.
18089 2013-07-28 David S. Miller <davem@davemloft.net>
18091 * po/cs.po: Update Czech translation from translation project.
18093 * po/sv.po: Update Swedish translation from translation project.
18095 2013-07-27 David S. Miller <davem@davemloft.net>
18097 * po/eo.po: Update Esperanto translation from translation project.
18099 * po/vi.po: Update Vietnamese translation from translation project.
18101 * po/de.po: Update German translation from translation project.
18103 2013-07-26 David S. Miller <davem@davemloft.net>
18105 * po/bg.po: Update Bulgarian translation from translation project.
18107 * po/nl.po: Update Dutch translation from translation project.
18108 * po/pl.po: Update Polish translation from translation project.
18109 * po/ru.po: Update Russian translation from translation project.
18111 2013-07-24 David S. Miller <davem@davemloft.net>
18113 * po/libc.pot: Update.
18115 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18117 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18118 variable page size.
18119 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18120 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18121 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18123 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18125 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18127 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18128 Andreas Schwab <schwab@suse.de>
18129 Roland McGrath <roland@hack.frob.com>
18130 Joseph Myers <joseph@codesourcery.com>
18131 Carlos O'Donell <carlos@redhat.com>
18134 * config.h.in: Define HAVE_PT_CHOWN.
18135 * config.make.in (build-pt-chown): New variable.
18136 * configure.in (--enable-pt_chown): New configure option.
18137 * configure: Regenerate.
18138 * login/Makefile: Include Makeconfig. Build pt_chown only if
18139 build-pt-chown is enabled.
18140 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18141 pt_chown to fix pty ownership.
18142 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18144 * manual/install.texi (Configuring and compiling): Mention
18145 --enable-pt_chown. Add @findex for grantpt.
18146 * INSTALL: Regenerate.
18148 2013-07-20 David S. Miller <davem@davemloft.net>
18150 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18151 difference between 32-bit and 64-bit.
18153 2013-07-15 Carlos O'Donell <carlos@redhat.com>
18156 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18157 Avoid system header dependency with -ffreestanding.
18158 ($(objpfx)bits/syscall%d): Likewise.
18160 2013-07-13 David S. Miller <davem@davemloft.net>
18162 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18163 underflows from atanl/atan2l due to bug 15319.
18164 (casinh_test_data): Likewise.
18166 2013-07-07 David S. Miller <davem@davemloft.net>
18168 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18170 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
18172 * sysdeps/i386/fpu/libm-test-ulps: Update.
18173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18175 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18177 * configure.in (--enable-lock-elision): Fix message text.
18178 * INSTALL: Regenerate.
18179 * configure: Regenerate.
18181 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18185 2013-07-03 Andreas Jaeger <aj@suse.de>
18187 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18189 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18190 (ptrace_peeksiginfo_args): Add.
18191 (__ptrace_peeksiginfo_flags): Add.
18192 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18193 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18194 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18196 2013-07-03 Allan McRae <allan@archlinux.org>
18198 * sysdeps/i386/fpu/libm-test-ulps: Update.
18200 2013-07-02 David S. Miller <davem@davemloft.net>
18202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18204 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
18206 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18208 2013-07-02 Joseph Myers <joseph@codesourcery.com>
18210 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18213 2013-07-02 Andi Kleen <ak@linux.intel.com>
18215 * config.h.in (ENABLE_LOCK_ELISION): Add.
18216 * configure.in (--enable-lock-elision): Add option.
18217 * manual/install.texi: Document --enable lock elision.
18218 * configure: Regenerate
18219 * INSTALL: Regenerate.
18221 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
18223 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18224 SSE4.2 strcasecmp for libc.a.
18225 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18227 2013-07-02 Joseph Myers <joseph@codesourcery.com>
18230 * soft-fp/op-common.h (_FP_FMA): New macro.
18231 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18232 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
18233 (_FP_MUL_MEAT_1_imm): ... here.
18234 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
18235 (_FP_MUL_MEAT_1_wide): ... here.
18236 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
18237 (_FP_MUL_MEAT_1_hard): ... here.
18238 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18239 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
18240 (_FP_MUL_MEAT_2_wide): ... here.
18241 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
18242 (_FP_MUL_MEAT_2_wide_3mul): ... here.
18243 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
18244 (_FP_MUL_MEAT_2_gmp): ... here.
18245 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18246 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
18247 (_FP_MUL_MEAT_4_wide): ... here.
18248 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
18249 (_FP_MUL_MEAT_4_gmp): ... here.
18250 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18251 (_FP_WFRACBITS_DW_S): Likewise.
18252 (_FP_WFRACXBITS_DW_S): Likewise.
18253 (_FP_HIGHBIT_DW_S): Likewise.
18254 (FP_FMA_S): Likewise.
18255 (_FP_FRAC_HIGH_DW_S): Likewise.
18256 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18257 (_FP_WFRACBITS_DW_D): Likewise.
18258 (_FP_WFRACXBITS_DW_D): Likewise.
18259 (_FP_HIGHBIT_DW_D): Likewise.
18260 (FP_FMA_D): Likewise.
18261 (_FP_FRAC_HIGH_DW_D): Likewise.
18262 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18263 (_FP_WFRACBITS_DW_E): Likewise.
18264 (_FP_WFRACXBITS_DW_E): Likewise.
18265 (_FP_HIGHBIT_DW_E): Likewise.
18266 (FP_FMA_E): Likewise.
18267 (_FP_FRAC_HIGH_DW_E): Likewise.
18268 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18269 (_FP_WFRACBITS_DW_Q): Likewise.
18270 (_FP_WFRACXBITS_DW_Q): Likewise.
18271 (_FP_HIGHBIT_DW_Q): Likewise.
18272 (FP_FMA_Q): Likewise.
18273 (_FP_FRAC_HIGH_DW_Q): Likewise.
18274 * soft-fp/fmasf4.c: New file.
18275 * soft-fp/fmadf4.c: Likewise.
18276 * soft-fp/fmatf4.c: Likewise.
18278 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18280 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18281 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18283 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18285 (index_Slow_SSE4_2): Likewise.
18286 (index_Prefer_PMINUB_for_stringop): Likewise.
18287 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18288 bit_Slow_SSE4_2 is set.
18289 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18290 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18292 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18294 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18295 rtld_global._dl_hwcap2.
18296 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18298 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18299 POWER8 feature descriptions defined in _dl_hwcap2.
18300 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18301 string handling for POWER8 feature bits.
18302 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18303 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18304 _dl_powerpc_cap_flags.
18305 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18306 * sysdeps/powerpc/rtld-global-offsets.sym
18307 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18308 _dl_hwcap2 in the rtld_global_ro structure.
18310 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18312 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18313 hardware capabilities in support of AT_HWCAP2.
18314 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18315 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18317 (_dl_show_auxv): Add support for calling _dl_procinfo to display
18318 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
18319 explicitly the unknown a_type display mechanism is used.
18320 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18321 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18323 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18324 to macro prototype for AT_HWCAP2 support.
18325 * sysdeps/i386/dl-procinfo.h: Likewise.
18326 * sysdeps/s390/dl-procinfo.h: Likewise.
18327 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18328 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
18329 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
18330 return -1 for unknown a_type display fallback.
18331 * sysdeps/sparc/dl-procinfo.h: Likewise.
18332 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18333 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18335 2013-06-28 Joseph Myers <joseph@codesourcery.com>
18337 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18338 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18340 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
18343 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18344 mprotect making __stack_prot writable.
18346 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
18347 Joseph Myers <joseph@codesourcery.com>
18349 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18350 as being properly aligned.
18352 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
18354 * dlfcn/modstatic5.c: New file.
18355 * dlfcn/tststatic5.c: New file.
18356 * dlfcn/Makefile (tests): Add tststatic5.
18357 (tests-static): Likewise.
18358 (modules-names): Add modstatic5.
18359 (tststatic5-ENV): New variable.
18360 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18363 * elf/dl-support.c (_dl_main_map): New variable.
18364 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18365 (_dl_nns, _dl_load_adds): Set to 1.
18366 (_dl_initial_searchlist): Refer to _dl_main_map.
18367 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18368 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18369 call to _dl_get_origin.
18370 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18372 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18373 * dlfcn/modstatic3.c: New file.
18374 * dlfcn/tststatic3.c: New file.
18375 * dlfcn/tststatic4.c: New file.
18376 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18377 (tests-static): Likewise.
18378 (modules-names): Add modstatic3.
18379 (tststatic3-ENV, tststatic4-ENV): New variables.
18380 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18381 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18383 2013-06-26 Joseph Myers <joseph@codesourcery.com>
18385 * configure.in (CC): Require GCC version 4.4 or later.
18386 * configure: Regenerated.
18387 * manual/install.texi (Tools for Compilation): Update GCC version
18389 * INSTALL: Regenerated.
18391 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18394 * string/test-memcmp.c (check2): New.
18395 (main): Call check2.
18397 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18399 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
18402 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18404 (dl_open_worker) [!SHARED]: ... here.
18406 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18408 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18410 2013-06-25 Richard Henderson <rth@redhat.com>
18412 * locale/programs/locarchive.c: Include <libc-internal.h>
18414 2013-06-25 Joseph Myers <joseph@codesourcery.com>
18416 * manual/texinfo.tex: Update to version 2013-06-21.17, with
18417 trailing whitespace removed.
18419 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18422 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18423 * locale/programs/locarchive.c: Include libc-mmap.h.
18424 (prepare_address_space): Take two new outputs (the mmap base and len).
18425 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
18427 (create_archive): Declare new mmap base and len values for
18428 prepare_address_space, and store the result in ah.
18429 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18430 (enlarge_archive): If ah->mmap_base is not NULL, use that and
18431 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18432 Declare new mmap base and len values for
18433 prepare_address_space, and store the result in new_ah.
18434 (open_archive): Declare new mmap base and len values for
18435 prepare_address_space, and store the result in ah.
18436 (close_archive): If ah->mmap_base is not NULL, use that and
18437 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18438 * sysdeps/generic/libc-mmap.h: New file.
18440 2013-06-24 Mike Frysinger <vapier@gentoo.org>
18442 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18443 (ALIGN_UP): Likewise.
18444 (PTR_ALIGN_DOWN): Likewise.
18445 (PTR_ALIGN_UP): Likewise.
18447 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18449 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18450 entry mapped to PPC_PLATFORM_POWER8.
18451 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18453 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18454 (_dl_string_platform): Add case for exporting platform position for
18456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18457 search path to sysdeps/powerpc/powerpc32/power8 directory.
18458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18459 search path to sysdeps/powerpc/powerpc64/power8 directory.
18460 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18461 power7 directories.
18462 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18463 power7 directories.
18465 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18467 * INSTALL: Regenerate.
18469 * nscd/connections.c (nscd_init): Fix comment.
18471 2013-06-22 Joseph Myers <joseph@codesourcery.com>
18473 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18476 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18477 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18479 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18481 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18483 (DL_DST_REQ_STATIC): Remove macro.
18485 2013-06-21 Joseph Myers <joseph@codesourcery.com>
18488 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18489 with a shift of 0 bits.
18491 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18493 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18496 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18499 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18501 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18503 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18504 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18505 accepts -fno-tree-loop-distribute-patterns.
18506 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18507 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18509 * string/memset.c (memset): Likewise.
18510 * string/test-memmove.c (simple_memmove): Disable loop transformation
18512 * string/test-memset.c (simple_memset): Likewise.
18513 * benchtests/bench-memmove.c (simple_memmove): Likewise.
18514 * benchtests/bench-memset.c (simple_memset): Likewise.
18515 * configure: Regenerated.
18517 2013-06-20 Joseph Myers <joseph@codesourcery.com>
18519 * math/test-misc.c (main): Ignore fesetround failure when failures
18520 of subsequent rounding tests would be ignored.
18523 * math/fedisblxcpt.c (fedisableexcept): Return 0.
18524 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18525 * math/fegetenv.c (__fegetenv): Return 0.
18526 * math/fegetexcept.c (fegetexcept): Return 0.
18527 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18529 * math/feholdexcpt.c (feholdexcept): Return 0.
18530 * math/fesetenv.c (__fesetenv): Return 0.
18531 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18532 argument FE_TONEAREST.
18533 * math/feupdateenv.c (__feupdateenv): Return 0.
18534 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18536 2013-06-18 Roland McGrath <roland@hack.frob.com>
18538 * elf/rtld-Rules (rtld-compile-command.S): New variable.
18539 (rtld-compile-command.s, rtld-compile-command.c): New variables.
18540 ($(objpfx)rtld-%.os rules): Use them.
18542 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18544 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18547 2013-06-17 Roland McGrath <roland@hack.frob.com>
18549 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18550 length of target pattern, then descending length of dependency pattern.
18551 * configure.in (AWK): Require gawk 3.1.2 or newer.
18552 * manual/install.texi (Tools for Compilation): Say that we do.
18553 * configure: Regenerated.
18555 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18556 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18557 * scripts/sysd-rules.awk: ... this new script.
18558 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18559 than a glob-style pattern.
18561 2013-06-17 Joseph Myers <joseph@codesourcery.com>
18563 * math/test-misc.c (main): Do not treat incorrectly rounded
18564 conversions as failure unless ROUNDING_TESTS passes.
18566 2013-06-15 Joseph Myers <joseph@codesourcery.com>
18569 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18570 restore exception state around main square root computation, then
18571 check for inexactness explicitly.
18573 * math/libm-test.inc (fma_test_data): Add another test.
18575 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18577 * manual/threads.texi (Non-POSIX Extensions): New document
18578 node. Document pthread_getattr_default_np and
18579 pthread_setattr_default_np.
18581 * Versions.def (libpthread): Add GLIBC_2.18.
18582 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18591 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18595 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18597 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18599 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18602 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18604 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18605 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18607 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18608 H.J. Lu <hjl.tools@gmail.com>
18611 * sysdeps/x86_64/rtld-memset.c: Remove file.
18612 * sysdeps/x86_64/rtld-memset.S: New file.
18614 2013-06-14 Joseph Myers <joseph@codesourcery.com>
18616 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18617 (test_in_one_mode): Take arguments for whether the rounding mode
18618 is supported for each floating-point type.
18619 (do_test): Pass new arguments to test_in_one_mode using
18622 2013-06-13 Roland McGrath <roland@hack.frob.com>
18624 * posix/tst-waitid.c (do_test): Distinguish different instances of
18625 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
18626 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18627 before entering the kernel for waitpid.
18629 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18631 * NEWS: Fix note on clock function precision. Text by Roland
18634 2013-06-13 Roland McGrath <roland@hack.frob.com>
18636 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18637 it into place only when and if the sanity check passes.
18639 2013-06-13 Joseph Myers <joseph@codesourcery.com>
18641 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18642 output for whether conversion result is exact. Take argument
18643 indicating whether type is IBM long double.
18644 (round_for_all): Change need_exact field to ibm_ld.
18645 * stdlib/tst-strtod-round.c (struct exactness): New type.
18646 (struct test): Change bool ld_ok field to struct exactness exact.
18647 (TEST): Update all definitions for change to field.
18648 (tests): Regenerate array contents.
18649 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18650 field value. Check for IBM long double here.
18651 (do_test): Update calls to test_in_one_mode.
18653 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18656 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18657 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18659 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18662 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18663 generated by the compiler on loop optimizations.
18664 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18665 general definitions.
18667 2013-06-12 Joseph Myers <joseph@codesourcery.com>
18669 * math/bug-nextafter.c: Include <math-tests.h>.
18670 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18672 * math/bug-nexttoward.c: Include <math-tests.h>.
18673 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18675 * math/test-misc.c: Include <math-tests.h>.
18676 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18679 2013-06-12 Andreas Jaeger <aj@suse.de>
18681 * po/ia.po: Update Interlingua translation from translation
18684 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18686 * include/fenv.h: Include stdbool.h.
18687 (struct rm_ctx): New structure.
18688 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18690 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18691 (SET_RESTORE_ROUNDF): Likewise.
18692 (SET_RESTORE_ROUNDL): Likewise.
18693 (SET_RESTORE_ROUND_NOEX): Likewise.
18694 (SET_RESTORE_ROUND_NOEXF): Likewise.
18695 (SET_RESTORE_ROUND_NOEXL): Likewise.
18696 (SET_RESTORE_ROUND_53BIT): Likewise.
18697 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18698 (libc_feresetround_noexf_ctx): Likewise.
18699 (libc_feresetround_noexl_ctx): Likewise.
18700 (libc_feholdsetround_53bit_ctx): Likewise.
18701 (libc_feresetround_53bit_ctx): Likewise.
18702 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18703 (libc_feholdexcept_setround_sse_ctx): New function.
18704 (libc_fesetenv_sse_ctx): Likewise.
18705 (libc_feupdateenv_sse_ctx): Likewise.
18706 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18707 (libc_feholdexcept_setround_387_ctx): Likewise.
18708 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18709 (libc_feholdsetround_387_prec_ctx): Likewise.
18710 (libc_feholdsetround_387_ctx): Likewise.
18711 (libc_feholdsetround_387_53bit_ctx): Likewise.
18712 (libc_feholdsetround_sse_ctx): Likewise.
18713 (libc_feresetround_sse_ctx): Likewise.
18714 (libc_feresetround_387_ctx): Likewise.
18715 (libc_feupdateenv_387_ctx): Likewise.
18716 (libc_feholdexcept_setroundf_ctx): Define macro.
18717 (libc_fesetenvf_ctx): Likewise.
18718 (libc_feupdateenvf_ctx): Likewise.
18719 (libc_feholdsetroundf_ctx): Likewise.
18720 (libc_feresetroundf_ctx): Likewise.
18721 (libc_feholdexcept_setround_ctx): Likewise.
18722 (libc_fesetenv_ctx): Likewise.
18723 (libc_feupdateenv_ctx): Likewise.
18724 (libc_feholdsetround_ctx): Likewise.
18725 (libc_feresetround_ctx): Likewise.
18726 (libc_feholdexcept_setroundl_ctx): Likewise.
18727 (libc_feupdateenvl_ctx): Likewise.
18728 (libc_feholdsetroundl_ctx): Likewise.
18729 (libc_feresetroundl_ctx): Likewise.
18730 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18731 (libc_feresetround_53bit_ctx): Likewise.
18733 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18735 * locale/iso-639.def: Convert to UTF-8.
18737 2013-06-11 Joseph Myers <joseph@codesourcery.com>
18739 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18740 (EXCEPTION_TESTS_double): Likewise.
18741 (EXCEPTION_TESTS_long_double): Likewise.
18742 (EXCEPTION_TESTS): Likewise.
18743 * math/libm-test.inc (test_exceptions): Only test exceptions if
18744 EXCEPTION_TESTS (FLOAT).
18746 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18748 * benchtests/Makefile (string-bench): Add strcpy_chk and
18750 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18751 * benchtests/bench-stpcpy_chk.c: New file.
18752 * benchtests/bench-strcpy_chk-ifunc.c: New file.
18753 * benchtests/bench-strcpy_chk.c: New file.
18754 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18756 (do_test): Likewise.
18758 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18760 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18761 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18762 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18763 with tabs where appropriate.
18764 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18766 [PPC_PLATFORM_PPC440]: Likewise.
18767 [PPC_PLATFORM_PPC464]: Likewise.
18768 [PPC_PLATFORM_PPC476]: Likewise.
18769 (_dl_string_platform): Add support for detecting ppc405, ppc440,
18770 ppc464, and ppc476 platform strings merging from ports/
18773 2013-06-11 Andreas Schwab <schwab@suse.de>
18776 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18777 (from_ucs4_idx): Regenerate.
18778 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18779 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18780 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18781 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18782 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18783 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18784 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18785 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18786 from FROM_LOOP and TO_LOOP specific macros.
18787 (BODY): Handle combining characters.
18788 * iconvdata/BIG5HKSCS.irreversible: Update.
18789 * iconvdata/BIG5HKSCS.precomposed: New file.
18790 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18792 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18794 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18796 * include/sys/time.h: Fix indentation and add copyright header.
18798 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18799 (do_test): Likewise.
18800 * string/test-memchr.c (do_one_test): Likewise.
18801 (do_test): Likewise.
18802 * string/test-memcmp.c (do_one_test): Likewise.
18803 (do_test): Likewise.
18804 * string/test-memcpy.c (do_one_test): Likewise.
18805 (do_test): Likewise.
18806 * string/test-memmem.c (do_one_test): Likewise.
18807 (do_test): Likewise.
18808 (do_random_tests): Likewise.
18809 * string/test-memmove.c (do_one_test): Likewise.
18810 (do_test): Likewise.
18811 * string/test-memset.c (do_one_test): Likewise.
18812 (do_test): Likewise.
18813 * string/test-rawmemchr.c (do_one_test): Likewise.
18814 (do_test): Likewise.
18815 * string/test-strcasecmp.c (do_one_test): Likewise.
18816 (do_test): Likewise.
18817 * string/test-strcasestr.c (do_one_test): Likewise.
18818 (do_test): Likewise.
18819 * string/test-strcat.c (do_one_test): Likewise.
18820 (do_test): Likewise.
18821 * string/test-strchr.c (do_one_test): Likewise.
18822 (do_test): Likewise.
18823 * string/test-strcmp.c (do_one_test): Likewise.
18824 (do_test): Likewise.
18825 * string/test-strcpy.c (do_one_test): Likewise.
18826 (do_test): Likewise.
18827 * string/test-string.h: Likewise.
18828 (test_init): Likewise.
18829 * string/test-strlen.c (do_one_test): Likewise.
18830 (do_test): Likewise.
18831 * string/test-strncasecmp.c (do_one_test): Likewise.
18832 (do_test): Likewise.
18833 * string/test-strncat.c (do_one_test): Likewise.
18834 (do_test): Likewise.
18835 * string/test-strncmp.c (do_one_test): Likewise.
18836 (do_test_limit): Likewise.
18837 (do_test): Likewise.
18838 * string/test-strncpy.c (do_one_test): Likewise.
18839 (do_test): Likewise.
18840 * string/test-strnlen.c (do_one_test): Likewise.
18841 (do_test): Likewise.
18842 * string/test-strpbrk.c (do_one_test): Likewise.
18843 (do_test): Likewise.
18844 * string/test-strrchr.c (do_one_test): Likewise.
18845 (do_test): Likewise.
18846 * string/test-strspn.c (do_one_test): Likewise.
18847 (do_test): Likewise.
18848 * string/test-strstr.c (do_one_test): Likewise.
18849 (do_test): Likewise.
18851 * benchtests/Makefile (string-bench): Add string benchmarks.
18852 * benchtests/bench-bcopy-ifunc.c: New file.
18853 * benchtests/bench-bcopy.c: New file.
18854 * benchtests/bench-bzero-ifunc.c: New file.
18855 * benchtests/bench-bzero.c: New file.
18856 * benchtests/bench-memccpy-ifunc.c: New file.
18857 * benchtests/bench-memccpy.c: New file.
18858 * benchtests/bench-memchr-ifunc.c: New file.
18859 * benchtests/bench-memchr.c: New file.
18860 * benchtests/bench-memcmp-ifunc.c: New file.
18861 * benchtests/bench-memcmp.c: New file.
18862 * benchtests/bench-memmem-ifunc.c: New file.
18863 * benchtests/bench-memmem.c: New file.
18864 * benchtests/bench-memmove-ifunc.c: New file.
18865 * benchtests/bench-memmove.c: New file.
18866 * benchtests/bench-mempcpy-ifunc.c: New file.
18867 * benchtests/bench-mempcpy.c: New file.
18868 * benchtests/bench-memset-ifunc.c: New file.
18869 * benchtests/bench-memset.c: New file.
18870 * benchtests/bench-rawmemchr-ifunc.c: New file.
18871 * benchtests/bench-rawmemchr.c: New file.
18872 * benchtests/bench-stpcpy-ifunc.c: New file.
18873 * benchtests/bench-stpcpy.c: New file.
18874 * benchtests/bench-stpncpy-ifunc.c: New file.
18875 * benchtests/bench-stpncpy.c: New file.
18876 * benchtests/bench-strcasecmp-ifunc.c: New file.
18877 * benchtests/bench-strcasecmp.c: New file.
18878 * benchtests/bench-strcasestr-ifunc.c: New file.
18879 * benchtests/bench-strcasestr.c: New file.
18880 * benchtests/bench-strcat-ifunc.c: New file.
18881 * benchtests/bench-strcat.c: New file.
18882 * benchtests/bench-strchr-ifunc.c: New file.
18883 * benchtests/bench-strchr.c: New file.
18884 * benchtests/bench-strchrnul-ifunc.c: New file.
18885 * benchtests/bench-strchrnul.c: New file.
18886 * benchtests/bench-strcmp-ifunc.c: New file.
18887 * benchtests/bench-strcmp.c: New file.
18888 * benchtests/bench-strcpy-ifunc.c: New file.
18889 * benchtests/bench-strcpy.c: New file.
18890 * benchtests/bench-strcspn-ifunc.c: New file.
18891 * benchtests/bench-strcspn.c: New file.
18892 * benchtests/bench-strlen-ifunc.c: New file.
18893 * benchtests/bench-strlen.c: New file.
18894 * benchtests/bench-strncasecmp-ifunc.c: New file.
18895 * benchtests/bench-strncasecmp.c: New file.
18896 * benchtests/bench-strncat-ifunc.c: New file.
18897 * benchtests/bench-strncat.c: New file.
18898 * benchtests/bench-strncmp-ifunc.c: New file.
18899 * benchtests/bench-strncmp.c: New file.
18900 * benchtests/bench-strncpy-ifunc.c: New file.
18901 * benchtests/bench-strncpy.c: New file.
18902 * benchtests/bench-strnlen-ifunc.c: New file.
18903 * benchtests/bench-strnlen.c: New file.
18904 * benchtests/bench-strpbrk-ifunc.c: New file.
18905 * benchtests/bench-strpbrk.c: New file.
18906 * benchtests/bench-strrchr-ifunc.c: New file.
18907 * benchtests/bench-strrchr.c: New file.
18908 * benchtests/bench-strspn-ifunc.c: New file.
18909 * benchtests/bench-strspn.c: New file.
18910 * benchtests/bench-strstr-ifunc.c: New file.
18911 * benchtests/bench-strstr.c: New file.
18913 * benchtests/Makefile: Disable parallel execution of targets.
18914 (string-bench): Add memcpy.
18915 (benchset): New variable to store a list of benchmark sets.
18916 (bench-func): Renamed from bench.
18917 (bench-set): New target.
18918 (bench): Depend on bench-func and bench-set.
18919 * benchtests/README: Add section on benchmark sets.
18920 * benchtests/bench-memcpy-ifunc.c: New file.
18921 * benchtests/bench-memcpy.c: New file.
18922 * benchtests/bench-string.h: New file.
18924 2013-06-11 Andreas Schwab <schwab@suse.de>
18927 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18928 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18929 values in the triple.
18930 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18931 terminator in the group key.
18933 2013-06-11 Andreas Jaeger <aj@suse.de>
18935 * po/zh_TW.po: Update Chinese (traditional) translation from
18936 translation project.
18938 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18940 * include/time.h (__clock_gettime): Add libc_hidden_proto.
18941 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18942 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
18943 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18944 (clock_getcpuclockid): Likewise.
18945 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18946 Add weak_alias and libc_hidden_def.
18947 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18948 * rt/clock_gettime.c (clock_gettime): Rename to
18949 __clock_gettime. Add weak_alias and libc_hidden_def.
18950 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18951 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18952 __clock_nanosleep. Add weak_alias and libc_hidden_def.
18953 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18954 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18956 * rt/clock_settime.c (clock_settime): Rename to
18957 __clock_settime. Add weak_alias and libc_hidden_def.
18958 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18960 2013-06-10 Joseph Myers <joseph@codesourcery.com>
18962 * mach/err_boot.sub: Remove trailing whitespace.
18963 * mach/err_ipc.sub: Likewise.
18964 * mach/err_mach.sub: Likewise.
18966 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18967 (ROUNDING_TESTS_double): Likewise.
18968 (ROUNDING_TESTS_long_double): Likewise.
18969 (ROUNDING_TESTS): Likewise.
18970 * math/libm-test.inc: Include <math-tests.h>.
18971 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18972 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18973 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18974 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18976 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18978 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18981 2013-06-08 Joseph Myers <joseph@codesourcery.com>
18983 * sysdeps/gnu/errlist.awk: Do not generate space at end of
18984 otherwise empty TRANS lines.
18985 * sysdeps/gnu/errlist.c: Regenerated.
18987 * catgets/gencat.c (error_print): Use (void) in function
18989 * crypt/crypt_util.c (__init_des): Likewise.
18990 * crypt/speeds.c (Stop): Likewise.
18992 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18993 * inet/ruserpass.c (token): Likewise.
18994 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18995 * intl/localealias.c (extend_alias_table): Likewise.
18996 * intl/plural-exp.c (init_germanic_plural): Likewise.
18997 * libio/fcloseall.c (__fcloseall): Likewise.
18998 * libio/genops.c (_IO_flush_all): Likewise.
18999 (_IO_flush_all_linebuffered): Likewise.
19000 (_IO_cleanup): Likewise.
19001 (_IO_iter_begin): Likewise.
19002 (_IO_iter_end): Likewise.
19003 (_IO_list_lock): Likewise.
19004 (_IO_list_unlock): Likewise.
19005 (_IO_list_resetlock): Likewise.
19006 * libio/getchar.c (getchar): Likewise.
19007 * libio/getchar_u.c (getchar_unlocked): Likewise.
19008 * libio/getwchar.c (getwchar): Likewise.
19009 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19010 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19011 * login/getpt.c (__getpt): Likewise.
19012 * login/tst-utmp.c (main): Likewise.
19013 * malloc/hooks.c (__malloc_check_init): Likewise.
19014 * malloc/malloc.c (__malloc_stats): Likewise.
19015 * malloc/mtrace.c (tr_break): Likewise.
19016 (mtrace): Likewise.
19017 (muntrace): Likewise.
19018 * misc/fstab.c (endfsent): Likewise.
19019 * misc/getclktck.c (__getclktck): Likewise.
19020 * misc/getdtsz.c (__getdtablesize): Likewise.
19021 * misc/gethostid.c (gethostid): Likewise.
19022 * misc/getpagesize.c (__getpagesize): Likewise.
19023 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19024 (__get_nprocs): Likewise.
19025 (__get_phys_pages): Likewise.
19026 (__get_avphys_pages): Likewise.
19027 * misc/getttyent.c (getttyent): Likewise.
19028 (setttyent): Likewise.
19029 (endttyent): Likewise.
19030 * misc/getusershell.c (getusershell): Likewise.
19031 (endusershell): Likewise.
19032 (setusershell): Likewise.
19033 (initshells): Likewise.
19034 * misc/hsearch.c (__hdestroy): Likewise.
19035 * misc/sync.c (sync): Likewise.
19036 * misc/syslog.c (closelog_internal): Likewise.
19037 (closelog): Likewise.
19038 * misc/ttyslot.c (ttyslot): Likewise.
19039 * misc/vhangup.c (vhangup): Likewise.
19040 * posix/fork.c (__fork): Likewise.
19041 * posix/getegid.c (__getegid): Likewise.
19042 * posix/geteuid.c (__geteuid): Likewise.
19043 * posix/getgid.c (__getgid): Likewise.
19044 * posix/getpid.c (__getpid): Likewise.
19045 * posix/getppid.c (__getppid): Likewise.
19046 * posix/getuid.c (__getuid): Likewise.
19047 * posix/pause.c (pause): Likewise.
19048 * posix/setpgrp.c (setpgrp): Likewise.
19049 * posix/setsid.c (__setsid): Likewise.
19050 * posix/test-vfork.c (noop): Likewise.
19051 * resolv/gethnamaddr.c (_endhtent): Likewise.
19052 (_gethtent): Likewise.
19053 (ht_endhostent): Likewise.
19054 (gethostent): Likewise.
19055 (dns_service): Likewise.
19056 * stdlib/drand48.c (drand48): Likewise.
19057 * stdlib/lrand48.c (lrand48): Likewise.
19058 * stdlib/mrand48.c (mrand48): Likewise.
19059 * stdlib/rand.c (rand): Likewise.
19060 * stdlib/random.c (__random): Likewise.
19061 * stdlib/setenv.c (clearenv): Likewise.
19062 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19063 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19064 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19065 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19066 (__get_nprocs): Likewise.
19067 (__get_phys_pages): Likewise.
19068 (__get_avphys_pages): Likewise.
19069 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19070 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19071 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19072 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19073 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19074 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19075 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19076 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19077 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19078 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19079 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19080 * sysdeps/mach/hurd/sync.c (sync): Likewise.
19081 * sysdeps/posix/clock.c (clock): Likewise.
19082 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19083 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19084 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19085 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19086 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19087 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19088 (__get_nprocs_conf): Likewise.
19089 (__get_phys_pages): Likewise.
19090 (__get_avphys_pages): Likewise.
19091 * time/clock.c (clock): Likewise.
19092 * time/tzset.c (__tzname_max): Likewise.
19094 2013-06-07 Joseph Myers <joseph@codesourcery.com>
19096 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19097 (__bswap_32): Do not use "register".
19098 * crypt/crypt.c (_ufc_doit_r): Likewise.
19099 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19100 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19101 * gmon/gmon.c (__monstartup): Likewise.
19102 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19103 * hurd/hurdmalloc.c (more_memory): Likewise.
19104 (malloc): Likewise.
19106 (realloc): Likewise.
19107 (malloc_fork_prepare): Likewise.
19108 (malloc_fork_parent): Likewise.
19109 (malloc_fork_child): Likewise.
19110 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19111 (_svcauth_des): Likewise.
19112 * inet/inet_lnaof.c (inet_lnaof): Likewise.
19113 * inet/inet_net.c (inet_network): Likewise.
19114 * inet/inet_netof.c (inet_netof): Likewise.
19115 * inet/rcmd.c (__validuser2_sa): Likewise.
19116 * io/fts.c (fts_open): Likewise.
19117 (fts_load): Likewise.
19118 (fts_close): Likewise.
19119 (fts_read): Likewise.
19120 (fts_children): Likewise.
19121 (fts_build): Likewise.
19122 (fts_stat): Likewise.
19123 (fts_sort): Likewise.
19124 (fts_alloc): Likewise.
19125 (fts_lfree): Likewise.
19126 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19127 (_IO_file_xsgetn): Likewise.
19128 (_IO_file_xsgetn_mmap): Likewise.
19129 * libio/iofopncook.c (_IO_cookie_read): Likewise.
19130 (_IO_cookie_write): Likewise.
19131 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19132 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19133 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19134 * malloc/obstack.c (_obstack_begin): Likewise.
19135 (_obstack_begin_1): Likewise.
19136 (_obstack_newchunk): Likewise.
19137 (_obstack_allocated_p): Likewise.
19138 (obstack_free): Likewise.
19139 (_obstack_memory_used): Likewise.
19140 * misc/getttyent.c (getttynam): Likewise.
19141 (getttyent): Likewise.
19144 * misc/getusershell.c (initshells): Likewise.
19145 * misc/syslog.c (__vsyslog_chk): Likewise.
19146 * misc/ttyslot.c (ttyslot): Likewise.
19147 * nis/nis_hash.c (__nis_hash): Likewise.
19148 * posix/fnmatch_loop.c (FCT): Likewise.
19149 * posix/getconf.c (print_all): Likewise.
19151 * posix/getopt.c (exchange): Likewise.
19152 * posix/glob.c (globfree): Likewise.
19153 (prefix_array): Likewise.
19154 (__glob_pattern_type): Likewise.
19155 * resolv/arpa/nameser.h (NS_GET16): Likewise.
19156 (NS_GET32): Likewise.
19157 (NS_PUT16): Likewise.
19158 (NS_PUT32): Likewise.
19159 * resolv/gethnamaddr.c (getanswer): Likewise.
19160 (gethostbyname2): Likewise.
19161 (gethostbyaddr): Likewise.
19162 (_gethtent): Likewise.
19163 (_gethtbyname2): Likewise.
19164 (_gethtbyaddr): Likewise.
19165 * resolv/ns_print.c (dst_s_get_int16): Likewise.
19166 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19167 * resolv/res_init.c (__res_vinit): Likewise.
19168 (net_mask): Likewise.
19169 * resolv/res_mkquery.c (outchar): Likewise.
19171 * stdio-common/printf_fp.c (outchar): Likewise.
19173 * stdio-common/printf_fphex.c (outchar): Likewise.
19175 * stdio-common/printf_size.c (outchar): Likewise.
19177 * stdio-common/test_rdwr.c (main): Likewise.
19178 * stdio-common/tfformat.c (matches): Likewise.
19179 * stdio-common/vfprintf.c (outchar): Likewise.
19180 (printf_unknown): Likewise.
19181 (buffered_vfprintf): Likewise.
19182 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19183 * stdio-common/xbug.c (AppendToBuffer): Likewise.
19184 (ReadFile): Likewise.
19185 * stdlib/qsort.c (SWAP): Likewise.
19186 (_quicksort): Likewise.
19187 * stdlib/setenv.c (__add_to_environ): Likewise.
19188 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19189 * stdlib/strtol_l.c (__strtol_l): Likewise.
19190 * stdlib/tst-strtod.c (main): Likewise.
19191 * stdlib/tst-strtol.c (main): Likewise.
19192 * stdlib/tst-strtoll.c (main): Likewise.
19193 * string/bits/string2.h (__strcmp_cc): Likewise.
19194 (__strcmp_cg): Likewise.
19195 (__strcspn_c1): Likewise.
19196 (__strcspn_c2): Likewise.
19197 (__strcspn_c3): Likewise.
19198 (__strspn_c1): Likewise.
19199 (__strspn_c2): Likewise.
19200 (__strspn_c3): Likewise.
19201 (__strsep_1c): Likewise.
19202 (__strsep_2c): Likewise.
19203 (__strsep_3c): Likewise.
19204 * string/memccpy.c (__memccpy): Likewise.
19205 * string/stpcpy.c (__stpcpy): Likewise.
19206 * string/strcmp.c (strcmp): Likewise.
19207 * string/strrchr.c (strrchr): Likewise.
19208 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19210 * sysdeps/mach/hurd/getcwd.c
19211 (_hurd_canonicalize_directory_name_internal): Likewise.
19212 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19213 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19214 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19215 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19216 Likewise, in both definitions.
19217 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19219 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19220 64] (__bswap_64): Likewise.
19221 * time/test_time.c (main): Likewise.
19222 * time/tzfile.c (__tzfile_read): Likewise.
19223 (__tzfile_compute): Likewise.
19224 * time/tzset.c (__tzset_parse_tz): Likewise.
19225 (tzset_internal): Likewise.
19226 (compute_change): Likewise.
19227 * wcsmbs/wcscat.c (__wcscat): Likewise.
19228 * wcsmbs/wcschr.c (wcschr): Likewise.
19229 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19230 * wcsmbs/wcscspn.c (wcscspn): Likewise.
19231 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19232 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19233 * wcsmbs/wcsspn.c (wcsspn): Likewise.
19234 * wcsmbs/wcsstr.c (wcsstr): Likewise.
19235 * wcsmbs/wmemchr.c (wmemchr): Likewise.
19236 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19237 * wcsmbs/wmemset.c (wmemset): Likewise.
19239 2013-06-06 Joseph Myers <joseph@codesourcery.com>
19241 * scripts/config.guess: Update to version 2013-05-16.
19242 * scripts/config.sub: Update to version 2013-04-24.
19243 * scripts/install-sh: Update to version 2011-11-20.07.
19244 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19245 * scripts/move-if-change: Update to version 2012-01-06 07:23.
19247 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
19249 * debug/fgetws_u_chk.c: Fix leading whitespaces.
19250 * elf/sln.c: Likewise.
19251 * hurd/hurd/ioctl.h: Likewise.
19252 * hurd/hurdmalloc.c: Likewise.
19253 * hurd/xattr.c: Likewise.
19254 * include/shlib-compat.h: Likewise.
19255 * inet/ruserpass.c: Likewise.
19256 * libio/iofgets_u.c: Likewise.
19257 * libio/iofgetws_u.c: Likewise.
19258 * locale/programs/ld-identification.c: Likewise.
19259 * locale/programs/ld-time.c: Likewise.
19260 * mach/msg-destroy.c: Likewise.
19261 * nss/nss_files/files-netgrp.c: Likewise.
19262 * resolv/res_data.c: Likewise.
19263 * soft-fp/op-1.h: Likewise.
19264 * soft-fp/op-2.h: Likewise.
19265 * soft-fp/op-4.h: Likewise.
19266 * soft-fp/op-common.h: Likewise.
19267 * stdio-common/printf_fphex.c: Likewise.
19268 * stdlib/strtod_l.c: Likewise.
19269 * sunrpc/rpc/clnt.h: Likewise.
19270 * sysdeps/generic/framestate.c: Likewise.
19271 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19272 * sysdeps/i386/bsd-setjmp.S: Likewise.
19273 * sysdeps/i386/__longjmp.S: Likewise.
19274 * sysdeps/i386/setjmp.S: Likewise.
19275 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19276 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19277 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19278 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19279 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19280 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19281 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19282 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19283 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19284 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19285 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19286 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19287 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19288 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19289 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19290 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19291 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19292 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19293 * sysdeps/ieee754/support.c: Likewise.
19294 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19295 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19296 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19297 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19298 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19299 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19300 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19301 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19302 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19303 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19304 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19305 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19306 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19307 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19308 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19309 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19310 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19313 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
19315 * posix/transbug.c: Remove executable mode.
19317 2013-06-05 Joseph Myers <joseph@codesourcery.com>
19319 * crypt/speeds.c: Remove trailing whitespace.
19320 * dlfcn/default.c: Likewise.
19321 * elf/ifuncdep2.c: Likewise.
19322 * elf/ifuncmain1.c: Likewise.
19323 * elf/ifuncmain1vis.c: Likewise.
19324 * elf/testobj.h: Likewise.
19325 * elf/tst-stackguard1.c: Likewise.
19326 * gmon/sys/gmon.h: Likewise.
19327 * hurd/hurdmsg.c: Likewise.
19328 * hurd/new-fd.c: Likewise.
19329 * hurd/ports-get.c: Likewise.
19330 * iconvdata/ibm1008_420.c: Likewise.
19331 * inet/tst-getni1.c: Likewise.
19332 * inet/tst-getni2.c: Likewise.
19333 * libio/ioungetc.c: Likewise.
19334 * libio/wfiledoalloc.c: Likewise.
19335 * manual/libm-err-tab.pl: Likewise.
19336 * math/w_dremf.c: Likewise.
19337 * misc/ftruncate.c: Likewise.
19338 * posix/bug-glob2.c: Likewise.
19339 * posix/tst-pcre.c: Likewise.
19340 * posix/wait4.c: Likewise.
19341 * resolv/README: Likewise.
19342 * resolv/res_debug.h: Likewise.
19343 * resolv/tst-inet_ntop.c: Likewise.
19344 * setjmp/bug269-setjmp.c: Likewise.
19345 * soft-fp/extended.h: Likewise.
19346 * soft-fp/op-1.h: Likewise.
19347 * soft-fp/op-2.h: Likewise.
19348 * soft-fp/op-4.h: Likewise.
19349 * soft-fp/op-8.h: Likewise.
19350 * soft-fp/testit.c: Likewise.
19351 * stdio-common/bug16.c: Likewise.
19352 * stdlib/random.c: Likewise.
19353 * sunrpc/rpcsvc/rquota.x: Likewise.
19354 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19355 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19356 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19357 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19358 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19359 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19360 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19361 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19362 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19363 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19364 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19365 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19366 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19367 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19368 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19369 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19370 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19371 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19372 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19373 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19374 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19375 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19376 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19377 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19378 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19379 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19380 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19381 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19382 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19383 * sysdeps/ieee754/s_lib_version.c: Likewise.
19384 * sysdeps/mach/hurd/check_fds.c: Likewise.
19385 * sysdeps/mach/hurd/getsockname.c: Likewise.
19386 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19387 * sysdeps/mach/hurd/recvfrom.c: Likewise.
19388 * sysdeps/powerpc/bits/link.h: Likewise.
19389 * sysdeps/powerpc/dl-procinfo.c: Likewise.
19390 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19391 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19392 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19393 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19394 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19395 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19396 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19397 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19398 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19399 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19400 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19401 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19402 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19403 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19404 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19405 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19406 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19407 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19408 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19409 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19410 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19411 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19412 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19413 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19414 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19415 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19416 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19417 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19418 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19419 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19420 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19421 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19422 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19423 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19424 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19425 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19426 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19427 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19428 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19429 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19430 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19431 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19432 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19433 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19434 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19435 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19436 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19437 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19438 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19439 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19440 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19441 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19442 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19443 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19444 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19445 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19446 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19447 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19448 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19449 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19450 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19451 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19452 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19453 * sysdeps/powerpc/sysdep.h: Likewise.
19454 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19455 * sysdeps/s390/s390-64/sub_n.S: Likewise.
19456 * sysdeps/sh/dl-trampoline.S: Likewise.
19457 * sysdeps/sh/memset.S: Likewise.
19458 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19459 * sysdeps/sh/strlen.S: Likewise.
19460 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19461 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19462 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19463 * sysdeps/sparc/sparc32/rem.S: Likewise.
19464 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19465 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19466 * sysdeps/sparc/sparc32/strchr.S: Likewise.
19467 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19468 * sysdeps/sparc/sparc32/urem.S: Likewise.
19469 * sysdeps/sparc/sparc64/add_n.S: Likewise.
19470 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19471 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19472 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19473 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19474 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19475 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19476 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19477 * sysdeps/unix/bsd/times.c: Likewise.
19478 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19479 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19483 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19484 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19485 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19486 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19487 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19488 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19489 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19490 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19491 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19492 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19493 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19494 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19495 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19496 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19497 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19498 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19499 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19500 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19501 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19502 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19503 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19504 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19505 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19506 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19507 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19508 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19509 * sysdeps/x86_64/strcspn.S: Likewise.
19511 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19513 * locale/C-translit.h: Revert #include <stdint.h> because this is a
19514 generated file. Regenerate properly from gen-translit.pl.
19515 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
19516 locale/C-translit.h.
19518 2013-06-05 Andreas Schwab <schwab@suse.de>
19521 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19522 week as 6 instead of -1.
19523 * time/tst-strptime.c (day_tests): Add test case.
19525 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19527 * sysdeps/generic/math_private.h
19528 (libc_feholdexcept_setround_53bit): Replace with
19529 libc_feholdsetround_53bit.
19530 (libc_feupdateenv_53bit): Replace with
19531 libc_feresetround_53bit.
19532 (SET_RESTORE_ROUND_53BIT): Adjust.
19534 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19536 * string/test-strchrnul.c: Add copyright header.
19538 * posix/tst-getaddrinfo4.c: Increase test timeout.
19540 2013-06-03 Carlos O'Donell <carlos@redhat.com>
19543 * math/libm-test.inc (MAX_EXP): Remove
19545 (ulp): Use MIN_EXP - MANT_DIG.
19546 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19548 2013-05-31 Carlos O'Donell <carlos@redhat.com>
19550 * po/be.po: Revert last change.
19551 * po/zh_CN.po: Likewise.
19552 * po/header.pot: Likewise.
19554 2013-05-31 Joseph Myers <joseph@codesourcery.com>
19556 * Makefile ($(common-objpfx)linkobj/libc.so): Define
19557 link-libc-deps to empty as target-specific variable.
19558 * Makerules (link-libc-args): New variable.
19559 (libc-for-link): Likewise.
19560 (link-libc-deps): Likewise.
19561 (lib%.so): Depend on $(link-libc-deps). Link with
19563 (build-module): Link with $(link-libc-args).
19564 (build-module-asneeded): Likewise.
19565 (build-module-helper-objlist): Filter out $(link-libc-deps) from
19567 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19568 target-specific variable.
19569 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19570 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19571 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19573 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19575 ($(objpfx)libpcprofile.so): Likewise.
19576 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19578 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19579 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19580 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19582 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19583 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19584 * login/Makefile ($(objpfx)libutil.so): Likewise.
19585 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19586 * math/Makefile ($(objpfx)libm.so): Likewise.
19587 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19588 $(objpfx)libnsl.so): Define libc-for-link as target-specific
19589 variable instead of depending directly on libc.
19590 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19591 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19593 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19595 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19596 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19597 ($(objpfx)libanl.so): Likewise.
19598 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19600 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19602 * sysdeps/i386/fpu/Makefile: Remove file.
19603 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19604 ($(objpfx)libm.so): Remove dependency on ld.so.
19606 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
19609 * nis/yp_xdr.c (XDRMAXNAME): Define.
19610 (XDRMAXRECORD): Define.
19611 (xdr_domainname): Use XDRMAXNAME.
19612 (xdr_mapname): Likewise.
19613 (xdr_peername): Likewise.
19614 (xdr_keydat): Use XDRMAXRECORD.
19615 (xdr_valdat): Likewise.
19617 2013-05-30 Jeff Law <law@redhat.com>
19620 * manual/errno.texi (ESTALE): Update to account for more than
19621 just NFS file systems.
19622 * sysdeps/gnu/errlist.c: Regenerated.
19624 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19627 * elf/Makefile (tests): Add tst-null-argv.
19628 (modules-names): Add tst-null-argv-lib.
19629 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19630 (tst-null-argv-ENV): Set environment for tst-null-argv.
19631 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19632 (RTLD_PROGNAME): New macro.
19633 * elf/tst-null-argv.c: New test case.
19634 * elf/tst-null-argv-lib.c: Library for test case.
19635 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19636 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19637 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19638 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19639 * elf/dl-init.c (call_init): Likewise.
19640 (_dl_init): Likewise.
19641 * elf/dl-load.c (print_search_path): Likewise.
19642 (_dl_map_object): Likewise.
19643 * elf/dl-lookup.c (do_lookup_x): Likewise.
19644 (add_dependency): Likewise.
19645 (_dl_lookup_symbol_x): Likewise.
19646 (_dl_debug_bindings): Likewise.
19647 * elf/dl-open.c (_dl_show_scope): Likewise.
19648 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19649 * elf/dl-version.c (match_symbol): Likewise.
19650 (_dl_check_map_versions): Likewise.
19651 * elf/rtld.c (dl_main): Likewise.
19652 (print_unresolved): Use RTLD_PROGNAME.
19653 (print_missing_version): Likewise.
19654 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19655 (elf_machine_rela): Likewise.
19656 * sysdeps/powerpc/powerpc32/dl-machine.c
19657 (__process_machine_rela): Likewise.
19658 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19660 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19662 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19664 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19665 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19667 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19669 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19671 2013-05-28 Carlos O'Donell <carlos@redhat.com>
19673 * po/be.po: Add descriptive title.
19674 * po/zh_CN.po: Likewise.
19675 * po/header.pot: Likewise.
19677 2013-05-28 Mike Frysinger <vapier@gentoo.org>
19679 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19681 (enlarge_archive): Likewise.
19683 2013-05-28 Ben North <ben@redfrontdoor.org>
19685 * manual/arith.texi (frexp): It is the magnitude of the return
19686 value which lies in [0.5, 1), not the return value itself.
19688 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19692 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
19694 * stdio-common/bug26.c (main): Correct fscanf template.
19696 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19697 declare _dl_skip_args.
19699 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19702 * manual/platform.texi: Add missing @end deftypefun.
19704 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19707 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19708 bit of mantissa of 2^16382.
19709 * math/libm-test.inc (hypot_test_data): Add more tests.
19711 * math/libm-test.inc: Add drem and pow10 to list of tested
19713 (pow10_test): New function.
19714 (drem_test): Likewise.
19715 (drem_test_tonearest): Likewise.
19716 (drem_test_towardzero): Likewise.
19717 (drem_test_downward): Likewise.
19718 (drem_test_upward): Likewise.
19719 (main): Call the new functions.
19721 * math/libm-test.inc (finite_test_data): Remove.
19722 (finite_test): Run tests from isfinite_test_data.
19723 (gamma_test_data): Remove.
19724 (gamma_test): Run tests from lgamma_test_data.
19725 * sysdeps/i386/fpu/libm-test-ulps: Update.
19726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19728 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19730 * manual/platform.texi: Add PowerPC PPR function set documentation.
19731 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19734 2013-05-24 Carlos O'Donell <carlos@redhat.com>
19736 * math/libm-test.inc (MAX_EXP): Define.
19738 (ulp): New function.
19739 (check_float_internal): Use ULPDIFF.
19740 (cpow_test): Disable failing test.
19741 (check_ulp): Test ulp() implemetnation.
19742 (main): Call check_ulp before starting tests.
19744 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19746 * math/gen-libm-test.pl (generate_testfile): Do not handle
19747 START_DATA and END_DATA.
19748 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19750 (acos_tonearest_test_data): Likewise.
19751 (acos_towardzero_test_data): Likewise.
19752 (acos_downward_test_data): Likewise.
19753 (acos_upward_test_data): Likewise.
19754 (acosh_test_data): Likewise.
19755 (asin_test_data): Likewise.
19756 (asin_tonearest_test_data): Likewise.
19757 (asin_towardzero_test_data): Likewise.
19758 (asin_downward_test_data): Likewise.
19759 (asin_upward_test_data): Likewise.
19760 (asinh_test_data): Likewise.
19761 (atan_test_data): Likewise.
19762 (atanh_test_data): Likewise.
19763 (atan2_test_data): Likewise.
19764 (cabs_test_data): Likewise.
19765 (cacos_test_data): Likewise.
19766 (cacosh_test_data): Likewise.
19767 (carg_test_data): Likewise.
19768 (casin_test_data): Likewise.
19769 (casinh_test_data): Likewise.
19770 (catan_test_data): Likewise.
19771 (catanh_test_data): Likewise.
19772 (cbrt_test_data): Likewise.
19773 (ccos_test_data): Likewise.
19774 (ccosh_test_data): Likewise.
19775 (ceil_test_data): Likewise.
19776 (cexp_test_data): Likewise.
19777 (cimag_test_data): Likewise.
19778 (clog_test_data): Likewise.
19779 (clog10_test_data): Likewise.
19780 (conj_test_data): Likewise.
19781 (copysign_test_data): Likewise.
19782 (cos_test_data): Likewise.
19783 (cos_tonearest_test_data): Likewise.
19784 (cos_towardzero_test_data): Likewise.
19785 (cos_downward_test_data): Likewise.
19786 (cos_upward_test_data): Likewise.
19787 (cosh_test_data): Likewise.
19788 (cosh_tonearest_test_data): Likewise.
19789 (cosh_towardzero_test_data): Likewise.
19790 (cosh_downward_test_data): Likewise.
19791 (cosh_upward_test_data): Likewise.
19792 (cpow_test_data): Likewise.
19793 (cproj_test_data): Likewise.
19794 (creal_test_data): Likewise.
19795 (csin_test_data): Likewise.
19796 (csinh_test_data): Likewise.
19797 (csqrt_test_data): Likewise.
19798 (ctan_test_data): Likewise.
19799 (ctan_tonearest_test_data): Likewise.
19800 (ctan_towardzero_test_data): Likewise.
19801 (ctan_downward_test_data): Likewise.
19802 (ctan_upward_test_data): Likewise.
19803 (ctanh_test_data): Likewise.
19804 (ctanh_tonearest_test_data): Likewise.
19805 (ctanh_towardzero_test_data): Likewise.
19806 (ctanh_downward_test_data): Likewise.
19807 (ctanh_upward_test_data): Likewise.
19808 (erf_test_data): Likewise.
19809 (erfc_test_data): Likewise.
19810 (exp_test_data): Likewise.
19811 (exp_tonearest_test_data): Likewise.
19812 (exp_towardzero_test_data): Likewise.
19813 (exp_downward_test_data): Likewise.
19814 (exp_upward_test_data): Likewise.
19815 (exp10_test_data): Likewise.
19816 (exp2_test_data): Likewise.
19817 (expm1_test_data): Likewise.
19818 (fabs_test_data): Likewise.
19819 (fdim_test_data): Likewise.
19820 (finite_test_data): Likewise.
19821 (floor_test_data): Likewise.
19822 (fma_test_data): Likewise.
19823 (fma_towardzero_test_data): Likewise.
19824 (fma_downward_test_data): Likewise.
19825 (fma_upward_test_data): Likewise.
19826 (fmax_test_data): Likewise.
19827 (fmin_test_data): Likewise.
19828 (fmod_test_data): Likewise.
19829 (fpclassify_test_data): Likewise.
19830 (frexp_test_data): Likewise.
19831 (gamma_test_data): Likewise.
19832 (hypot_test_data): Likewise.
19833 (ilogb_test_data): Likewise.
19834 (isfinite_test_data): Likewise.
19835 (isgreater_test_data): Likewise.
19836 (isgreaterequal_test_data): Likewise.
19837 (isinf_test_data): Likewise.
19838 (isless_test_data): Likewise.
19839 (islessequal_test_data): Likewise.
19840 (islessgreater_test_data): Likewise.
19841 (isnan_test_data): Likewise.
19842 (isnormal_test_data): Likewise.
19843 (issignaling_test_data): Likewise.
19844 (isunordered_test_data): Likewise.
19845 (j0_test_data): Likewise.
19846 (j1_test_data): Likewise.
19847 (jn_test_data): Likewise.
19848 (ldexp_test_data): Likewise.
19849 (lgamma_test_data): Likewise.
19850 (lrint_test_data): Likewise.
19851 (lrint_tonearest_test_data): Likewise.
19852 (lrint_towardzero_test_data): Likewise.
19853 (lrint_downward_test_data): Likewise.
19854 (lrint_upward_test_data): Likewise.
19855 (llrint_test_data): Likewise.
19856 (llrint_tonearest_test_data): Likewise.
19857 (llrint_towardzero_test_data): Likewise.
19858 (llrint_downward_test_data): Likewise.
19859 (llrint_upward_test_data): Likewise.
19860 (log_test_data): Likewise.
19861 (log10_test_data): Likewise.
19862 (log1p_test_data): Likewise.
19863 (log2_test_data): Likewise.
19864 (logb_test_data): Likewise.
19865 (logb_downward_test_data): Likewise.
19866 (lround_test_data): Likewise.
19867 (llround_test_data): Likewise.
19868 (modf_test_data): Likewise.
19869 (nearbyint_test_data): Likewise.
19870 (nextafter_test_data): Likewise.
19871 (nexttoward_test_data): Likewise.
19872 (pow_test_data): Likewise.
19873 (pow_tonearest_test_data): Likewise.
19874 (pow_towardzero_test_data): Likewise.
19875 (pow_downward_test_data): Likewise.
19876 (pow_upward_test_data): Likewise.
19877 (remainder_test_data): Likewise.
19878 (remainder_tonearest_test_data): Likewise.
19879 (remainder_towardzero_test_data): Likewise.
19880 (remainder_downward_test_data): Likewise.
19881 (remainder_upward_test_data): Likewise.
19882 (remquo_test_data): Likewise.
19883 (rint_test_data): Likewise.
19884 (rint_tonearest_test_data): Likewise.
19885 (rint_towardzero_test_data): Likewise.
19886 (rint_downward_test_data): Likewise.
19887 (rint_upward_test_data): Likewise.
19888 (round_test_data): Likewise.
19889 (scalb_test_data): Likewise.
19890 (scalbn_test_data): Likewise.
19891 (scalbln_test_data): Likewise.
19892 (signbit_test_data): Likewise.
19893 (sin_test_data): Likewise.
19894 (sin_tonearest_test_data): Likewise.
19895 (sin_towardzero_test_data): Likewise.
19896 (sin_downward_test_data): Likewise.
19897 (sin_upward_test_data): Likewise.
19898 (sincos_test_data): Likewise.
19899 (sinh_test_data): Likewise.
19900 (sinh_tonearest_test_data): Likewise.
19901 (sinh_towardzero_test_data): Likewise.
19902 (sinh_downward_test_data): Likewise.
19903 (sinh_upward_test_data): Likewise.
19904 (sqrt_test_data): Likewise.
19905 (tan_test_data): Likewise.
19906 (tan_tonearest_test_data): Likewise.
19907 (tan_towardzero_test_data): Likewise.
19908 (tan_downward_test_data): Likewise.
19909 (tan_upward_test_data): Likewise.
19910 (tanh_test_data): Likewise.
19911 (tgamma_test_data): Likewise.
19912 (trunc_test_data): Likewise.
19913 (y0_test_data): Likewise.
19914 (y1_test_data): Likewise.
19915 (yn_test_data): Likewise.
19916 (significand_test_data): Likewise.
19918 * math/gen-libm-test.pl (@functions): Remove variable.
19919 (generate_testfile): Don't handle START and END lines.
19920 * math/libm-test.inc (START): New macro.
19922 (END_COMPLEX): Likewise.
19923 (acos_test): Use END macro without arguments.
19924 (acos_test_tonearest): Likewise.
19925 (acos_test_towardzero): Likewise.
19926 (acos_test_downward): Likewise.
19927 (acos_test_upward): Likewise.
19928 (acosh_test): Likewise.
19929 (asin_test): Likewise.
19930 (asin_test_tonearest): Likewise.
19931 (asin_test_towardzero): Likewise.
19932 (asin_test_downward): Likewise.
19933 (asin_test_upward): Likewise.
19934 (asinh_test): Likewise.
19935 (atan_test): Likewise.
19936 (atanh_test): Likewise.
19937 (atan2_test): Likewise.
19938 (cabs_test): Likewise.
19939 (cacos_test): Use END_COMPLEX macro without arguments.
19940 (cacosh_test): Likewise.
19941 (carg_test): Use END macro without arguments.
19942 (casin_test): Use END_COMPLEX macro without arguments.
19943 (casinh_test): Likewise.
19944 (catan_test): Likewise.
19945 (catanh_test): Likewise.
19946 (cbrt_test): Use END macro without arguments.
19947 (ccos_test): Use END_COMPLEX macro without arguments.
19948 (ccosh_test): Likewise.
19949 (ceil_test): Use END macro without arguments.
19950 (cexp_test): Use END_COMPLEX macro without arguments.
19951 (cimag_test): Use END macro without arguments.
19952 (clog_test): Use END_COMPLEX macro without arguments.
19953 (clog10_test): Likewise.
19954 (conj_test): Likewise.
19955 (copysign_test): Use END macro without arguments.
19956 (cos_test): Likewise.
19957 (cos_test_tonearest): Likewise.
19958 (cos_test_towardzero): Likewise.
19959 (cos_test_downward): Likewise.
19960 (cos_test_upward): Likewise.
19961 (cosh_test): Likewise.
19962 (cosh_test_tonearest): Likewise.
19963 (cosh_test_towardzero): Likewise.
19964 (cosh_test_downward): Likewise.
19965 (cosh_test_upward): Likewise.
19966 (cpow_test): Use END_COMPLEX macro without arguments.
19967 (cproj_test): Likewise.
19968 (creal_test): Use END macro without arguments.
19969 (csin_test): Use END_COMPLEX macro without arguments.
19970 (csinh_test): Likewise.
19971 (csqrt_test): Likewise.
19972 (ctan_test): Likewise.
19973 (ctan_test_tonearest): Likewise.
19974 (ctan_test_towardzero): Likewise.
19975 (ctan_test_downward): Likewise.
19976 (ctan_test_upward): Likewise.
19977 (ctanh_test): Likewise.
19978 (ctanh_test_tonearest): Likewise.
19979 (ctanh_test_towardzero): Likewise.
19980 (ctanh_test_downward): Likewise.
19981 (ctanh_test_upward): Likewise.
19982 (erf_test): Use END macro without arguments.
19983 (erfc_test): Likewise.
19984 (exp_test): Likewise.
19985 (exp_test_tonearest): Likewise.
19986 (exp_test_towardzero): Likewise.
19987 (exp_test_downward): Likewise.
19988 (exp_test_upward): Likewise.
19989 (exp10_test): Likewise.
19990 (exp2_test): Likewise.
19991 (expm1_test): Likewise.
19992 (fabs_test): Likewise.
19993 (fdim_test): Likewise.
19994 (finite_test): Likewise.
19995 (floor_test): Likewise.
19996 (fma_test): Likewise.
19997 (fma_test_towardzero): Likewise.
19998 (fma_test_downward): Likewise.
19999 (fma_test_upward): Likewise.
20000 (fmax_test): Likewise.
20001 (fmin_test): Likewise.
20002 (fmod_test): Likewise.
20003 (fpclassify_test): Likewise.
20004 (frexp_test): Likewise.
20005 (gamma_test): Likewise.
20006 (hypot_test): Likewise.
20007 (ilogb_test): Likewise.
20008 (isfinite_test): Likewise.
20009 (isgreater_test): Likewise.
20010 (isgreaterequal_test): Likewise.
20011 (isinf_test): Likewise.
20012 (isless_test): Likewise.
20013 (islessequal_test): Likewise.
20014 (islessgreater_test): Likewise.
20015 (isnan_test): Likewise.
20016 (isnormal_test): Likewise.
20017 (issignaling_test): Likewise.
20018 (isunordered_test): Likewise.
20019 (j0_test): Likewise.
20020 (j1_test): Likewise.
20021 (jn_test): Likewise.
20022 (ldexp_test): Likewise.
20023 (lgamma_test): Likewise.
20024 (lrint_test): Likewise.
20025 (lrint_test_tonearest): Likewise.
20026 (lrint_test_towardzero): Likewise.
20027 (lrint_test_downward): Likewise.
20028 (lrint_test_upward): Likewise.
20029 (llrint_test): Likewise.
20030 (llrint_test_tonearest): Likewise.
20031 (llrint_test_towardzero): Likewise.
20032 (llrint_test_downward): Likewise.
20033 (llrint_test_upward): Likewise.
20034 (log_test): Likewise.
20035 (log10_test): Likewise.
20036 (log1p_test): Likewise.
20037 (log2_test): Likewise.
20038 (logb_test): Likewise.
20039 (logb_test_downward): Likewise.
20040 (lround_test): Likewise.
20041 (llround_test): Likewise.
20042 (modf_test): Likewise.
20043 (nearbyint_test): Likewise.
20044 (nextafter_test): Likewise.
20045 (nexttoward_test): Likewise.
20046 (pow_test): Likewise.
20047 (pow_test_tonearest): Likewise.
20048 (pow_test_towardzero): Likewise.
20049 (pow_test_downward): Likewise.
20050 (pow_test_upward): Likewise.
20051 (remainder_test): Likewise.
20052 (remainder_test_tonearest): Likewise.
20053 (remainder_test_towardzero): Likewise.
20054 (remainder_test_downward): Likewise.
20055 (remainder_test_upward): Likewise.
20056 (remquo_test): Likewise.
20057 (rint_test): Likewise.
20058 (rint_test_tonearest): Likewise.
20059 (rint_test_towardzero): Likewise.
20060 (rint_test_downward): Likewise.
20061 (rint_test_upward): Likewise.
20062 (round_test): Likewise.
20063 (scalb_test): Likewise.
20064 (scalbn_test): Likewise.
20065 (scalbln_test): Likewise.
20066 (signbit_test): Likewise.
20067 (sin_test): Likewise.
20068 (sin_test_tonearest): Likewise.
20069 (sin_test_towardzero): Likewise.
20070 (sin_test_downward): Likewise.
20071 (sin_test_upward): Likewise.
20072 (sincos_test): Likewise.
20073 (sinh_test): Likewise.
20074 (sinh_test_tonearest): Likewise.
20075 (sinh_test_towardzero): Likewise.
20076 (sinh_test_downward): Likewise.
20077 (sinh_test_upward): Likewise.
20078 (sqrt_test): Likewise.
20079 (tan_test): Likewise.
20080 (tan_test_tonearest): Likewise.
20081 (tan_test_towardzero): Likewise.
20082 (tan_test_downward): Likewise.
20083 (tan_test_upward): Likewise.
20084 (tanh_test): Likewise.
20085 (tgamma_test): Likewise.
20086 (trunc_test): Likewise.
20087 (y0_test): Likewise.
20088 (y1_test): Likewise.
20089 (yn_test): Likewise.
20090 (significand_test): Likewise.
20092 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
20095 * libio/genops.c (_IO_no_init): Initialize wide struct info.
20097 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
20100 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20101 __ppc_mdoio and __ppc_mdoom.
20102 * manual/platform.texi: Document new functions __ppc_yield,
20103 __ppc_mdoio and __ppc_mdoom.
20105 2013-05-22 Carlos O'Donell <carlos@redhat.com>
20107 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20108 (main): Mention "tls" pseudo-hwcap is legacy.
20109 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20111 2013-05-22 Joseph Myers <joseph@codesourcery.com>
20113 * math/gen-libm-test.pl (parse_args): Output only string of
20114 arguments as text for test name, not full call or descriptions of
20115 tests for extra outputs.
20116 (generate_testfile): Do not pass function name to parse_args.
20117 Generate this_func variable from START.
20118 * math/libm-test.inc (struct test_f_f_data): Rename test_name
20120 (struct test_ff_f_data): Likewise.
20121 (test_ff_f_data_nexttoward): Likewise.
20122 (struct test_fi_f_data): Likewise.
20123 (struct test_fl_f_data): Likewise.
20124 (struct test_if_f_data): Likewise.
20125 (struct test_fff_f_data): Likewise.
20126 (struct test_c_f_data): Likewise.
20127 (struct test_f_f1_data): Likewise. Remove field extra_name.
20128 (struct test_fF_f1_data): Likewise.
20129 (struct test_ffI_f1_data): Likewise.
20130 (struct test_c_c_data): Rename test_name field to arg_str.
20131 (struct test_cc_c_data): Likewise.
20132 (struct test_f_i_data): Likewise.
20133 (struct test_ff_i_data): Likewise.
20134 (struct test_f_l_data): Likewise.
20135 (struct test_f_L_data): Likewise.
20136 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
20138 (COMMON_TEST_SETUP): New macro.
20139 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20140 (COMMON_TEST_CLEANUP): Likewise.
20141 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20142 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
20144 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20145 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
20147 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20148 (RUN_TEST_fff_f): Take argument string. Call new setup and
20150 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20151 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
20153 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20154 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
20156 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20157 (RUN_TEST_fF_f1): Take argument string. Call new setup and
20159 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20160 (RUN_TEST_fI_f1): Take argument string. Call new setup and
20162 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20163 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
20165 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20166 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
20168 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20169 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
20171 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20172 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
20174 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20175 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
20177 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20178 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
20180 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20181 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
20183 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20184 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
20186 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20187 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
20189 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20190 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
20192 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20193 (RUN_TEST_fFF_11): Take argument string. Call new setup and
20195 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20197 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
20199 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20200 to _sifields.sigfault.
20201 (si_addr_lsb): Define new macro.
20202 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20203 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20204 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20206 2013-05-03 Carlos O'Donell <carlos at redhat.com>
20209 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20211 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20213 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20214 loading the domain.
20216 2013-05-22 Joseph Myers <joseph@codesourcery.com>
20218 * math/gen-libm-test.pl (parse_args): Do not include expected
20219 result in test name.
20220 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20221 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20222 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20223 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20224 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20227 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20229 * benchtests/Makefile: Sort function entries.
20231 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20232 tanh, asinh, acosh, atanh.
20233 * benchtests/acos-inputs: New file.
20234 * benchtests/acosh-inputs: New file.
20235 * benchtests/asin-inputs: New file.
20236 * benchtests/asinh-inputs: New file.
20237 * benchtests/atanh-inputs: New file.
20238 * benchtests/cosh-inputs: New file.
20239 * benchtests/log-inputs: New file.
20240 * benchtests/sinh-inputs: New file.
20241 * benchtests/tanh-inputs: New file.
20243 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
20246 * posix/tst-getaddrinfo4.c: New test.
20247 * posix/Makefile (tests): Add it.
20249 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20252 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20253 when no services were used.
20254 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20255 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20257 2013-05-21 Andreas Schwab <schwab@suse.de>
20260 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20261 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20263 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20264 redundant variable declarations and reallocation of buffer when
20265 parsing as IPv6 address. Always set NSS status when called from
20266 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
20267 buffer too small. Correct computation of needed size.
20268 * nss/Makefile (tests): Add test-digits-dots.
20269 * nss/test-digits-dots.c: New test.
20271 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20273 * benchtests/Makefile: Remove instructions for adding
20275 * benchtests/README: New file to explain how to execute and
20276 enhance the benchmark tests.
20278 2013-05-21 Andreas Schwab <schwab@suse.de>
20281 * setjmp/Makefile (tests): Add tst-sigsetjmp.
20282 * setjmp/tst-sigsetjmp.c: New test.
20284 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
20286 * sysdeps/x86_64/memset.S (memset): New implementation.
20287 (__bzero): Likewise.
20288 (__memset_tail): New function.
20290 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
20292 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20293 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20294 __memcpy_sse2_unaligned ifunc selection.
20295 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20296 Add memcpy-sse2-unaligned.S.
20297 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20298 Add: __memcpy_sse2_unaligned.
20300 2013-05-19 Joseph Myers <joseph@codesourcery.com>
20303 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20304 math_force_eval before restoring floating-point envrionment.
20305 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20306 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20308 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20310 (__nearbyintl): Use math_force_eval before restoring
20311 floating-point environment.
20312 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20314 * math/gen-libm-test.pl (special_functions): Remove.
20315 (parse_args): Don't handle TEST_extra. Handle functions with no
20317 * math/libm-test.inc (struct test_sincos_data): Replace with
20318 struct test_fFF_11_data.
20319 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20320 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20321 (sincos_test_data): Change element type to struct
20322 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
20323 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20324 RUN_TEST_LOOP_sincos.
20325 * math/README.libm-test: Don't mention special handling of
20326 individual functions.
20327 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20328 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20329 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20330 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20331 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20334 * math/gen-libm-test.pl (get_variable): Remove function.
20335 (parse_args): Don't show pointer parameters to call in test
20336 names. Use "extra output N" in test names for extra outputs
20337 rather than naming variables.
20339 2013-05-18 Joseph Myers <joseph@codesourcery.com>
20342 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20343 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20344 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20346 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20348 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20351 * math/gen-libm-test.pl (@tests): Remove variable.
20352 ($count): Likewise.
20353 (new_test): Remove function.
20354 (show_exceptions): New function.
20355 (special_functions): Use show_exceptions instead of new_test.
20356 (parse_args): Likewise.
20357 (generate_testfile): Pass only function name in generated call to
20358 print_max_error or print_complex_max_error.
20359 (get_ulps): Do not handle complex tests specially.
20360 (output_test): Rename to ...
20361 (get_all_ulps_for_test): ... this. Return a string rather than
20362 printing to a file. Require ulps to be present.
20363 (output_ulps): Generate arrays rather than #defines.
20364 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20365 (struct ulp_data): New type.
20366 (BUILD_COMPLEX_ULP): Remove macro.
20367 (compare_ulp_data): New function.
20368 (find_ulps): Likewise.
20369 (find_test_ulps): Likewise.
20370 (find_function_ulps): Likewise.
20371 (find_complex_function_ulps): Likewise.
20372 (print_max_error): Determine allowed ulps using
20373 find_function_ulps.
20374 (print_complex_max_error): Determine allowed ulps using
20375 find_complex_function_ulps.
20376 (check_float_internal): Determine max ulps using find_test_ulps.
20377 (check_float): Do not take max_ulp parameter. Update call to
20378 check_float_internal.
20379 (check_complex): Likewise.
20380 (check_int): Do not take max_ulp parameter.
20381 (check_long): Likewise.
20382 (check_bool): Likewise.
20383 (check_longlong): Likewise.
20384 (struct test_f_f_data): Remove max_ulp field.
20385 (struct test_ff_f_data): Likewise.
20386 (struct test_ff_f_data_nexttoward): Likewise.
20387 (struct test_fi_f_data): Likewise.
20388 (struct test_fl_f_data): Likewise.
20389 (struct test_if_f_data): Likewise.
20390 (struct test_fff_f_data): Likewise.
20391 (struct test_c_f_data): Likewise.
20392 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20393 (struct test_fF_f1_data): Likewise.
20394 (struct test_ffI_f1_data): Likewise.
20395 (struct test_c_c_data): Remove max_ulp field.
20396 (struct test_cc_c_data): Likewise.
20397 (struct test_f_i_data): Likewise.
20398 (struct test_ff_i_data): Likewise.
20399 (struct test_f_l_data): Likewise.
20400 (struct test_f_L_data): Likewise.
20401 (struct test_sincos_data): Likewise.
20402 (RUN_TEST_f_f): Do not handle ulps.
20403 (RUN_TEST_LOOP_f_f): Likewise.
20404 (RUN_TEST_2_f): Likewise.
20405 (RUN_TEST_LOOP_2_f): Likewise.
20406 (RUN_TEST_fff_f): Likewise.
20407 (RUN_TEST_LOOP_fff_f): Likewise.
20408 (RUN_TEST_c_f): Likewise.
20409 (RUN_TEST_LOOP_c_f): Likewise.
20410 (RUN_TEST_f_f1): Likewise.
20411 (RUN_TEST_LOOP_f_f1): Likewise.
20412 (RUN_TEST_fF_f1): Likewise.
20413 (RUN_TEST_LOOP_fF_f1): Likewise.
20414 (RUN_TEST_fI_f1): Likewise.
20415 (RUN_TEST_LOOP_fI_f1): Likewise.
20416 (RUN_TEST_ffI_f1): Likewise.
20417 (RUN_TEST_LOOP_ffI_f1): Likewise.
20418 (RUN_TEST_c_c): Likewise.
20419 (RUN_TEST_LOOP_c_c): Likewise.
20420 (RUN_TEST_cc_c): Likewise.
20421 (RUN_TEST_LOOP_cc_c): Likewise.
20422 (RUN_TEST_f_i): Likewise.
20423 (RUN_TEST_LOOP_f_i): Likewise.
20424 (RUN_TEST_f_i_tg): Likewise.
20425 (RUN_TEST_LOOP_f_i_tg): Likewise.
20426 (RUN_TEST_ff_i_tg): Likewise.
20427 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20428 (RUN_TEST_f_b): Likewise.
20429 (RUN_TEST_LOOP_f_b): Likewise.
20430 (RUN_TEST_f_b_tg): Likewise.
20431 (RUN_TEST_LOOP_f_b_tg): Likewise.
20432 (RUN_TEST_f_l): Likewise.
20433 (RUN_TEST_LOOP_f_l): Likewise.
20434 (RUN_TEST_f_L): Likewise.
20435 (RUN_TEST_LOOP_f_L): Likewise.
20436 (RUN_TEST_sincos): Likewise.
20437 (RUN_TEST_LOOP_sincos): Likewise.
20439 2013-05-17 Joseph Myers <joseph@codesourcery.com>
20443 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20444 main case of finite arguments, set rounding mode to FE_TONEAREST
20445 and discard exceptions.
20446 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20448 (remainder_tonearest_test_data): New variable.
20449 (remainder_test_tonearest): New function.
20450 (remainder_towardzero_test_data): New variable.
20451 (remainder_test_towardzero): New function.
20452 (remainder_downward_test_data): New variable.
20453 (remainder_test_downward): New function.
20454 (remainder_upward_test_data): New variable.
20455 (remainder_test_upward): New function.
20456 (main): Call the new test functions.
20458 * math/libm-test.inc (struct test_f_f1_data): Remove field
20460 (struct test_fF_f1_data): Likewise.
20461 (struct test_ffI_f1_data): Likewise.
20462 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
20463 based on value of EXTRA_EXPECTED.
20464 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20465 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
20466 EXTRA_VAR based on value of EXTRA_EXPECTED.
20467 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20468 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
20469 EXTRA_VAR based on value of EXTRA_EXPECTED.
20470 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20471 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
20472 EXTRA_VAR based on value of EXTRA_EXPECTED.
20473 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20474 * math/gen-libm-test.pl (parse_args): Don't output initializers
20475 for extra output values.
20477 * math/libm-test.inc (check_int): Expect result to be exactly
20478 equal to expected value and do not handle ulps.
20479 (check_long): Likewise.
20480 (check_longlong): Likewise.
20482 * math/libm-test.inc (ceil_test_data): Test for "inexact"
20484 (cimag_test_data): Likewise.
20485 (conj_test_data): Likewise.
20486 (copysign_test_data): Likewise.
20487 (cproj_test_data): Likewise.
20488 (creal_test_data): Likewise.
20489 (fabs_test_data): Likewise.
20490 (fdim_test_data): Likewise.
20491 (finite_test_data): Likewise.
20492 (floor_test_data): Likewise.
20493 (fmax_test_data): Likewise.
20494 (fmin_test_data): Likewise.
20495 (fmod_test_data): Likewise.
20496 (fpclassify_test_data): Likewise.
20497 (frexp_test_data): Likewise.
20498 (ilogb_test_data): Likewise.
20499 (isfinite_test_data): Likewise.
20500 (isgreater_test_data): Likewise.
20501 (isgreaterequal_test_data): Likewise.
20502 (isinf_test_data): Likewise.
20503 (isless_test_data): Likewise.
20504 (islessequal_test_data): Likewise.
20505 (islessgreater_test_data): Likewise.
20506 (isnan_test_data): Likewise.
20507 (isnormal_test_data): Likewise.
20508 (issignaling_test_data): Likewise.
20509 (isunordered_test_data): Likewise.
20510 (ldexp_test_data): Likewise.
20511 (lrint_test_data): Likewise.
20512 (lrint_test_data) [TEST_FLOAT]: Disable one test.
20513 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20514 (lrint_tonearest_test_data): Test for "inexact" exceptions.
20515 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20516 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20517 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20519 (lrint_towardzero_test_data): Test for "inexact" exceptions.
20520 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20521 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20522 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20524 (lrint_downward_test_data): Test for "inexact" exceptions.
20525 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20526 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20527 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20529 (lrint_upward_test_data): Test for "inexact" exceptions.
20530 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20532 (llrint_test_data): Test for "inexact" exceptions.
20533 (llrint_test_data) [TEST_FLOAT]: Disable one test.
20534 (llrint_tonearest_test_data): Test for "inexact" exceptions.
20535 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20536 (llrint_towardzero_test_data): Test for "inexact" exceptions.
20537 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20538 (llrint_downward_test_data): Test for "inexact" exceptions.
20539 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20540 (llrint_upward_test_data): Test for "inexact" exceptions.
20541 (logb_test_data): Likewise.
20542 (logb_downward_test_data): Likewise.
20543 (nextafter_test_data): Likewise.
20544 (nexttoward_test_data): Likewise.
20545 (remainder_test_data): Likewise.
20546 (remquo_test_data): Likewise.
20547 (scalbn_test_data): Likewise.
20548 (scalbln_test_data): Likewise.
20549 (signbit_test_data): Likewise.
20550 (sqrt_test_data): Likewise.
20551 (significand_test_data): Likewise.
20553 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20556 * benchtests/bench-modf.c (struct args): Mark arg0 as
20558 * scripts/bench.pl: Mark members of struct args as volatile.
20560 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20563 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20564 negative infinity on POWER6 or lower.
20565 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20567 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20570 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20571 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20572 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20573 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20574 (_FP_SETQNAN): New macro.
20575 (_FP_SETQNAN_SEMIRAW): Likewise.
20576 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20577 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20578 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20579 (FP_EXTEND): Use _FP_FRAC_SNANP.
20580 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20581 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20583 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20585 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20588 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20590 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20591 with DIVIDE_BY_ZERO_EXCEPTION.
20592 (gamma_test_data): Likewise.
20593 (lgamma_test_data): Likewise.
20594 (log_test_data): Likewise.
20595 (log10_test_data): Likewise.
20596 (log2_test_data): Likewise.
20597 (tgamma_test_data): Likewise.
20599 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20600 (acos_test_tonearest): Likewise.
20601 (acos_test_towardzero): Likewise.
20602 (acos_test_downward): Likewise.
20603 (acos_test_upward): Likewise.
20604 (acosh_test): Likewise.
20605 (asin_test): Likewise.
20606 (asin_test_tonearest): Likewise.
20607 (asin_test_towardzero): Likewise.
20608 (asin_test_downward): Likewise.
20609 (asin_test_upward): Likewise.
20610 (asinh_test): Likewise.
20611 (atan_test): Likewise.
20612 (atanh_test): Likewise.
20613 (atan2_test): Likewise.
20614 (cabs_test): Likewise.
20615 (cacos_test): Likewise.
20616 (cacosh_test): Likewise.
20617 (casin_test): Likewise.
20618 (casinh_test): Likewise.
20619 (catan_test): Likewise.
20620 (catanh_test): Likewise.
20621 (cbrt_test): Likewise.
20622 (ccos_test): Likewise.
20623 (ccosh_test): Likewise.
20624 (cexp_test): Likewise.
20625 (clog_test): Likewise.
20626 (clog10_test): Likewise.
20627 (cos_test): Likewise.
20628 (cos_test_tonearest): Likewise.
20629 (cos_test_towardzero): Likewise.
20630 (cos_test_downward): Likewise.
20631 (cos_test_upward): Likewise.
20632 (cosh_test): Likewise.
20633 (cosh_test_tonearest): Likewise.
20634 (cosh_test_towardzero): Likewise.
20635 (cosh_test_downward): Likewise.
20636 (cosh_test_upward): Likewise.
20637 (cpow_test): Likewise.
20638 (csin_test): Likewise.
20639 (csinh_test): Likewise.
20640 (csqrt_test): Likewise.
20641 (ctan_test): Likewise.
20642 (ctan_test_tonearest): Likewise.
20643 (ctan_test_towardzero): Likewise.
20644 (ctan_test_downward): Likewise.
20645 (ctan_test_upward): Likewise.
20646 (ctanh_test): Likewise.
20647 (ctanh_test_tonearest): Likewise.
20648 (ctanh_test_towardzero): Likewise.
20649 (ctanh_test_downward): Likewise.
20650 (ctanh_test_upward): Likewise.
20651 (erf_test): Likewise.
20652 (erfc_test): Likewise.
20653 (exp_test): Likewise.
20654 (exp_test_tonearest): Likewise.
20655 (exp_test_towardzero): Likewise.
20656 (exp_test_downward): Likewise.
20657 (exp_test_upward): Likewise.
20658 (exp10_test): Likewise.
20659 (exp2_test): Likewise.
20660 (expm1_test): Likewise.
20661 (fmod_test): Likewise.
20662 (gamma_test): Likewise.
20663 (hypot_test): Likewise.
20664 (j0_test): Likewise.
20665 (j1_test): Likewise.
20666 (jn_test): Likewise.
20667 (lgamma_test): Likewise.
20668 (log_test): Likewise.
20669 (log10_test): Likewise.
20670 (log1p_test): Likewise.
20671 (log2_test): Likewise.
20672 (logb_test_downward): Likewise.
20673 (pow_test): Likewise.
20674 (pow_test_tonearest): Likewise.
20675 (pow_test_towardzero): Likewise.
20676 (pow_test_downward): Likewise.
20677 (pow_test_upward): Likewise.
20678 (remainder_test): Likewise.
20679 (remquo_test): Likewise.
20680 (sin_test): Likewise.
20681 (sin_test_tonearest): Likewise.
20682 (sin_test_towardzero): Likewise.
20683 (sin_test_downward): Likewise.
20684 (sin_test_upward): Likewise.
20685 (sincos_test): Likewise.
20686 (sinh_test): Likewise.
20687 (sinh_test_tonearest): Likewise.
20688 (sinh_test_towardzero): Likewise.
20689 (sinh_test_downward): Likewise.
20690 (sinh_test_upward): Likewise.
20691 (sqrt_test): Likewise.
20692 (tan_test): Likewise.
20693 (tan_test_tonearest): Likewise.
20694 (tan_test_towardzero): Likewise.
20695 (tan_test_downward): Likewise.
20696 (tan_test_upward): Likewise.
20697 (tanh_test): Likewise.
20698 (tgamma_test): Likewise.
20699 (y0_test): Likewise.
20700 (y1_test): Likewise.
20701 (yn_test): Likewise.
20703 * math/gen-libm-test.pl (adjust_arg): Remove function.
20704 (special_function): Remove argument $in_func. Only handle
20705 generating output for tables of tests, not inside functions.
20706 (parse_args): Likewise.
20707 (generate_testfile): Remove variable $in_func. Update call to
20709 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20710 (MINUS_ZERO_INIT): Rename macro to minus_zero.
20711 (PLUS_INFTY_INIT): Rename macro to plus_infty.
20712 (MINUS_INFTY_INIT): Rename macro to minus_infty.
20713 (QNAN_VALUE_INIT): Rename macro to qnan_value.
20714 (MAX_VALUE_INIT): Rename macro to max_value.
20715 (MIN_VALUE_INIT): Rename macro to min_value.
20716 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20717 (plus_zero): Remove variable.
20718 (minus_zero): Likewise.
20719 (plus_infty): Likewise.
20720 (minus_infty): Likewise.
20721 (qnan_value): Likewise.
20722 (max_value): Likewise.
20723 (min_value): Likewise.
20724 (min_subnorm_value): Likewise.
20726 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20728 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20729 uint64_t or uint32_t usage.
20730 * crypt/sha256-block.c: Likewise.
20731 * crypt/sha256-crypt.c: Likewise.
20732 * crypt/sha256.c: Likewise.
20733 * crypt/sha512-block.c: Likewise.
20734 * crypt/sha512-crypt.c: Likewise.
20735 * crypt/sha512.c: Likewise.
20736 * debug/backtrace-tst.c: Likewise.
20737 * debug/pcprofiledump.c: Likewise.
20738 * elf/cache.c: Likewise.
20739 * elf/dl-cache.c: Likewise.
20740 * elf/dl-misc.c: Likewise.
20741 * elf/dl-profile.c: Likewise.
20742 * elf/dl-support.c: Likewise.
20743 * elf/ldconfig.c: Likewise.
20744 * elf/sprof.c: Likewise.
20745 * iconv/dummy-repertoire.c: Likewise.
20746 * iconv/iconv_charmap.c: Likewise.
20747 * iconv/skeleton.c: Likewise.
20748 * iconvdata/8bit-generic.c: Likewise.
20749 * iconvdata/cp737.h: Likewise.
20750 * iconvdata/cp775.h: Likewise.
20751 * iconvdata/ibm1008.h: Likewise.
20752 * iconvdata/ibm1025.h: Likewise.
20753 * iconvdata/ibm1046.h: Likewise.
20754 * iconvdata/ibm1097.h: Likewise.
20755 * iconvdata/ibm1112.h: Likewise.
20756 * iconvdata/ibm1122.h: Likewise.
20757 * iconvdata/ibm1123.h: Likewise.
20758 * iconvdata/ibm1124.h: Likewise.
20759 * iconvdata/ibm1129.h: Likewise.
20760 * iconvdata/ibm1130.h: Likewise.
20761 * iconvdata/ibm1132.h: Likewise.
20762 * iconvdata/ibm1133.h: Likewise.
20763 * iconvdata/ibm1137.h: Likewise.
20764 * iconvdata/ibm1140.h: Likewise.
20765 * iconvdata/ibm1141.h: Likewise.
20766 * iconvdata/ibm1142.h: Likewise.
20767 * iconvdata/ibm1143.h: Likewise.
20768 * iconvdata/ibm1144.h: Likewise.
20769 * iconvdata/ibm1145.h: Likewise.
20770 * iconvdata/ibm1146.h: Likewise.
20771 * iconvdata/ibm1147.h: Likewise.
20772 * iconvdata/ibm1148.h: Likewise.
20773 * iconvdata/ibm1149.h: Likewise.
20774 * iconvdata/ibm1153.h: Likewise.
20775 * iconvdata/ibm1154.h: Likewise.
20776 * iconvdata/ibm1155.h: Likewise.
20777 * iconvdata/ibm1156.h: Likewise.
20778 * iconvdata/ibm1157.h: Likewise.
20779 * iconvdata/ibm1158.h: Likewise.
20780 * iconvdata/ibm1160.h: Likewise.
20781 * iconvdata/ibm1161.h: Likewise.
20782 * iconvdata/ibm1162.h: Likewise.
20783 * iconvdata/ibm1163.h: Likewise.
20784 * iconvdata/ibm1164.h: Likewise.
20785 * iconvdata/ibm1166.h: Likewise.
20786 * iconvdata/ibm1167.h: Likewise.
20787 * iconvdata/ibm12712.h: Likewise.
20788 * iconvdata/ibm1390.h: Likewise.
20789 * iconvdata/ibm1399.h: Likewise.
20790 * iconvdata/ibm16804.h: Likewise.
20791 * iconvdata/ibm4517.h: Likewise.
20792 * iconvdata/ibm4899.h: Likewise.
20793 * iconvdata/ibm4909.h: Likewise.
20794 * iconvdata/ibm4971.h: Likewise.
20795 * iconvdata/ibm5347.h: Likewise.
20796 * iconvdata/ibm803.h: Likewise.
20797 * iconvdata/ibm856.h: Likewise.
20798 * iconvdata/ibm901.h: Likewise.
20799 * iconvdata/ibm902.h: Likewise.
20800 * iconvdata/ibm9030.h: Likewise.
20801 * iconvdata/ibm9066.h: Likewise.
20802 * iconvdata/ibm921.h: Likewise.
20803 * iconvdata/ibm922.h: Likewise.
20804 * iconvdata/ibm9448.h: Likewise.
20805 * iconvdata/isiri-3342.h: Likewise.
20806 * iconvdata/jis0201.h: Likewise.
20807 * include/link.h: Likewise.
20808 * include/netdb.h: Likewise.
20809 * inet/check_native.c: Likewise.
20810 * inet/check_pf.c: Likewise.
20811 * inet/getipv4sourcefilter.c: Likewise.
20812 * inet/getnameinfo.c: Likewise.
20813 * inet/getsourcefilter.c: Likewise.
20814 * inet/htonl.c: Likewise.
20815 * inet/setipv4sourcefilter.c: Likewise.
20816 * inet/setsourcefilter.c: Likewise.
20817 * inet/test-inet6_opt.c: Likewise.
20818 * inet/tst-network.c: Likewise.
20819 * locale/C-collate.c: Likewise.
20820 * locale/C-ctype.c: Likewise.
20821 * locale/C-time.c: Likewise.
20822 * locale/C-translit.h: Likewise.
20823 * locale/loadarchive.c: Likewise.
20824 * locale/programs/3level.h: Likewise.
20825 * locale/programs/charmap.c: Likewise.
20826 * locale/programs/charmap.h: Likewise.
20827 * locale/programs/ld-address.c: Likewise.
20828 * locale/programs/ld-collate.c: Likewise.
20829 * locale/programs/ld-ctype.c: Likewise.
20830 * locale/programs/ld-identification.c: Likewise.
20831 * locale/programs/ld-measurement.c: Likewise.
20832 * locale/programs/ld-messages.c: Likewise.
20833 * locale/programs/ld-monetary.c: Likewise.
20834 * locale/programs/ld-name.c: Likewise.
20835 * locale/programs/ld-numeric.c: Likewise.
20836 * locale/programs/ld-paper.c: Likewise.
20837 * locale/programs/ld-telephone.c: Likewise.
20838 * locale/programs/ld-time.c: Likewise.
20839 * locale/programs/linereader.c: Likewise.
20840 * locale/programs/locale.c: Likewise.
20841 * locale/programs/locarchive.c: Likewise.
20842 * locale/programs/locfile.h: Likewise.
20843 * locale/programs/repertoire.c: Likewise.
20844 * locale/programs/simple-hash.c: Likewise.
20845 * locale/programs/simple-hash.h: Likewise.
20846 * malloc/memusage.c: Likewise.
20847 * malloc/memusagestat.c: Likewise.
20848 * nis/nis_defaults.c: Likewise.
20849 * nis/nis_hash.c: Likewise.
20850 * nis/nis_print.c: Likewise.
20851 * nis/nis_xdr.c: Likewise.
20852 * nscd/connections.c: Likewise.
20853 * nscd/hstcache.c: Likewise.
20854 * nscd/nscd_gethst_r.c: Likewise.
20855 * nscd/nscd_getserv_r.c: Likewise.
20856 * nscd/nscd_helper.c: Likewise.
20857 * nscd/servicescache.c: Likewise.
20858 * nss/makedb.c: Likewise.
20859 * nss/nss_db/db-XXX.c: Likewise.
20860 * nss/nss_db/db-initgroups.c: Likewise.
20861 * nss/nss_db/db-netgrp.c: Likewise.
20862 * nss/nss_files/files-network.c: Likewise.
20863 * nss/nss_files/files-parse.c: Likewise.
20864 * posix/bug-regex5.c: Likewise.
20865 * posix/fnmatch_loop.c: Likewise.
20866 * posix/regcomp.c: Likewise.
20867 * posix/regexec.c: Likewise.
20868 * posix/tst-rfc3484-2.c: Likewise.
20869 * posix/tst-rfc3484-3.c: Likewise.
20870 * posix/tst-rfc3484.c: Likewise.
20871 * resolv/nss_dns/dns-canon.c: Likewise.
20872 * resolv/nss_dns/dns-network.c: Likewise.
20873 * resolv/res_init.c: Likewise.
20874 * resolv/res_mkquery.c: Likewise.
20875 * resolv/tst-aton.c: Likewise.
20876 * stdlib/cxa_atexit.c: Likewise.
20877 * stdlib/cxa_finalize.c: Likewise.
20878 * stdlib/gen-fpioconst.c: Likewise.
20879 * stdlib/strtol_l.c: Likewise.
20880 * string/tst-endian.c: Likewise.
20881 * sunrpc/auth_des.c: Likewise.
20882 * sunrpc/clnt_udp.c: Likewise.
20883 * sunrpc/rtime.c: Likewise.
20884 * sunrpc/svcauth_des.c: Likewise.
20885 * sunrpc/xdr.c: Likewise.
20886 * sunrpc/xdr_intXX_t.c: Likewise.
20887 * sunrpc/xdr_rec.c: Likewise.
20888 * sysdeps/generic/ldconfig.h: Likewise.
20889 * sysdeps/generic/ldsodefs.h: Likewise.
20890 * sysdeps/generic/memusage.h: Likewise.
20891 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20892 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20893 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20894 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20895 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20896 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20897 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20898 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20899 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20900 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20901 * sysdeps/posix/getaddrinfo.c: Likewise.
20902 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20903 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20904 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20905 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20906 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20907 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20908 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20909 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20910 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20911 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20912 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20913 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20914 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20915 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20916 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20917 * sysdeps/x86_64/dl-tls.h: Likewise.
20918 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20919 * time/alt_digit.c: Likewise.
20920 * time/era.c: Likewise.
20921 * wcsmbs/tst-c16c32-1.c: Likewise.
20923 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20925 * math/libm-test.inc (struct test_sincos_data): New type.
20926 (RUN_TEST_LOOP_sincos): New macro.
20927 (sincos_test_data): New variable.
20928 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20930 2013-05-16 Richard Henderson <rth@redhat.com>
20932 * math/atest-exp2.c (LIMB64): New macro.
20933 (CONSTSZ): New macro.
20934 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20936 (print_mpn_fp): ... to function scope.
20937 (read_mpn_hex): Remove.
20938 (get_log2): Remove.
20939 (exp2_mpn): Use mp_log2.
20940 (main): Use mp_exp1.
20942 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20944 * math/libm-test.inc: Remove comment about not testing "inexact"
20946 (INEXACT_EXCEPTION): New macro.
20947 (NO_INEXACT_EXCEPTION): Likewise.
20948 (INVALID_EXCEPTION_OK): Update value.
20949 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20950 (OVERFLOW_EXCEPTION_OK): Likewise.
20951 (UNDERFLOW_EXCEPTION_OK): Likewise.
20952 (IGNORE_ZERO_INF_SIGN): Likewise.
20953 (ERRNO_UNCHANGED): Likewise.
20954 (ERRNO_EDOM): Likewise.
20955 (ERRNO_ERANGE): Likewise.
20956 (test_exceptions): Handle testing "inexact" exceptions.
20957 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20958 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20959 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20960 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20962 (rint_towardzero_test_data): Likewise.
20963 (rint_downward_test_data): Likewise.
20964 (rint_upward_test_data): Likewise.
20966 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20967 with OVERFLOW_EXCEPTION.
20968 (exp10_test_data): Likewise.
20969 (exp2_test_data): Likewise.
20970 (expm1_test_data): Likewise.
20971 (lgamma_test_data): Likewise.
20972 (pow_test_data): Likewise.
20973 (tgamma_test_data): Likewise.
20974 (yn_test_data): Remove duplicate test of overflow.
20976 * math/libm-test.inc (struct test_cc_c_data): New type.
20977 (RUN_TEST_LOOP_cc_c): New macro.
20978 (cpow_test_data): New variable.
20979 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20981 * math/libm-test.inc (struct test_f_L_data): New type.
20982 (RUN_TEST_LOOP_f_L): New macro.
20983 (llrint_test_data): New variable.
20984 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20985 (llrint_tonearest_test_data): New variable.
20986 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20987 (llrint_towardzero_test_data): New variable.
20988 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20989 (llrint_downward_test_data): New variable.
20990 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20991 (llrint_upward_test_data): New variable.
20992 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20993 (llround_test_data): New variable.
20994 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20996 2013-05-13 Peter Collingbourne <pcc@google.com>
20998 * math/atest-exp2.c (get_log2): Remove const attribute.
21000 2013-05-15 Joseph Myers <joseph@codesourcery.com>
21002 * math/libm-test.inc (struct test_f_l_data): New type.
21003 (RUN_TEST_LOOP_f_l): New macro.
21004 (lrint_test_data): New variable.
21005 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21006 (lrint_tonearest_test_data): New variable.
21007 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21008 (lrint_towardzero_test_data): New variable.
21009 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21010 (lrint_downward_test_data): New variable.
21011 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21012 (lrint_upward_test_data): New variable.
21013 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21014 (lround_test_data): New variable.
21015 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21017 2013-05-15 Peter Collingbourne <pcc@google.com>
21019 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21020 (EXTRACT_WORDS64) Use where appropriate.
21021 (INSERT_WORDS64) Likewise.
21023 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21024 constraints with x constraints.
21025 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21027 * malloc/obstack.c (_obstack_compat): Add initializer.
21029 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
21031 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21032 si_trapno and add si_addr_lsb to _sifields.sigfault.
21033 (si_trapno): Remove macro.
21034 (si_addr_lsb): Define new macro.
21035 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21037 2013-05-15 Joseph Myers <joseph@codesourcery.com>
21039 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21040 instead of TEST_f_l.
21041 (llrint_test_tonearest): Likewise.
21042 (llrint_test_towardzero): Likewise.
21043 (llrint_test_downward): Likewise.
21044 (llrint_test_upward): Likewise.
21045 (llround_test): Likewise.
21047 * math/libm-test.inc (struct test_f_i_data): Add comment.
21048 (RUN_TEST_LOOP_f_b): New macro.
21049 (RUN_TEST_LOOP_f_b_tg): Likewise.
21050 (finite_test_data): New variable.
21051 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21052 (isfinite_test_data): New variable.
21053 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21054 (isinf_test_data): New variable.
21055 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21056 (isnan_test_data): New variable.
21057 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21058 (isnormal_test_data): New variable.
21059 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21060 (issignaling_test_data): New variable.
21061 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21062 (signbit_test_data): New variable.
21063 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21065 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21066 with INVALID_EXCEPTION.
21067 (acosh_test_data): Likewise.
21068 (asin_test_data): Likewise.
21069 (atanh_test_data): Likewise.
21070 (fmod_test_data): Likewise.
21071 (log_test_data): Likewise.
21072 (log10_test_data): Likewise.
21073 (log2_test_data): Likewise.
21074 (pow_test_data): Likewise.
21075 (sqrt_test_data): Likewise.
21076 (y0_test_data): Likewise.
21077 (y1_test_data): Likewise.
21078 (yn_test_data): Likewise.
21080 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21083 * math/libm-test.inc (struct test_ff_i_data): New type.
21084 (RUN_TEST_LOOP_ff_i_tg): New macro.
21085 (isgreater_test_data): New variable.
21086 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21087 (isgreaterequal_test_data): New variable.
21088 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21089 (isless_test_data): New variable.
21090 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21091 (islessequal_test_data): New variable.
21092 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21093 (islessgreater_test_data): New variable.
21094 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21095 (isunordered_test_data): New variable.
21096 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21098 2013-05-14 David S. Miller <davem@davemloft.net>
21100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21102 2013-05-14 Joseph Myers <joseph@codesourcery.com>
21104 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21106 * math/libm-test.inc (struct test_fF_f1_data): Change type of
21108 (struct test_f_i_data): Change type of max_ulp to int.
21110 * math/libm-test.inc (test_ffI_f1_data): New type.
21111 (RUN_TEST_LOOP_ffI_f1): New macro.
21112 (remquo_test_data): New variable.
21113 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21115 * setjmp/tst-setjmp-fp.c: New file.
21116 * setjmp/Makefile (tests): Add tst-setjmp-fp.
21117 (link-libm): New variable.
21118 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21120 * math/libm-test.inc (struct test_f_i_data): New type.
21121 (RUN_TEST_LOOP_f_i): New macro.
21122 (RUN_TEST_LOOP_f_i_tg): Likewise.
21123 (fpclassify_test_data): New variable.
21124 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21125 (ilogb_test_data): New variable.
21126 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21128 * math/libm-test.inc (scalbln_test): Correct function name in END
21131 * math/libm-test.inc (struct test_f_f1_data): Add comment.
21132 (RUN_TEST_LOOP_fI_f1): New macro.
21133 (frexp_test_data): New variable.
21134 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21136 * math/libm-test.inc (struct test_fF_f1_data): New type.
21137 (RUN_TEST_LOOP_fF_f1): New macro.
21138 (modf_test_data): New variable.
21139 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21141 * math/libm-test.inc (struct test_f_f1_data): New type.
21142 (RUN_TEST_LOOP_f_f1): New macro.
21143 (gamma_test_data): New variable.
21144 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21145 (lgamma_test_data): New variable.
21146 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21148 2013-05-13 Carlos O'Donell <carlos@redhat.com>
21150 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21151 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21152 (main): Comment "tls" pseudo-hwcap.
21154 2013-05-13 Joseph Myers <joseph@codesourcery.com>
21156 * math/libm-test.inc (struct test_fl_f_data): New type.
21157 (RUN_TEST_LOOP_fl_f): New variable.
21158 (scalbln_test_data): New variable.
21159 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21161 * math/libm-test.inc (struct test_fi_f_data): New type.
21162 (RUN_TEST_LOOP_fi_f): New macro.
21163 (ldexp_test_data): New variable.
21164 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21165 (scalbn_test_data): New variable.
21166 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21168 * math/libm-test.inc (struct test_c_f_data): New type.
21169 (RUN_TEST_LOOP_c_f): New macro.
21170 (cabs_test_data): New variable.
21171 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21172 (carg_test_data): New variable.
21173 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21174 (cimag_test_data): New variable.
21175 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21176 (creal_test_data): New variable.
21177 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21179 * math/libm-test.inc (struct test_if_f_data): New type.
21180 (RUN_TEST_LOOP_if_f): New macro.
21181 (jn_test_data): New variable.
21182 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21183 (yn_test_data): New variable.
21184 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21186 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21188 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21190 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21191 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21193 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21195 * benchtests/Makefile (CPPFLAGS-nonlib): Add
21196 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21197 (bench-deps): Add bench-timing.h.
21198 * benchtests-bench-skeleton.c: Include bench-timing.h.
21199 (main): Use TIMING_* macros instead of clock_gettime.
21200 * benchtests/bench-timing.h: New file.
21203 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21204 Renamed from _LIB_VERSION.
21205 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21207 2013-05-12 Joseph Myers <joseph@codesourcery.com>
21209 * math/libm-test.inc (struct test_fff_f_data): New type.
21210 (RUN_TEST_LOOP_fff_f): New macro.
21211 (fma_test_data): New variable.
21212 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21213 (fma_towardzero_test_data): New variable.
21214 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21215 (fma_downward_test_data): New variable.
21216 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21217 (fma_upward_test_data): New variable.
21218 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21220 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21221 (struct test_c_c_data): New type.
21222 (RUN_TEST_LOOP_c_c): New macro.
21223 (cacos_test_data): New variable.
21224 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21225 (cacosh_test_data): New variable.
21226 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21227 (casin_test_data): New variable.
21228 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21229 (casinh_test_data): New variable.
21230 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21231 (catan_test_data): New variable.
21232 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21233 (catanh_test_data): New variable.
21234 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21235 (ccos_test_data): New variable.
21236 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21237 (ccosh_test_data): New variable.
21238 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21239 (cexp_test_data): New variable.
21240 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21241 (clog_test_data): New variable.
21242 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21243 (clog10_test_data): New variable.
21244 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21245 (conj_test_data): New variable.
21246 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21247 (cproj_test_data): New variable.
21248 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21249 (csin_test_data): New variable.
21250 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21251 (csinh_test_data): New variable.
21252 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21253 (csqrt_test_data): New variable.
21254 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21255 (ctan_test_data): New variable.
21256 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21257 (ctan_tonearest_test_data): New variable.
21258 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21259 (ctan_towardzero_test_data): New variable.
21260 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21261 (ctan_downward_test_data): New variable.
21262 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21263 (ctan_upward_test_data): New variable.
21264 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21265 (ctanh_test_data): New variable.
21266 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21267 (ctanh_tonearest_test_data): New variable.
21268 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21269 (ctanh_towardzero_test_data): New variable.
21270 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21271 (ctanh_downward_test_data): New variable.
21272 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21273 (ctanh_upward_test_data): New variable.
21274 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21275 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21278 * math/libm-test.inc (struct test_ff_f_data): New type.
21279 (struct test_ff_f_data_nexttoward): Likewise.
21280 (RUN_TEST_LOOP_2_f): New macro.
21281 (RUN_TEST_LOOP_ff_f): Likewise.
21282 (atan2_test_data): New variable.
21283 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21284 (copysign_test_data): New variable.
21285 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21286 (fdim_test_data): New variable.
21287 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21288 (fmax_test_data): New variable.
21289 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21290 (fmin_test_data): New variable.
21291 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21292 (fmod_test_data): New variable.
21293 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21294 (hypot_test_data): New variable.
21295 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21296 (nextafter_test_data): New variable.
21297 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21298 (nexttoward_test_data): New variable.
21299 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21300 (pow_test_data): New variable.
21301 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21302 (pow_tonearest_test_data): New variable.
21303 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21304 (pow_towardzero_test_data): New variable.
21305 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21306 (pow_downward_test_data): New variable.
21307 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21308 (pow_upward_test_data): New variable.
21309 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21310 (remainder_test_data): New variable.
21311 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21312 (scalb_test_data): New variable.
21313 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21314 * sysdeps/i386/fpu/libm-test-ulps: Update.
21316 2013-05-11 Joseph Myers <joseph@codesourcery.com>
21318 * math/libm-test.inc (fma_test): Use max_value instead of local
21320 (nextafter_test): Likewise.
21322 * math/libm-test.inc (acos_towardzero_test_data): New variable.
21323 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21324 (acos_downward_test_data): New variable.
21325 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21326 (acos_upward_test_data): New variable.
21327 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21328 (acosh_test_data): New variable.
21329 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21330 (asin_test_data): New variable.
21331 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21332 (asin_tonearest_test_data): New variable.
21333 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21334 (asin_towardzero_test_data): New variable.
21335 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21336 (asin_downward_test_data): New variable.
21337 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21338 (asin_upward_test_data): New variable.
21339 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21340 (asinh_test_data): New variable.
21341 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21342 (atan_test_data): New variable.
21343 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21344 (atanh_test_data): New variable.
21345 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21346 (cbrt_test_data): New variable.
21347 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21348 (ceil_test_data): New variable.
21349 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21350 (cos_test_data): New variable.
21351 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21352 (cos_tonearest_test_data): New variable.
21353 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21354 (cos_towardzero_test_data): New variable.
21355 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21356 (cos_downward_test_data): New variable.
21357 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21358 (cos_upward_test_data): New variable.
21359 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21360 (cosh_test_data): New variable.
21361 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21362 (cosh_tonearest_test_data): New variable.
21363 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21364 (cosh_towardzero_test_data): New variable.
21365 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21366 (cosh_downward_test_data): New variable.
21367 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21368 (cosh_upward_test_data): New variable.
21369 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21370 (erf_test_data): New variable.
21371 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21372 (erfc_test_data): New variable.
21373 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21374 (exp_test_data): New variable.
21375 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21376 (exp_tonearest_test_data): New variable.
21377 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21378 (exp_towardzero_test_data): New variable.
21379 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21380 (exp_downward_test_data): New variable.
21381 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21382 (exp_upward_test_data): New variable.
21383 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21384 (exp10_test_data): New variable.
21385 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21386 (exp2_test_data): New variable.
21387 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21388 (expm1_test_data): New variable.
21389 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21390 (fabs_test_data): New variable.
21391 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21392 (floor_test_data): New variable.
21393 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21394 (j0_test_data): New variable.
21395 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21396 (j1_test_data): New variable.
21397 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21398 (log_test_data): New variable.
21399 (log_test): Run tests with RUN_TEST_LOOP_f_f.
21400 (log10_test_data): New variable.
21401 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21402 (log1p_test_data): New variable.
21403 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21404 (log2_test_data): New variable.
21405 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21406 (logb_test_data): New variable.
21407 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21408 (logb_downward_test_data): New variable.
21409 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21410 (nearbyint_test_data): New variable.
21411 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21412 (rint_test_data): New variable.
21413 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21414 (rint_tonearest_test_data): New variable.
21415 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21416 (rint_towardzero_test_data): New variable.
21417 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21418 (rint_downward_test_data): New variable.
21419 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21420 (rint_upward_test_data): New variable.
21421 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21422 (round_test_data): New variable.
21423 (round_test): Run tests with RUN_TEST_LOOP_f_f.
21424 (sin_test_data): New variable.
21425 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21426 (sin_tonearest_test_data): New variable.
21427 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21428 (sin_towardzero_test_data): New variable.
21429 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21430 (sin_downward_test_data): New variable.
21431 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21432 (sin_upward_test_data): New variable.
21433 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21434 (sinh_test_data): New variable.
21435 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21436 (sinh_tonearest_test_data): New variable.
21437 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21438 (sinh_towardzero_test_data): New variable.
21439 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21440 (sinh_downward_test_data): New variable.
21441 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21442 (sinh_upward_test_data): New variable.
21443 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21444 (sqrt_test_data): New variable.
21445 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21446 (tan_test_data): New variable.
21447 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21448 (tan_tonearest_test_data): New variable.
21449 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21450 (tan_towardzero_test_data): New variable.
21451 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21452 (tan_downward_test_data): New variable.
21453 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21454 (tan_upward_test_data): New variable.
21455 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21456 (tanh_test_data): New variable.
21457 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21458 (tgamma_test_data): New variable.
21459 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21460 (trunc_test_data): New variable.
21461 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21462 (y0_test_data): New variable.
21463 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21464 (y1_test_data): New variable.
21465 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21466 (significand_test_data): New variable.
21467 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21469 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
21472 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21474 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
21476 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21478 2013-05-10 Andreas Jaeger <aj@suse.de>
21481 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21482 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21484 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21486 * math/gen-libm-test.pl (adjust_arg): New function.
21487 (special_functions): Handle generating output in both functions
21489 (parse_args): Likewise.
21490 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
21491 $in_func argument to parse_args.
21492 * math/libm-test.inc (struct test_f_f_data): New type.
21493 (IF_ROUND_INIT_): New macro.
21494 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21495 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21496 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21497 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21498 (ROUND_RESTORE_): Likewise.
21499 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21500 (ROUND_RESTORE_FE_TONEAREST): Likewise.
21501 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21502 (ROUND_RESTORE_FE_UPWARD): Likewise.
21503 (RUN_TEST_LOOP_f_f): New macro.
21504 (acos_test_data): New variable.
21505 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21506 (acos_tonearest_test_data): New variable.
21507 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21509 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21511 * benchtests/bench-skeleton.c (startup): Fix coding style.
21513 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21516 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21517 negative infinity argument.
21518 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21519 negative infinity argument.
21520 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21521 negative infinity argument.
21522 * math/libm-test.inc (tgamma_test): Expect errno to be set for
21525 2013-05-10 Florian Weimer <fweimer@redhat.com>
21527 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21528 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21529 * iconv/iconv_prog.c (main): Likewise.
21530 * locale/programs/charmap-dir.c (charmap_readdir)
21531 (fopen_uncompressed): Likewise.
21532 * locale/programs/locfile.c (siblings_uncached)
21533 (write_locale_data): Use lstat64 instead of lstat.
21534 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21537 2013-05-10 Andreas Jaeger <aj@suse.de>
21540 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21542 Include <locale.h>.
21544 2013-05-09 Carlos O'Donell <carlos@redhat.com>
21546 * elf/dl-close.c (_dl_close_worker): Add comments.
21548 2013-05-09 Joseph Myers <joseph@codesourcery.com>
21551 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21553 (__ieee754_rem_pio2l): Update comments.
21556 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21558 (__ieee754_rem_pio2l): Update comments.
21560 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21561 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21563 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21566 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21567 (M_PI_34_LOG10El): Likewise.
21568 (M_PI2_LOG10El): Likewise.
21569 (M_PI4_LOG10El): Likewise.
21570 (M_PI_LOG10El): Likewise.
21572 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21576 2013-05-08 Joseph Myers <joseph@codesourcery.com>
21578 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21579 (MINUS_ZERO_INIT): Likewise.
21580 (PLUS_INFTY_INIT): Likewise.
21581 (MINUS_INFTY_INIT): Likewise.
21582 (QNAN_VALUE_INIT): Likewise.
21583 (MAX_VALUE_INIT): Likewise.
21584 (MIN_VALUE_INIT): Likewise.
21585 (MIN_SUBNORM_VALUE_INIT): Likewise.
21586 (plus_zero): Initialize with PLUS_ZERO_INIT.
21587 (minus_zero): Initialize with MINUS_ZERO_INIT.
21588 (plus_infty): Initialize with PLUS_INFTY_INIT.
21589 (minus_infty): Initialize with MINUS_INFTY_INIT.
21590 (qnan_value): Initialize with QNAN_VALUE_INIT.
21591 (max_value): Initialize with MAX_VALUE_INIT.
21592 (min_value): Initialize with MIN_VALUE_INIT.
21593 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21595 * math/libm-test.inc (RUN_TEST_if_f): New macro.
21596 (jn_test): Use TEST_if_f instead of TEST_ff_f.
21597 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21598 (yn_test): Use TEST_if_f instead of TEST_ff_f.
21600 * math/libm-test.inc (RUN_TEST_f_f): New macro.
21601 (RUN_TEST_2_f): Likewise.
21602 (RUN_TEST_ff_f): Likewise.
21603 (RUN_TEST_fi_f): Likewise.
21604 (RUN_TEST_fl_f): Likewise.
21605 (RUN_TEST_fff_f): Likewise.
21606 (RUN_TEST_c_f): Likewise.
21607 (RUN_TEST_f_f1): Likewise.
21608 (RUN_TEST_fF_f1): Likewise.
21609 (RUN_TEST_fI_f1): Likewise.
21610 (RUN_TEST_ffI_f1): Likewise.
21611 (RUN_TEST_c_c): Likewise.
21612 (RUN_TEST_cc_c): Likewise.
21613 (RUN_TEST_f_i): Likewise.
21614 (RUN_TEST_f_i_tg): Likewise.
21615 (RUN_TEST_ff_i_tg): Likewise.
21616 (RUN_TEST_f_b): Likewise.
21617 (RUN_TEST_f_b_tg): Likewise.
21618 (RUN_TEST_f_l): Likewise.
21619 (RUN_TEST_f_L): Likewise.
21620 (RUN_TEST_sincos): Likewise.
21621 * math/gen-libm-test.pl (new_test): Take new argument to indicate
21622 whether to show exceptions. Do not include ");\n" in return
21624 (special_functions): Output call to RUN_TEST_sincos instead of
21625 check_float calls. Update calls to new_test.
21626 (parse_args): Output call to single RUN_TEST_* macro instead of
21627 check_* calls and other assignments. Update calls to new_test.
21633 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21634 input to result for tgamma overflow.
21635 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21636 (gamma_coeff): New variable.
21637 (NCOEFF): New macro.
21638 (gamma_positive): New function.
21639 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21640 underflow here. Use gamma_positive instead of exp (lgamma) for
21642 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21643 (gamma_coeff): New variable.
21644 (NCOEFF): New macro.
21645 (gammaf_positive): New function.
21646 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21647 underflow here. Use gamma_positive instead of exp (lgamma) for
21649 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21650 (gamma_coeff): New variable.
21651 (NCOEFF): New macro.
21652 (gammal_positive): New function.
21653 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21654 underflow here. Use gamma_positive instead of exp (lgamma) for
21656 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21657 (gamma_coeff): New variable.
21658 (NCOEFF): New macro.
21659 (gammal_positive): New function.
21660 (__ieee754_gammal_r): Handle positive infinity, overflow and
21661 underflow here. Handle NaN the same as positive infinity. Remove
21662 check x < 0xffffffff for negative integers. Use gamma_positive
21663 instead of exp (lgamma) for other arguments.
21664 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21665 (gamma_coeff): New variable.
21666 (NCOEFF): New macro.
21667 (gammal_positive): New function.
21668 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21669 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21670 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21671 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21672 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21673 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21674 * sysdeps/generic/math_private.h (__gamma_productf): New
21676 (__gamma_product): Likewise.
21677 (__gamma_productl): Likewise.
21678 * math/Makefile (libm-calls): Add gamma_product.
21679 * math/libm-test.inc (tgamma_test): Add more tests.
21680 * sysdeps/i386/fpu/libm-test-ulps: Update.
21681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21683 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
21685 * benchtests/bench-skeleton.c (main): Preheat CPU.
21687 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21689 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21691 2013-05-07 Roland McGrath <roland@hack.frob.com>
21693 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21694 and _dl_skip_args_internal.
21696 2013-05-07 Carlos O'Donell <carlos@redhat.com>
21698 * manual/message.texi (Message Translation): Talk about users.
21699 Message to key mapping impacts design.
21701 2013-05-06 Roland McGrath <roland@hack.frob.com>
21703 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21705 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21707 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21708 * sysdeps/wordsize-64/glob64.c: ... here.
21710 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21711 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21714 * debug/getlogin_r_chk.c: Moved to ...
21715 * login/getlogin_r_chk.c: ... here.
21716 * debug/Makefile (routines): Move getlogin_r_chk to ...
21717 * login/Makefile (routines): ... here.
21718 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21719 * login/Versions (libc: GLIBC_2.4): ... here.
21721 * io/poll.c (__poll): Renamed from poll.
21722 Add libc_hidden_def.
21723 (poll): Define as weak alias.
21725 * debug/ptsname_r_chk.c: Moved to ...
21726 * login/ptsname_r_chk.c: ... here.
21727 * debug/Makefile (routines): Move ptsname_r_chk to ...
21728 * login/Makefile (routines): ... here.
21729 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21730 * login/Versions (libc: GLIBC_2.4): ... here.
21732 * posix/getlogin.c: Moved to ...
21733 * login/getlogin.c: ... here.
21734 * posix/getlogin_r.c: Moved to ...
21735 * login/getlogin_r.c: ... here.
21736 * posix/getlogin_r.c: Moved to ...
21737 * login/getlogin_r.c: ... here.
21738 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21739 * login/Makefile (routines): ... here.
21740 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21741 * login/Versions (libc: GLIBC_2.0): ... here.
21743 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21744 (setrlimit): Define as weak alias.
21746 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21747 Call __ names for open, ftruncate, and close.
21748 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21749 (truncate): Define as weak alias.
21751 2013-05-06 Joseph Myers <joseph@codesourcery.com>
21753 * math/gen-libm-test.pl (parse_args): Initialize x before each
21754 test of frexp, modf and remquo.
21756 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21757 test signgam value.
21759 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21763 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21765 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21767 2013-05-06 Roland McGrath <roland@hack.frob.com>
21769 * elf/dl-writev.h: New file.
21770 * elf/dl-misc.c: Include it.
21771 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21772 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21774 2013-05-04 Joseph Myers <joseph@codesourcery.com>
21776 * math/libm-test.inc (noXFails): Remove variable.
21777 (noXPasses): Likewise.
21778 (BUILD_COMPLEX_INT): Remove macro.
21779 (print_screen): Remove xfail argument.
21780 (print_screen_max_error): Likewise.
21781 (update_stats): Likewise.
21782 (print_max_error): Likewise. Update calls to other affected
21784 (print_complex_max_error): Likewise.
21785 (test_single_exception): Update calls to print_screen.
21786 (test_single_errno): Likewise.
21787 (check_float_internal): Remove xfail argument. Update calls to
21788 other affected functions.
21789 (check_float): Likewise.
21790 (check_complex): Likewise.
21791 (check_int): Likewise.
21792 (check_long): Likewise.
21793 (check_bool): Likewise.
21794 (check_longlong): Likewise.
21795 (main): Don't print noXFails and noXPasses.
21796 * math/gen-libm-test.pl (top level): Don't mention expected
21797 failure handling in comment.
21798 (new_test): Don't handle expected failures.
21799 (parse_args): Don't mention expected failure handling in comment.
21800 (generate_testfile): Don't handle expected failures.
21801 (parse_ulps): Likewise.
21802 (print_ulps_file): Likewise.
21803 (get_failure): Remove function.
21804 (output_test): Don't handle expected failures.
21805 * make/README.libm-test: Don't mention expected failure handling.
21807 * math/libm-test.inc (plus_zero): Make const. Add initializer.
21808 (minus_zero): Likewise.
21809 (plus_infty): Likewise.
21810 (minus_infty): Likewise.
21811 (qnan_value): Likewise.
21812 (max_value): Likewise.
21813 (min_value): Likewise.
21814 (min_subnorm_value): Likewise.
21815 (initialize): Do not initialize those variables dynamically.
21817 2013-05-03 Roland McGrath <roland@hack.frob.com>
21819 * io/open.c (__open_2): Moved to ...
21820 * io/open_2.c: ... this new file.
21821 * io/open64.c (__open64_2): Moved to ...
21822 * io/open64_2.c: ... this new file.
21823 * io/openat.c (__openat_2): Moved to ...
21824 * io/openat_2.c: ... this new file.
21825 * io/openat64.c (__openat64_2): Moved to ...
21826 * io/openat64_2.c: ... this new file.
21827 * io/Makefile (routines): Add them.
21828 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21829 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21830 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21831 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21832 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21833 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21834 (__openat64): Add hidden_ver.
21835 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21836 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21838 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21839 Separately conditionalize setting of GLRO(dl_sysinfo) so
21840 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21841 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21843 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21845 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21846 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21848 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21849 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21850 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21851 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21852 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21854 2013-05-03 Joseph Myers <joseph@codesourcery.com>
21856 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21857 test signgam value.
21859 * math/libm-test.inc (hypot_test): Do not use
21860 IGNORE_ZERO_INF_SIGN.
21862 2013-05-03 Andreas Jaeger <aj@suse.de>
21864 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21866 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21867 (PF_MAX): Adjust for VSOCK change.
21869 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21873 2013-05-02 Carlos O'Donell <carlos@redhat.com>
21876 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21877 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21878 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21880 2013-05-02 David S. Miller <davem@davemloft.net>
21882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21884 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
21886 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21888 2013-05-01 Roland McGrath <roland@hack.frob.com>
21890 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21892 2013-05-01 Richard Smith <richard@metafoo.co.uk>
21895 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21896 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21897 Use __attribute__ ((__gnu_inline__)).
21898 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21899 Don't use __attribute__ ((__gnu_inline__)).
21901 2013-05-01 Joseph Myers <joseph@codesourcery.com>
21904 * math/s_catan.c (__catan): Handle small real or imaginary part of
21905 input specially to avoid spurious underflow.
21906 * math/s_catanf.c (__catanf): Likewise.
21907 * math/s_catanh.c (__catanh): Likewise.
21908 * math/s_catanhf.c (__catanhf): Likewise.
21909 * math/s_catanhl.c (__catanhl): Likewise.
21910 * math/s_catanl.c (__catanl): Likewise.
21911 * math/libm-test.inc (catan_test): Add more tests.
21912 (catanh_test): Likewise.
21913 * sysdeps/i386/fpu/libm-test-ulps: Update.
21914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21916 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21920 2013-04-30 Joseph Myers <joseph@codesourcery.com>
21923 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21924 accurately for denominator in atan2.
21925 * math/s_catanf.c (__catanf): Likewise.
21926 * math/s_catanh.c (__catanh): Likewise.
21927 * math/s_catanhf.c (__catanhf): Likewise.
21928 * math/s_catanhl.c (__catanhl): Likewise.
21929 * math/s_catanl.c (__catanl): Likewise.
21930 * math/libm-test.inc (catan_test): Add more tests.
21931 (catanh_test): Likewise.
21932 * sysdeps/i386/fpu/libm-test-ulps: Update.
21933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21935 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21937 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21939 * benchtests/Makefile (bench): Remove slow benchmarks.
21940 * benchtests/atan-inputs: Add slow benchmark inputs.
21941 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21942 (BENCH_FUNC): Accept variant offset.
21944 * benchtests/bench-skeleton.c (main): Run benchmark for each
21946 * benchtests/cos-inputs: Add slow benchmark inputs.
21947 * benchtests/exp-inputs: Likewise.
21948 * benchtests/pow-inputs: Likewise.
21949 * benchtests/sin-inputs: Likewise.
21950 * benchtests/slowatan-inputs: Remove.
21951 * benchtests/slowatan.c: Remove.
21952 * benchtests/slowcos-inputs: Remove.
21953 * benchtests/slowcos.c: Remove.
21954 * benchtests/slowexp-inputs: Remove.
21955 * benchtests/slowexp.c: Remove.
21956 * benchtests/slowpow-inputs: Remove.
21957 * benchtests/slowpow.c: Remove.
21958 * benchtests/slowsin-inputs: Remove.
21959 * benchtests/slowsin.c: Remove.
21960 * benchtests/slowtan-inputs: Remove.
21961 * benchtests/slowtan.c: Remove.
21962 * benchtests/tan-inputs: Add slow benchmark inputs.
21963 * scripts/bench.pl: Parse comments and directives.
21965 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
21967 ($(objpfx)bench-%.c): Remove *-ITER.
21968 * benchtests/bench-modf.c: Remove definition of ITER.
21969 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21970 (main): Loop for DURATION seconds instead of fixed number of
21972 * scripts/bench.pl: Don't expect iterations in parameters.
21974 2013-04-29 Roland McGrath <roland@hack.frob.com>
21976 * io/fchdir.c (__fchdir): Renamed from fchdir.
21977 (fchdir): Define as weak alias.
21979 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21981 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21982 (ERRNO_EDOM): Likewise.
21983 (ERRNO_ERANGE): Likewise.
21984 (noErrnoTests): New variable.
21985 (init_max_error): Set errno to 0.
21986 (test_single_errno): New function.
21987 (test_errno): Likewise.
21988 (check_float_internal): Call test_errno. Set errno to 0.
21989 (check_complex): Refer to errno tests in comment.
21990 (check_int): Call test_errno. Set errno to 0.
21991 (check_long): Likewise.
21992 (check_bool): Likewise.
21993 (check_longlong): Likewise.
21994 (cos_test): Use ERRNO_* flags for errno tests instead of
21996 (expm1_test): Likewise.
21997 (fmod_test): Likewise.
21998 (ilogb_test): Likewise.
21999 (lgamma_test): Likewise.
22000 (pow_test): Likewise.
22001 (remainder_test): Likewise.
22002 (sin_test): Likewise.
22003 (tan_test): Likewise.
22004 (yn_test): Likewise.
22005 (initialize): Set errno to 0.
22006 (main): Print number of errno tests.
22007 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22009 2013-04-29 Andreas Jaeger <aj@suse.de>
22012 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22016 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22017 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22021 * stdlib/random.c (__initstate): Return NULL if
22025 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22026 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22029 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22033 2013-04-29 Joseph Myers <joseph@codesourcery.com>
22035 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22036 of individual tests.
22037 (casin_test): Likewise.
22038 (casinh_test): Likewise.
22040 2013-04-27 Joseph Myers <joseph@codesourcery.com>
22043 * math/s_catan.c (__catan): Handle arguments with large real or
22044 imaginary part separately without squaring.
22045 * math/s_catanf.c (__catanf): Likewise.
22046 * math/s_catanh.c (__catanh): Likewise.
22047 * math/s_catanhf.c (__catanhf): Likewise.
22048 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22050 (__catanhl): Handle arguments with large real or imaginary part
22051 separately without squaring.
22052 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22054 (__catanl): Handle arguments with large real or imaginary part
22055 separately without squaring.
22056 * math/libm-test.inc (catan_test): Add more tests.
22057 (catanh_test): Likewise.
22058 * sysdeps/i386/fpu/libm-test-ulps: Update.
22059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22061 2013-04-27 Andreas Jaeger <aj@suse.de>
22064 * stdlib/stdlib.h: Update guards for qecvt.
22065 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22068 2013-04-27 Allan McRae <allan@archlinux.org>
22070 * sysdeps/i386/fpu/libm-test-ulps: Update.
22072 2013-04-26 Joseph Myers <joseph@codesourcery.com>
22075 * math/s_catan.c: Include <float.h>.
22076 (__catan): Ensure underflow exception occurs for underflowed
22078 * math/s_catanf.c: Include <float.h>.
22079 (__catanf): Ensure underflow exception occurs for underflowed
22081 * math/s_catanh.c: Include <float.h>.
22082 (__catanh): Ensure underflow exception occurs for underflowed
22084 * math/s_catanhf.c: Include <float.h>.
22085 (__catanhf): Ensure underflow exception occurs for underflowed
22087 * math/s_catanhl.c: Include <float.h>.
22088 (__catanhl): Ensure underflow exception occurs for underflowed
22090 * math/s_catanl.c: Include <float.h>.
22091 (__catanl): Ensure underflow exception occurs for underflowed
22093 * math/libm-test.inc (catan_test): Add more tests.
22094 (catanh_test): Likewise.
22097 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22098 underflowed result.
22099 * math/s_ccoshf.c (__ccoshf): Likewise.
22100 * math/s_ccoshl.c (__ccoshl): Likewise.
22101 * math/s_csin.c (__csin): Likewise.
22102 * math/s_csinf.c (__csinf): Likewise.
22103 * math/s_csinh.c (__csinh): Likewise.
22104 * math/s_csinhf.c (__csinhf): Likewise.
22105 * math/s_csinhl.c (__csinhl): Likewise.
22106 * math/s_csinl.c (__csinl): Likewise.
22107 * math/libm-test.inc (ccos_test): Add more tests.
22108 (ccosh_test): Likewise.
22109 (csin_test): Likewise.
22110 (csinh_test): Likewise.
22112 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22114 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22115 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22116 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22117 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22118 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22119 powerpc/power5+/fpu folders.
22120 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22123 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22125 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22127 2013-04-25 Joseph Myers <joseph@codesourcery.com>
22129 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22130 additions to variable.
22131 [$(config-machine) = x86_64] (modules-names): Likewise.
22132 ($(objpfx)tst-audit3): Remove dependency.
22133 ($(objpfx)tst-audit3.out): Likewise.
22134 ($(objpfx)tst-audit4): Likewise.
22135 ($(objpfx)tst-audit4.out): Likewise.
22136 ($(objpfx)tst-audit5): Likewise.
22137 ($(objpfx)tst-audit5.out): Likewise.
22138 ($(objpfx)tst-audit6): Likewise.
22139 ($(objpfx)tst-audit6.out): Likewise.
22140 ($(objpfx)tst-audit7): Likewise.
22141 ($(objpfx)tst-audit7.out): Likewise.
22142 (tst-audit3-ENV): Remove variable.
22143 (tst-audit4-ENV): Likewise.
22144 (tst-audit5-ENV): Likewise.
22145 (tst-audit6-ENV): Likewise.
22146 (tst-audit7-ENV): Likewise.
22147 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22148 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22149 addition to variable.
22150 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22151 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22152 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22153 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22154 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22155 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22156 tst-audit3, tst-audit4 and tst-audit5.
22157 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22158 tst-audit6 and tst-audit7.
22159 [$(subdir) = elf] (modules-names): Add audit modules for those
22161 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22162 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22163 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22164 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22165 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22166 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22167 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22168 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22169 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22170 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22171 [$(subdir) = elf] (tst-audit3-ENV): New variable.
22172 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22173 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22174 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22175 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22176 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22178 [$(subdir) = elf && $(config-cflags-avx) = yes]
22179 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22180 [$(subdir) = elf && $(config-cflags-avx) = yes]
22181 (CFLAGS-tst-auditmod4a.c): Likewise.
22182 [$(subdir) = elf && $(config-cflags-avx) = yes]
22183 (CFLAGS-tst-auditmod4b.c): Likewise.
22184 [$(subdir) = elf && $(config-cflags-avx) = yes]
22185 (CFLAGS-tst-auditmod6b.c): Likewise.
22186 [$(subdir) = elf && $(config-cflags-avx) = yes]
22187 (CFLAGS-tst-auditmod6c.c): Likewise.
22188 [$(subdir) = elf && $(config-cflags-avx) = yes]
22189 (CFLAGS-tst-auditmod7b.c): Likewise.
22190 * elf/tst-audit3.c: Move to ...
22191 * sysdeps/x86_64/tst-audit3.c: ... here.
22192 * elf/tst-audit4.c: Move to ...
22193 * sysdeps/x86_64/tst-audit4.c: ... here.
22194 * elf/tst-audit5.c: Move to ...
22195 * sysdeps/x86_64/tst-audit5.c: ... here.
22196 * elf/tst-audit6.c: Move to ...
22197 * sysdeps/x86_64/tst-audit6.c: ... here.
22198 * elf/tst-audit7.c: Move to ...
22199 * sysdeps/x86_64/tst-audit7.c: ... here.
22200 * elf/tst-auditmod3a.c: Move to ...
22201 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22202 * elf/tst-auditmod3b.c: Move to ...
22203 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22204 * elf/tst-auditmod4a.c: Move to ...
22205 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22206 * elf/tst-auditmod4b.c: Move to ...
22207 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22208 * elf/tst-auditmod5a.c: Move to ...
22209 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22210 * elf/tst-auditmod5b.c: Move to ...
22211 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22212 * elf/tst-auditmod6a.c: Move to ...
22213 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22214 * elf/tst-auditmod6b.c: Move to ...
22215 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22216 * elf/tst-auditmod6c.c: Move to ...
22217 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22218 * elf/tst-auditmod7a.c: Move to ...
22219 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22220 * elf/tst-auditmod7b.c: Move to ...
22221 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22223 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
22226 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22227 define unconditionally.
22228 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22229 define unconditionally.
22230 (INT8_C, INT16_C, etc.): Likewise.
22232 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
22234 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22235 __ehdr_start with hidden visibility.
22237 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22239 2013-04-24 Carlos O'Donell <carlos@redhat.com>
22241 * math/libm-test.inc (cos_test): Use accurate hex constants.
22242 (sincost_test): Likewise.
22244 2013-04-24 Joseph Myers <joseph@codesourcery.com>
22246 * math/libm-test.inc (catan_test): Add more tests.
22247 (catanh_test): Likewise.
22249 * math/s_catanf.c (__catanf): Use suffixed floating-point
22251 * math/s_catanhf.c (__catanhf): Likewise.
22252 * math/s_catanhl.c (__catanhl): Likewise.
22253 * math/s_catanl.c (__catanl): Likewise.
22256 * math/s_catan.c (__catan): Calculate imaginary part of result
22257 with log1p not log unless computing log of number close to 0.
22258 * math/s_catanf.c (__catanf): Likewise.
22259 * math/s_catanl.c (__catanl): Likewise.
22260 * math/s_catanh.c (__catanh): Calculate real part of result with
22261 log1p not log unless computing log of number close to 0.
22262 * math/s_catanhf.c (__catanhf): Likewise.
22263 * math/s_catanhl.c (__catanhl): Likewise.
22264 * math/libm-test.inc (catan_test): Add more tests.
22265 (catanh_test): Likewise.
22266 * sysdeps/i386/fpu/libm-test-ulps: Update.
22267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22269 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22271 * benchtests/Makefile: Mention files in which fast and slow
22272 paths of math functions are implemented.
22274 2013-04-23 Roland McGrath <roland@hack.frob.com>
22276 * sysdeps/posix/timespec_get.c: New file.
22278 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22280 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22282 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22284 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22285 powerpc/power5/fpu folders.
22286 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22287 * benchtests/Makefile: Add modf testcase.
22288 * benchtests/bench-modf.c: New file: Benchmark test for mo
22290 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22293 * time/Makefile (tests): Add tst-strptime-whitespace.
22294 * time/strptime_l.c (get_number): Use ISSPACE.
22295 (__strptime_internal): Likewise.
22296 * time/tst-strptime-whitespace.c: New test case.
22298 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
22300 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22302 (_nss_files_init): Set it here.
22304 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
22306 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22307 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22310 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
22312 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22314 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22316 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22319 2013-04-21 David S. Miller <davem@davemloft.net>
22321 * po/ru.po: Update Russion translation from translation project.
22323 2013-04-17 Adam Conrad <adconrad@0c3.net>
22325 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22328 2013-04-17 Carlos O'Donell <carlos@redhat.com>
22330 * configure.in: Remove i386 configure warning. Remove i386 case.
22331 * configure: Regenerate.
22332 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22333 Add example to error message.
22334 * sysdeps/i386/configure: Regenerate.
22336 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22338 * benchtests/Makefile (bench): Add cos, tan, slowcos and
22340 * benchtests/cos-inputs: New file.
22341 * benchtests/slowcos-inputs: New file.
22342 * benchtests/slowcos.c: New file.
22343 * benchtests/slowtan-inputs: New file.
22344 * benchtests/slowtan.c: New file.
22345 * benchtests/tan-inputs: New file.
22347 2013-04-16 Roland McGrath <roland@hack.frob.com>
22349 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22352 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22354 * benchtests/Makefile: Include cppflags-iterator.mk to add
22355 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22357 * Makefile.in (bench-clean): New target.
22358 * benchtests/Makefile (bench-clean): Likewise.
22360 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
22362 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22364 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
22366 * stdio-common/tstdiomisc.c: Fix coding-style violation.
22368 2013-04-15 Andreas Schwab <schwab@suse.de>
22370 * nscd/grpcache.c (cache_addgr): Properly check for short write.
22371 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22372 * nscd/pwdcache.c (cache_addpw): Likewise.
22373 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
22376 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22378 * benchtests/Makefile (bench): Write all output to
22379 bench-out.tmp together.
22381 2013-04-15 Andreas Schwab <schwab@suse.de>
22383 * nscd/nscd.c (main): Don't fork again after closing files.
22385 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22387 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22389 * benchtests/Rules (bench-deps): Collect dependencies into a
22390 single variable. Add Makefile to dependencies.
22391 ($(objpfx)bench-%.c): Depend on bench-deps.
22393 2013-04-12 Roland McGrath <roland@hack.frob.com>
22394 Xavier Roche <roche+kml2@exalead.com>
22397 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22398 just that it's a file descriptor.
22399 * manual/llio.texi (Synchronizing AIO Operations): Update description
22400 for EBADF error from aio_fsync.
22402 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22404 * Rules (bench): Move target definition...
22405 * benchtests/Makefile: ... here.
22407 2013-04-11 Carlos O'Donell <carlos@redhat.com>
22409 * math/libm-test.inc (cos_test): Fix PI/2 test.
22410 (sincos_test): Likewise.
22411 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22412 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22414 2013-04-11 Andreas Schwab <schwab@suse.de>
22417 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22418 accept exponent character only when digits were seen.
22419 * stdio-common/Makefile (tests): Add bug26.
22420 * stdio-common/bug26.c: New file.
22423 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22426 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22428 * Makeconfig (rtld-prefix): Define built linker prefix.
22429 * Rules (run-bench): Use it.
22430 * math/Makefile (run-regen-ulps): Likewise.
22432 * Rules (bench): Remove eval.
22434 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22435 Roland McGrath <roland@hack.frob.com>
22436 Ondrej Bilka <neleai@seznam.cz>
22439 * time/getdate.c: Include ctype.h and alloca.h.
22440 (__getdate_r): Trim leading and trailing spaces of input.
22441 * time/tst-getdate.c (tests): Add tests with leading and
22444 2013-04-08 Roland McGrath <roland@hack.frob.com>
22447 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22448 when computing value.
22450 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22452 * math/README.libm-test (How can I generate "libm-test-ulps"?):
22453 Use testrun.sh to run libm tests.
22456 * elf/dl-open.c (dl_open_worker): memset all of seen array.
22458 2013-04-06 Marko Myllynen <myllynen@redhat.com>
22461 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22463 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22465 * Makefile.in (regen-ulps): New target.
22466 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22467 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22468 [ifneq (no,$(PERL)] (regen-ulps): New target.
22469 [ifeq (no,$(PERL)] (regen-ulps): New target.
22470 * math/libm-test.inc (ulps_file_name): Define.
22471 (output_dir): New variable.
22472 (options): Add "output-dir" option.
22473 (parse_opt): Handle 'o' case.
22474 (main): If output_dir is non-NULL use it as a prefix
22476 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22478 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22480 [BZ #10060, #10062]
22481 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22482 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22483 fail configure if __sync_val_compare_and_swap is not inlined.
22484 * sysdeps/i386/configure: Regenerate.
22485 * configure.in: Build for i686 when configured for i386.
22486 * configure: Regenerate.
22487 * README: Remove i386 reference.
22489 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22491 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22492 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22494 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
22496 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22497 (lmsnanval): New variables.
22498 (F): Add conversion tests.
22499 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22500 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22502 * stdio-common/tstdiomisc.c (F): Properly collect individual
22505 [BZ #14686, #15336]
22506 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22507 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22508 Instead, use input NaN values or generate a qNaN by arithmetic
22509 operation. Also fix bugs to comply with the standard.
22510 * math/libm-test.inc (remainder_test): Add more tests.
22512 [BZ #15335, #15342]
22513 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22514 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22515 input NaN values or generate a qNaN by arithmetic operation.
22517 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22520 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22523 2013-04-03 Joseph Myers <joseph@codesourcery.com>
22526 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22527 underflowed result.
22528 * math/s_cexpf.c (__cexpf): Likewise.
22529 * math/s_cexpl.c (__cexpl): Likewise.
22530 * math/libm-test.inc (cexp_test): Add more tests.
22532 2013-04-03 Andreas Schwab <schwab@suse.de>
22535 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22536 order arrays from heap if bigger than alloca cutoff.
22538 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
22540 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22541 (SNAN_TESTS_double): Refer to GCC PR56831.
22542 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22545 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22547 * Rules (bench): Move bench.out after the run is complete.
22549 * Rules (bench): Echo currently running benchmark.
22551 * benchtests/Makefile (bench): Add atan and slowatan.
22552 * benchtests/atan-inputs: New file.
22553 * benchtests/slowatan-inputs: New file.
22554 * benchtests/slowatan.c: New file.
22556 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22557 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22561 * sysdeps/unix/sysv/linux/kernel-features.h
22562 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22563 __ASSUME_XFS_RESTRICTED_CHOWN.
22564 * sysdeps/unix/sysv/linux/pathconf.c
22565 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22566 Save and restore errno.
22568 2013-04-02 Joseph Myers <joseph@codesourcery.com>
22571 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22572 arguments using __kernel_casinh.
22573 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22574 arguments using __kernel_casinhf.
22575 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22576 arguments using __kernel_casinhl.
22577 * math/libm-test.inc (cacosh_test): Add more tests.
22578 * sysdeps/i386/fpu/libm-test-ulps: Update.
22579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22581 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22583 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22584 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22586 * bench/Makefile (bench): Add sin and slowsin.
22587 * benchtests/sin-inputs: New file.
22588 * benchtests/slowsin-inputs: New file.
22589 * benchtests/slowsin.c: New file.
22591 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22592 (bench): Add slowexp and slowpow.
22593 (exp-ITER): Increase iterations.
22594 (pow-ITER): Likewise.
22595 * benchtests/exp-inputs: Change input.
22596 * benchtests/pow-inputs: Likewise.
22597 * benchtests/slowexp-inputs: New file.
22598 * benchtests/slowexp.c: New file.
22599 * benchtests/slowpow-inputs: New file.
22600 * benchtests/slowpow.c: New file.
22602 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22604 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22606 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22607 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22608 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22609 * benchtests/Makefile: Add rint benchtest.
22610 * benchtests/rint-inputs: Input for rint benchtest.
22612 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
22614 * Versions.def (libm): Add GLIBC_2.18.
22615 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22616 hidden libm prototypes.
22617 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22618 * math/Makefile (libm-calls): Add s_issignaling.
22619 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22620 __issignalingf, __issignalingl. Adjust all libm.abilist files.
22621 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22623 * math/math.h [__USE_GNU] (issignaling): New macro.
22624 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22625 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22626 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22627 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22628 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22629 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22630 * manual/arith.texi (issignaling): New section.
22631 * manual/libm-err-tab.pl (@all_functions): Update comment.
22632 * math/gen-libm-test.pl (parse_args): Apply special handling for
22634 * math/libm-test.inc (print_float, issignaling_test): New
22636 (check_float_internal): Add issignaling checks.
22637 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22638 default definition.
22639 * sysdeps/powerpc/math-tests.h: New file.
22640 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22642 * math/test-snan.c (TEST_FUNC): Likewise.
22644 2013-03-30 David S. Miller <davem@davemloft.net>
22646 * po/de.po: Update from translation team.
22648 2013-03-30 Joseph Myers <joseph@codesourcery.com>
22651 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22652 imaginary part less than 1.0 and real part less than 0.5
22654 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22655 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22656 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22657 (cacos_test): Add more tests.
22658 (casin_test): Likewise.
22659 (casinh_test): Likewise.
22660 * sysdeps/i386/fpu/libm-test-ulps: Update.
22661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22663 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22665 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22666 ONE with its value.
22668 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22669 (__pow_mp): Replace ONE and MONE with their values.
22670 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22671 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22672 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22673 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22674 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22675 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22677 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22679 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22680 (__pow_mp): Replace ZERO and MZERO with their values.
22681 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22682 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22683 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22684 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22685 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22686 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22689 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22691 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22693 2013-03-28 Roland McGrath <roland@hack.frob.com>
22695 * include/stdlib.h [!SHARED] (__call_tls_dtors):
22696 Declare with __attribute__ ((weak)).
22697 * stdlib/exit.c (__libc_atexit) [!SHARED]:
22698 Call __call_tls_dtors only if it's not NULL.
22700 2013-03-28 Roland McGrath <roland@hack.frob.com>
22702 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22703 didn't do it already, then set _dl_phdr and _dl_phnum based on the
22704 magic __ehdr_start linker symbol if it's defined.
22705 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22706 them up here if it was already done.
22708 * elf/dl-support.c (_dl_phdr): Make pointer to const.
22709 (_dl_aux_init): Use const in cast when setting it.
22710 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22711 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22712 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22714 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22716 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22717 * csu/libc-tls.c: Nor here.
22718 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22720 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22721 (__libc_message): Never call vsyslog.
22723 2013-03-28 Alan Modra <amodra@gmail.com>
22725 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22727 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22730 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22733 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22735 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22737 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22740 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22741 Don't add gid passed as argument.
22743 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22745 2013-03-27 Joseph Myers <joseph@codesourcery.com>
22748 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22749 imaginary part between 1.0 and 1.5 and real part less than 0.5
22751 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22752 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22753 * math/libm-test.inc (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-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22761 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22764 (denorm): Likewise.
22765 (__dbl_mp): Likewise.
22766 (add_magnitudes): Likewise.
22767 (sub_magnitudes): Likewise.
22775 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22777 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22778 (__dubcos): Likewise.
22779 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22780 (__ieee754_acos): Likewise.
22781 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22782 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22783 (__exp1): Likewise.
22784 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22785 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22787 (my_log2): Likewise.
22788 (checkint): Likewise.
22789 * sysdeps/ieee754/dbl-64/e_remainder.c
22790 (__ieee754_remainder): Likewise.
22791 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22792 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22793 (bsloww): Likewise.
22794 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22796 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22797 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22798 MANTISSA_STORE_T to store computations on mantissa. Use
22799 macros for rounding and division.
22800 (denorm): Likewise.
22801 (__dbl_mp): Likewise.
22802 (add_magnitudes): Likewise.
22803 (sub_magnitudes): Likewise.
22806 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22807 powers of two in terms of TWOPOW macro.
22808 (mp_no): Make type of mantissa as MANTISSA_T.
22809 [!RADIXI]: Define RADIXI.
22810 [!TWO52]: Define TWO52.
22811 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22813 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22815 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22816 llroundl symbol when building for PPC32.
22818 2013-03-24 Mark H Weaver <mhw@netris.org>
22820 * manual/arith.texi (Normalization Functions): Fix prototypes for
22821 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22823 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22826 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22827 high value to check if expl overflow.
22828 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22829 to check for underflow and overflow.
22830 * math/libm-test.inc: Add exp test.
22832 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22835 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22838 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22840 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22843 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22845 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22846 wrap blocks consisting of several statements.
22848 * sysdeps/generic/math-tests.h: New file.
22849 * sysdeps/i386/fpu/math-tests.h: Likewise.
22850 * math/test-snan.c: Include it.
22851 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22853 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22856 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22857 (__ieee754_j0l): Do not improve calculations using cos of twice
22858 input for inputs above LDBL_MAX / 2.0L.
22859 (__ieee754_y0l): Likewise.
22860 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22861 (__ieee754_j1l): Do not improve calculations using cos of twice
22862 input for inputs above LDBL_MAX / 2.0L.
22863 (__ieee754_y1l): Likewise.
22864 * math/libm-test.inc (j0_test): Add another test.
22865 (j1_test): Likewise.
22866 (y0_test): Likewise.
22867 (y1_test): Likewise.
22868 * sysdeps/i386/fpu/libm-test-ulps: Update.
22870 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22872 * Rules ($(objpfx)bench-%.c): Include code from a C source
22875 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22878 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22879 imaginary part 1.0 and real part less than 0.5 specially.
22880 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22881 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22882 * math/libm-test.inc (cacos_test): Add more tests.
22883 (casin_test): Likewise.
22884 (casinh_test): Likewise.
22885 * sysdeps/i386/fpu/libm-test-ulps: Update.
22886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22888 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22890 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22891 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22893 2013-03-20 Joseph Myers <joseph@codesourcery.com>
22895 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22896 * config.make.in (config-cflags-sse4): Remove variable.
22897 (config-cflags-avx): Likewise.
22898 (config-cflags-sse2avx): Likewise.
22899 (config-cflags-novzeroupper): Likewise.
22900 (config-asflags-i686): Likewise.
22901 (have-mfma4): Likewise.
22902 (have-as-vis3): Likewise.
22904 * configure.in (MIG): Do not AC_SUBST.
22905 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22906 (libc_cv_cc_sse4): Do not AC_SUBST.
22907 (libc_cv_cc_avx): Likewise.
22908 (libc_cv_cc_sse2avx): Likewise.
22909 (libc_cv_cc_novzeroupper): Likewise.
22910 (libc_cv_cc_fma4): Likewise.
22911 (libc_cv_as_i686): Likewise.
22912 (libc_cv_sparc_as_vis3): Likewise.
22913 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22915 (config-asflags-i686): Likewise.
22916 (config-cflags-avx): Likewise.
22917 (config-cflags-sse2avx): Likewise.
22918 (have-mfma4): Likewise.
22919 (config-cflags-novzeroupper): Likewise.
22920 * sysdeps/mach/configure.in (MIG): Likewise.
22921 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22922 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22924 (config-cflags-avx): Likewise.
22925 (config-cflags-sse2avx): Likewise.
22926 (have-mfma4): Likewise.
22927 (config-cflags-novzeroupper): Likewise.
22928 * configure: Regenerated.
22929 * sysdeps/i386/configure: Likewise.
22930 * sysdeps/mach/configure: Likewise.
22931 * sysdeps/sparc/configure: Likewise.
22932 * sysdeps/x86_64/configure: Likewise.
22934 2013-03-20 Roland McGrath <roland@hack.frob.com>
22937 * locale/programs/localedef.c (options): Put N_ translation marker
22938 on argument names, not just descriptions.
22940 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22942 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22944 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
22947 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22949 2013-03-19 Roland McGrath <roland@hack.frob.com>
22951 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22952 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22953 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22954 [!BEFORE_ABORT] (before_abort): New function.
22955 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22956 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22957 (writev_for_fatal): New function.
22958 (WRITEV_FOR_FATAL): New macro; call that.
22959 (backtrace_and_maps): New function.
22960 (BEFORE_ABORT): New macro; call that.
22961 (struct str_list): Type removed.
22962 (__libc_message, __libc_fatal): Functions removed.
22963 Include <sysdeps/posix/libc_fatal.c> instead.
22965 2013-03-19 Joseph Myers <joseph@codesourcery.com>
22967 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22969 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22972 2013-03-19 Andreas Schwab <schwab@suse.de>
22974 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22975 * sysdeps/gnu/configure: Regenerate.
22977 * configure.in: Substitute libc_cv_rtlddir.
22978 * configure: Regenerate.
22979 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22980 * Makeconfig (rtlddir, inst_rtlddir): New variables.
22981 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22982 * elf/Makefile (install-others, CFLAGS-interp.c)
22983 (ldso_install, common-ldd-rewrite): Likewise.
22984 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22985 $(inst_slibdir)/$(rtld-installed-name).
22986 * scripts/rellns-sh: Add -p option.
22987 * Makerules (make-shlib-link): Use rellns-sh to get relative name
22990 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22992 * manual/nptl.texi: Renamed to ...
22993 * manual/threads.texi: ... this.
22994 * manual/Makefile (chapters): Update.
22996 2013-03-18 Roland McGrath <roland@hack.frob.com>
22999 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23000 on argument names, not just descriptions.
23001 * malloc/memusagestat.c (options): Likewise.
23002 * nss/getent.c (options): Likewise.
23004 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
23007 * iconv/iconv_prog.c (options): Put N_ translation marker
23008 on argument names, not just descriptions.
23009 * iconv/iconvconfig.c (options): Likewise.
23011 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
23013 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23014 implementation which is faster on all x86_64 architectures.
23015 Tested on AMD, Intel Nehalem, SNB, IVB.
23016 * sysdeps/x86_64/strnlen.S: Likewise.
23018 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23019 Remove all multiarch strlen and strnlen versions.
23020 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23021 Remove strlen and strnlen related parts.
23023 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23024 Inline strlen part.
23025 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23027 * sysdeps/x86_64/multiarch/strlen.S: Remove.
23028 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23029 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23030 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23031 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23032 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23034 2013-03-17 Carlos O'Donell <carlos@redhat.com>
23036 * manual/memory.texi (Malloc Tunable Parameters):
23037 Sort parameters alphabetically. Add comments for missing entries.
23039 2013-03-17 David S. Miller <davem@davemloft.net>
23041 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23043 2013-03-16 Joseph Myers <joseph@codesourcery.com>
23046 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23047 for arguments at most half maximum finite value.
23048 * math/libm-test.inc (j0_test): Add more tests.
23049 (j1_test): Likewise.
23050 (y0_test): Likewise.
23051 (y1_test): Likewise.
23052 * sysdeps/i386/fpu/libm-test-ulps: Update.
23053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23056 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23057 1 / x and functions P and Q for arguments above 0x1p256L.
23058 (__ieee754_y0l): Likewise.
23059 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23060 (__ieee754_y1l): Likewise.
23061 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23062 (j1_test): Likewise.
23063 (y0_test): Likewise.
23064 (y1_test): Likewise.
23066 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
23068 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23071 2013-03-15 Roland McGrath <roland@hack.frob.com>
23073 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23074 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23075 zero since it's initialized to EXEC_PAGESIZE.
23077 * sysdeps/unix/sysv/linux/ldsodefs.h
23078 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23079 * sysdeps/generic/ldsodefs.h: ... here.
23081 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
23083 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23085 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23087 * math/test-snan.c: Renamed from
23088 sysdeps/powerpc/fpu/test-powerpc-snan.c.
23089 * math/Makefile (tests): Add test-snan.
23090 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23093 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23094 SUFFIX. Initialize qNaN_var with __builtin_nan family of
23096 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
23097 __builtin_nan family of functions.
23098 * math/libm-test.inc (initialize): Initialize qnan_value with
23099 __builtin_nan family of functions.
23100 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23102 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23104 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
23105 storage class. Initialize qNaN_var and sNaN_var with
23106 __builtin_nan and __builtin_nans families of functions,
23109 * math/libm-test.inc (acosh_test): Also test with qNaN input.
23110 (sqrt_test): Remove duplicate test with qNaN input.
23111 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23112 (round_test, signbit_test, significand_test): Note missing +/-Inf
23113 as well as qNaN tests.
23115 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23116 qNaN_var. Fix a few strings, too.
23117 * math/libm-test.inc (nan_value): Rename to qnan_value.
23118 * math/gen-libm-test.pl (%beautify): Adjust to that.
23119 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23120 * math/test-misc.c (main): Likewise.
23121 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23122 to __qnan_bytes, and __qnan_union, respectively.
23123 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23125 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23126 and lqnanval, respectively.
23127 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23128 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23129 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23130 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23132 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23133 * math/test-misc.c (main) [__x86_64__]: Enable test for long
23136 * math/test-misc.c (main): Fix copy'n'pastos.
23137 * misc/tst-efgcvt.c (special): Likewise.
23139 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23140 Remove declarations.
23142 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23144 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23145 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23146 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23147 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23149 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23151 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23152 macro to return vdso values correctly in IFUNC implementations.
23153 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23154 Optimization by using IFUNC.
23156 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23157 Richard Henderson <rth@redhat.com>
23158 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23160 * Makefile.in (bench): New target.
23161 * NEWS: Mention the benchmark framework.
23162 * Rules (bench): Likewise.
23163 (binaries-bench): Generate binaries for functions to
23165 * benchtests/Makefile: New makefile for benchmark tests.
23166 * benchtests/bench-skeleton.c: New skeleton file for benchmark
23168 * benchtests/exp-inputs: New input file for EXP function.
23169 * benchtests/pow-inputs: New input file for POW function.
23170 * scripts/bench.pl: New script to generate source files for
23171 benchmark programs.
23173 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23175 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23176 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23177 computations on mantissa. Use macros for rounding and
23179 (denorm): Likewise.
23180 (__dbl_mp): Likewise.
23181 (add_magnitudes): Likewise.
23182 (sub_magnitudes): Likewise.
23185 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
23186 powers of two in terms of TWOPOW macro.
23187 (mp_no): Make type of mantissa as MANTISSA_T.
23188 [!RADIXI]: Define RADIXI.
23189 [!TWO52]: Define TWO52.
23190 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23192 * manual/nptl.texi (cindex): Modify threads to pthreads.
23194 2013-03-15 Joseph Myers <joseph@codesourcery.com>
23196 * sysdeps/x86_64/preconfigure: Regenerated.
23198 2013-03-14 Joseph Myers <joseph@codesourcery.com>
23201 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23203 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23204 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23206 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23207 * math/libm-test.inc (j0_test): Do not allow one spurious
23208 underflow exception.
23209 (y1_test): Likewise.
23211 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23213 * manual/Makefile (chapters): Add nptl.
23214 * manual/debug.texi (Debugging Support): Add link to Threads
23216 * manual/nptl.texi: New file.
23218 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23220 2013-03-14 Petr Baudis <pasky@ucw.cz>
23222 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23223 for non-NULL pointer before the memory validity test. Pointed
23224 out by Holger Brunck <holger.brunck@keymile.com>.
23226 2013-03-13 Andreas Schwab <schwab@suse.de>
23228 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23231 2013-03-13 Joseph Myers <joseph@codesourcery.com>
23233 * timezone/zic.c: Update from tzcode 2013b.
23235 2013-03-12 Carlos O'Donell <carlos@redhat.com>
23237 * manual/install.texi (Configuring and compiling):
23238 Mention i686 and i586.
23239 * INSTALL: Regenerate.
23241 2013-03-12 Roland McGrath <roland@hack.frob.com>
23243 * sysdeps/init_array/elf-init.c: New file.
23245 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23246 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23248 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23249 __gmon_start__ as global, but as static with a .preinit_array pointer.
23250 * sysdeps/init_array/gmon-start.c: New file. Use that.
23251 * sysdeps/init_array/crti.S: New file, empty except for comments.
23252 * sysdeps/init_array/crtn.S: Likewise.
23254 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
23256 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23258 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23259 Remove Prefer_SSE_for_memop.
23260 * sysdeps/x86_64/multiarch/init-arch.h: Remove
23261 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23262 HAS_PREFER_SSE_FOR_MEMOP.
23263 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23265 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23266 Remove bzero, memset ifunc support.
23267 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23268 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23269 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23270 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23272 2013-03-11 Andreas Schwab <schwab@suse.de>
23275 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23277 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23278 (GLIBC_2.16): Remove pthread_atfork.
23280 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
23282 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23283 (ptestcases.h): Likewise.
23285 2013-03-08 Roland McGrath <roland@hack.frob.com>
23287 * Makeconfig ($(common-objpfx)config.status): Depend on
23288 sysdeps/*/preconfigure{,.in} too.
23290 2013-03-08 Joseph Myers <joseph@codesourcery.com>
23292 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23293 (__free_hook): Use void * instead of __malloc_ptr_t.
23294 (__malloc_hook): Likewise.
23295 (__realloc_hook): Likewise.
23296 (__memalign_hook): Likewise.
23297 (__after_morecore_hook): Likewise.
23298 * malloc/arena.c (save_malloc_hook): Likewise.
23299 (save_free_hook): Likewise.
23300 * malloc/hooks.c (malloc_hook_ini): Likewise.
23301 (realloc_hook_ini): Likewise.
23302 (memalign_hook_ini): Likewise.
23303 * malloc/malloc.c (malloc_hook_ini): Likewise.
23304 (realloc_hook_ini): Likewise.
23305 (memalign_hook_ini): Likewise.
23306 (__free_hook): Likewise.
23307 (__malloc_hook): Likewise.
23308 (__realloc_hook): Likewise.
23309 (__memalign_hook): Likewise.
23310 (__libc_malloc): Likewise.
23311 (__libc_free): Likewise.
23312 (__libc_realloc): Likewise.
23313 (__libc_memalign): Likewise.
23314 (__libc_valloc): Likewise.
23315 (__libc_pvalloc): Likewise.
23316 (__libc_calloc): Likewise.
23317 (__posix_memalign): Likewise.
23318 * malloc/morecore.c (__sbrk): Likewise.
23319 (__default_morecore): Likewise.
23321 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23323 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23324 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23325 __malloc_ptrdiff_t.
23327 * malloc/malloc.h (__malloc_size_t): Remove macro.
23328 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23330 (old_memalign_hook): Likewise.
23331 (old_realloc_hook): Likewise.
23332 (struct hdr): Likewise.
23334 (mallochook): Likewise.
23335 (memalignhook): Likewise.
23336 (reallochook): Likewise.
23337 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23338 (tr_old_realloc_hook): Likewise.
23339 (tr_old_memalign_hook): Likewise.
23340 (tr_mallochook): Likewise.
23341 (tr_reallochook): Likewise.
23342 (tr_memalignhook): Likewise.
23344 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23346 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23347 default_ldbl_pack and using as default implementation.
23348 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23350 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23351 redundant definition.
23352 (ldbl_insert_mantissa): Likewise.
23353 (ldbl_canonicalize): Likewise.
23354 (ldbl_nearbyint): Likewise.
23355 (ldbl_pack): Rename to ldbl_pack_ppc.
23356 (ldbl_unpack): Rename to ldbl_unpack_ppc.
23357 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23358 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23360 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23362 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23363 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23364 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23365 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23366 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23367 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23368 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23369 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23371 2013-03-07 Andreas Jaeger <aj@suse.de>
23373 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23376 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23378 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23379 Include mpa.h and declare __MPEXP.
23380 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23381 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23382 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23383 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23384 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23385 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23386 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23388 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23389 (__slowpow): Use long double EXPL and LOGL functions to
23391 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23392 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23393 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23394 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23395 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23396 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23398 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23399 intermediate variable to calculate exponent.
23401 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23405 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23406 [!NO__SQR]: Define __sqr.
23407 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23408 and NO__SQR. Remove all code except __mul and __sqr. Include
23409 sysdeps/ieee754/dbl-64/mpa.c.
23410 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23413 * posix/Makefile (tests): Add tst-pathconf.
23414 * posix/tst-pathconf.c: New test case.
23415 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23417 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23419 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
23421 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23423 2013-03-06 Andreas Jaeger <aj@suse.de>
23425 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23426 definition via __MAP_ANONYMOUS.
23428 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23429 it's not part of Linux headers.
23431 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23432 (MAP_HUGE_MASK): Define.
23434 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23436 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23437 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23439 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23440 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23442 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23443 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23445 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23447 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23448 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23449 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23450 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23451 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23452 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23454 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23457 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23458 Handle f2fs and efivarfs.
23460 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23463 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23464 (EFIVARFS_MAGIC): Add.
23465 (F2FS_LINK_MAX): Add.
23467 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23469 * stdio-common/vfprintf.c: Replace __builtin_expect with
23472 2013-03-06 Joseph Myers <joseph@codesourcery.com>
23475 * sysdeps/generic/bp-sym.h: Remove file.
23476 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23477 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23478 <bp-sym.h> and <bp-asm.h>.
23479 (__longjmp): Don't use BP_SYM.
23480 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23482 (memcpy): Don't use BP_SYM.
23483 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23484 <bp-sym.h> and <bp-asm.h>.
23485 (memcpy): Don't use BP_SYM.
23486 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23488 (memcpy): Don't use BP_SYM.
23489 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23491 (memset): Don't use BP_SYM.
23492 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23493 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23494 (__bzero): Don't use BP_SYM.
23495 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23496 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23497 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23498 <bp-sym.h> and <bp-asm.h>.
23499 (memcmp): Don't use BP_SYM. Remove comment about bounded
23501 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23502 <bp-sym.h> and <bp-asm.h>.
23503 (memcpy): Don't use BP_SYM.
23504 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23505 <bp-sym.h> and <bp-asm.h>.
23506 (memset): Don't use BP_SYM.
23507 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23508 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23509 (__bzero): Don't use BP_SYM.
23510 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23511 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23512 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23513 <bp-sym.h> and <bp-asm.h>.
23514 (strncmp): Don't use BP_SYM. Remove comment about bounded
23516 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23517 <bp-sym.h> and <bp-asm.h>.
23518 (memcpy): Don't use BP_SYM.
23519 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23520 <bp-sym.h> and <bp-asm.h>.
23521 (memset): Don't use BP_SYM.
23522 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23523 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23524 (__bzero): Don't use BP_SYM.
23525 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23526 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23527 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23528 <bp-sym.h> and <bp-asm.h>.
23529 (__memchr): Don't use BP_SYM.
23530 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23531 <bp-sym.h> and <bp-asm.h>.
23532 (memcmp): Don't use BP_SYM. Remove comment about bounded
23534 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23535 <bp-sym.h> and <bp-asm.h>.
23536 (memcpy): Don't use BP_SYM.
23537 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23538 <bp-sym.h> and <bp-asm.h>.
23539 (__mempcpy): Don't use BP_SYM.
23540 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23541 <bp-sym.h> and <bp-asm.h>.
23542 (__memrchr): Don't use BP_SYM.
23543 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23544 <bp-sym.h> and <bp-asm.h>.
23545 (memset): Don't use BP_SYM.
23546 (__bzero): Likewise.
23547 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23548 <bp-sym.h> and <bp-asm.h>.
23549 (__rawmemchr): Don't use BP_SYM.
23550 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23551 <bp-sym.h> and <bp-asm.h>.
23552 (__STRCMP): Don't use BP_SYM.
23553 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23554 <bp-sym.h> and <bp-asm.h>.
23555 (strchr): Don't use BP_SYM.
23556 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23557 <bp-sym.h> and <bp-asm.h>.
23558 (__strchrnul): Don't use BP_SYM.
23559 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23560 <bp-sym.h> and <bp-asm.h>.
23561 (strlen): Don't use BP_SYM.
23562 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23563 <bp-sym.h> and <bp-asm.h>.
23564 (strncmp): Don't use BP_SYM. Remove comment about bounded
23566 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23567 <bp-sym.h> and <bp-asm.h>.
23568 (__strnlen): Don't use BP_SYM.
23569 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23570 <bp-sym.h> and <bp-asm.h>.
23571 (__GI__setjmp): Don't use BP_SYM.
23572 (_setjmp): Likewise.
23573 (__sigsetjmp): Likewise.
23574 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23575 (L(start_addresses)): Don't use BP_SYM.
23576 (_start): Likewise.
23577 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23579 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23580 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23581 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23582 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23583 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23585 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23586 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
23587 about bounded pointers.
23588 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23589 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23590 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23592 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23593 about bounded pointers. Remove GKM FIXME comments.
23594 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23595 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23597 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23598 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
23599 Remove GKM FIXME comments.
23600 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23601 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23602 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23604 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23605 about bounded pointers. Remove GKM FIXME comment.
23606 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23608 (strncmp): Don't use BP_SYM. Remove comment about bounded
23610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23611 <bp-sym.h> and <bp-asm.h>.
23612 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23614 <bp-sym.h> and <bp-asm.h>.
23615 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23618 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23620 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23623 2013-03-05 David S. Miller <davem@davemloft.net>
23625 * po/es.po: Update from translation team.
23627 2013-03-05 Andreas Jaeger <aj@suse.de>
23629 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23630 <bits/mman-linux.h>.
23631 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23633 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23634 <bits/mman-linux.h> to end of file.
23635 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23637 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23638 <bits/mman-linux.h> to end of file.
23639 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23641 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23642 <bits/mman-linux.h> to end of file.
23644 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23645 (MCL_CURRENT, MCL_FUTURE): Define here.
23647 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23650 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23652 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23654 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23656 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23657 fourth parameter needed for rt_sigprocmask syscall.
23658 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23659 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23660 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23661 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23662 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23663 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23665 2013-03-04 Joseph Myers <joseph@codesourcery.com>
23668 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23669 comment about bounded pointers.
23670 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23671 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23673 2013-03-04 Andreas Jaeger <aj@suse.de>
23675 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23676 common definitions.
23678 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23679 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23680 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23681 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23682 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23683 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23685 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23688 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23689 __ieee754_sqrl instead of __sqrl.
23691 2013-03-01 Joseph Myers <joseph@codesourcery.com>
23693 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23694 * sysdeps/powerpc/fpu_control.h: ... here.
23695 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23696 * sysdeps/powerpc/bits/fenvinline.h: ... here.
23697 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23698 * sysdeps/powerpc/bits/mathinline.h: ... here.
23700 2013-03-01 Roland McGrath <roland@hack.frob.com>
23702 * elf/dl-hwcaps.c (_dl_important_hwcaps):
23703 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23704 to just [NEED_DL_SYSINFO_DSO].
23705 * elf/dl-support.c: Likewise.
23706 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23707 * elf/rtld.c (dl_main): Likewise.
23708 * elf/setup-vdso.h (setup_vdso): Likewise.
23709 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23710 * sysdeps/unix/sysv/linux/dl-sysdep.c
23711 (_dl_discover_osversion): Likewise.
23713 2013-03-01 Carlos O'Donell <carlos@redhat.com>
23715 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23716 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23718 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23720 * NEWS: Mention libm performance improvements and non-x86 PI
23723 * csu/libc-start.c (__pthread_initialize_minimal): Change
23724 function arguments.
23725 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23727 2013-02-28 Joseph Myers <joseph@codesourcery.com>
23730 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23731 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23732 <bp-sym.h> and <bp-asm.h>.
23733 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23734 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23736 (memcpy): Don't use BP_SYM.
23737 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23739 (__mpn_add_n): Don't use BP_SYM.
23740 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23741 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23743 (__mpn_addmul_1): Don't use BP_SYM.
23744 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23745 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23747 (_setjmp): Don't use BP_SYM.
23748 (__novmx_setjmp): Likewise.
23749 (__GI__setjmp): Likewise.
23750 (__vmx_setjmp): Likewise.
23751 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23753 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23754 (__bzero): Don't use BP_SYM.
23755 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23756 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23757 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23758 <bp-sym.h> and <bp-asm.h>.
23759 (memcpy): Don't use BP_SYM.
23760 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23761 <bp-sym.h> and <bp-asm.h>.
23762 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23763 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23764 <bp-sym.h> and <bp-asm.h>.
23765 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23766 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23768 (__mpn_lshift): Don't use BP_SYM.
23769 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23770 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23772 (memset): Don't use BP_SYM.
23773 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23774 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23775 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23777 (__mpn_mul_1): Don't use BP_SYM.
23778 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23779 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23780 <bp-sym.h> and <bp-asm.h>.
23781 (memcmp): Don't use BP_SYM.
23782 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23783 <bp-sym.h> and <bp-asm.h>.
23784 (memcpy): Don't use BP_SYM.
23785 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23786 <bp-sym.h> and <bp-asm.h>.
23787 (memset): Don't use BP_SYM.
23788 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23789 <bp-sym.h> and <bp-asm.h>.
23790 (strncmp): Don't use BP_SYM.
23791 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23792 <bp-sym.h> and <bp-asm.h>.
23793 (memcpy): Don't use BP_SYM.
23794 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23795 <bp-sym.h> and <bp-asm.h>.
23796 (memset): Don't use BP_SYM.
23797 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23798 <bp-sym.h> and <bp-asm.h>.
23799 (__memchr): Don't use BP_SYM.
23800 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23801 <bp-sym.h> and <bp-asm.h>.
23802 (memcmp): Don't use BP_SYM.
23803 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23804 <bp-sym.h> and <bp-asm.h>.
23805 (memcpy): Don't use BP_SYM.
23806 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23807 <bp-sym.h> and <bp-asm.h>.
23808 (__mempcpy): Don't use BP_SYM.
23809 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23810 <bp-sym.h> and <bp-asm.h>.
23811 (__memrchr): Don't use BP_SYM.
23812 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23813 <bp-sym.h> and <bp-asm.h>.
23814 (memset): Don't use BP_SYM.
23815 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23816 <bp-sym.h> and <bp-asm.h>.
23817 (__rawmemchr): Don't use BP_SYM.
23818 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23819 <bp-sym.h> and <bp-asm.h>.
23820 (__STRCMP): Don't use BP_SYM.
23821 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23822 <bp-sym.h> and <bp-asm.h>.
23823 (strchr): Don't use BP_SYM.
23824 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23825 <bp-sym.h> and <bp-asm.h>.
23826 (__strchrnul): Don't use BP_SYM.
23827 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23828 <bp-sym.h> and <bp-asm.h>.
23829 (strlen): Don't use BP_SYM.
23830 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23831 <bp-sym.h> and <bp-asm.h>.
23832 (strncmp): Don't use BP_SYM.
23833 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23834 <bp-sym.h> and <bp-asm.h>.
23835 (__strnlen): Don't use BP_SYM.
23836 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23838 (__mpn_rshift): Don't use BP_SYM.
23839 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23840 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23841 <bp-sym.h> and <bp-asm.h>.
23842 (__sigsetjmp): Don't use BP_SYM.
23843 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23844 (L(start_addresses)): Don't use BP_SYM.
23845 (_start): Likewise.
23846 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23848 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23849 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23850 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23851 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23853 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23854 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23855 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23856 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23858 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23860 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23861 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23863 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23865 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23866 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23867 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23869 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23871 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23873 (strncmp): Don't use BP_SYM,
23874 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23876 (__mpn_sub_n): Don't use BP_SYM.
23877 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23878 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23880 (__mpn_submul_1): Don't use BP_SYM.
23881 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23883 <bp-sym.h> and <bp-asm.h>.
23884 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23886 <bp-sym.h> and <bp-asm.h>.
23887 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23890 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23892 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23893 Use ZK to minimize writes to Z.
23894 (sub_magnitudes): Simplify code a bit.
23895 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23896 Use ZK to minimize writes to Z.
23897 (sub_magnitudes): Simplify code a bit.
23899 2013-02-27 Roland McGrath <roland@hack.frob.com>
23901 * csu/gmon-start.c: Add special exception to license text.
23903 2013-02-27 Richard Henderson <rth@redhat.com>
23905 * scripts/config.guess: Update from config.git.
23906 * scripts/config.sub: Likewise.
23908 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23910 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23912 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23914 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23916 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23918 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23920 2013-02-26 Roland McGrath <roland@hack.frob.com>
23922 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23923 [$(build-shared = yes].
23925 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23927 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23928 (__mul): Reduce iterations for calculating mantissa.
23930 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23932 (__mpranred): Likewise.
23935 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23936 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23938 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
23940 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23941 Define __attribute__.
23943 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23945 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23947 * posix/regex_internal.h (__attribute): Remove.
23948 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23949 (re_string_context_at): Likewise.
23950 (bitset_not): Use __attribute__ and mark function as possibly
23952 (bitset_merge): Likewise.
23953 (bitset_mask): Likewise.
23954 (re_string_char_size_at): Likewise.
23955 (re_string_wchar_at): Likewise.
23956 (re_string_elem_size_at): Likewise.
23958 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23960 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23964 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23968 (denorm): Likewise.
23969 (__dbl_mp): Likewise.
23970 (add_magnitudes): Likewise.
23971 (sub_magnitudes): Likewise.
23975 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23978 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23981 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23984 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23985 up changes with default code.
23986 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23989 2013-02-24 Allan McRae <allan@archlinux.org>
23991 * manual/socket.texi (The Internet Namespace): Order menu items
23992 to match that in the file.
23994 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23995 node listing of the info page menu.
23997 2013-02-21 Joseph Myers <joseph@codesourcery.com>
24000 * sysdeps/i386/bp-asm.h: Remove file.
24001 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24002 (PARMS): Do not use macros from bp-asm.h.
24006 (__mpn_add_n): Do not use BP_SYM
24007 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24009 (PARMS): Do not use macros from bp-asm.h.
24012 (__mpn_addmul_1): Do not use BP_SYM
24013 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24015 (PARMS): Do not use macros from bp-asm.h.
24016 (SIGMSK): Likewise.
24017 (_setjmp): Likewise. Do not use BP_SYM.
24018 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24020 (PARMS): Do not use macros from bp-asm.h.
24021 (SIGMSK): Likewise.
24022 (setjmp): Likewise. Do not use BP_SYM.
24023 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24025 (PARMS): Do not use macros from bp-asm.h.
24026 (__frexp): Do not use BP_SYM.
24028 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24030 (PARMS): Do not use macros from bp-asm.h.
24031 (__frexpf): Do not use BP_SYM.
24032 (frexpf): Likewise.
24033 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24035 (PARMS): Do not use macros from bp-asm.h.
24036 (__frexpl): Do not use BP_SYM.
24037 (frexpl): Likewise.
24038 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24040 (PARMS): Do not use macros from bp-asm.h.
24041 (__remquo): Do not use BP_SYM.
24042 (remquo): Likewise.
24043 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24045 (PARMS): Do not use macros from bp-asm.h.
24046 (__remquof): Do not use BP_SYM.
24047 (remquof): Likewise.
24048 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24050 (PARMS): Do not use macros from bp-asm.h.
24051 (__remquol): Do not use BP_SYM.
24052 (remquol): Likewise.
24053 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24055 (PARMS): Do not use macros from bp-asm.h.
24058 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
24059 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24061 (PARMS): Do not use macros from bp-asm.h.
24062 (strlen): Do not use BP_SYM.
24063 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24065 (PARMS): Do not use macros from bp-asm.h.
24069 (__mpn_add_n): Do not use BP_SYM.
24070 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24072 (PARMS): Do not use macros from bp-asm.h.
24075 (__mpn_addmul_1): Do not use BP_SYM.
24076 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24079 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24081 (PARMS): Do not use macros from bp-asm.h.
24084 (__mpn_lshift): Do not use BP_SYM.
24085 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24087 (PARMS): Do not use macros from bp-asm.h.
24091 (memcpy): Likewise. Do not use BP_SYM.
24092 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24093 libc_hidden_def and weak_alias.
24094 (mempcpy): Do not use BP_SYM in weak_alias.
24095 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24097 (PARMS): Do not use macros from bp-asm.h.
24100 [!BZERO_P] (CHR): Likewise.
24101 (memset): Likewise. Do not use BP_SYM.
24102 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24104 (PARMS): Do not use macros from bp-asm.h.
24107 (__mpn_mul_1): Do not use BP_SYM.
24108 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24110 (PARMS): Do not use macros from bp-asm.h.
24113 (__mpn_rshift): Do not use BP_SYM.
24114 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24116 (PARMS): Do not use macros from bp-asm.h.
24119 (strchr): Likewise. Do not use BP_SYM.
24120 (index): Do not use BP_SYM in weak_alias.
24121 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24123 (PARMS): Do not use macros from bp-asm.h.
24126 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
24127 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24129 (PARMS): Do not use macros from bp-asm.h.
24130 (strlen): Do not use BP_SYM.
24131 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24133 (PARMS): Do not use macros from bp-asm.h.
24137 (__mpn_sub_n): Do not use BP_SYM.
24138 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24140 (PARMS): Do not use macros from bp-asm.h.
24143 (__mpn_submul_1): Do not use BP_SYM.
24144 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24146 (PARMS): Do not use macros from bp-asm.h.
24150 (__mpn_add_n): Do not use BP_SYM.
24151 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24154 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24156 (PARMS): Do not use macros from bp-asm.h.
24159 (memcmp): Do not use BP_SYM.
24160 (bcmp): Do not use BP_SYM in weak_alias.
24161 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24163 (PARMS): Do not use macros from bp-asm.h.
24167 (memcpy): Likewise. Do not use BP_SYM.
24168 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24170 (PARMS): Do not use macros from bp-asm.h.
24174 (memmove): Likewise. Do not use BP_SYM.
24175 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24177 (PARMS): Do not use macros from bp-asm.h.
24181 (__mempcpy): Likewise. Do not use BP_SYM.
24182 (mempcpy): Do not use BP_SYM in weak_alias.
24183 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24185 (PARMS): Do not use macros from bp-asm.h.
24188 [!BZERO_P] (CHR): Likewise.
24189 (memset): Likewise. Do not use BP_SYM.
24190 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24192 (PARMS): Do not use macros from bp-asm.h.
24194 (strcmp): Do not use BP_SYM.
24195 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24197 (PARMS): Do not use macros from bp-asm.h.
24200 [USE_AS_STRTOK_R] (SAVE): Likewise.
24201 (FUNCTION): Likewise. Do not use BP_SYM.
24202 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24204 (strtok_r): Likewise.
24205 (__GI___strtok_r): Likewise.
24206 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24207 (PARMS): Do not use macros from bp-asm.h.
24210 (__mpn_lshift): Do not use BP_SYM.
24211 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24212 (PARMS): Do not use macros from bp-asm.h.
24215 (__memchr): Do not use BP_SYM.
24216 (memchr): Do not use BP_SYM in weak_alias.
24217 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24218 (PARMS): Do not use macros from bp-asm.h.
24221 (memcmp): Do not use BP_SYM.
24222 (bcmp): Do not use BP_SYM in weak_alias.
24223 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24224 (PARMS): Do not use macros from bp-asm.h.
24227 (__mpn_mul_1): Do not use BP_SYM.
24228 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24230 (PARMS): Do not use macros from bp-asm.h.
24233 (__rawmemchr): Do not use BP_SYM.
24234 (rawmemchr): Do not use BP_SYM in weak_alias.
24235 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24236 (PARMS): Do not use macros from bp-asm.h.
24239 (__mpn_rshift): Do not use BP_SYM.
24240 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24241 (PARMS): Do not use macros from bp-asm.h.
24242 (SIGMSK): Likewise.
24243 (__sigsetjmp): Likewise. Do not use BP_SYM.
24244 * sysdeps/i386/start.S: Do not include "bp-sym.h".
24245 (_start): Do not use BP_SYM.
24246 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24247 (PARMS): Do not use macros from bp-asm.h.
24250 (__stpcpy): Likewise. Do not use BP_SYM.
24251 (stpcpy): Do not use BP_SYM in weak_alias.
24252 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24254 (PARMS): Do not use macros from bp-asm.h.
24258 (__stpncpy): Likewise. Do not use BP_SYM.
24259 (stpncpy): Do not use BP_SYM in weak_alias.
24260 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24261 (PARMS): Do not use macros from bp-asm.h.
24264 (strchr): Likewise. Do not use BP_SYM.
24265 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24267 (PARMS): Do not use macros from bp-asm.h.
24270 (__strchrnul): Likewise. Do not use BP_SYM.
24271 (strchrnul): Do not use BP_SYM in weak_alias.
24272 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24274 (PARMS): Do not use macros from bp-asm.h.
24276 (strcspn): Do not use BP_SYM.
24277 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24279 (PARMS): Do not use macros from bp-asm.h.
24282 (strpbrk): Likewise. Do not use BP_SYM.
24283 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24285 (PARMS): Do not use macros from bp-asm.h.
24288 (strrchr): Likewise. Do not use BP_SYM.
24289 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24290 (PARMS): Do not use macros from bp-asm.h.
24292 (strspn): Do not use BP_SYM.
24293 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24294 (PARMS): Do not use macros from bp-asm.h.
24298 (FUNCTION): Likewise. Do not use BP_SYM.
24299 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24301 (strtok_r): Likewise.
24302 (__GI___strtok_r): Likewise.
24303 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24304 (PARMS): Do not use macros from bp-asm.h.
24308 (__mpn_sub_n): Do not use BP_SYM.
24309 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24311 (PARMS): Do not use macros from bp-asm.h.
24314 (__mpn_submul_1): Do not use BP_SYM.
24315 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24317 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24319 (PARMS): Do not use macros from bp-asm.h.
24324 (__clone): Do not use BP_SYM.
24325 (clone): Do not use BP_SYM in weak_alias.
24326 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24328 (PARMS): Do not use macros from bp-asm.h.
24330 (__mmap64): Do not use BP_SYM.
24331 (mmap64): Do not use BP_SYM in weak_alias.
24332 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24333 <bp-sym.h> and <bp-asm.h>.
24334 (PARMS): Do not use macros from bp-asm.h.
24335 (__posix_fadvise64_l64): Do not use BP_SYM.
24336 * sysdeps/unix/sysv/linux/i386/semtimedop.S
24337 (PARMS): Do not use macros from bp-asm.h.
24339 (semtimedop): Do not use BP_SYM.
24340 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24343 2013-02-21 Allan McRae <allan@archlinux.org>
24345 * manual/message.texi (Charset conversion in gettext):
24346 Move @end statement to beginning of line.
24348 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24350 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24352 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24355 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24356 (denorm): Likewise.
24357 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24358 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24360 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24362 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24363 tail-call to the resolved function if pltexit isn't needed.
24365 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24367 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24368 or Y being zero as being unlikely.
24369 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24372 2013-02-20 Carlos O'Donell <carlos@redhat.com>
24374 * manual/nss.texi (System Databases and Name Service Switch):
24375 Remove frobnicate @pxref.
24377 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24379 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24380 __attribute__ ((unused)) to __attribute__ ((__unused__)).
24382 2013-02-20 Petr Machata <pmachata@redhat.com>
24384 * elf/elf.h (R_ARM_TARGET1): New macro.
24385 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24386 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24387 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24388 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24389 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24390 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24391 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24392 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24393 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24394 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24395 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24396 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24397 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24398 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24399 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24400 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24401 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24402 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24403 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24404 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24405 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24406 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24407 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24408 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24409 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24410 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24411 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24412 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24413 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24414 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24415 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24416 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24417 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24418 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24419 (R_ARM_THM_GOT_BREL12): Likewise.
24420 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24421 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24422 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24423 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24424 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24425 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24426 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24427 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24428 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24430 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24432 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24433 __attribute_used__ to __attribute__ ((unused)).
24435 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24437 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24439 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24440 comment formatting.
24441 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24443 2013-02-19 Joseph Myers <joseph@codesourcery.com>
24446 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24448 (ENTER): Remove both macro definitions.
24450 (CHECK_BOUNDS_LOW): Likewise.
24451 (CHECK_BOUNDS_HIGH): Likewise.
24452 (CHECK_BOUNDS_BOTH): Likewise.
24453 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24454 (RETURN_BOUNDED_POINTER): Likewise.
24455 (RETURN_NULL_BOUNDED_POINTER): Likewise.
24456 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24457 (POP_ERRNO_LOCATION_RETURN): Likewise.
24458 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24459 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24460 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24462 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24463 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24464 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24465 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24466 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24467 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24468 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24469 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24470 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24471 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24472 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24473 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24474 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24475 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24477 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24478 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24480 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24481 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24482 * sysdeps/i386/i586/memset.S (memset): Likewise.
24483 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24484 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24485 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24487 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24488 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24489 Change uses of L(2) to L(out).
24490 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24491 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24492 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24493 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24494 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24496 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24497 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24499 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24500 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24501 (RETURN): Do not use macro LEAVE.
24502 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24503 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24504 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24505 * sysdeps/i386/i686/memset.S (memset): Likewise.
24506 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24507 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24508 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24509 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24511 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24512 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
24513 L(1_2) and L(1_3) into L(1).
24514 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24515 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24516 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24517 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24518 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24519 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24520 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24521 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24522 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24524 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24525 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24526 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24527 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24528 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24529 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24530 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24531 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24532 * sysdeps/i386/strcspn.S (strcspn): Likewise.
24533 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24534 * sysdeps/i386/strrchr.S (strrchr): Likewise.
24535 * sysdeps/i386/strspn.S (strspn): Likewise.
24536 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24538 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24539 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24540 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24541 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
24542 L(1_3) into L(1_1).
24543 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24544 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24545 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24547 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24549 2013-02-19 Jakub Jelinek <jakub@redhat.com>
24551 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24554 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24556 * math/atest-exp.c (exp_mpn): Remove ROUND.
24557 * math/atest-exp2.c (exp_mpn): Likewise.
24558 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24560 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24561 * stdlib/tst-tls-atexit-lib.c: Likewise.
24562 * stdlib/tst-tls-atexit.c: Likewise.
24564 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24566 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24567 and __attribute_alloc_size__.
24569 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24571 * include/programs/xmalloc.h: Change __attribute_alloc_size to
24572 __attribute_alloc_size__.
24573 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24574 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24576 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24578 * include/programs/xmalloc.h: New file.
24579 * catgets/gencat.c: Include it.
24580 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24581 * elf/pldd.c: Likewise.
24582 * iconv/iconv_charmap.c: Likewise.
24583 * iconv/iconvconfig.c: Likewise.
24584 * iconv/strtab.c: Likewise.
24585 * locale/programs/locale.c: Likewise.
24586 * locale/programs/localedef.h: Likewise.
24587 * locale/programs/simple-hash.c: Likewise.
24588 * nscd/nscd.h: Likewise.
24589 * nss/makedb.c: Likewise.
24590 * sysdeps/generic/ldconfig.h: Likewise.
24592 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24594 * Versions.def: Add GLIBC_2.18.
24595 * include/link.h (struct link_map): New member l_tls_dtor_count.
24596 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24597 (__call_tls_dtors): Likewise.
24598 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24599 __cxa_thread_atexit_impl.
24600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24608 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24609 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24613 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24614 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24616 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24617 (tests): Add test case tst-tls-atexit.
24618 (modules-names): Add shared library for tst-tls-atexit.
24619 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24620 (GLIBC_PRIVATE): Add __call_tls_dtors.
24621 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24623 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24624 * stdlib/tst-tls-atexit.c: New test case.
24625 * stdlib/tst-tls-atexit-lib.c: New test case.
24627 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24629 * elf/Versions (ld): Add _dl_find_dso_for_object.
24630 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24631 * elf/dl-open.c (_dl_find_dso_for_object): New function.
24632 (dl_open_worker): Use _dl_find_dso_for_object.
24633 * elf/dl-sym.c (do_sym): Likewise.
24634 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24636 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24638 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24639 Syntactic changes only.
24640 (_dl_runtime_profile): Do a tail-call to the resolved function.
24642 2013-02-17 Joseph Myers <joseph@codesourcery.com>
24645 * sysdeps/x86_64/bp-asm.h: Remove file.
24646 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24647 <bp-sym.h> and <bp-asm.h>.
24648 (__clone): Do not use BP_SYM.
24649 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24650 <bp-sym.h> and <bp-asm.h>.
24651 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24652 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24654 (_setjmp): Do not use BP_SYM.
24655 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24657 (setjmp): Do not use BP_SYM.
24658 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24660 (mempcpy): Do not use BP_SYM in weak_alias.
24661 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24663 (strchr): Do not use BP_SYM.
24664 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24666 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24667 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24668 (_start): Do not use BP_SYM.
24669 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24671 (strcat): Do not use BP_SYM.
24672 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24674 (STRCMP): Do not use BP_SYM.
24675 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24677 (STRCPY): Do not use BP_SYM.
24678 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24680 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24682 (FUNCTION): Do not use BP_SYM.
24683 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24685 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24687 2013-02-17 Andreas Jaeger <aj@suse.de>
24689 * time/Versions: Sort entries.
24690 * string/Versions: Likewise.
24691 * resolv/Versions: Likewise.
24692 * posix/Versions: Likewise.
24693 * iconv/Versions: Likewise.
24694 * elf/Versions: Likewise.
24695 * wcsmbs/Versions: Likewise.
24697 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24699 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24700 loop termination condition.
24702 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24703 variable to calculate EZ.
24706 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24707 the lower precision input.
24709 2013-02-15 Joseph Myers <joseph@codesourcery.com>
24712 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24713 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24714 (run-via-rtld-prefix): Do not handle %-bp tests.
24715 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24716 (all-object-suffixes): Remove .ob.
24717 (bppfx): Remove variable.
24718 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24719 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24720 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24721 [$(build-bounded) = yes] (libtype.ob): Likewise.
24722 * Makerules (elide-routines.ob): Remove variable.
24723 (do-tests-clean): Do not handle *-bp.out.
24724 (common-mostlyclean): Do not handle *-bp and *-bp.out.
24725 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24726 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24727 (tests): Do not include $(tests-bp.out).
24728 (xtests): Do not include $(xtests-bp.out).
24729 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24730 [$(build-bounded) = yes] ($(addprefix
24731 $(objpfx),$(binaries-bounded))): Remove rule.
24732 ($(objpfx)%-bp.out): Remove rule.
24733 * config.make.in (build-bounded): Remove variable.
24734 * crypt/Makefile [$(build-bounded) = yes]
24735 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24736 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24737 append to variable.
24738 [$(build-bounded) = yes] (install-lib): Likewise.
24739 [$(build-bounded) = yes] (generated): Likewise.
24740 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24742 * intl/Makefile [$(build-bounded) = yes]
24743 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24744 * math/Makefile [$(build-bounded) = yes]
24745 ($(tests:%=$(objpfx)%-bp): Likewise.
24746 * misc/Makefile [$(build-bounded) = yes]
24747 ($(objpfx)tst-tsearch-bp): Likewise.
24748 * nptl/Makeconfig (bounded-thread-library): Remove variable.
24749 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24751 * string/Makefile (o-objects.ob): Remove variable.
24752 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24753 (CFLAGS-.ob): Remove variable.
24754 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24755 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24756 both definitions of variable.
24757 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24758 (ASFLAGS-.ob): Remove variable.
24760 2013-02-14 Joseph Myers <joseph@codesourcery.com>
24763 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24764 Remove __BOUNDED_POINTERS__ from condition.
24765 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24766 * string/bits/string2.h [!__NO_STRING_INLINES &&
24767 !__BOUNDED_POINTERS__]: Likewise.
24768 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24770 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24771 Remove conditional code.
24772 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24773 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24774 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24778 * csu/libc-start.c: Do not include <bp-sym.h>.
24779 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24780 * elf/dl-open.c: Do not include <bp-sym.h>.
24781 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24782 * math/fegetenv.c: Do not include <bp-sym.h>.
24783 (fegetenv): Do not use BP_SYM in versioned symbols.
24784 * nptl/sysdeps/pthread/bits/libc-lockP.h
24785 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24787 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24788 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24789 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24790 (__pthread_mutex_destroy): Likewise.
24791 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24792 (__pthread_mutex_lock): Likewise.
24793 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24794 (__pthread_mutex_trylock): Likewise.
24795 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24796 (__pthread_mutex_unlock): Likewise.
24797 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24798 (__pthread_mutexattr_init): Likewise.
24799 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24800 (__pthread_mutexattr_destroy): Likewise.
24801 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24802 (__pthread_mutexattr_settype): Likewise.
24803 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24804 (__pthread_rwlock_init): Likewise.
24805 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24806 (__pthread_rwlock_destroy): Likewise.
24807 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24808 (__pthread_rwlock_rdlock): Likewise.
24809 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24810 (__pthread_rwlock_tryrdlock): Likewise.
24811 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24812 (__pthread_rwlock_wrlock): Likewise.
24813 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24814 (__pthread_rwlock_trywrlock): Likewise.
24815 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24816 (__pthread_rwlock_unlock): Likewise.
24817 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24818 (__pthread_key_create): Likewise.
24819 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24820 (__pthread_setspecific): Likewise.
24821 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24822 (__pthread_getspecific): Likewise.
24823 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24825 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24826 (_pthread_cleanup_push_defer): Likewise.
24827 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24828 (_pthread_cleanup_pop_restore): Likewise.
24829 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24830 (pthread_setcancelstate): Likewise.
24831 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24833 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24834 (memchr): Do not use BP_SYM in weak_alias.
24835 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24836 (fegetenv): Do not use BP_SYM in versioned symbols.
24837 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24838 (fesetenv): Do not use BP_SYM in versioned symbols.
24839 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24840 (feupdateenv): Do not use BP_SYM in versioned symbols.
24841 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24842 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24843 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24844 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24845 (open64): Do not use BP_SYM in weak_alias.
24846 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24847 (fegetenv): Do not use BP_SYM in versioned symbols.
24848 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24849 (fesetenv): Do not use BP_SYM in versioned symbols.
24850 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24851 (feupdateenv): Do not use BP_SYM in versioned symbols.
24852 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24853 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24854 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24855 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24856 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24857 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24858 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24860 (__libc_start_main): Do not use BP_SYM.
24862 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24864 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24865 redundant return line.
24867 (denorm): Likewise.
24868 (dbl_mp): Likewise.
24869 (sub_magnitudes): Likewise.
24875 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24877 (denorm): Likewise.
24878 (dbl_mp): Likewise.
24879 (sub_magnitudes): Likewise.
24886 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24888 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24889 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24892 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24893 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24894 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24895 of __mul for squares.
24896 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24898 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24900 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24901 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24903 2013-02-13 Joseph Myers <joseph@codesourcery.com>
24906 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24908 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24909 prototype or function definition. Rename ubp_* variables and
24910 parameters. Remove argv definitions conditional on
24911 [__BOUNDED_POINTERS__].
24912 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24913 * elf/dl-runtime.c (_dl_fixup): Likewise.
24914 * include/set-hooks.h (RUN_HOOK): Likewise.
24915 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24917 * string/strcpy.c (strcpy): Do not use __unbounded.
24918 * sysdeps/generic/frame.h (struct layout): Likewise.
24919 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24920 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24921 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24922 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24923 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24924 (__backtrace): Likewise.
24925 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24927 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24928 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24929 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24931 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24932 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24933 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24934 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24935 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24936 Do not use __unbounded.
24937 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24938 Rename __unboundedrlimits parameter to rlimits in prototype.
24939 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24940 Do not use __unbounded.
24941 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24942 not use __ptrvalue.
24943 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24944 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24945 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24946 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24947 __ptrvalue or __unbounded.
24948 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24949 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24951 (__new_msgctl): Do not use __ptrvalue.
24952 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24954 (__libc_msgrcv): Do not use __ptrvalue.
24955 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24956 startup_info): Do not use __unbounded.
24957 (__libc_start_main): Likewise. Rename ubp_* variables and
24958 parameters. Remove argv definitions conditional on
24959 [__BOUNDED_POINTERS__].
24960 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24962 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24964 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24966 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24968 (__new_shmctl): Do not use __ptrvalue.
24969 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24970 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24972 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24973 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24974 (__libc_sigaction): Likewise.
24975 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24976 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24978 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24980 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
24982 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24984 * string/mempcpy.c: Implement by calling memcpy.
24986 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24988 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24990 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24993 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24994 values in the mantissa.
24996 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24997 minimize writes to Z.
24998 (sub_magnitudes): Simplify code a bit.
25000 2013-02-12 Roland McGrath <roland@hack.frob.com>
25002 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25003 from the message. The linker prefixes all warnings with that already.
25005 2013-02-12 Andreas Schwab <schwab@suse.de>
25008 * posix/regexec.c (extend_buffers): Add parameter min_len.
25009 (check_matching): Pass minimum needed length.
25010 (clean_state_log_if_needed): Likewise.
25011 (get_subexp): Likewise.
25012 * posix/Makefile (tests): Add bug-regex34.
25013 (bug-regex34-ENV): Define.
25014 * posix/bug-regex34.c: New file.
25017 * posix/regcomp.c (parse_bracket_exp): When looking up collating
25018 elements compare against the byte sequence of it, not its name.
25019 * posix/Makefile (tests): Add bug-regex35.
25020 (bug-regex35-ENV): Define.
25021 * posix/bug-regex35.c: New file.
25023 2013-02-11 Tom de Vries <tom@codesourcery.com>
25025 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
25027 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25028 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25029 (CHECK_EOL): Add undef.
25031 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
25033 * bits/stdlib-bsearch.h: New file.
25034 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25035 * stdlib/stdlib.h: Likewise.
25037 2013-02-11 Roland McGrath <roland@hack.frob.com>
25039 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25040 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25042 * manual/search.texi (Array Search Function): Add missing const in
25044 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25045 declaration to use rlim_t.
25046 (Basic Scheduling Functions): Remove erroneous const from
25047 sched_getparam prototype. Remove erroneous * from
25048 sched_get_priority_max and sched_get_priority_min prototypes.
25049 (Resource Usage): Fix summary @comment on vtimes to refer to
25050 sys/vtimes.h rather than vtimes.h.
25051 Add missing *s in vtimes prototype.
25052 (Limits on Resources): Fix ulimit prototype to return long int.
25053 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25054 prototypes to use long int rather than double.
25055 (BSD Random): Fix initstate and setstate to use char *, not void *.
25056 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25057 prototype to make second argument 'struct aiocb64 *const[]'.
25058 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25059 (Status of AIO Operations): Remove erroneous const in aio_return and
25060 aio_return64 prototypes.
25061 (Synchronizing I/O): Fix sync prototype to return void.
25062 * manual/startup.texi (Suboptions): Remove an erroneous const in
25063 getsubopt prototype.
25064 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25065 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25066 use size_t rather than int.
25067 (Scanning All Users): Likewise for getpwent_r.
25068 (Setting Groups): Add missing const to setgroups prototype.
25069 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25070 * manual/socket.texi (Host Names): Fix gethostbyaddr and
25071 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25072 'const void *' rather than 'const char *'.
25073 (Host Address Functions): Likewise for inet_ntop.
25074 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25075 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25076 ssize_t for return value.
25077 (Sending Data): Likewise for send, sendto, sendmsg.
25078 (Socket Option Functions): Add a missing const in setsockopt prototype.
25079 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25080 use wchar_t for the argument.
25081 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25082 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25084 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25085 double/float/long double for second argument.
25086 Fix return types of significand, significandf, significandl.
25087 * manual/filesys.texi (Setting Permissions): Use mode_t for second
25088 argument in fchmod prototype.
25089 (File Owner): Use uid_t and gid_t in fchown prototype.
25090 (File Times): Add const to utimes, futimes, and lutimes prototypes.
25091 (Making Special Files): Use mode_t and dev_t in mknod prototype.
25092 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25093 use 'const struct dirent **' as argument types to CMP function pointer
25095 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25096 (File Times): Fix summary magic @comment for struct utimbuf and utime
25097 to refer to utime.h, not time.h.
25098 * manual/string.texi (Argz Functions): Add missing const in
25099 argz_extract and argz_next prototypes.
25100 (Finding Tokens in a String): Likewise for basename.
25101 (String/Array Comparison): Fix typo in wcscasecmp prototype.
25102 (Copying and Concatenation): Fix typo in wmemmove prototype.
25103 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25104 (Signal Stack): Remove erroneous const in sigstack prototype.
25105 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25107 (Simple Calendar Time): Likewise for stime.
25108 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25110 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25111 say sys/sysctl.h instead.
25112 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25113 and vsyslog prototypes.
25115 2013-02-11 Tom de Vries <tom@codesourcery.com>
25117 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25120 2013-02-11 Roland McGrath <roland@hack.frob.com>
25122 * misc/sys/mman.h: Fix typo in mremap comment.
25124 2013-02-08 Roland McGrath <roland@hack.frob.com>
25126 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25127 the '\0' terminator.
25129 2013-02-08 Joseph Myers <joseph@codesourcery.com>
25132 * debug/segfault.c: Don't include <bp-checks.h>.
25133 * sysdeps/generic/bp-checks.h: Remove file.
25134 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25135 (__GETDENTS): Don't use CHECK_N.
25136 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25137 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25138 (__getgroups): Don't use CHECK_N.
25139 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25140 (setgroups): Don't use CHECK_N.
25141 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25142 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25143 (__libc_msgrcv): Don't use CHECK_N.
25144 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25145 (__libc_msgsnd): Don't use CHECK_N.
25146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25148 (__libc_pread): Don't use CHECK_N.
25149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25150 include <bp-checks.h>.
25151 (__libc_pread64): Don't use CHECK_N.
25152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25153 include <bp-checks.h>.
25154 (__libc_pwrite): Don't use CHECK_N.
25155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25156 include <bp-checks.h>.
25157 (__libc_pwrite64): Don't use CHECK_N.
25158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25160 (__libc_pread): Don't use CHECK_N.
25161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25162 include <bp-checks.h>.
25163 (__libc_pread64): Don't use CHECK_N.
25164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25165 include <bp-checks.h>.
25166 (__libc_pwrite): Don't use CHECK_N.
25167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25168 include <bp-checks.h>.
25169 (__libc_pwrite64): Don't use CHECK_N.
25170 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25171 (do_pread): Don't use CHECK_N.
25172 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25173 (do_pread64): Don't use CHECK_N.
25174 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25175 (do_pwrite): Don't use CHECK_N.
25176 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25177 (do_pwrite64): Don't use CHECK_N.
25178 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25179 (__libc_readv): Don't use CHECK_N.
25180 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25181 (semop): Don't use CHECK_N.
25182 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25184 (semtimedop): Don't use CHECK_N.
25185 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25186 (__libc_pread): Don't use CHECK_N.
25187 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25189 (__libc_pread64): Don't use CHECK_N.
25190 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25192 (__libc_pwrite): Don't use CHECK_N.
25193 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25195 (__libc_pwrite64): Don't use CHECK_N.
25196 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25198 (__libc_msgrcv): Don't use CHECK_N.
25199 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25200 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
25201 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25202 (__libc_writev): Don't use CHECK_N.
25204 2013-02-08 Roland McGrath <roland@hack.frob.com>
25206 * string/strcpy.c: Removed unused variable.
25208 * Makeconfig (+sysdep-includes): Define with := rather than =.
25209 Use an existing include/ subdir of each sysdeps dir before it.
25211 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25213 * nscd/connection.c (register_traced_file): Comment function.
25214 [HAVE_INOTIFY] (union __inev): Define.
25215 [HAVE_INOTIFY] (inotify_check_files): New function.
25216 [HAVE_INOTIFY] (clear_db_cache): Likewise.
25217 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25219 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25221 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25223 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25224 loaded if not already and that a failure is permanent.
25226 2013-02-08 Carlos O'Donell <carlos@redhat.com>
25229 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25230 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25232 2013-02-08 Joseph Myers <joseph@codesourcery.com>
25235 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25236 (CHECK_1_NULL_OK): Likewise.
25237 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25238 (__fxstat): Do not use CHECK_1.
25239 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25241 (___fxstat64): Do not use CHECK_1.
25242 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25244 (__fxstatat): Do not use CHECK_1.
25245 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25247 (__fxstatat64): Do not use CHECK_1.
25248 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25250 (__fxstat): Do not use CHECK_1.
25251 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25253 (__fxstatat): Do not use CHECK_1.
25254 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25256 (__getresgid): Do not use CHECK_1.
25257 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25259 (__getresuid): Do not use CHECK_1.
25260 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25262 (__lxstat): Do not use CHECK_1.
25263 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25265 (__old_msgctl): Do not use CHECK_1.
25266 (__new_msgctl): Likewise.
25267 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25269 (__new_setrlimit): Do not use CHECK_1.
25270 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25272 (__old_shmctl): Do not use CHECK_1.
25273 (__new_shmctl): Likewise.
25274 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25276 (__xstat): Do not use CHECK_1.
25277 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25278 (__lxstat): Do not use CHECK_1.
25279 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25281 (___lxstat64): Do not use CHECK_1.
25282 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25283 (__old_msgctl): Do not use CHECK_1.
25284 (__new_msgctl): Likewise.
25285 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25287 (__gettimeofday): Do not use CHECK_1.
25288 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25289 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25290 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25292 (__gettimeofday): Do not use CHECK_1.
25293 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25294 (__old_shmctl): Do not use CHECK_1_NULL_OK.
25295 (__new_shmctl): Do not use CHECK_1.
25296 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25298 (do_sigtimedwait): Do not use CHECK_1.
25299 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25301 (do_sigwaitinfo): Do not use CHECK_1.
25302 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25304 (msgctl): Do not use CHECK_1.
25305 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25307 (shmctl): Do not use CHECK_1.
25308 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25309 (ustat): Do not use CHECK_1.
25310 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25312 (__fxstat): Do not use CHECK_1.
25313 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25315 (__fxstatat): Do not use CHECK_1.
25316 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25318 (__lxstat): Do not use CHECK_1.
25319 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25321 (__xstat): Do not use CHECK_1.
25322 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25323 (__xstat): Do not use CHECK_1.
25324 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25325 (___xstat64): Do not use CHECK_1.
25328 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25330 (CHECK_BOUNDS_HIGH): Likewise.
25331 * string/strcpy.c: Do not include <bp-checks.h>.
25332 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25334 2013-02-07 Roland McGrath <roland@hack.frob.com>
25336 * nscd/nscd-client.h (__nscd_drop_map_ref):
25337 Add __attribute__ ((unused)).
25338 * nis/nss-nisplus.h (niserr2nss): Likewise.
25340 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25341 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25343 * csu/libc-tls.c (init_static_tls, init_slotinfo):
25344 Remove inline keyword.
25345 * include/rounding-mode.h (round_away): Likewise.
25346 * libio/wfileops.c (adjust_wide_data): Likewise.
25347 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25348 (__m128i_strloadu_tolower): Likewise.
25349 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25350 (__m128i_strloadu_tolower): Likewise.
25351 * time/mktime.c (ydhms_diff): Likewise.
25352 * locale/elem-hash.h (elem_hash): Likewise.
25353 * locale/setlocale.c (setdata): Likewise.
25354 * posix/regex_internal.h (re_string_char_size_at): Likewise.
25355 (re_string_wchar_at): Likewise.
25356 (bitset_not, bitset_merge, bitset_mask): Likewise.
25357 [!(__GNUC__ > 3)] (inline): Remove macro.
25358 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25359 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25360 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25361 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25362 * string/memcmp.c (memcmp_bytes): Likewise.
25363 * locale/programs/locarchive.c (compute_hashval): Likewise.
25364 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25365 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25366 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25367 * nss/getent.c (print_rpc, print_protocols): Likewise.
25368 (print_passwd, print_group, print_aliases): Likewise.
25369 * nis/nss-nisplus.h (niserr2nss): Likewise.
25370 * nscd/connections.c (restart_p): Likewise.
25371 Change return type to bool.
25373 2013-02-05 Roland McGrath <roland@hack.frob.com>
25375 * Makeconfig (all-Depend-files): Add existing
25376 $(sorted-subdirs:=/Depend) files.
25377 (all-subdirs): Remove nss.
25378 * sysdeps/unix/inet/Subdirs: Add it here instead.
25379 * hesiod/Depend: New file.
25381 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25382 instead of calling alloca.
25384 * io/lseek.c (__lseek): Rename to __libc_lseek.
25385 Define __lseek as an alias.
25387 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25389 2013-02-04 Carlos O'Donell <carlos@redhat.com>
25391 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25392 else clause and remove check for non-standard endianness.
25394 2013-02-04 David S. Miller <davem@davemloft.net>
25396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25398 2013-02-04 Joseph Myers <joseph@codesourcery.com>
25401 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25402 (__ubp_memchr): Remove prototype.
25403 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25404 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25405 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25406 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25407 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25409 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25410 (__ubp_memchr): Likewise.
25411 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25412 (__ubp_memchr): Likewise.
25413 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25414 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25415 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25416 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25418 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25419 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25420 (__getcwd): Do not use CHECK_STRING.
25421 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25423 (__real_chown): Do not use CHECK_STRING.
25424 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25426 (fchownat): Do not use CHECK_STRING.
25427 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25429 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25431 (__lchown): Do not use CHECK_STRING.
25432 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25433 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25434 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25435 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25437 include <bp-checks.h>.
25438 (truncate64): Do not use CHECK_STRING.
25439 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25441 (__real_chown): Do not use CHECK_STRING.
25442 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25444 (__lchown): Do not use CHECK_STRING.
25445 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25447 (__chown): Do not use CHECK_STRING.
25448 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25450 (truncate64): Do not use CHECK_STRING.
25451 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25453 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25454 (__xmknod): Do not use CHECK_STRING.
25455 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25457 (__xmknodat): Do not use CHECK_STRING.
25458 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25459 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25461 2013-02-04 Andreas Schwab <schwab@suse.de>
25464 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25465 * include/netdb.h: Likewise for h_errno.
25466 * elf/tst-stackguard1.c: Include <tls.h>.
25468 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
25470 * elf/link.h (struct link_map): Extend the l_addr comment.
25471 * include/link.h (struct link_map): Likewise.
25473 2013-02-01 Joseph Myers <joseph@codesourcery.com>
25476 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25477 (BOUNDED_1): Remove macro.
25478 * debug/backtrace.c: Don't include <bp-checks.h>.
25479 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25480 (__backtrace): Likewise.
25481 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25483 (__backtrace): Don't use BOUNDED_1.
25484 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25486 (__backtrace): Don't use BOUNDED_1.
25487 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25488 (__backtrace): Don't use BOUNDED_1.
25489 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25490 (shmat): Don't use BOUNDED_N.
25492 2013-01-31 Joseph Myers <joseph@codesourcery.com>
25495 * sysdeps/generic/bp-start.h: Remove file.
25496 * csu/libc-start.c: Don't include <bp-start.h>.
25497 (LIBC_START_MAIN): Set up __environ directly instead of using
25498 INIT_ARGV_and_ENVIRON.
25499 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25503 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25505 (CHECK_FCNTL): Likewise.
25506 (CHECK_N_PAGES): Likewise.
25509 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25511 (CHECK_SIGSET_NULL_OK): Likewise.
25512 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25514 (sigpending): Don't use CHECK_SIGSET.
25515 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25517 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25518 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25520 (do_sigsuspend): Don't use CHECK_SIGSET.
25521 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25523 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25524 (do_sigwait): Don't use CHECK_SIGSET.
25525 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25527 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25528 include <bp-checks.h>.
25529 (sigpending): Don't use CHECK_SIGSET.
25530 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25531 include <bp-checks.h>.
25532 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25533 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25535 (sigpending): Don't use CHECK_SIGSET.
25536 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25538 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25541 * sysdeps/generic/bp-semctl.h: Remove file.
25542 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25543 <bp-checks.h> and <bp-semctl.h>.
25544 (__old_semctl): Don't use CHECK_SEMCTL.
25545 (__new_semctl): Likewise.
25546 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25548 (__old_semctl): Don't use CHECK_SEMCTL.
25549 (__new_semctl): Likewise.
25550 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25551 <bp-checks.h> and <bp-semctl.h>.
25552 (__old_semctl): Don't use CHECK_SEMCTL.
25553 (__new_semctl): Likewise.
25554 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25555 <bp-checks.h> and <bp-semctl.h>.
25556 (semctl): Don't use CHECK_SEMCTL.
25559 * Makerules (elide-bp-thunks): Remove variable.
25560 (elide-routines.oS): Don't use $(elide-bp-thunks).
25561 (elide-routines.os): Likewise.
25562 (elide-routines.o): Likewise.
25563 (elide-routines.op): Likewise.
25564 (elide-routines.og): Likewise.
25565 (objects): Don't use $(bp-thunks).
25566 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25568 (common-generated): Do not add s-proto-bp.d.
25569 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25572 Do not generate makefile rules for bounded-pointer thunks.
25573 * sysdeps/generic/bp-thunks.h: Remove file.
25574 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25575 * sysdeps/unix/s-proto-bp.S: Likewise.
25578 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25579 parts of result separately when argument is not close to line from
25580 -i to i and one part of argument is small.
25581 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25582 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25583 * math/libm-test.inc (cacos_test): Add more tests.
25584 (casin_test): Likewise.
25585 (casinh_test): Likewise.
25586 * sysdeps/i386/fpu/libm-test-ulps: Update.
25587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25589 2013-01-31 David S. Miller <davem@davemloft.net>
25591 * po/de.po: Update from translation team.
25593 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
25595 * time/tzfile.c: Include stdint.h for SIZE_MAX.
25597 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
25599 * configure.in (_AC_PROG_CC_C89): New definition.
25600 * configure: Regenerate.
25602 * configure.in (AC_PROG_CPP): New definition.
25603 * configure: Regenerate.
25605 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25607 * debug/tst-backtrace.h: New file.
25608 * debug/tst-backtrace2.c: Include tst-backtrace.h.
25609 (ret): Remove variable.
25611 (FAIL): Remove macro.
25612 (NO_INLINE): Likewise.
25613 (fn1): Use match function instead of strstr.
25614 * debug/tst-backtrace3.c: Include tst-backtrace.h.
25615 (ret): Remove variable.
25617 (FAIL): Remove macro.
25618 (NO_INLINE): Likewise.
25619 (fn): Use match function instead of strstr.
25620 * debug/tst-backtrace4.c: Include tst-backtrace.h.
25621 (ret): Remove variable.
25623 (FAIL): Remove macro.
25624 (NO_INLINE): Likewise.
25625 (handle_signal): Use match function instead of strstr.
25626 * debug/tst-backtrace5.c: Include tst-backtrace.h.
25627 (ret): Remove variable.
25629 (FAIL): Remove macro.
25630 (NO_INLINE): Likewise.
25631 (handle_signal): Use match function instead of strstr.
25633 2013-01-23 Roland McGrath <roland@hack.frob.com>
25635 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25637 2013-01-23 David S. Miller <davem@davemloft.net>
25639 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25640 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25641 argument of CAS if possible.
25642 * sysdeps/sparc/sparc64/bits/atomic.h
25643 (__arch_compare_and_exchange_val_32_acq): Likewise.
25644 (__arch_compare_and_exchange_val_64_acq): Likewise.
25646 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25648 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25649 * sysdeps/posix/ulimit.c: ... this.
25650 Include <limits.h>.
25651 * sysdeps/unix/bsd/ulimit.c: Remove file.
25653 2013-01-23 Adam Conrad <adconrad@0c3.net>
25655 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25656 (LDFLAGS-tst-array5): Likewise.
25658 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25661 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25662 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25663 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25664 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25666 2013-01-21 David S. Miller <davem@davemloft.net>
25668 * sysdeps/sparc/backtrace.c: New file.
25669 * sysdeps/sparc/sparc32/backtrace.h: New file.
25670 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25671 * sysdeps/sparc/sparc64/backtrace.h: New file.
25672 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25673 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25676 2013-01-21 Andreas Schwab <schwab@suse.de>
25679 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25682 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25684 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25686 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25688 2013-01-18 Joseph Myers <joseph@codesourcery.com>
25689 Mark Mitchell <mark@codesourcery.com>
25690 Tom de Vries <tom@codesourcery.com>
25691 Paul Pluzhnikov <ppluzhnikov@google.com>
25693 * debug/tst-backtrace2.c: New file.
25694 * debug/tst-backtrace3.c: Likewise.
25695 * debug/tst-backtrace4.c: Likewise.
25696 * debug/tst-backtrace5.c: Likewise.
25697 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25698 (CFLAGS-tst-backtrace3.c): Likewise.
25699 (CFLAGS-tst-backtrace4.c): Likewise.
25700 (CFLAGS-tst-backtrace5.c): Likewise.
25701 (LDFLAGS-tst-backtrace2): Likewise.
25702 (LDFLAGS-tst-backtrace3): Likewise.
25703 (LDFLAGS-tst-backtrace4): Likewise.
25704 (LDFLAGS-tst-backtrace5): Likewise.
25705 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25706 tst-backtrace4 and tst-backtrace5.
25708 2013-01-18 Anton Blanchard <anton@samba.org>
25709 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25711 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25712 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25713 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25714 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25716 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25717 "+r" and remove output regs list as redundant. Add explicit inline
25718 asm to specify register of return val to work around compiler codegen
25719 bug. Remove (int) cast on return value. Add return type parameter to
25720 use in macro so that this macro does not truncate return value for
25722 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25723 pass to INTERNAL_VSYSCALL_NCS.
25724 (INLINE_VSYSCALL): Add 'long int' as return type to
25725 INTERNAL_VSYSCALL_NCS macro invocation.
25726 (INTERNAL_VSYSCALL): Add 'long int' as return type to
25727 INTERNAL_VSYSCALL_NCS macro invocation.
25728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25730 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25733 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25734 Fix application of SIMD FP exception mask.
25736 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25737 mp_no from a power of two.
25738 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25739 __mpexp_twomm1. Use __pow_mp.
25741 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25744 2013-01-17 David S. Miller <davem@davemloft.net>
25746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25748 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25751 * include/complex.h: Condition contents on [!_COMPLEX_H].
25752 (__kernel_casinhf): New prototype.
25753 (__kernel_casinh): Likewise.
25754 (__kernel_casinhl): Likewise.
25755 * math/Makefile (libm_calls): Add k_casinh.
25756 * math/k_casinh.c: New file.
25757 * math/k_casinhf.c: Likewise.
25758 * math/k_casinhl.c: Likewise.
25759 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25760 finite nonzero arguments.
25761 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25762 finite nonzero arguments.
25763 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25764 finite nonzero arguments.
25765 * math/s_casinh.c: Do not include <float.h>.
25766 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25767 * math/s_casinhf.c: Do not include <float.h>.
25768 (__casinhf): Move code for finite nonzero arguments to
25770 * math/s_casinhl.c: Do not include <float.h>.
25771 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25773 (__casinhl): Move code for finite nonzero arguments to
25775 * math/libm-test.inc (cacos_test): Add more tests.
25776 * sysdeps/i386/fpu/libm-test-ulps: Update.
25777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25779 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
25781 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25782 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25783 [!HAVE_MREMAP]: Remove [defined linux] case.
25784 * malloc/arena.c: Do not include <malloc-sysdep.h>.
25786 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25788 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25790 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
25792 * elf/elf.h (R_386_SIZE32): New relocation.
25793 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25795 (elf_machine_rela): Likewise.
25796 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25797 R_X86_64_SIZE64 and R_X86_64_SIZE32.
25799 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25801 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25802 (FP_FAST_FMA): Do not define.
25803 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25804 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25805 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25806 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25807 !_SOFT_FLOAT]: Likewise.
25808 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25809 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25811 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25812 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25813 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25814 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25815 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25816 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25819 2013-01-16 Andreas Schwab <schwab@suse.de>
25822 * include/stdlib.h (__mktemp): Add declaration.
25823 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25824 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25826 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25828 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25830 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25831 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25832 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25834 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25835 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25837 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25839 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25840 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25841 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25843 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25844 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25846 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25848 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25850 2013-01-15 David S. Miller <davem@davemloft.net>
25852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25853 trunc{,f} to libm-sysdep_routes.
25854 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25864 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25865 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25866 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25867 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25868 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25869 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25872 nearbyint{,f} to libm-sysdep_routes.
25873 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25884 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25886 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25887 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25889 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25890 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25891 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25893 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25894 libc_feholdexcept and libc_fesetenv.
25896 2013-01-15 Mike Frysinger <vapier@gentoo.org>
25898 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25900 2013-01-14 David S. Miller <davem@davemloft.net>
25902 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25903 (SPARC_ASM_VIS2_IFUNC): Likewise.
25904 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25906 use of 'siam' instruction.
25907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25913 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25914 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25915 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25916 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25925 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25926 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25927 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25928 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25935 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25936 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25937 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25938 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25940 routines to libm-sysdep_routines.
25941 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25944 fdim/fdimf to libm-sysdep_routines.
25945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25953 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25954 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25955 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25956 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25958 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25960 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25961 to optimize copies.
25963 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25964 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25965 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25967 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25968 local variable MPTWO.
25969 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25972 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25974 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25977 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25979 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25981 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25983 * manual/pattern.texi (glob_t): Document gl_flags.
25984 (glob64_t): Likewise.
25986 2013-01-11 David S. Miller <davem@davemloft.net>
25988 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25989 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25990 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
25991 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25992 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25993 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25994 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25995 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25996 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25997 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25998 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25999 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26000 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26002 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26003 sparc V9 rather than using V8 code.
26004 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26005 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26007 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26009 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26012 2013-01-11 Roland McGrath <roland@hack.frob.com>
26014 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26015 not in the main loop.
26016 * configure: Regenerated.
26018 2013-01-11 Joseph Myers <joseph@codesourcery.com>
26020 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26021 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26023 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
26024 [!__GLIBC_HAVE_LONG_LONG] case.
26025 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26026 condition to just #else.
26027 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26028 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26029 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26030 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26032 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26033 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26034 #elif condition to just #else.
26035 * sysdeps/unix/sysv/linux/sys/sysmacros.h
26036 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26037 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26038 #elif condition to just #else.
26040 2013-01-11 Steve Ellcey <sellcey@mips.com>
26042 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26043 (EF_MIPS_ARCH_64): Fix value.
26044 (EF_MIPS_ARCH_32R2): New.
26045 (EF_MIPS_ARCH_64R2): New.
26047 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
26049 * Makeconfig (+link-pie-before-libc): New.
26050 (+link-pie-after-libc): Likewise.
26051 (+link-pie-tests): Likewise.
26052 (+link-pie): Rewritten.
26053 (link-before-libc): Remove $(config-LDFLAGS).
26054 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26055 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26056 (config-LDFLAGS): Renamed to ...
26057 (rtld-LDFLAGS): This.
26058 (rtld-tests-LDFLAGS): New macro.
26059 (link-libc-rpath-link): Likewise.
26060 (link-libc-tests-rpath-link): Likewise.
26061 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26062 (link-libc): Prepand $(link-libc-rpath-link).
26063 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26064 (test-program-prefix): New macro.
26065 (test-via-rtld-prefix): Likewise.
26066 (test-program-cmd): Likewise.
26067 (host-test-program-cmd): Likewise.
26068 * Makefile ($(common-objpfx)testrun.sh): Replace
26069 $(run-program-prefix) with $(test-program-prefix).
26070 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26072 ($(common-objpfx)shlib.lds): Likewise.
26073 (build-module-helper): Likewise.
26074 ($(common-objpfx)format.lds): Likewise.
26075 * Rules (binaries-pie-tests): New.
26076 (binaries-pie-notests): Likewise.
26077 (binaries-pie): Rewritten.
26078 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26079 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26080 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26081 (make-test-out): Replace $(host-built-program-cmd) with
26082 $(host-test-program-cmd).
26083 * config.make.in (build-hardcoded-path-in-tests): New variable.
26084 * configure.in (--enable-hardcoded-path-in-tests): New configure
26086 (hardcoded_path_in_tests): New AC_SUBST.
26087 * configure: Regenerated.
26088 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26089 $(built-program-cmd) with $(test-program-cmd).
26090 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26091 (test_program_cmd): This.
26092 * elf/Makefile ($(objpfx)order.out): Run test with
26093 $(test-program-prefix).
26094 ($(objpfx)order2.out): Likewise.
26095 ($(objpfx)tst-initorder.out): Likewise.
26096 ($(objpfx)tst-initorder2.out): Likewise.
26097 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26098 $(test-program-cmd).
26099 ($(objpfx)tst-array1-static.out): Likewise.
26100 ($(objpfx)tst-array2.out): Likewise.
26101 ($(objpfx)tst-array3.out): Likewise.
26102 ($(objpfx)tst-array4.out): Likewise.
26103 ($(objpfx)tst-array5.out): Likewise.
26104 ($(objpfx)tst-array5-static.out): Likewise.
26105 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26106 $(test-program-cmd).
26107 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26108 $(run-program-prefix) with $(test-program-prefix).
26109 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26110 (test_program_prefix): This.
26111 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26112 $(run-program-prefix) with $(test-program-prefix).
26113 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26114 (test_program_prefix): This.
26115 * iconvdata/tst-tables.sh: Likewise.
26116 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26117 $(run-program-prefix) with $(test-program-prefix).
26118 ($(objpfx)tst-translit.out): Likewise.
26119 ($(objpfx)tst-gettext2.out): Likewise.
26120 ($(objpfx)tst-gettext4.out): Likewise.
26121 ($(objpfx)tst-gettext6.out): Likewise.
26122 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26123 (test_program_prefix): This.
26124 * intl/tst-gettext2.sh: Likewise.
26125 * intl/tst-gettext4.sh Likewise.
26126 * intl/tst-gettext6.sh: Likewise.
26127 * intl/tst-translit.sh: Likewise.
26128 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26129 with $(test-program-cmd).
26130 * libio/Makefile ($(objpfx)test-freopen.out): Replace
26131 $(run-program-prefix) with $(test-program-prefix).
26132 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26133 (test_program_prefix): This.
26134 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26135 $(run-program-prefix) with $(test-program-prefix).
26136 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26137 (test_program_prefix): This.
26138 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26139 * posix/Makefile ($(objpfx)globtest.out): Replace
26140 $(run-via-rtld-prefix) and $(test-wrapper) with
26141 $(test-program-prefix) and $(test-via-rtld-prefix).
26142 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26143 $(test-program-prefix).
26144 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26145 $(host-test-program-cmd).
26146 (tst-spawn-ARGS): Likewise.
26147 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26148 $(test-program-prefix).
26149 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26150 (test_via_rtld_prefix): This.
26151 (test_wrapper): Renamed to ...
26152 (test_program_prefix): This.
26153 (run_program_prefix): Replaced by test_program_prefix.
26154 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26155 (test_program_prefix): This.
26156 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26157 with $(host-test-program-cmd).
26158 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26159 $(run-program-prefix) with $(test-program-prefix).
26160 ($(objpfx)tst-printf.out): Likewise.
26161 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26162 $(test-program-cmd).
26163 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26164 (test_program_prefix): This.
26165 * stdio-common/tst-unbputc.sh: Likewise.
26166 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26167 $(run-program-prefix) with $(test-program-prefix).
26168 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26169 (test_program_prefix): This.
26170 * string/Makefile ($(objpfx)tst-svc.out): Replace
26171 $(built-program-cmd) with $(test-program-cmd).
26173 2013-01-11 Andreas Jaeger <aj@suse.de>
26176 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26177 value. Sync with Linux 3.7.
26179 2013-01-10 David S. Miller <davem@davemloft.net>
26181 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26182 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26183 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26185 2013-01-10 Roland McGrath <roland@hack.frob.com>
26187 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26189 * configure: Regenerated.
26191 2013-01-10 David S. Miller <davem@davemloft.net>
26193 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26194 sparc V9 rather than using V8 code.
26195 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26196 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26198 2013-01-10 Roland McGrath <roland@hack.frob.com>
26200 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26201 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26202 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26203 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26204 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26205 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26206 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26207 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26208 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26209 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26210 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26211 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26212 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26213 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26214 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26215 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26216 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26217 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26218 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26219 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26220 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26221 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26222 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26223 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26224 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26225 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26226 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26228 2013-01-10 David S. Miller <davem@davemloft.net>
26230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26232 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26234 * posix/Makefile (tests-static): New variable.
26235 (tests): Add $(tests-static).
26236 (tst-exec-static-ARGS): New variable.
26237 (tst-spawn-static-ARGS): Likewise.
26238 * posix/tst-exec-static.c: New file.
26239 * posix/tst-spawn-static.c: Likewise.
26240 * posix/tst-exec.c: Support run directly.
26241 * posix/tst-spawn.c: Likewise.
26243 2013-01-10 Joseph Myers <joseph@codesourcery.com>
26245 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26247 * math/bits/mathcalls.h (llrint): Likewise.
26248 (llround): Likewise.
26249 * stdlib/stdlib.h (struct drand48_data): Likewise.
26250 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26251 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26252 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26254 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26256 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26257 (elf_greg_t): Likewise.
26258 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26259 (__jmp_buf): Likewise.
26260 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26262 (llrint): Likewise, for all definitions.
26263 (llrintl): Likewise.
26265 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26266 Remove [__GNUC__] condition.
26267 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26268 condition to just [__USE_ISOC99].
26269 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26271 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26274 * sysdeps/unix/sysv/linux/x86/bits/environments.h
26275 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26277 (_POSIX_V6_ILP32_OFF32): Likewise.
26278 (_XBS5_ILP32_OFF32): Likewise.
26279 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26280 (__ILP32_OFFBIG_LDFLAGS): Likewise.
26282 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26284 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26286 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26287 doubles __mpexp_twomm1. Adjust usage.
26288 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26291 2013-01-10 Andreas Schwab <schwab@suse.de>
26294 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26295 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26297 2013-01-09 David S. Miller <davem@davemloft.net>
26300 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26301 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26302 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26303 (TCP_FASTOPEN): Define.
26304 (tcp_repair_opt): New structure.
26305 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26307 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26308 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26309 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26310 (tcp_cookie_transactions): New structure.
26312 2013-01-09 Anton Blanchard <anton@samba.org>
26314 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26315 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26316 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26317 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26319 2013-01-09 Joseph Myers <joseph@codesourcery.com>
26321 * include/features.h (__USE_ANSI): Remove.
26323 2013-01-09 Roland McGrath <roland@hack.frob.com>
26325 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26327 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26329 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
26331 * sysdeps/s390/fpu/libm-test-ulps: Update.
26333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26335 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26339 (denorm): Likewise.
26340 (__mp_dbl): Likewise.
26341 (__dbl_mp): Likewise.
26342 (add_magnitudes): Likewise.
26343 (sub_magnitudes): Likewise.
26349 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26353 (denorm): Likewise.
26354 (__mp_dbl): Likewise.
26355 (__dbl_mp): Likewise.
26356 (add_magnitudes): Likewise.
26357 (sub_magnitudes): Likewise.
26363 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26367 (denorm): Likewise.
26368 (__mp_dbl): Likewise.
26369 (__dbl_mp): Likewise.
26370 (add_magnitudes): Likewise.
26371 (sub_magnitudes): Likewise.
26378 2013-01-08 Joseph Myers <joseph@codesourcery.com>
26380 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26381 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26382 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26383 2 && __USE_EXTERN_INLINES]: Likewise.
26385 2013-01-08 Andreas Jaeger <aj@suse.de>
26388 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26390 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26391 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26393 2013-01-07 Anton Blanchard <anton@samba.org>
26395 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26396 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26397 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26398 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26399 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26400 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26401 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26402 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26403 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26404 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26405 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26406 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26407 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26408 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26409 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26410 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26411 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26412 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26413 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26414 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26415 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26416 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26417 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26418 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26419 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26420 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26421 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26422 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26423 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26424 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26425 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26426 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26427 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26428 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26429 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26430 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26431 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26432 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26433 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26434 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26435 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26436 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26437 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26439 2013-01-07 Joseph Myers <joseph@codesourcery.com>
26441 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26442 (__MALLOC_PMT): Likewise.
26443 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26444 [__GNUC__], only on [_LIBC].
26445 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26446 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26447 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26448 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26449 forward declaration.
26450 (realloc_hook_ini): Likewise.
26451 (memalign_hook_ini): Likewise.
26452 (__libc_memalign): Do not use __MALLOC_PMT in variable
26454 (__libc_valloc): Likewise.
26455 (__libc_pvalloc): Likewise.
26456 (__libc_calloc): Likewise.
26457 (__posix_memalign): Likewise.
26460 * math/s_casinh.c: Include <float.h>.
26461 (__casinh): Do not do computation with squaring and square root
26462 for large arguments.
26463 * math/s_casinhf.c: Include <float.h>.
26464 (__casinhf): Do not do computation with squaring and square root
26465 for large arguments.
26466 * math/s_casinhl.c: Include <float.h>.
26467 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26468 (__casinhl): Do not do computation with squaring and square root
26469 for large arguments.
26470 * math/libm-test.inc (casin_test): Add more tests.
26471 (casinh_test): Likewise.
26472 * sysdeps/i386/fpu/libm-test-ulps: Update.
26473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26475 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
26477 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26478 (__x86_64_raw_data_cache_size): Likewise.
26479 (__x86_64_data_cache_size_half): Likewise.
26480 (__x86_64_raw_data_cache_size_half): Likewise.
26481 (__x86_64_shared_cache_size): Likewise.
26482 (__x86_64_raw_shared_cache_size): Likewise.
26483 (__x86_64_shared_cache_size_half): Likewise.
26484 (__x86_64_raw_shared_cache_size_half): Likewise.
26485 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26487 (__x86_data_cache_size): This.
26488 (__x86_64_raw_data_cache_size): Renamed to ...
26489 (__x86_raw_data_cache_size): This.
26490 (__x86_64_data_cache_size_half): Renamed to ...
26491 (__x86_data_cache_size_half): This.
26492 (__x86_64_raw_data_cache_size_half): Renamed to ...
26493 (__x86_raw_data_cache_size_half): This.
26494 (__x86_64_shared_cache_size): Renamed to ...
26495 (__x86_shared_cache_size): This.
26496 (__x86_64_raw_shared_cache_size): Renamed to ...
26497 (__x86_raw_shared_cache_size): This.
26498 (__x86_64_shared_cache_size_half): Renamed to ...
26499 (__x86_shared_cache_size_half): This.
26500 (__x86_64_raw_shared_cache_size_half): Renamed to ...
26501 (__x86_raw_shared_cache_size_half): This.
26502 * sysdeps/x86_64/memcpy.S: Updated.
26503 * sysdeps/x86_64/memset.S: Likewise.
26504 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26505 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26506 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26508 2013-01-04 David S. Miller <davem@davemloft.net>
26510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26512 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
26514 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26515 1 to avoid redefinition warning.
26516 (__USE_GNU): Don't define.
26517 (init_signaling_nan): Protoize.
26519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26521 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26523 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26524 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26525 (__cpymn): Likewise.
26526 (norm): Remove commented code.
26527 (denorm): Likewise.
26528 (__mp_dbl): Likewise.
26530 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26531 (__cpymn): Likewise.
26532 (norm): Remove commented code.
26533 (denorm): Likewise.
26534 (__mp_dbl): Likewise.
26537 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26538 mp_no value for 1.0 and 2.0.
26539 (norm): Use RADIXI instead of radixi.d.
26540 (denorm): Likewise.
26541 (__mul): Use 0.0 instead of zero.d.
26542 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26543 mp_no value for 1.0 and 2.0.
26544 (norm): Use RADIXI instead of radixi.d.
26545 (denorm): Likewise.
26546 (__mul): Use 0.0 instead of zero.d.
26548 2013-01-04 Joseph Myers <joseph@codesourcery.com>
26551 * math/s_casinh.c (__casinh): Reduce finite argument to first
26552 quadrant then set signs of results at the end.
26553 * math/s_casinhf.c (__casinhf): Likewise.
26554 * math/s_casinhl.c (__casinhl): Likewise.
26555 * math/libm-test.inc (casin_test): Add more tests.
26556 (casinh_test): Likewise.
26557 * sysdeps/i386/fpu/libm-test-ulps: Update.
26558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26560 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26562 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26564 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26566 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26568 (denorm): Likewise.
26569 (__mp_dbl): Likewise.
26572 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26573 and adjust the header comment.
26575 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26576 variable name from declaration.
26578 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
26580 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26581 Initialize COMMON_CPUID_INDEX_7 element.
26582 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26583 (CPUID_RTM): Likewise.
26584 (HAS_RTM): Likewise.
26585 (COMMON_CPUID_INDEX_7): New enum.
26587 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
26590 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26591 size is zero, record memory as freed.
26593 2013-01-03 Andreas Jaeger <aj@suse.de>
26595 * po/ia.po: Add new Interlingua translation.
26597 2012-01-03 Allan McRae <allan@archlinux.org>
26599 * locale/programs/localedef.c: Fix description of '--posix' flag.
26601 2013-01-02 Joseph Myers <joseph@codesourcery.com>
26603 * NEWS: Update dates in second copyright notice.
26604 * README: Update copyright dates in example.
26605 * manual/libc.texinfo: Update copyright dates.
26606 * scripts/test-installation.pl: Update copyright date in --version
26609 * hurd/ctty-input.c: Fix copyright notice formatting.
26610 * hurd/ctty-output.c: Likewise.
26611 * hurd/dtable.c: Likewise.
26612 * hurd/hurd-raise.c: Likewise.
26613 * hurd/hurdprio.c: Likewise.
26614 * hurd/msgportdemux.c: Likewise.
26615 * misc/sys/file.h: Likewise.
26616 * misc/sys/ioctl.h: Likewise.
26617 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26618 * sysdeps/mach/hurd/chdir.c: Likewise.
26619 * sysdeps/mach/hurd/fchdir.c: Likewise.
26620 * sysdeps/mach/hurd/rename.c: Likewise.
26621 * sysdeps/mach/hurd/rmdir.c: Likewise.
26622 * sysdeps/mach/hurd/seekdir.c: Likewise.
26623 * sysdeps/mach/hurd/setsid.c: Likewise.
26624 * sysdeps/posix/wait3.c: Likewise.
26626 * All files with FSF copyright notices: Update copyright dates
26627 using scripts/update-copyrights.
26628 * intl/plural.c: Regenerated.
26629 * locale/programs/charmap-kw.h: Likewise.
26630 * locale/programs/locfile-kw.h: Likewise.
26632 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26634 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26637 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26638 calculation loop and add branch prediction.
26640 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26641 check access beyond bounds of m1np.
26643 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26645 (__inv): Remove local variable MPTWO to use the global
26647 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26648 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26650 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26651 MP3HALFS static const.
26653 2013-01-01 David S. Miller <davem@davemloft.net>
26655 * po/ca.po: Update from translation team.
26657 2013-01-01 Joseph Myers <joseph@codesourcery.com>
26659 * scripts/update-copyrights: New file.
26660 * Makeconfig: Reformat copyright notice.
26661 * ctype/ctype.h: Likewise.
26662 * debug/swprintf_chk.c: Likewise.
26663 * elf/dl-cache.c: Likewise.
26664 * elf/dl-debug.c: Likewise.
26665 * elf/dl-object.c: Likewise.
26666 * grp/initgroups.c: Likewise.
26667 * hurd/Makefile: Likewise.
26668 * hurd/hurd/signal.h: Likewise.
26669 * hurd/hurdfault.c: Likewise.
26670 * hurd/hurdioctl.c: Likewise.
26671 * hurd/hurdlookup.c: Likewise.
26672 * hurd/intr-msg.c: Likewise.
26673 * iconv/gconv_open.c: Likewise.
26674 * libio/swprintf.c: Likewise.
26675 * locale/lc-ctype.c: Likewise.
26676 * locale/nl_langinfo.c: Likewise.
26677 * mach/Machrules: Likewise.
26678 * mach/Makefile: Likewise.
26679 * malloc/obstack.h: Likewise.
26680 * manual/Makefile: Likewise.
26681 * manual/tsort.awk: Likewise.
26682 * misc/bits/stab.def: Likewise.
26683 * nis/nis_print_group_entry.c: Likewise.
26684 * nis/nis_table.c: Likewise.
26685 * nis/nss_compat/compat-pwd.c: Likewise.
26686 * nis/nss_compat/compat-spwd.c: Likewise.
26687 * po/Makefile: Likewise.
26688 * posix/fnmatch.c: Likewise.
26689 * posix/regex.h: Likewise.
26690 * resolv/Makefile: Likewise.
26691 * resolv/nss_dns/dns-network.c: Likewise.
26692 * resolv/res_hconf.c: Likewise.
26693 * scripts/gen-sorted.awk: Likewise.
26694 * soft-fp/soft-fp.h: Likewise.
26695 * stdio-common/printf.h: Likewise.
26696 * stdlib/monetary.h: Likewise.
26697 * stdlib/random.c: Likewise.
26698 * stdlib/random_r.c: Likewise.
26699 * sysdeps/generic/Makefile: Likewise.
26700 * sysdeps/gnu/Makefile: Likewise.
26701 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26702 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26703 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26704 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26705 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26706 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26707 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26708 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26709 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26710 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26711 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26712 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26713 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26714 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26715 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26716 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26717 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26718 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26719 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26720 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26721 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26722 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26723 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26724 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26725 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26726 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26727 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26728 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26729 * sysdeps/mach/hurd/errnos.awk: Likewise.
26730 * sysdeps/mach/hurd/fork.c: Likewise.
26731 * sysdeps/mach/hurd/getcwd.c: Likewise.
26732 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26733 * sysdeps/mach/hurd/mmap.c: Likewise.
26734 * sysdeps/mach/hurd/utimes.c: Likewise.
26735 * sysdeps/mach/hurd/xmknod.c: Likewise.
26736 * sysdeps/posix/profil.c: Likewise.
26737 * sysdeps/posix/readdir_r.c: Likewise.
26738 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26739 * sysdeps/powerpc/bits/setjmp.h: Likewise.
26740 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26741 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26742 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26743 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26744 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26745 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26746 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26747 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26748 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26749 * sysdeps/pthread/lio_listio.c: Likewise.
26750 * sysdeps/sparc/dl-procinfo.h: Likewise.
26751 * sysdeps/unix/i386/sysdep.S: Likewise.
26752 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26753 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26754 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26755 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26757 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26758 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26759 * sysdeps/unix/sysv/linux/speed.c: Likewise.
26760 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26761 * sysdeps/wordsize-32/divdi3.c: Likewise.
26762 * time/sys/time.h: Likewise.
26763 * wcsmbs/Makefile: Likewise.
26765 2013-01-01 David S. Miller <davem@davemloft.net>
26767 * po/fr.po: Update from translation team.
26769 * catgets/gencat.c: Update copyright year.
26770 * csu/version.c: Likewise.
26771 * debug/catchsegv.sh: Likewise.
26772 * debug/pcprofiledump.c: Likewise.
26773 * debug/xtrace.sh: Likewise.
26774 * elf/ldconfig.c: Likewise.
26775 * elf/ldd.bash.in: Likewise.
26776 * elf/pldd.c: Likewise.
26777 * elf/sotruss.ksh: Likewise.
26778 * elf/sprof.c: Likewise.
26779 * iconv/iconv_prog.c: Likewise.
26780 * iconv/iconvconfig.c: Likewise.
26781 * locale/programs/locale.c: Likewise.
26782 * locale/programs/localedef.c: Likewise.
26783 * login/programs/pt_chown.c: Likewise.
26784 * malloc/memusage.sh: Likewise.
26785 * malloc/memusagestat.c: Likewise.
26786 * malloc/mtrace.pl: Likewise.
26787 * nscd/nscd.c: Likewise.
26788 * nss/getent.c: Likewise.
26789 * nss/makedb.c: Likewise.
26790 * posix/getconf.c: Likewise.
26792 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26794 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26797 2012-12-30 Mike Frysinger <vapier@gentoo.org>
26799 * math/bits/mathcalls.h (modf): Use __nonnull.
26801 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26803 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26804 (split): Use macro CN instead of the bare value.
26805 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26807 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26808 instead of the bare value.
26809 (power1): Likewise.
26811 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26813 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26815 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26817 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26819 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26820 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26821 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26822 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26824 2012-12-28 Andreas Jaeger <aj@suse.de>
26826 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26827 values are from Linux 3.7.
26829 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26830 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26832 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26834 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26837 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26839 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26840 variables with preprocessor constants.
26841 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26842 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26843 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26845 2012-12-27 Bruno Haible <bruno@clisp.org>
26848 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26851 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26853 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26854 and use variable directly.
26855 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26857 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26859 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26860 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26862 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26863 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26864 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26865 include directive. Remove local variable MPONE.
26866 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26867 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26868 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26870 2012-12-25 David S. Miller <davem@davemloft.net>
26872 * version.h (RELEASE): Set to "development".
26873 (VERSION): Set to "2.17.90".
26874 * NEWS: Add 2.18 section.
26876 2012-12-21 David S. Miller <davem@davemloft.net>
26878 * po/hr.po: Update from translation team.
26880 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26882 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26884 2012-12-19 Steve Ellcey <sellcey@mips.com>
26886 * NEWS: Mention new memcpy for MIPS.
26888 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26890 * manual/contrib.texi (Contributors): Spelling correction.
26892 2012-12-15 David S. Miller <davem@davemloft.net>
26894 * po/ru.po: Update from translation team.
26896 2012-12-13 David S. Miller <davem@davemloft.net>
26898 * NEWS: Mention IFUNC testsuite enhancements.
26900 * po/pl.po: Update from translation team.
26901 * po/bg.po: Likewise.
26903 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26904 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26906 2012-12-11 David S. Miller <davem@davemloft.net>
26908 * po/sv.po: Update from translation team.
26910 * po/vi.po: Update from translation team.
26912 * po/cs.po: Update from translation team.
26914 * po/de.po: Update from translation team.
26915 * po/eo.po: Likewise.
26916 * po/nl.po: Likewise.
26918 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26921 * manual/argp.texi (Argp Helper Functions): Move node to follow
26922 Argp Parsing State.
26925 * manual/conf.texi (Limits on File System Capacity): Mention if
26926 terminating null is included in the max size.
26928 2012-12-10 Andreas Jaeger <aj@suse.de>
26930 * po/cs.po: Update from translation team.
26932 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26934 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26935 void pointer and cast to uintptr_t.
26936 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26938 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26939 * sysdeps/s390/s390-64/memset.S: Likewise.
26941 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
26944 * menual/message.texi (Message Translation): Fix typos.
26945 (Helper programs for gettext): Likewise.
26947 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
26950 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26953 2012-12-07 David S. Miller <davem@davemloft.net>
26955 * po/libc.pot: Update.
26957 2012-12-07 Richard Henderson <rth@redhat.com>
26960 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26961 normal/normal case to before the switch.
26962 (_FP_DIV): Likewise.
26964 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
26965 Mike Frysinger <vapier@gentoo.org>
26967 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26968 check for __NR_fadvise64_64.
26970 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
26972 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26973 0, not just to plain "0" as a statement.
26974 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26977 2012-12-06 Joseph Myers <joseph@codesourcery.com>
26979 * NEWS: Use sourceware.org in Bugzilla URL.
26981 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26984 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26986 * stdio-common/tst-put-error.c (do_test): Add newline to the
26987 padded test to ensure flush.
26989 2012-12-05 Jeff Law <law@redhat.com>
26991 * sunrpc/etc.rpc (fedfs_admin): Add entry.
26993 2012-12-05 Joseph Myers <joseph@codesourcery.com>
26995 * README: Don't refer to ports add-on as distributed separately.
26996 Mention AArch64 in list of systems supported in the ports add-on.
26998 * LICENSES: Add more non-FSF copyright and license notices.
27000 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27003 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27005 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27006 10000 as width of padded output.
27008 2012-12-04 Joseph Myers <joseph@codesourcery.com>
27010 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27012 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27013 variable LX with __attribute__ ((unused)).
27014 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27016 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27017 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27018 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27019 with __attribute__ ((unused)).
27021 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
27023 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27025 2012-12-04 Joseph Myers <joseph@codesourcery.com>
27027 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27028 (CFLAGS-nldbl-acos.c): New variable.
27029 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27030 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27031 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27032 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27033 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27034 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27035 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27036 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27037 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27038 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27039 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27040 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27041 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27042 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27043 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27044 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27045 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27046 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27047 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27048 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27049 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27050 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27051 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27052 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27053 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27054 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27055 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27056 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27057 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27058 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27059 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27060 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27061 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27062 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27063 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27064 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27065 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27066 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27067 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27068 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27069 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27070 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27071 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27072 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27073 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27074 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27075 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27076 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27077 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27078 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27079 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27080 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27081 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27082 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27083 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27084 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27085 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27086 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27087 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27088 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27089 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27090 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27091 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27092 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27093 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27094 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27095 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27096 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27097 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27098 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27099 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27100 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27101 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27102 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27103 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27104 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27105 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27106 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27107 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27108 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27109 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27110 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27111 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27112 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27113 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27114 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27115 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27116 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27117 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27118 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27119 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27120 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27121 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27122 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27123 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27124 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27125 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27128 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27131 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27132 whole low double instead of just low 47 bits when splitting values
27135 2012-12-03 Allan McRae <allan@archlinux.org>
27137 * manual/stdio.texi (Predefined Printf Handlers): Remove
27138 @hsep and @vsep usage.
27140 2012-12-03 Mike Frysinger <vapier@gentoo.org>
27142 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27143 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27145 2012-12-03 Jeff Law <law@redhat.com>
27147 * time/sys/time.h (settimeofday): Do not mark TV argument
27150 2012-12-01 Mike Frysinger <vapier@gentoo.org>
27152 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27153 when currently writing and seek to current position when not.
27154 * libio/Makefile (tests): Remove bug-fclose1.
27155 * libio/bug-fclose1.c: Delete.
27157 2012-12-01 Joseph Myers <joseph@codesourcery.com>
27159 * manual/arith.texi (feenableexcept): Fix typo.
27160 (fedisableexcept): Likewise.
27162 2012-11-30 Roland McGrath <roland@hack.frob.com>
27164 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27165 second, differently-typed declaration, rather than a cast.
27167 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27169 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27170 * include/rpc/svc.h: ... here.
27172 2012-11-30 Aurelien Jarno <aurel32@debian.org>
27175 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27176 depending n and resplen2 to catch cases where answer
27179 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
27181 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27182 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27184 2012-11-29 Mike Frysinger <vapier@gentoo.org>
27186 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27188 2012-11-29 Roland McGrath <roland@hack.frob.com>
27190 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27192 2012-11-28 Jeff Law <law@redhat.com>
27195 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27196 dataset_temporary. Track alloca usage into alloca_used.
27197 If dataset is large allocate and release it via malloc/free.
27199 2012-06-04 Florian Weimer <fweimer@redhat.com>
27202 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27204 2012-11-28 David S. Miller <davem@davemloft.net>
27206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27208 2012-11-28 Joseph Myers <joseph@codesourcery.com>
27211 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27212 of pi/2 rounded to nearest to 64 bits.
27213 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27214 nearest to 64 bits.
27215 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27218 2012-11-28 Jeff Law <law@redhat.com>
27219 Martin Osvald <mosvald@redhat.com>
27222 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27223 * sunrpc/svc.c: Include time.h.
27224 (__svc_accept_failed): New function.
27225 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27226 any reason other than EINTR, call __svc_accept_failed.
27227 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27228 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27230 2012-11-28 Andreas Schwab <schwab@suse.de>
27232 * scripts/abilist.awk: Also handle indirect functions in .opd
27235 2012-11-28 Joseph Myers <joseph@codesourcery.com>
27238 * sysdeps/x86/fpu/powl_helper.c: New file.
27239 * sysdeps/x86/fpu/Makefile: Likewise.
27240 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27242 (__ieee754_powl): Use __powl_helper for finite arguments except
27243 integer exponents below 8.
27244 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27246 (__ieee754_powl): Use __powl_helper for finite arguments except
27247 integer exponents below 8.
27248 * math/libm-test.inc (pow_test): Add more tests and enable some
27249 previously disabled tests.
27250 * sysdeps/i386/fpu/libm-test-ulps: Update.
27251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27253 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27254 Carlos O'Donell <carlos_odonell@mentor.com>
27256 * nss/makedb.c (is_prime): Assert that input is odd and greater
27257 than 4. Note that fact in a comment too.
27258 (next_prime): Add 4 to input.
27260 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27263 * libio/Makefile (tests): Add test case tst-fwrite-error.
27264 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27265 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27266 * libio/tst-fwrite-error.c: New test case.
27268 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
27270 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27271 before casting to void *.
27272 * include/libc-internal.h (__pointer_type): New macro.
27273 (__integer_if_pointer_type_sub): Likewise.
27274 (__integer_if_pointer_type): Likewise.
27275 (cast_to_integer): Likewise.
27276 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27277 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27278 before casting to atomic64_t.
27279 (atomic_exchange_acq): Likewise.
27280 (__arch_exchange_and_add_body): Likewise.
27281 (__arch_add_body): Likewise.
27282 (atomic_add_negative): Likewise.
27283 (atomic_add_zero): Likewise.
27285 2012-11-26 Joseph Myers <joseph@codesourcery.com>
27287 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27288 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27289 (add_fdes): Likewise.
27290 (linear_search_fdes): Likewise.
27291 (binary_search_unencoded_fdes): Likewise.
27293 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
27295 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27297 2012-11-24 Adam Conrad <adconrad@0c3.net>
27299 * configure.in: Autodetect C++ header directories.
27300 * configure: Regenerated.
27302 2012-11-23 Mike Frysinger <vapier@gentoo.org>
27304 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27306 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
27308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27310 2012-11-22 Joseph Myers <joseph@codesourcery.com>
27312 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27313 LDBL_MANT_DIG == 106]: Disable some tests.
27314 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27316 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27320 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27321 input for small inputs. Return +/- pi/2 for large inputs.
27322 * math/libm-test.inc (atan_test): Add more tests.
27324 * sysdeps/generic/unwind-dw2-fde-glibc.c
27325 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27326 __attribute__ ((unused)).
27329 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27330 x * y if x and y are nonzero and z is zero.
27333 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27334 nonzero exponents with absolute value below 0x1p-117 to +/-
27338 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27339 up arguments below 2**-450, not just those below 2**-500.
27340 * math/libm-test.inc (hypot_test): Add another test.
27343 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27344 Return a+b for ratio over 2**120, not 2**60.
27345 * math/libm-test.inc (hypot_test): Add another test.
27347 * math/libm-test.inc (clog_test): Use
27348 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27349 (clog10_test): Likewise.
27352 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27354 2012-11-22 Andreas Schwab <schwab@suse.de>
27356 * sysdeps/i386/fpu/libm-test-ulps: Update.
27358 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
27360 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27361 printf output with newline.
27363 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
27366 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27367 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27368 -z nodlopen, -z initfirst and -z execstack support.
27369 * configure: Regenerated.
27371 * elf/elf.h (DF_1_NODIRECT): New macro.
27372 (DF_1_IGNMULDEF): Likewise.
27373 (DF_1_NOKSYMS): Likewise.
27374 (DF_1_NOHDR): Likewise.
27375 (DF_1_EDITED): Likewise.
27376 (DF_1_NORELOC): Likewise.
27377 (DF_1_SYMINTPOSE): Likewise.
27378 (DF_1_GLOBAUDIT): Likewise.
27379 (DF_1_SINGLETON): Likewise.
27380 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27381 DT_1_SUPPORTED_MASK bits.
27382 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27384 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
27386 * sysdeps/unix/make-syscalls.sh: Document prefixes.
27388 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
27390 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27393 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27394 (sendmmsg): Move declarations...
27395 * socket/sys/socket.h: ... here.
27396 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27397 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27399 * socket/recvmmsg.c: ... this new file.
27400 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27401 (sendmmsg): Rename to __sendmmsg, create weak alias and make
27402 definition of __sendmmsg hidden.
27403 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27404 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27405 Move ENOSYS stub into and include it from...
27406 * socket/sendmmsg.c: ... this new file.
27407 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27408 (sysdep_routines): Move recvmmsg and sendmmsg...
27409 * socket/Makefile (routines): ... here.
27410 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27411 (GLIBC_PRIVATE): Add __sendmmsg.
27412 * include/sys/socket.h (__sendmmsg): Add declarations.
27413 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27416 2012-11-20 Joseph Myers <joseph@codesourcery.com>
27418 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27419 variable I1 with __attribute__ ((unused)).
27420 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27422 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27424 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27425 DUMMY variables with __attribute__ ((unused)).
27427 * bits/byteswap.h: Include <bits/types.h>.
27428 (__bswap_64): Use __uint64_t instead of unsigned long long int.
27430 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27432 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27433 string_t. Do not manually set errno.
27434 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27435 length with __strnlen. Make sure to both set errno and return it on
27438 2012-11-19 David S. Miller <davem@davemloft.net>
27440 With help from Joseph Myers.
27441 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27442 very large arguments properly.
27443 * math/libm-test.inc (atan_test): New tests.
27444 (atan2_test): New tests.
27445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27446 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27448 2012-11-19 Joseph Myers <joseph@codesourcery.com>
27451 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27454 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27455 [POSIX] (EADDRNOTAVAIL): Likewise.
27456 [POSIX] (EAFNOSUPPORT): Likewise.
27457 [POSIX] (EALREADY): Likewise.
27458 [POSIX] (ECONNABORTED): Likewise.
27459 [POSIX] (ECONNREFUSED): Likewise.
27460 [POSIX] (ECONNRESET): Likewise.
27461 [POSIX] (EDESTADDRREQ): Likewise.
27462 [POSIX] (EDQUOT): Likewise.
27463 [POSIX] (EHOSTUNREACH): Likewise.
27464 [POSIX] (EIDRM): Likewise.
27465 [POSIX] (EISCONN): Likewise.
27466 [POSIX] (ELOOP): Likewise.
27467 [POSIX] (EMULTIHOP): Likewise.
27468 [POSIX] (ENETDOWN): Likewise.
27469 [POSIX] (ENETUNREACH): Likewise.
27470 [POSIX] (ENOBUFS): Likewise.
27471 [POSIX] (ENODATA): Likewise.
27472 [POSIX] (ENOLINK): Likewise.
27473 [POSIX] (ENOMSG): Likewise.
27474 [POSIX] (ENOPROTOOPT): Likewise.
27475 [POSIX] (ENOSR): Likewise.
27476 [POSIX] (ENOSTR): Likewise.
27477 [POSIX] (ENOTCONN): Likewise.
27478 [POSIX] (ENOTSOCK): Likewise.
27479 [POSIX] (EOPNOTSUPP): Likewise.
27480 [POSIX] (EOVERFLOW): Likewise.
27481 [POSIX] (EPROTO): Likewise.
27482 [POSIX] (EPROTONOSUPPORT): Likewise.
27483 [POSIX] (EPROTOTYPE): Likewise.
27484 [POSIX] (ESTALE): Likewise.
27485 [POSIX] (ETIME): Likewise.
27486 [POSIX] (ETXTBSY): Likewise.
27487 [POSIX] (EWOULDBLOCK): Likewise.
27488 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27489 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27490 [POSIX] (SEEK_CUR): Likewise.
27491 [POSIX] (SEEK_END): Likewise.
27492 [POSIX || UNIX98] (mode_t): Do not require.
27493 [POSIX] (off_t): Likewise.
27494 [POSIX] (pid_t): Likewise.
27495 [POSIX] (sys/stat.h): Do not allow header.
27496 [POSIX] (unistd.h): Likewise.
27497 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27498 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27499 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27500 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27502 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27503 sigevent): Specify elements.
27504 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27506 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27507 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27509 * conform/data/cpio.h-data [POSIX]: Disable whole file.
27510 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27511 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27512 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27513 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27514 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27515 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27516 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27517 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27518 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27519 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27520 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27521 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27522 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27524 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27526 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27528 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27530 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27531 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27532 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27533 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27534 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27535 Specify lower bound on value.
27536 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27537 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27538 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27539 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27540 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27541 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27542 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27543 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27545 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27547 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27548 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27549 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27550 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27551 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27552 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27553 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27554 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27555 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27556 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27557 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27558 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27559 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27560 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27561 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27562 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27564 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27566 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27567 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27568 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27569 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27570 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27571 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27573 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27574 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27575 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27576 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27577 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
27578 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27579 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27581 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27582 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27583 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27584 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27585 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27586 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27587 specify as optional.
27588 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27589 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27590 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27591 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27592 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27593 [XPG3] (NL_LANGMAX): Likewise.
27594 [POSIX || XPG3] (NL_MSGMAX): Likewise.
27595 [POSIX || XPG3] (NL_NMAX): Likewise.
27596 [POSIX || XPG3] (NL_SETMAX): Likewise.
27597 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27598 [XPG3] (NZERO): Likewise.
27599 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27600 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27601 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27602 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27603 (REG_ERANGE): Expect.
27604 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27606 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27607 Use (void) in prototype.
27608 [POSIX] (*_t): Allow.
27609 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27610 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27611 (WRDE_BADVAL): Expect.
27613 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27615 [XPG3 || XPG4] (O_RSYNC): Likewise.
27616 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27618 [XPG3 || XPG4] (pthread_sigmask): Likewise.
27619 [XPG3 || XPG4] (sigqueue): Likewise.
27620 [XPG3 || XPG4] (sigtimedwait): Likewise.
27621 [XPG3 || XPG4] (sigwaitinfo): Likewise.
27622 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27623 [XPG3 || XPG4] (vsnprintf): Likewise.
27624 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27626 [XPG3 || XPG4] (blksize_t): Likewise.
27627 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27629 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27630 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27631 [XPG3 || XPG4] (struct itimerspec): Likewise.
27632 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27633 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27634 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27635 [XPG3 || XPG4] (clockid_t): Likewise.
27636 [XPG3 || XPG4] (timer_t): Likewise.
27637 [XPG3 || XPG4] (clock_getres): Likewise.
27638 [XPG3 || XPG4] (clock_gettime): Likewise.
27639 [XPG3 || XPG4] (clock_settime): Likewise.
27640 [XPG3 || XPG4] (nanosleep): Likewise.
27641 [XPG3 || XPG4] (timer_create): Likewise.
27642 [XPG3 || XPG4] (timer_delete): Likewise.
27643 [XPG3 || XPG4] (timer_gettime): Likewise.
27644 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27645 [XPG3 || XPG4] (timer_settime): Likewise.
27646 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27647 [XPG3 || XPG4] (getlogin_r): Likewise.
27648 [XPG3 || XPG4] (pread): Likewise.
27649 [XPG3 || XPG4] (pthread_atfork): Likewise.
27650 [XPG3 || XPG4] (pwrite): Likewise.
27653 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27656 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27658 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27659 finalizing MALLSTREAM.
27661 * sysdeps/mach/hurd/syncfs.c: New file.
27663 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27666 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27667 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27668 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27669 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27670 (_nss_dns_gethostbyname4_r): Likewise.
27671 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27672 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27674 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27677 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27679 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27681 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27682 * elf/cache.c (print_entry): Print ",AArch64" for
27685 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27686 * elf/cache.c (print_entry): Print ",hard-float" for
27689 2012-11-18 David S. Miller <davem@davemloft.net>
27691 With help from Joseph Myers.
27692 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27694 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27696 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27697 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27699 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27700 * math/libm-test.inc (y0_test): New tests.
27701 (y1_test): New tests.
27702 * sysdeps/i386/fpu/libm-test-ulps: Update.
27703 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27706 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
27708 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27710 * configure: Regenerated.
27712 2012-11-17 David S. Miller <davem@davemloft.net>
27715 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27716 nonzero exponents with absolute value below 0x1p-128 to +/-
27719 2012-11-17 Joseph Myers <joseph@codesourcery.com>
27721 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27723 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27725 * posix/getconf-speclist.c: New file.
27726 * posix/posix-envs.def: Likewise.
27727 * posix/confstr.c (START_ENV_GROUP): New macro.
27728 (END_ENV_GROUP): Likewise.
27729 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27730 (KNOWN_PRESENT_ENV_STRING): Likewise.
27731 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27732 (UNKNOWN_ENVIRONMENT): Likewise.
27733 (confstr): Include posix-envs.def instead of handling
27734 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27735 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27736 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27737 (END_ENV_GROUP): Likewise.
27738 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27739 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27740 (UNKNOWN_ENVIRONMENT): Likewise.
27741 (__sysconf): Include posix-envs.def instead of handling associated
27742 cases directly here.
27743 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27744 preprocessing getconf-speclist.c rather than running getconf or
27745 generating empty file.
27747 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
27749 * scripts/check-local-headers.sh: Ignore 'mach' headers.
27751 2012-11-16 Andrej Lajovic <natrij@gmail.com>
27754 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27756 2012-11-16 David S. Miller <davem@davemloft.net>
27758 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27759 smaller than LDBL_EPSILON/2.0L, just return xm1.
27761 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
27763 * elf/tst-array1.c (init): Set constructor priority to 1000.
27764 (fini): Set destructor priority to 1000.
27765 * elf/tst-array2dep.c: Likewise.
27767 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27770 * libio/fileops.c (_IO_new_file_write): Correctly return error.
27771 (_IO_new_file_xsputn): Also return EOF if none of the input
27772 data was written when overflow failed.
27773 * libio/iopadn.c (_IO_padn): Likewise.
27774 * libio/iowpadn.c (_IO_wpadn): Likewise.
27775 * stdio-common/tst-put-error.c: Add copyright notice.
27776 (do_test): Add case for printing padded string.
27777 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27778 _IO_padn returned error.
27779 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27780 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27783 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27785 * libio/libioP.h: Add comment note that the references to C++
27786 bits are now obsolete.
27788 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27790 * math/libm-test.inc (check_complex): Use asprintf.
27792 2012-11-14 Joseph Myers <joseph@codesourcery.com>
27794 * debug/pcprofiledump.c (print_version): Update copyright year.
27795 * malloc/memusagestat.c (print_version): Likewise.
27797 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
27800 * elf/Makefile (tests): Add tst-audit8.
27801 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27802 ($(objpfx)tst-audit8.out): New target.
27803 (tst-audit8-ENV): New variable.
27804 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27805 audit if l_reloc_result is NULL.
27806 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27807 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27808 * elf/tst-audit8.c: New file.
27810 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27812 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27813 * misc/Makefile (CFLAGS-select.c): Define.
27814 * posix/Makefile (CFLAGS-pause.c): Define.
27816 2012-11-13 David S. Miller <davem@davemloft.net>
27818 * crypt/Makefile: Move test targets after toplevel Rules
27819 inclusion. Grab any necessary sysdep routines when linking.
27820 * crypt/md5.c (md5_process_block): Remove define, we will always
27821 name it __md5_process_block.
27822 (md5_finish_ctx): Update md5_process_block call.
27823 (md5_stream): Likewise.
27824 (md5_process_bytes): Likewise.
27825 (md5_process_block): Rename to __md5_process_block and move to ...
27826 * crypt/md5-block.c: ... here.
27827 * crypt/sha256.c (sha256_process_block): Move to ...
27828 * crypt/sha256-block.c: ... here.
27829 * crypt/sha512.c (sha512_process_block): Move to ...
27830 * crypt/sha512-block.c: ... here.
27831 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27833 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27834 * sysdeps/sparc/sparc64/multiarch/Makefile
27835 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27837 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27838 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27840 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27841 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27842 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27843 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27844 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27845 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27846 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27847 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27848 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27850 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27851 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27853 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27855 2012-11-13 Joseph Myers <joseph@codesourcery.com>
27857 * timezone/tzselect.ksh: Update from tzcode git revision
27858 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27859 * timezone/zdump.c: Likewise.
27860 * timezone/zic.c: Likewise.
27861 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27862 in TZVERSION setting, not $(PKGVERSION).
27863 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27864 REPORT_BUGS_TO settings.
27867 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27870 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27872 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27873 detection to immediately after _FP_ROUND().
27874 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27877 2012-11-11 David S. Miller <davem@davemloft.net>
27879 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27881 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27882 __close rather than their public counterparts.
27884 2012-11-10 Joseph Myers <joseph@codesourcery.com>
27886 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27888 [UNIX98] (sem_timedwait): Do not expect.
27889 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27890 [XPG4 || UNIX98] (sockatmark): Do not expect.
27891 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27892 (clock_getcpuclockid): Do not expect.
27893 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27894 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27896 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27897 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27898 [UNIX98] (vwscanf): Likewise.
27899 [UNIX98] (vswscanf): Likewise.
27901 2012-11-09 Joseph Myers <joseph@codesourcery.com>
27903 * timezone/version.h: Remove file.
27904 * timezone/README: Do not refer to version.h.
27905 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27906 $(objpfx)version.h.
27907 ($(objpfx)zdump.o): Likewise.
27908 ($(objpfx)version.h): New target.
27910 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27912 * timezone/README: Don't mention modification to tzselect.ksh.
27913 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27914 work on unmodified tzselect.ksh. Substitute version numbers in
27917 * Makefile (format-me): Remove.
27918 (INSTALL): Adjust indentation. Use commands directly instead of
27919 using $(format-me).
27921 * aclocal.m4 (ACX_PKGVERSION): New macro.
27922 (ACX_BUGURL): Likewise.
27923 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27924 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27925 (REPORT_BUGS_TO): Likewise.
27926 * configure: Regenerated.
27927 * config.h.in (PKGVERSION): New macro.
27928 (REPORT_BUGS_TO): Likewise.
27929 * config.make.in (PKGVERSION): New variable.
27930 (PKGVERSION_TEXI): Likewise.
27931 (REPORT_BUGS_TO): Likewise.
27932 (REPORT_BUGS_TEXI): Likewise.
27933 * Makefile (format-me): Use -I$(common-objpfx)manual.
27934 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27935 ($(common-objpfx)manual/%): New target.
27936 (manual/%): Remove target.
27937 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27938 (print_version): Use PKGVERSION.
27939 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27940 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27941 and REPORT_BUGS_TO.
27942 ($(objpfx)xtrace): Likewise.
27943 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27944 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27945 (print_version): Use PKGVERSION.
27946 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27947 (do_version): Use PKGVERSION.
27948 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27950 (common-ldd-rewrite): Likewise.
27951 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27952 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27953 (print_version): Use PKGVERSION.
27954 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27955 * elf/pldd.c (argp_program_bug_address): Remove variable.
27956 (more_help): New function.
27957 (argp): Use more_help.
27958 (print_version): Use PKGVERSION.
27959 * elf/sln.c (main): Use PKGVERSION.
27960 (usage): Use REPORT_BUGS_TO.
27961 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27962 (top level): Use PKGVERSION.
27963 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27964 (print_version): Use PKGVERSION.
27965 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27966 (print_version): Use PKGVERSION.
27967 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27968 (print_version): Use PKGVERSION.
27969 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27970 (print_version): Use PKGVERSION.
27971 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27972 (print_version): Use PKGVERSION.
27973 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27974 (print_version): Use PKGVERSION.
27975 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27977 ($(objpfx)memusage): Likewise.
27978 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27979 (do_version): Use PKGVERSION.
27980 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27981 (print_version): Use PKGVERSION.
27982 * malloc/mtrace.pl ($PACKAGE): Remove variable.
27983 ($PKGVERSION): New variable.
27984 ($REPORT_BUGS_TO): Likewise.
27985 (usage): Use $REPORT_BUGS_TO.
27986 (top level): Use $PKGVERSION.
27987 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27988 ($(objpfx)pkgvers.texi): New rule.
27989 ($(objpfx)stamp-pkgvers): Likewise.
27990 * manual/install.texi: Include pkgvers.texi.
27991 (--with-pkgversion): Document new configure option.
27992 (--with-bugurl): Likewise.
27993 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27994 than necessarily for this particular distribution. Use
27995 REPORT_BUGS_TO for where to report bugs.
27996 * INSTALL: Regenerated.
27997 * manual/libc.texinfo: Include pkgvers.texi.
27998 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27999 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28000 (print_version): Use PKGVERSION.
28001 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28002 (print_version): Use PKGVERSION.
28003 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28004 (print_version): Use PKGVERSION.
28005 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28006 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28008 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28009 (print_version): Use PKGVERSION.
28010 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28011 (print_version): Use PKGVERSION.
28012 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28015 * timezone/checktab.awk: Update from tzcode 2012i.
28016 * timezone/ialloc.c: Likewise.
28017 * timezone/private.h: Likewise.
28018 * timezone/scheck.c: Likewise.
28019 * timezone/tzfile.h: Likewise.
28020 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28021 (TZVERSION): Hardcode tzcode version number.
28022 * timezone/zdump.c: Update from tzcode 2012i.
28023 * timezone/zic.c: Likewise.
28024 * timezone/version.h: New file.
28025 * timezone/README: Describe version.h. Update upstream location.
28028 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28029 (mktemp): Enable declaration.
28030 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28031 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28032 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28033 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28035 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28037 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28039 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28041 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28043 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28047 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28048 offset in buffer as u_int32_t not u_long. Consistently use memcpy
28049 for copies of such integer values.
28050 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28051 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28053 2012-11-09 Andreas Jaeger <aj@suse.de>
28055 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28056 definitions and declarations that are provided by
28057 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28059 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28061 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28062 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28063 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28066 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28068 * elf/elf.h: Update comment before AArch64 relocations.
28070 2012-11-07 David S. Miller <davem@davemloft.net>
28072 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28073 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28074 (__start_context): Declare.
28075 (__makecontext_ret): Delete.
28076 (__makecontext): Hook up __start_context instead of
28078 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28079 (sysdep_routines): Add __start_context when in stdlib.
28081 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28083 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28084 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28085 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
28087 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
28088 (READELF): New variable. Use it instead of hardcoded "readelf".
28090 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
28092 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28093 * sysdeps/x86/Makefile: Here.
28094 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28095 * sysdeps/x86/tst-xmmymm.sh: This.
28097 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28099 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28101 [UNIX98] (pthread_barrier_t): Do not expect.
28102 [UNIX98] (pthread_barrierattr_t): Likewise.
28103 [UNIX98] (pthread_spinlock_t): Likewise.
28104 [UNIX98] (pthread_barrier_destroy): Likewise.
28105 [UNIX98] (pthread_barrier_init): Likewise.
28106 [UNIX98] (pthread_barrier_wait): Likewise.
28107 [UNIX98] (pthread_barrierattr_destroy): Likewise.
28108 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28109 [UNIX98] (pthread_barrierattr_init): Likewise.
28110 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28111 [UNIX98] (pthread_getcpuclockid): Likewise.
28112 [UNIX98] (pthread_mutex_timedlock): Likewise.
28113 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28114 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28115 [UNIX98] (pthread_sigmask): Likewise.
28116 [UNIX98] (pthread_spin_destroy): Likewise.
28117 [UNIX98] (pthread_spin_init): Likewise.
28118 [UNIX98] (pthread_spin_lock): Likewise.
28119 [UNIX98] (pthread_spin_trylock): Likewise.
28120 [UNIX98] (pthread_spin_unlock): Likewise.
28121 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28123 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28124 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28125 [XPG3 || XPG4] (pthread_cond_t): Likewise.
28126 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28127 [XPG3 || XPG4] (pthread_key_t): Likewise.
28128 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28129 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28130 [XPG3 || XPG4] (pthread_once_t): Likewise.
28131 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28132 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28133 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28134 [XPG3 || XPG4] (pthread_t): Likewise.
28136 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28138 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28140 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28141 Change function return type to int.
28143 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28144 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28145 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28146 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28147 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28148 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28149 [!POSIX] (posix_madvise): Likewise.
28150 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28152 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28153 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28154 (mode_t): Likewise.
28155 (posix_mem_offset): Likewise.
28156 (posix_typed_mem_get_info): Likewise.
28157 (posix_typed_mem_open): Likewise.
28159 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28160 Change condition to [XOPEN2K8].
28162 * conform/conformtest.pl: Preprocess allow-header data with -x c
28163 instead of from stdin.
28164 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28165 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28166 [C99-based standards] (cerfc): Likewise.
28167 [C99-based standards] (cexp2): Likewise.
28168 [C99-based standards] (cexpm1): Likewise.
28169 [C99-based standards] (clog10): Likewise.
28170 [C99-based standards] (clog1p): Likewise.
28171 [C99-based standards] (clog2): Likewise.
28172 [C99-based standards] (clgamma): Likewise.
28173 [C99-based standards] (ctgamma): Likewise.
28174 [C99-based standards] (cerff): Likewise.
28175 [C99-based standards] (cerfcf): Likewise.
28176 [C99-based standards] (cexp2f): Likewise.
28177 [C99-based standards] (cexpm1f): Likewise.
28178 [C99-based standards] (clog10f): Likewise.
28179 [C99-based standards] (clog1pf): Likewise.
28180 [C99-based standards] (clog2f): Likewise.
28181 [C99-based standards] (clgammaf): Likewise.
28182 [C99-based standards] (ctgammaf): Likewise.
28183 [C99-based standards] (cerfl): Likewise.
28184 [C99-based standards] (cerfcl): Likewise.
28185 [C99-based standards] (cexp2l): Likewise.
28186 [C99-based standards] (cexpm1l): Likewise.
28187 [C99-based standards] (clog10l): Likewise.
28188 [C99-based standards] (clog1pl): Likewise.
28189 [C99-based standards] (clog2l): Likewise.
28190 [C99-based standards] (clgammal): Likewise.
28191 [C99-based standards] (ctgammal): Likewise.
28192 * conform/data/inttypes.h-data [C99-based standards]: Include
28193 stdint.h-data. Remove all expectations for stdint.h contents.
28194 [C99-based standards] (PRI*): Do not allow.
28195 [C99-based standards] (SCN*): Likewise.
28196 [C99-based standards] (*_t): Likewise.
28197 [C99-based-standards] (PRId8): Expect macro.
28198 [C99-based-standards] (PRIi8): Likewise.
28199 [C99-based-standards] (PRIo8): Likewise.
28200 [C99-based-standards] (PRIu8): Likewise.
28201 [C99-based-standards] (PRIx8): Likewise.
28202 [C99-based-standards] (PRIX8): Likewise.
28203 [C99-based-standards] (SCNd8): Likewise.
28204 [C99-based-standards] (SCNi8): Likewise.
28205 [C99-based-standards] (SCNo8): Likewise.
28206 [C99-based-standards] (SCNu8): Likewise.
28207 [C99-based-standards] (SCNx8): Likewise.
28208 [C99-based-standards] (PRIdLEAST8): Likewise.
28209 [C99-based-standards] (PRIiLEAST8): Likewise.
28210 [C99-based-standards] (PRIoLEAST8): Likewise.
28211 [C99-based-standards] (PRIuLEAST8): Likewise.
28212 [C99-based-standards] (PRIxLEAST8): Likewise.
28213 [C99-based-standards] (PRIXLEAST8): Likewise.
28214 [C99-based-standards] (SCNdLEAST8): Likewise.
28215 [C99-based-standards] (SCNiLEAST8): Likewise.
28216 [C99-based-standards] (SCNoLEAST8): Likewise.
28217 [C99-based-standards] (SCNuLEAST8): Likewise.
28218 [C99-based-standards] (SCNxLEAST8): Likewise.
28219 [C99-based-standards] (PRIdFAST8): Likewise.
28220 [C99-based-standards] (PRIiFAST8): Likewise.
28221 [C99-based-standards] (PRIoFAST8): Likewise.
28222 [C99-based-standards] (PRIuFAST8): Likewise.
28223 [C99-based-standards] (PRIxFAST8): Likewise.
28224 [C99-based-standards] (PRIXFAST8): Likewise.
28225 [C99-based-standards] (SCNdFAST8): Likewise.
28226 [C99-based-standards] (SCNiFAST8): Likewise.
28227 [C99-based-standards] (SCNoFAST8): Likewise.
28228 [C99-based-standards] (SCNuFAST8): Likewise.
28229 [C99-based-standards] (SCNxFAST8): Likewise.
28230 [C99-based-standards] (PRId16): Likewise.
28231 [C99-based-standards] (PRIi16): Likewise.
28232 [C99-based-standards] (PRIo16): Likewise.
28233 [C99-based-standards] (PRIu16): Likewise.
28234 [C99-based-standards] (PRIx16): Likewise.
28235 [C99-based-standards] (PRIX16): Likewise.
28236 [C99-based-standards] (SCNd16): Likewise.
28237 [C99-based-standards] (SCNi16): Likewise.
28238 [C99-based-standards] (SCNo16): Likewise.
28239 [C99-based-standards] (SCNu16): Likewise.
28240 [C99-based-standards] (SCNx16): Likewise.
28241 [C99-based-standards] (PRIdLEAST16): Likewise.
28242 [C99-based-standards] (PRIiLEAST16): Likewise.
28243 [C99-based-standards] (PRIoLEAST16): Likewise.
28244 [C99-based-standards] (PRIuLEAST16): Likewise.
28245 [C99-based-standards] (PRIxLEAST16): Likewise.
28246 [C99-based-standards] (PRIXLEAST16): Likewise.
28247 [C99-based-standards] (SCNdLEAST16): Likewise.
28248 [C99-based-standards] (SCNiLEAST16): Likewise.
28249 [C99-based-standards] (SCNoLEAST16): Likewise.
28250 [C99-based-standards] (SCNuLEAST16): Likewise.
28251 [C99-based-standards] (SCNxLEAST16): Likewise.
28252 [C99-based-standards] (PRIdFAST16): Likewise.
28253 [C99-based-standards] (PRIiFAST16): Likewise.
28254 [C99-based-standards] (PRIoFAST16): Likewise.
28255 [C99-based-standards] (PRIuFAST16): Likewise.
28256 [C99-based-standards] (PRIxFAST16): Likewise.
28257 [C99-based-standards] (PRIXFAST16): Likewise.
28258 [C99-based-standards] (SCNdFAST16): Likewise.
28259 [C99-based-standards] (SCNiFAST16): Likewise.
28260 [C99-based-standards] (SCNoFAST16): Likewise.
28261 [C99-based-standards] (SCNuFAST16): Likewise.
28262 [C99-based-standards] (SCNxFAST16): Likewise.
28263 [C99-based-standards] (PRId32): Likewise.
28264 [C99-based-standards] (PRIi32): Likewise.
28265 [C99-based-standards] (PRIo32): Likewise.
28266 [C99-based-standards] (PRIu32): Likewise.
28267 [C99-based-standards] (PRIx32): Likewise.
28268 [C99-based-standards] (PRIX32): Likewise.
28269 [C99-based-standards] (SCNd32): Likewise.
28270 [C99-based-standards] (SCNi32): Likewise.
28271 [C99-based-standards] (SCNo32): Likewise.
28272 [C99-based-standards] (SCNu32): Likewise.
28273 [C99-based-standards] (SCNx32): Likewise.
28274 [C99-based-standards] (PRIdLEAST32): Likewise.
28275 [C99-based-standards] (PRIiLEAST32): Likewise.
28276 [C99-based-standards] (PRIoLEAST32): Likewise.
28277 [C99-based-standards] (PRIuLEAST32): Likewise.
28278 [C99-based-standards] (PRIxLEAST32): Likewise.
28279 [C99-based-standards] (PRIXLEAST32): Likewise.
28280 [C99-based-standards] (SCNdLEAST32): Likewise.
28281 [C99-based-standards] (SCNiLEAST32): Likewise.
28282 [C99-based-standards] (SCNoLEAST32): Likewise.
28283 [C99-based-standards] (SCNuLEAST32): Likewise.
28284 [C99-based-standards] (SCNxLEAST32): Likewise.
28285 [C99-based-standards] (PRIdFAST32): Likewise.
28286 [C99-based-standards] (PRIiFAST32): Likewise.
28287 [C99-based-standards] (PRIoFAST32): Likewise.
28288 [C99-based-standards] (PRIuFAST32): Likewise.
28289 [C99-based-standards] (PRIxFAST32): Likewise.
28290 [C99-based-standards] (PRIXFAST32): Likewise.
28291 [C99-based-standards] (SCNdFAST32): Likewise.
28292 [C99-based-standards] (SCNiFAST32): Likewise.
28293 [C99-based-standards] (SCNoFAST32): Likewise.
28294 [C99-based-standards] (SCNuFAST32): Likewise.
28295 [C99-based-standards] (SCNxFAST32): Likewise.
28296 [C99-based-standards] (PRId64): Likewise.
28297 [C99-based-standards] (PRIi64): Likewise.
28298 [C99-based-standards] (PRIo64): Likewise.
28299 [C99-based-standards] (PRIu64): Likewise.
28300 [C99-based-standards] (PRIx64): Likewise.
28301 [C99-based-standards] (PRIX64): Likewise.
28302 [C99-based-standards] (SCNd64): Likewise.
28303 [C99-based-standards] (SCNi64): Likewise.
28304 [C99-based-standards] (SCNo64): Likewise.
28305 [C99-based-standards] (SCNu64): Likewise.
28306 [C99-based-standards] (SCNx64): Likewise.
28307 [C99-based-standards] (PRIdLEAST64): Likewise.
28308 [C99-based-standards] (PRIiLEAST64): Likewise.
28309 [C99-based-standards] (PRIoLEAST64): Likewise.
28310 [C99-based-standards] (PRIuLEAST64): Likewise.
28311 [C99-based-standards] (PRIxLEAST64): Likewise.
28312 [C99-based-standards] (PRIXLEAST64): Likewise.
28313 [C99-based-standards] (SCNdLEAST64): Likewise.
28314 [C99-based-standards] (SCNiLEAST64): Likewise.
28315 [C99-based-standards] (SCNoLEAST64): Likewise.
28316 [C99-based-standards] (SCNuLEAST64): Likewise.
28317 [C99-based-standards] (SCNxLEAST64): Likewise.
28318 [C99-based-standards] (PRIdFAST64): Likewise.
28319 [C99-based-standards] (PRIiFAST64): Likewise.
28320 [C99-based-standards] (PRIoFAST64): Likewise.
28321 [C99-based-standards] (PRIuFAST64): Likewise.
28322 [C99-based-standards] (PRIxFAST64): Likewise.
28323 [C99-based-standards] (PRIXFAST64): Likewise.
28324 [C99-based-standards] (SCNdFAST64): Likewise.
28325 [C99-based-standards] (SCNiFAST64): Likewise.
28326 [C99-based-standards] (SCNoFAST64): Likewise.
28327 [C99-based-standards] (SCNuFAST64): Likewise.
28328 [C99-based-standards] (SCNxFAST64): Likewise.
28329 [C99-based-standards] (PRIdMAX): Likewise.
28330 [C99-based-standards] (PRIiMAX): Likewise.
28331 [C99-based-standards] (PRIoMAX): Likewise.
28332 [C99-based-standards] (PRIuMAX): Likewise.
28333 [C99-based-standards] (PRIxMAX): Likewise.
28334 [C99-based-standards] (PRIXMAX): Likewise.
28335 [C99-based-standards] (SCNdMAX): Likewise.
28336 [C99-based-standards] (SCNiMAX): Likewise.
28337 [C99-based-standards] (SCNoMAX): Likewise.
28338 [C99-based-standards] (SCNuMAX): Likewise.
28339 [C99-based-standards] (SCNxMAX): Likewise.
28340 [C99-based-standards] (PRIdPTR): Likewise.
28341 [C99-based-standards] (PRIiPTR): Likewise.
28342 [C99-based-standards] (PRIoPTR): Likewise.
28343 [C99-based-standards] (PRIuPTR): Likewise.
28344 [C99-based-standards] (PRIxPTR): Likewise.
28345 [C99-based-standards] (PRIXPTR): Likewise.
28346 [C99-based-standards] (SCNdPTR): Likewise.
28347 [C99-based-standards] (SCNiPTR): Likewise.
28348 [C99-based-standards] (SCNoPTR): Likewise.
28349 [C99-based-standards] (SCNuPTR): Likewise.
28350 [C99-based-standards] (SCNxPTR): Likewise.
28351 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28353 * conform/data/stdint.h-data: Update comments to clarify
28355 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
28357 [C99-based standards] (INT8_MAX): Likewise.
28358 [C99-based standards] (INT16_MIN): Likewise.
28359 [C99-based standards] (INT16_MAX): Likewise.
28360 [C99-based standards] (INT32_MIN): Likewise.
28361 [C99-based standards] (INT32_MAX): Likewise.
28362 [C99-based standards] (INT64_MIN): Likewise.
28363 [C99-based standards] (INT64_MAX): Likewise.
28364 [C99-based standards] (UINT8_MAX): Likewise.
28365 [C99-based standards] (UINT16_MAX): Likewise.
28366 [C99-based standards] (UINT32_MAX): Likewise.
28367 [C99-based standards] (UINT64_MAX): Likewise.
28368 [C99-based standards] (INT_LEAST8_MIN): Likewise.
28369 [C99-based standards] (INT_LEAST8_MAX): Likewise.
28370 [C99-based standards] (INT_LEAST16_MIN): Likewise.
28371 [C99-based standards] (INT_LEAST16_MAX): Likewise.
28372 [C99-based standards] (INT_LEAST32_MIN): Likewise.
28373 [C99-based standards] (INT_LEAST32_MAX): Likewise.
28374 [C99-based standards] (INT_LEAST64_MIN): Likewise.
28375 [C99-based standards] (INT_LEAST64_MAX): Likewise.
28376 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28377 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28378 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28379 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28380 [C99-based standards] (INT_FAST8_MIN): Likewise.
28381 [C99-based standards] (INT_FAST8_MAX): Likewise.
28382 [C99-based standards] (INT_FAST16_MIN): Likewise.
28383 [C99-based standards] (INT_FAST16_MAX): Likewise.
28384 [C99-based standards] (INT_FAST32_MIN): Likewise.
28385 [C99-based standards] (INT_FAST32_MAX): Likewise.
28386 [C99-based standards] (INT_FAST64_MIN): Likewise.
28387 [C99-based standards] (INT_FAST64_MAX): Likewise.
28388 [C99-based standards] (UINT_FAST8_MAX): Likewise.
28389 [C99-based standards] (UINT_FAST16_MAX): Likewise.
28390 [C99-based standards] (UINT_FAST32_MAX): Likewise.
28391 [C99-based standards] (UINT_FAST64_MAX): Likewise.
28392 [C99-based standards] (INTPTR_MIN): Likewise.
28393 [C99-based standards] (INTPTR_MAX): Likewise.
28394 [C99-based standards] (UINTPTR_MAX): Likewise.
28395 [C99-based standards] (INTMAX_MIN): Likewise.
28396 [C99-based standards] (INTMAX_MAX): Likewise.
28397 [C99-based standards] (UINTMAX_MAX): Likewise.
28398 [C99-based standards] (PTRDIFF_MIN): Likewise.
28399 [C99-based standards] (PTRDIFF_MAX): Likewise.
28400 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28401 [C99-based standards] (SIZE_MAX): Likewise.
28402 [C99-based standards] (WCHAR_MAX): Likewise.
28403 [C99-based standards] (WINT_MAX): Likewise.
28404 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
28405 constraint on value.
28406 [C99-based standards] (WCHAR_MIN): Likewise.
28407 [C99-based standards] (WINT_MIN): Likewise.
28408 [C99-based standards] (*_t): Allow.
28409 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28410 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28411 Include math.h-data and complex.h-data. Remove all expectations
28412 of math.h and complex.h contents.
28413 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28415 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28416 (struct tm): Expect tag.
28417 [C99-based-standards] (wcstof): Expect function.
28418 [C99-based-standards] (wcstold): Likewise.
28419 [C99-based-standards] (wcstoll): Likewise.
28420 [C99-based-standards] (wcstoull): Likewise.
28421 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28422 macro-int-constant. Specify type.
28423 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
28424 constraint on value.
28425 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28427 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28429 [ISO C standards]: Do not allow headers.
28430 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28431 wcs[abcdefghijklmnopqrstuvwxyz]*.
28432 [ISO C standards] (*_t): Do not allow.
28433 * conform/data/wctype.h-data [C99-based standards] (iswblank):
28435 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28436 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28438 [ISO C standards]: Do not allow headers.
28439 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28440 is[abcdefghijklmnopqrstuvwxyz]*.
28441 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28442 to[abcdefghijklmnopqrstuvwxyz]*.
28443 [ISO C standards] (*_t): Do not allow.
28444 * conform/data/stdalign.h-data: New file.
28445 * conform/data/stdbool.h-data: Likewise.
28446 * conform/data/stdnoreturn.h-data: Likewise.
28448 2012-11-07 Roland McGrath <roland@hack.frob.com>
28451 * manual/filesys.texi (Directory Entries): Typo fix.
28452 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28454 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28456 * elf/elf.h (EM_AARCH64): New macro.
28457 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28458 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28459 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28460 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28461 (R_AARCH64_TLSDESC): Likewise.
28462 (NT_ARM_TLS): Likewise.
28463 (NT_ARM_HW_BREAK): Likewise.
28464 (NT_ARM_HW_WATCH): Likewise.
28466 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28469 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28470 (__ieee754_powl): Saturate nonzero exponents with absolute value
28471 below 0x1p-79 to +/- 0x1p-79.
28472 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28473 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28474 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28475 nonzero exponents with absolute value below 0x1p-32 to +/-
28477 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28478 (__ieee754_powl): Saturate nonzero exponents with absolute value
28479 below 0x1p-79 to +/- 0x1p-79.
28480 * math/libm-test.inc (pow_test): Add more tests.
28482 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28484 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28485 _dl_s390_cap_flags with kernel. Increase string length.
28486 (_dl_s390_platforms): Add z196 and zEC12.
28488 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28490 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28491 Change XOPEN21K to XOPEN2K.
28493 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
28495 * string/memmove.c: Use memcpy when possible.
28497 2012-11-06 Andreas Jaeger <aj@suse.de>
28499 * po/eo.po: Update from translation team.
28501 2012-11-06 Joseph Myers <joseph@codesourcery.com>
28504 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28505 exponent and small x and y exponents, scale x or y up. Increase
28506 by 2 the exponent used in scaling up.
28507 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28508 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28509 * math/libm-test.inc (fma_test): Add more tests.
28510 (fma_test_towardzero): Likewise.
28511 (fma_test_downward): Likewise.
28512 (fma_test_upward): Likewise.
28514 2012-11-05 Joseph Myers <joseph@codesourcery.com>
28517 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28521 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28522 namespace for names of struct fields.
28523 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28525 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28526 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28528 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28531 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28533 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28535 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28539 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28542 2012-11-04 Joseph Myers <joseph@codesourcery.com>
28545 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28546 definitely overflow as x * y not x * y + z.
28547 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28548 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28549 * math/libm-test.inc (fma_test): Add more tests.
28550 (fma_test_towardzero): Likewise.
28551 (fma_test_downward): Likewise.
28552 (fma_test_upward): Likewise.
28554 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28558 * include/stub-tag.h: Remove file.
28559 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28561 * manual/maint.texi (Porting): Don't reference it.
28562 * Makerules ($(objpfx)stubs): Likewise.
28563 * dirent/closedir.c: Don't include <stub-tag.h>.
28564 * dirent/dirfd.c: Likewise.
28565 * dirent/fdopendir.c: Likewise.
28566 * dirent/getdents.c: Likewise.
28567 * dirent/getdents64.c: Likewise.
28568 * dirent/opendir.c: Likewise.
28569 * dirent/readdir.c: Likewise.
28570 * dirent/readdir64.c: Likewise.
28571 * dirent/readdir64_r.c: Likewise.
28572 * dirent/readdir_r.c: Likewise.
28573 * dirent/rewinddir.c: Likewise.
28574 * dirent/seekdir.c: Likewise.
28575 * dirent/telldir.c: Likewise.
28576 * gmon/profil.c: Likewise.
28577 * grp/setgroups.c: Likewise.
28578 * inet/if_index.c: Likewise.
28579 * io/access.c: Likewise.
28580 * io/chdir.c: Likewise.
28581 * io/chmod.c: Likewise.
28582 * io/chown.c: Likewise.
28583 * io/close.c: Likewise.
28584 * io/dup.c: Likewise.
28585 * io/dup2.c: Likewise.
28586 * io/dup3.c: Likewise.
28587 * io/euidaccess.c: Likewise.
28588 * io/faccessat.c: Likewise.
28589 * io/fchdir.c: Likewise.
28590 * io/fchmod.c: Likewise.
28591 * io/fchmodat.c: Likewise.
28592 * io/fchown.c: Likewise.
28593 * io/fchownat.c: Likewise.
28594 * io/fcntl.c: Likewise.
28595 * io/flock.c: Likewise.
28596 * io/fstatfs.c: Likewise.
28597 * io/fstatfs64.c: Likewise.
28598 * io/fstatvfs.c: Likewise.
28599 * io/fstatvfs64.c: Likewise.
28600 * io/futimens.c: Likewise.
28601 * io/fxstat.c: Likewise.
28602 * io/fxstat64.c: Likewise.
28603 * io/fxstatat.c: Likewise.
28604 * io/fxstatat64.c: Likewise.
28605 * io/getcwd.c: Likewise.
28606 * io/isatty.c: Likewise.
28607 * io/lchmod.c: Likewise.
28608 * io/lchown.c: Likewise.
28609 * io/link.c: Likewise.
28610 * io/linkat.c: Likewise.
28611 * io/lseek.c: Likewise.
28612 * io/lseek64.c: Likewise.
28613 * io/lxstat64.c: Likewise.
28614 * io/mkdir.c: Likewise.
28615 * io/mkdirat.c: Likewise.
28616 * io/mkfifo.c: Likewise.
28617 * io/mkfifoat.c: Likewise.
28618 * io/open.c: Likewise.
28619 * io/open64.c: Likewise.
28620 * io/openat.c: Likewise.
28621 * io/openat64.c: Likewise.
28622 * io/pipe.c: Likewise.
28623 * io/pipe2.c: Likewise.
28624 * io/poll.c: Likewise.
28625 * io/posix_fadvise.c: Likewise.
28626 * io/posix_fadvise64.c: Likewise.
28627 * io/posix_fallocate.c: Likewise.
28628 * io/posix_fallocate64.c: Likewise.
28629 * io/read.c: Likewise.
28630 * io/readlink.c: Likewise.
28631 * io/readlinkat.c: Likewise.
28632 * io/rmdir.c: Likewise.
28633 * io/sendfile.c: Likewise.
28634 * io/sendfile64.c: Likewise.
28635 * io/statfs.c: Likewise.
28636 * io/statfs64.c: Likewise.
28637 * io/statvfs.c: Likewise.
28638 * io/statvfs64.c: Likewise.
28639 * io/symlink.c: Likewise.
28640 * io/symlinkat.c: Likewise.
28641 * io/ttyname.c: Likewise.
28642 * io/ttyname_r.c: Likewise.
28643 * io/umask.c: Likewise.
28644 * io/unlink.c: Likewise.
28645 * io/unlinkat.c: Likewise.
28646 * io/utime.c: Likewise.
28647 * io/utimensat.c: Likewise.
28648 * io/write.c: Likewise.
28649 * io/xmknod.c: Likewise.
28650 * io/xmknodat.c: Likewise.
28651 * io/xstat.c: Likewise.
28652 * io/xstat64.c: Likewise.
28653 * login/getpt.c: Likewise.
28654 * login/grantpt.c: Likewise.
28655 * login/unlockpt.c: Likewise.
28656 * math/e_acoshl.c: Likewise.
28657 * math/e_acosl.c: Likewise.
28658 * math/e_asinl.c: Likewise.
28659 * math/e_atan2l.c: Likewise.
28660 * math/e_atanhl.c: Likewise.
28661 * math/e_coshl.c: Likewise.
28662 * math/e_expl.c: Likewise.
28663 * math/e_fmodl.c: Likewise.
28664 * math/e_gammal_r.c: Likewise.
28665 * math/e_hypotl.c: Likewise.
28666 * math/e_j0l.c: Likewise.
28667 * math/e_j1l.c: Likewise.
28668 * math/e_jnl.c: Likewise.
28669 * math/e_lgammal_r.c: Likewise.
28670 * math/e_log10l.c: Likewise.
28671 * math/e_log2l.c: Likewise.
28672 * math/e_logl.c: Likewise.
28673 * math/e_powl.c: Likewise.
28674 * math/e_rem_pio2l.c: Likewise.
28675 * math/e_sinhl.c: Likewise.
28676 * math/e_sqrtl.c: Likewise.
28677 * math/fclrexcpt.c: Likewise.
28678 * math/fedisblxcpt.c: Likewise.
28679 * math/feenablxcpt.c: Likewise.
28680 * math/fegetenv.c: Likewise.
28681 * math/fegetexcept.c: Likewise.
28682 * math/fegetround.c: Likewise.
28683 * math/feholdexcpt.c: Likewise.
28684 * math/fesetenv.c: Likewise.
28685 * math/fesetround.c: Likewise.
28686 * math/feupdateenv.c: Likewise.
28687 * math/fgetexcptflg.c: Likewise.
28688 * math/fraiseexcpt.c: Likewise.
28689 * math/fsetexcptflg.c: Likewise.
28690 * math/ftestexcept.c: Likewise.
28691 * math/k_cosl.c: Likewise.
28692 * math/k_rem_pio2l.c: Likewise.
28693 * math/k_sinl.c: Likewise.
28694 * math/k_tanl.c: Likewise.
28695 * math/s_asinhl.c: Likewise.
28696 * math/s_atanl.c: Likewise.
28697 * math/s_cbrtl.c: Likewise.
28698 * math/s_erfl.c: Likewise.
28699 * math/s_expm1l.c: Likewise.
28700 * math/s_log1pl.c: Likewise.
28701 * math/s_tanhl.c: Likewise.
28702 * misc/acct.c: Likewise.
28703 * misc/brk.c: Likewise.
28704 * misc/chflags.c: Likewise.
28705 * misc/chroot.c: Likewise.
28706 * misc/fchflags.c: Likewise.
28707 * misc/fgetxattr.c: Likewise.
28708 * misc/flistxattr.c: Likewise.
28709 * misc/fremovexattr.c: Likewise.
28710 * misc/fsetxattr.c: Likewise.
28711 * misc/fsync.c: Likewise.
28712 * misc/ftruncate.c: Likewise.
28713 * misc/futimes.c: Likewise.
28714 * misc/futimesat.c: Likewise.
28715 * misc/getdomain.c: Likewise.
28716 * misc/getdtsz.c: Likewise.
28717 * misc/gethostid.c: Likewise.
28718 * misc/gethostname.c: Likewise.
28719 * misc/getloadavg.c: Likewise.
28720 * misc/getpagesize.c: Likewise.
28721 * misc/getsysstats.c: Likewise.
28722 * misc/getxattr.c: Likewise.
28723 * misc/gtty.c: Likewise.
28724 * misc/ioctl.c: Likewise.
28725 * misc/lgetxattr.c: Likewise.
28726 * misc/listxattr.c: Likewise.
28727 * misc/llistxattr.c: Likewise.
28728 * misc/lremovexattr.c: Likewise.
28729 * misc/lsetxattr.c: Likewise.
28730 * misc/lutimes.c: Likewise.
28731 * misc/madvise.c: Likewise.
28732 * misc/mincore.c: Likewise.
28733 * misc/mlock.c: Likewise.
28734 * misc/mlockall.c: Likewise.
28735 * misc/mmap.c: Likewise.
28736 * misc/mprotect.c: Likewise.
28737 * misc/msync.c: Likewise.
28738 * misc/munlock.c: Likewise.
28739 * misc/munlockall.c: Likewise.
28740 * misc/munmap.c: Likewise.
28741 * misc/preadv.c: Likewise.
28742 * misc/preadv64.c: Likewise.
28743 * misc/ptrace.c: Likewise.
28744 * misc/pwritev.c: Likewise.
28745 * misc/pwritev64.c: Likewise.
28746 * misc/readv.c: Likewise.
28747 * misc/reboot.c: Likewise.
28748 * misc/remap_file_pages.c: Likewise.
28749 * misc/removexattr.c: Likewise.
28750 * misc/revoke.c: Likewise.
28751 * misc/select.c: Likewise.
28752 * misc/setdomain.c: Likewise.
28753 * misc/setegid.c: Likewise.
28754 * misc/seteuid.c: Likewise.
28755 * misc/sethostid.c: Likewise.
28756 * misc/sethostname.c: Likewise.
28757 * misc/setregid.c: Likewise.
28758 * misc/setreuid.c: Likewise.
28759 * misc/setxattr.c: Likewise.
28760 * misc/sstk.c: Likewise.
28761 * misc/stty.c: Likewise.
28762 * misc/swapoff.c: Likewise.
28763 * misc/swapon.c: Likewise.
28764 * misc/sync.c: Likewise.
28765 * misc/syncfs.c: Likewise.
28766 * misc/syscall.c: Likewise.
28767 * misc/truncate.c: Likewise.
28768 * misc/ualarm.c: Likewise.
28769 * misc/usleep.c: Likewise.
28770 * misc/ustat.c: Likewise.
28771 * misc/utimes.c: Likewise.
28772 * misc/vhangup.c: Likewise.
28773 * misc/writev.c: Likewise.
28774 * posix/_exit.c: Likewise.
28775 * posix/alarm.c: Likewise.
28776 * posix/execve.c: Likewise.
28777 * posix/fexecve.c: Likewise.
28778 * posix/fork.c: Likewise.
28779 * posix/fpathconf.c: Likewise.
28780 * posix/getaddrinfo.c: Likewise.
28781 * posix/getegid.c: Likewise.
28782 * posix/geteuid.c: Likewise.
28783 * posix/getgid.c: Likewise.
28784 * posix/getgroups.c: Likewise.
28785 * posix/getlogin.c: Likewise.
28786 * posix/getlogin_r.c: Likewise.
28787 * posix/getpgid.c: Likewise.
28788 * posix/getpid.c: Likewise.
28789 * posix/getppid.c: Likewise.
28790 * posix/getresgid.c: Likewise.
28791 * posix/getresuid.c: Likewise.
28792 * posix/getsid.c: Likewise.
28793 * posix/getuid.c: Likewise.
28794 * posix/glob64.c: Likewise.
28795 * posix/nanosleep.c: Likewise.
28796 * posix/pathconf.c: Likewise.
28797 * posix/pause.c: Likewise.
28798 * posix/posix_madvise.c: Likewise.
28799 * posix/pread.c: Likewise.
28800 * posix/pread64.c: Likewise.
28801 * posix/pwrite.c: Likewise.
28802 * posix/pwrite64.c: Likewise.
28803 * posix/sched_getaffinity.c: Likewise.
28804 * posix/sched_getp.c: Likewise.
28805 * posix/sched_gets.c: Likewise.
28806 * posix/sched_primax.c: Likewise.
28807 * posix/sched_primin.c: Likewise.
28808 * posix/sched_rr_gi.c: Likewise.
28809 * posix/sched_setaffinity.c: Likewise.
28810 * posix/sched_setp.c: Likewise.
28811 * posix/sched_sets.c: Likewise.
28812 * posix/sched_yield.c: Likewise.
28813 * posix/setgid.c: Likewise.
28814 * posix/setlogin.c: Likewise.
28815 * posix/setpgid.c: Likewise.
28816 * posix/setresgid.c: Likewise.
28817 * posix/setresuid.c: Likewise.
28818 * posix/setsid.c: Likewise.
28819 * posix/setuid.c: Likewise.
28820 * posix/sleep.c: Likewise.
28821 * posix/spawni.c: Likewise.
28822 * posix/sysconf.c: Likewise.
28823 * posix/times.c: Likewise.
28824 * posix/wait.c: Likewise.
28825 * posix/wait3.c: Likewise.
28826 * posix/wait4.c: Likewise.
28827 * posix/waitpid.c: Likewise.
28828 * resolv/gai_sigqueue.c: Likewise.
28829 * resource/getpriority.c: Likewise.
28830 * resource/getrlimit.c: Likewise.
28831 * resource/getrusage.c: Likewise.
28832 * resource/nice.c: Likewise.
28833 * resource/setpriority.c: Likewise.
28834 * resource/setrlimit.c: Likewise.
28835 * resource/ulimit.c: Likewise.
28836 * rt/aio_cancel.c: Likewise.
28837 * rt/aio_fsync.c: Likewise.
28838 * rt/aio_read.c: Likewise.
28839 * rt/aio_sigqueue.c: Likewise.
28840 * rt/aio_suspend.c: Likewise.
28841 * rt/aio_write.c: Likewise.
28842 * rt/clock_getres.c: Likewise.
28843 * rt/clock_gettime.c: Likewise.
28844 * rt/clock_nanosleep.c: Likewise.
28845 * rt/clock_settime.c: Likewise.
28846 * rt/lio_listio.c: Likewise.
28847 * rt/mq_close.c: Likewise.
28848 * rt/mq_getattr.c: Likewise.
28849 * rt/mq_notify.c: Likewise.
28850 * rt/mq_open.c: Likewise.
28851 * rt/mq_receive.c: Likewise.
28852 * rt/mq_send.c: Likewise.
28853 * rt/mq_setattr.c: Likewise.
28854 * rt/mq_timedreceive.c: Likewise.
28855 * rt/mq_timedsend.c: Likewise.
28856 * rt/mq_unlink.c: Likewise.
28857 * rt/shm_open.c: Likewise.
28858 * rt/shm_unlink.c: Likewise.
28859 * rt/timer_create.c: Likewise.
28860 * rt/timer_delete.c: Likewise.
28861 * rt/timer_getoverr.c: Likewise.
28862 * rt/timer_gettime.c: Likewise.
28863 * rt/timer_settime.c: Likewise.
28864 * setjmp/__longjmp.c: Likewise.
28865 * setjmp/setjmp.c: Likewise.
28866 * signal/kill.c: Likewise.
28867 * signal/killpg.c: Likewise.
28868 * signal/raise.c: Likewise.
28869 * signal/sigaction.c: Likewise.
28870 * signal/sigaltstack.c: Likewise.
28871 * signal/sigblock.c: Likewise.
28872 * signal/sigignore.c: Likewise.
28873 * signal/sigintr.c: Likewise.
28874 * signal/signal.c: Likewise.
28875 * signal/sigpause.c: Likewise.
28876 * signal/sigpending.c: Likewise.
28877 * signal/sigqueue.c: Likewise.
28878 * signal/sigreturn.c: Likewise.
28879 * signal/sigset.c: Likewise.
28880 * signal/sigsetmask.c: Likewise.
28881 * signal/sigstack.c: Likewise.
28882 * signal/sigsuspend.c: Likewise.
28883 * signal/sigtimedwait.c: Likewise.
28884 * signal/sigvec.c: Likewise.
28885 * signal/sigwait.c: Likewise.
28886 * signal/sigwaitinfo.c: Likewise.
28887 * signal/sysv_signal.c: Likewise.
28888 * socket/accept.c: Likewise.
28889 * socket/accept4.c: Likewise.
28890 * socket/bind.c: Likewise.
28891 * socket/connect.c: Likewise.
28892 * socket/getpeername.c: Likewise.
28893 * socket/getsockname.c: Likewise.
28894 * socket/getsockopt.c: Likewise.
28895 * socket/isfdtype.c: Likewise.
28896 * socket/listen.c: Likewise.
28897 * socket/recv.c: Likewise.
28898 * socket/recvfrom.c: Likewise.
28899 * socket/recvmsg.c: Likewise.
28900 * socket/send.c: Likewise.
28901 * socket/sendmsg.c: Likewise.
28902 * socket/sendto.c: Likewise.
28903 * socket/setsockopt.c: Likewise.
28904 * socket/shutdown.c: Likewise.
28905 * socket/sockatmark.c: Likewise.
28906 * socket/socket.c: Likewise.
28907 * socket/socketpair.c: Likewise.
28908 * stdio-common/ctermid.c: Likewise.
28909 * stdio-common/cuserid.c: Likewise.
28910 * stdio-common/remove.c: Likewise.
28911 * stdio-common/rename.c: Likewise.
28912 * stdio-common/renameat.c: Likewise.
28913 * stdio-common/tempname.c: Likewise.
28914 * stdlib/getcontext.c: Likewise.
28915 * stdlib/makecontext.c: Likewise.
28916 * stdlib/setcontext.c: Likewise.
28917 * stdlib/swapcontext.c: Likewise.
28918 * stdlib/system.c: Likewise.
28919 * streams/fattach.c: Likewise.
28920 * streams/fdetach.c: Likewise.
28921 * streams/getmsg.c: Likewise.
28922 * streams/getpmsg.c: Likewise.
28923 * streams/putmsg.c: Likewise.
28924 * streams/putpmsg.c: Likewise.
28925 * sysdeps/unix/bsd/getpt.c: Likewise.
28926 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28927 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28928 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28931 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28932 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28933 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28934 * sysvipc/msgctl.c: Likewise.
28935 * sysvipc/msgget.c: Likewise.
28936 * sysvipc/msgrcv.c: Likewise.
28937 * sysvipc/msgsnd.c: Likewise.
28938 * sysvipc/semctl.c: Likewise.
28939 * sysvipc/semget.c: Likewise.
28940 * sysvipc/semop.c: Likewise.
28941 * sysvipc/semtimedop.c: Likewise.
28942 * sysvipc/shmat.c: Likewise.
28943 * sysvipc/shmctl.c: Likewise.
28944 * sysvipc/shmdt.c: Likewise.
28945 * sysvipc/shmget.c: Likewise.
28946 * termios/tcdrain.c: Likewise.
28947 * termios/tcflow.c: Likewise.
28948 * termios/tcflush.c: Likewise.
28949 * termios/tcgetattr.c: Likewise.
28950 * termios/tcgetpgrp.c: Likewise.
28951 * termios/tcsendbrk.c: Likewise.
28952 * termios/tcsetattr.c: Likewise.
28953 * termios/tcsetpgrp.c: Likewise.
28954 * time/adjtime.c: Likewise.
28955 * time/clock.c: Likewise.
28956 * time/getitimer.c: Likewise.
28957 * time/gettimeofday.c: Likewise.
28958 * time/setitimer.c: Likewise.
28959 * time/settimeofday.c: Likewise.
28960 * time/stime.c: Likewise.
28961 * time/time.c: Likewise.
28963 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
28965 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28968 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28970 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28972 2012-11-03 Joseph Myers <joseph@codesourcery.com>
28975 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28976 FE_TONEAREST before applying Dekker multiplication and Knuth
28977 addition. Clear inexact exceptions and check for exact zero
28978 results afterwards.
28979 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28980 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28981 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28982 * math/libm-test.inc (fma_test): Add more tests.
28983 (fma_test_towardzero): Likewise.
28984 (fma_test_downward): Likewise.
28985 (fma_test_upward): Likewise.
28986 * sysdeps/generic/math_private.h (default_libc_fesetround): New
28988 (libc_fesetround): New macro.
28989 (libc_fesetroundf): Likewise.
28990 (libc_fesetroundl): Likewise.
28991 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28993 (libc_fesetround_387): Likewise.
28994 (libc_fesetroundf): New macro.
28995 (libc_fesetround): Likewise.
28996 (libc_fesetroundl): Likewise.
28997 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28999 (libc_fesetroundf): New macro.
29000 (libc_fesetround): Likewise.
29001 (libc_fesetroundl): Likewise.
29002 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29003 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29004 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29006 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29007 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29009 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29010 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29012 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29016 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29017 integer constant usable in #if and use that to give value to enum
29019 (FE_DIVBYZERO): Likewise.
29020 (FE_UNDERFLOW): Likewise.
29021 (FE_OVERFLOW): Likewise.
29022 (FE_INVALID): Likewise.
29023 (FE_INVALID_SNAN): Likewise.
29024 (FE_INVALID_ISI): Likewise.
29025 (FE_INVALID_IDI): Likewise.
29026 (FE_INVALID_ZDZ): Likewise.
29027 (FE_INVALID_IMZ): Likewise.
29028 (FE_INVALID_COMPARE): Likewise.
29029 (FE_INVALID_SOFTWARE): Likewise.
29030 (FE_INVALID_SQRT): Likewise.
29031 (FE_INVALID_INTEGER_CONVERSION): Likewise.
29032 (FE_TONEAREST): Likewise.
29033 (FE_TOWARDZERO): Likewise.
29034 (FE_UPWARD): Likewise.
29035 (FE_DOWNWARD): Likewise.
29036 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29037 (FE_DIVBYZERO): Likewise.
29038 (FE_OVERFLOW): Likewise.
29039 (FE_UNDERFLOW): Likewise.
29040 (FE_INEXACT): Likewise.
29041 (FE_TONEAREST): Likewise.
29042 (FE_DOWNWARD): Likewise.
29043 (FE_UPWARD): Likewise.
29044 (FE_TOWARDZERO): Likewise.
29045 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29046 (FE_UNDERFLOW): Likewise.
29047 (FE_OVERFLOW): Likewise.
29048 (FE_DIVBYZERO): Likewise.
29049 (FE_INVALID): Likewise.
29050 (FE_TONEAREST): Likewise.
29051 (FE_TOWARDZERO): Likewise.
29052 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29053 (FE_OVERFLOW): Likewise.
29054 (FE_UNDERFLOW): Likewise.
29055 (FE_DIVBYZERO): Likewise.
29056 (FE_INEXACT): Likewise.
29057 (FE_TONEAREST): Likewise.
29058 (FE_TOWARDZERO): Likewise.
29059 (FE_UPWARD): Likewise.
29060 (FE_DOWNWARD): Likewise.
29061 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29062 (FE_DIVBYZERO): Likewise.
29063 (FE_OVERFLOW): Likewise.
29064 (FE_UNDERFLOW): Likewise.
29065 (FE_INEXACT): Likewise.
29066 (FE_TONEAREST): Likewise.
29067 (FE_DOWNWARD): Likewise.
29068 (FE_UPWARD): Likewise.
29069 (FE_TOWARDZERO): Likewise.
29071 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
29073 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29075 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
29077 * scripts/cross-test-ssh.sh (command): Use newlines to separate
29078 commands. Quote $PWD.
29079 (blacklist_exports): Don't use remove_newlines. Replace "declare
29081 (remove_newlines): Remove.
29083 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
29085 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29086 * stdlib/stdlib.h (atof): Moved to ...
29087 * include/bits/stdlib-float.h: Here. New file.
29088 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29089 * stdlib/bits/stdlib-float.h: New file.
29090 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29092 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29095 2012-11-02 Joseph Myers <joseph@codesourcery.com>
29097 * conform/conformtest.pl (@headers): Add fenv.h.
29098 * conform/data/fenv.h-data: New file.
29099 * include/fenv.h [_ISOMAC]: Disable all contents of file except
29100 include of <math/fenv.h>.
29102 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29103 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29104 && !UNIX98]. Enables tests for XOPEN2K8.
29105 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29106 POSIX2008]: Likewise.
29108 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29109 (struct rusage): Do not expect type or its members.
29112 * math/math.h (FP_NAN): Define macro to integer constant usable in
29113 #if and use that to give value to enum constant.
29114 (FP_INFINITE): Likewise.
29115 (FP_ZERO): Likewise.
29116 (FP_SUBNORMAL): Likewise.
29117 (FP_NORMAL): Likewise.
29119 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
29121 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29122 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29125 2012-11-02 Roland McGrath <roland@hack.frob.com>
29127 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29128 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29129 autoconf-time if not.
29130 * configure.in: Remove AC_PREREQ.
29132 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29134 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29135 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29136 of the internal implementation.
29138 2012-11-02 Joseph Myers <joseph@codesourcery.com>
29140 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29141 except include of <misc/sys/syslog.h>.
29143 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29146 function returns with a NULL context exit with zero.
29148 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29150 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29152 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
29154 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29155 (run_program_cmd): This.
29156 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29157 (tst_langinfo): New variable. Use it.
29159 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
29161 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29162 floating point opcodes.
29164 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29166 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29169 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29171 * sysdeps/mach/hurd/powerpc: Remove directory.
29172 * sysdeps/mach/powerpc: Likewise.
29174 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
29176 * scripts/check-local-headers.sh: Ignore c++ headers.
29178 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29180 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29181 __libc_cleanup_region_start argument.
29183 2012-11-01 Joseph Myers <joseph@codesourcery.com>
29187 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29188 x * y using scaling, not as x * y + z.
29189 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29190 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29191 * math/libm-test.inc (fma_test): Add more tests.
29192 (fma_test_towardzero): Likewise.
29193 (fma_test_downward): Likewise.
29194 (fma_test_upward): Likewise.
29196 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
29198 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29200 2012-10-31 Joseph Myers <joseph@codesourcery.com>
29202 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29205 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
29207 * rt/tst-shm.c (worker): Correct checking for mmap failure.
29209 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29216 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29219 Fix the order of the list for glibc 2.17.
29220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29223 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
29225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29227 2012-10-31 Joseph Myers <joseph@codesourcery.com>
29230 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29231 for low part of x being zero before using __atanl (y).
29232 * math/libm-test.inc (atan2_test): Add another test.
29234 * manual/install.texi (Configuring and compiling): Document
29235 general use of test-wrapper and test-wrapper-env.
29236 * INSTALL: Regenerated.
29238 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29239 (__fma): Do not extract and scale down low bits on after-rounding
29240 systems when result rounded to normal precision would have normal
29242 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29243 (__fmal): Do not extract and scale down low bits on after-rounding
29244 systems when result rounded to normal precision would have normal
29246 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29247 (__fmal): Do not extract and scale down low bits on after-rounding
29248 systems when result rounded to normal precision would have normal
29250 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29252 (fma_test): Add more tests.
29253 (fma_test_towardzero): Likewise.
29254 (fma_test_downward): Likewise.
29255 (fma_test_upward): Likewise.
29257 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
29259 * sysdeps/i386/tininess.h: Renamed to ...
29260 * sysdeps/x86/tininess.h: This.
29261 * sysdeps/x86_64/tininess.h: Removed.
29263 2012-10-30 Joseph Myers <joseph@codesourcery.com>
29265 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29266 input. Use $(build-program-cmd).
29267 ($(objpfx)tst-array1-static.out): Likewise.
29268 ($(objpfx)tst-array2.out): Likewise.
29269 ($(objpfx)tst-array3.out): Likewise.
29270 ($(objpfx)tst-array4.out): Likewise.
29271 ($(objpfx)tst-array5.out): Likewise.
29272 ($(objpfx)tst-array5-static.out): Likewise.
29274 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
29276 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29279 * nss/nsswitch.h (nss_interface_function): Provide new
29280 macro for use with NSS functions.
29281 * grp/initgroups.c: Use new macro.
29282 * nss/getXXbyYY.c: Likewise.
29283 * nss/getXXbyYY_r.c: Likewise.
29284 * nss/getXXent.c: Likewise.
29285 * nss/getXXent_r.c: Likewise.
29286 * sysdeps/posix/getaddrinfo.c: Likewise.
29288 2012-10-30 Andreas Jaeger <aj@suse.de>
29290 * po/ru.po: Update Russion translation from translation project.
29292 2012-10-30 Joseph Myers <joseph@codesourcery.com>
29296 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29297 result and shift together with sticky bit instead of replicating
29298 round-to-nearest rounding.
29299 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29300 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29301 * math/libm-test.inc (fma_test): Add more tests. Do not permit
29302 missing underflow exceptions.
29303 (fma_test_towardzero): Add more tests.
29304 (fma_test_downward): Likewise.
29305 (fma_test_upward): Likewise.
29308 * sysdeps/generic/tininess.h: New file.
29309 * sysdeps/i386/tininess.h: Likewise.
29310 * sysdeps/sh/tininess.h: Likewise.
29311 * sysdeps/x86_64/tininess.h: Likewise.
29312 * stdlib/tst-strtod-underflow.c: Likewise.
29313 * stdlib/tst-tininess.c: Likewise.
29314 * stdlib/strtod_l.c: Include <tininess.h>.
29315 (round_and_return): Do not set errno for exact underflow cases.
29316 Force an underflow exception when setting errno for underflow.
29317 Determine underflow based on rounding to normal precision if
29318 TININESS_AFTER_ROUNDING.
29319 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29320 ERANGE for exact underflow cases.
29321 * stdlib/Makefile (tests): Add tst-tininess and
29322 tst-strtod-underflow.
29323 ($(objpfx)tst-tininess): Use $(link-libm).
29324 ($(objpfx)tst-strtod-underflow): Likewise.
29326 2012-10-30 Andreas Jaeger <aj@suse.de>
29329 * elf/Makefile (tests): Remove conditional for have-initfini-array
29330 since this is now always required and the variable does not exist
29332 (tests-static): Likewise.
29333 (modules-names): Likewise.
29335 * po/eo.po: Add Esperanto translation from translation project.
29337 * elf/tst-array1.c (fini_array): Make writeable so that it can be
29338 merged with constructor/destructor.
29339 (init_array): Likewise.
29340 * elf/tst-array2dep.c (fini_array): Likewise.
29341 (init_array): Likewise.
29343 2012-10-29 Mike Frysinger <vapier@gentoo.org>
29345 * manual/message.texi: Delete @cartouche tags.
29347 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
29349 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29351 * sysdeps/mach/hurd/fsync.c: Likewise.
29353 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29354 [_POSIX_REALTIME_SIGNALS]: Change condition to
29355 [_POSIX_REALTIME_SIGNALS > 0].
29357 2012-10-27 Andreas Jaeger <aj@suse.de>
29359 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29360 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29361 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29362 [__WORDSIZE != 64]: Likewise.
29364 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
29366 * iconvdata/tst-table.sh: Remove ${SHELL}.
29367 * iconvdata/tst-tables.sh: Likewise.
29369 2012-10-25 David S. Miller <davem@davemloft.net>
29371 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29372 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29375 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29377 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29378 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29379 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29382 2012-10-25 Roland McGrath <roland@hack.frob.com>
29384 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29385 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29388 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29389 Jim Blandy <jimb@codesourcery.com>
29391 * scripts/cross-test-ssh.sh: New file.
29392 * manual/install.texi (Configuring and compiling): Document use of
29394 * INSTALL: Regenerated.
29396 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
29398 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29401 2012-10-25 Joseph Myers <joseph@codesourcery.com>
29403 * Makeconfig (run-program-prefix): Fix comment.
29405 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29406 Jim Blandy <jimb@codesourcery.com>
29408 * Makeconfig (test-wrapper): New variable,
29409 (test-wrapper-env): Likewise.
29410 [$(cross-compiling) = yes && $(test-wrapper) != ""]
29411 (run-built-tests): Define to yes.
29412 (run-program-prefix): Use $(test-wrapper).
29413 (built-program-cmd): Likewise.
29414 * Rules (make-test-out): Use $(test-wrapper-env) and
29415 $(host-built-program-cmd).
29416 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29417 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29419 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29420 $(test-wrapper-env) to tst-rtld-load-self.sh.
29421 ($(objpfx)order2.out): Use $(test-wrapper).
29422 ($(objpfx)tst-initorder.out): Likewise.
29423 ($(objpfx)tst-initorder2.out): Likewise.
29424 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29425 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29426 (test_wrapper_env): New variable. Use it to run ld.so.
29427 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29428 Use it to run ld.so.
29429 (test_wrapper_env): Likewise.
29430 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29431 $(test-wrapper) to run-iconv-test.sh.
29432 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29433 (ICONV): Use $test_wrapper.
29434 * posix/Makefile ($(objpfx)globtest.out): Pass
29435 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29436 globtest.sh, not $(run-program-prefix).
29437 * posix/globtest.sh (run_via_rtld_prefix): New variable.
29438 (test_wrapper): Likewise.
29439 (test_wrapper_env): Likewise. Use it to run globtest with HOME
29440 set together with run_via_rtld_prefix.
29441 (run_program_prefix): Define in terms of test_wrapper and
29442 run_via_rtld_prefix.
29444 2012-10-24 Roland McGrath <roland@hack.frob.com>
29446 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29447 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29451 * include/time.h: Remove librt_hidden_proto (clock_gettime).
29452 Declare __clock_getres, __clock_gettime, __clock_settime,
29453 __clock_nanosleep, and __clock_getcpuclockid.
29454 * rt/clock_gettime.c: Define __clock_gettime as an alias.
29455 Remove librt_hidden_def (clock_gettime).
29456 * sysdeps/unix/clock_gettime.c: Likewise.
29457 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29458 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29459 * rt/clock_getres.c: Define __clock_getres as an alias.
29460 * sysdeps/posix/clock_getres.c: Likewise.
29461 * rt/clock_settime.c: Define __clock_settime as an alias.
29462 * sysdeps/unix/clock_settime.c: Likewise.
29463 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29464 * sysdeps/unix/clock_nanosleep.c: Likewise.
29465 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29466 * rt/clock-compat.c: New file.
29467 * rt/Makefile (librt-routines): Add clock-compat and move
29468 $(clock-routines) to ...
29469 (routines): ... here, new variable.
29470 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29471 Don't add get_clockfreq here.
29472 * rt/Versions (libc: GLIBC_2.17): New version set.
29473 Add clock_* symbols here.
29474 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
29475 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29476 (GLIBC_2.17): Add clock_* symbols.
29477 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29478 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29479 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29485 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29486 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29488 * NEWS: Mention the move.
29490 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29491 Use __open, __read, __close rather than their public counterparts.
29492 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29493 (__get_clockfreq_via_cpuinfo): Likewise.
29494 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29495 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29497 * config.h.in (HAVE_IFUNC): New #undef.
29498 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29500 * configure: Regenerated.
29502 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29504 * configure.in: Move READELF check to start of file.
29505 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29506 libc_cv_asm_gnu_indirect_function in the process.
29507 * configure: Regenerated.
29509 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29511 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29512 send the output to /dev/null.
29513 (libc_cv_cc_with_libunwind): Likewise.
29514 (libc_cv_as_noexecstack): Likewise.
29515 * configure: Regenerate.
29517 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29519 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29521 * posix/globtest.sh (TMPDIR): Do not set.
29522 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29523 (testout): Likewise.
29525 2012-10-24 Andreas Jaeger <aj@suse.de>
29527 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29528 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29529 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29530 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29531 posix_fadvise64, posix_fallocate64.
29533 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29534 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29535 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29537 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29539 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29541 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29542 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29543 <bits/fcntl-linux.h>.
29544 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29546 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29547 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29548 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29549 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29550 [__WORDSIZE != 64]: Likewise.
29552 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29554 * Makeconfig (run-built-tests): New variable.
29555 * Rules [$(cross-compiling) = yes]: Change condition to
29556 [$(run-built-tests) = no].
29557 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29558 to [$(run-built-tests) = yes].
29559 * elf/Makefile [$(cross-compiling) = no]: Likewise
29560 * grp/Makefile [$(cross-compiling) = no]: Likewise.
29561 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29562 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29563 * intl/Makefile [$(cross-compiling) = no]: Likewise.
29564 * io/Makefile [$(cross-compiling) = no]: Likewise.
29565 * libio/Makefile [$(cross-compiling) = no]: Likewise.
29566 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29567 * misc/Makefile [$(cross-compiling) = no]: Likewise.
29568 * posix/Makefile [$(cross-compiling) = no]: Likewise.
29569 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29570 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29571 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29572 * string/Makefile [$(cross-compiling) = no]: Likewise.
29574 * posix/Makefile ($(objpfx)globtest.out): Pass
29575 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29576 $(rtld-installed-name).
29577 * posix/globtest.sh (elf_objpfx): Remove variable.
29578 (rtld_installed_name): Likewise.
29579 (library_path): Likewise.
29580 (run_program_prefix): New variable. Use for running globtest
29583 2012-10-23 Jim Blandy <jimb@codesourcery.com>
29584 Joseph Myers <joseph@codesourcery.com>
29586 * Makeconfig (host-built-program-cmd): New variable.
29587 * elf/Makefile (tst-stackguard1-ARGS): Use
29588 $(host-built-program-cmd).
29589 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29590 (tst-spawn-ARGS): Likewise.
29591 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29593 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29594 Jim Blandy <jimb@codesourcery.com>
29596 * Makeconfig (run-via-rtld-prefix): New variable.
29597 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29598 (built-program-cmd): Likewise.
29600 2012-10-22 Andreas Jaeger <aj@suse.de>
29602 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29603 __O_RSYNC if it exists, otherwise to O_SYNC.
29605 2012-10-22 Jim Blandy <jimb@codesourcery.com>
29606 Joseph Myers <joseph@codesourcery.com>
29608 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29610 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29612 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29615 2012-10-22 Andreas Jaeger <aj@suse.de>
29617 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29619 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29621 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29622 bits/fcntl-linux.h.
29624 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29625 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29627 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29629 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29632 2012-10-21 Jim Blandy <jimb@codesourcery.com>
29633 Joseph Myers <joseph@codesourcery.com>
29635 * config.make.in (NM): New variable.
29637 2012-10-21 Andreas Jaeger <aj@suse.de>
29639 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29640 definitions and declarations that are provided by
29641 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29643 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29646 * elf/Makefile (tests-static): Add tst-leaks1-static.
29647 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29648 ($(objpfx)tst-leaks1-static): New rule.
29649 ($(objpfx)tst-leaks1-static-mem): Likewise.
29650 (tst-leaks1-static-ENV): New macro.
29651 * elf/dl-open.c (dl_open_worker): Check the main application
29652 only if SHARED is defined.
29653 * elf/tst-leaks1-static.c: New file.
29655 2012-10-20 Andreas Jaeger <aj@suse.de>
29657 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29658 generic values for Linux.
29659 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29660 and declarations that are provided by <bits/fcntl-linux.h> and
29661 include <bits/fcntl-linux.h>.
29662 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29663 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29665 2012-10-20 Roland McGrath <roland@hack.frob.com>
29667 * io/fcntl.h: Move include of <bits/types.h> to the top and
29668 include it unconditionally.
29670 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29672 * wcsmbs/Makefile (tests-ifunc): New variable.
29673 (tests): Add $(tests-ifunc).
29674 * wcsmbs/test-wcschr-ifunc.c: New file.
29675 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29676 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29677 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29678 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29679 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29681 * string/Makefile (tests-ifunc): New variable.
29682 (tests): Add $(tests-ifunc).
29683 * string/test-memccpy.c (TEST_NAME): New macro.
29684 * string/test-memchr.c (TEST_NAME): Likewise.
29685 * string/test-memcmp.c (TEST_NAME): Likewise.
29686 * string/test-memcpy.c (TEST_NAME): Likewise.
29687 * string/test-memmem.c (TEST_NAME): Likewise.
29688 * string/test-memmove.c (TEST_NAME): Likewise.
29689 * string/test-memset.c (TEST_NAME): Likewise.
29690 * string/test-rawmemchr.c (TEST_NAME): Likewise.
29691 * string/test-stpcpy.c (TEST_NAME): Likewise.
29692 * string/test-stpncpy.c (TEST_NAME): Likewise.
29693 * string/test-strcasecmp.c (TEST_NAME): Likewise.
29694 * string/test-strcasestr.c (TEST_NAME): Likewise.
29695 * string/test-strcat.c (TEST_NAME): Likewise.
29696 * string/test-strchr.c (TEST_NAME): Likewise.
29697 * string/test-strcmp.c(TEST_NAME): Likewise.
29698 * string/test-strcpy.c (TEST_NAME): Likewise.
29699 * string/test-strcspn.c (TEST_NAME): Likewise.
29700 * string/test-strlen.c (TEST_NAME): Likewise.
29701 * string/test-strncasecmp.c (TEST_NAME): Likewise.
29702 * string/test-strncmp.c (TEST_NAME): Likewise.
29703 * string/test-strncpy.c (TEST_NAME): Likewise.
29704 * string/test-strnlen.c (TEST_NAME): Likewise.
29705 * string/test-strpbrk.c (TEST_NAME): Likewise.
29706 * string/test-strrchr.c (TEST_NAME): Likewise.
29707 * string/test-strspn.c (TEST_NAME): Likewise.
29708 * string/test-strstr.c (TEST_NAME): Likewise.
29709 * string/test-bcopy-ifunc.c: New file.
29710 * string/test-bzero-ifunc.c: Likewise.
29711 * string/test-memccpy-ifunc.c: Likewise.
29712 * string/test-memchr-ifunc.c: Likewise.
29713 * string/test-memcmp-ifunc.c: Likewise.
29714 * string/test-memcpy-ifunc.c: Likewise.
29715 * string/test-memmem-ifunc.c: Likewise.
29716 * string/test-memmove-ifunc.c: Likewise.
29717 * string/test-mempcpy-ifunc.c: Likewise.
29718 * string/test-memset-ifunc.c: Likewise.
29719 * string/test-rawmemchr-ifunc.c: Likewise.
29720 * string/test-stpcpy-ifunc.c: Likewise.
29721 * string/test-stpncpy-ifunc.c: Likewise.
29722 * string/test-strcasecmp-ifunc.c: Likewise.
29723 * string/test-strcasestr-ifunc.c: Likewise.
29724 * string/test-strcat-ifunc.c: Likewise.
29725 * string/test-strchr-ifunc.c: Likewise.
29726 * string/test-strchrnul-ifunc.c: Likewise.
29727 * string/test-strcmp-ifunc.c: Likewise.
29728 * string/test-strcpy-ifunc.c: Likewise.
29729 * string/test-strcspn-ifunc.c: Likewise.
29730 * string/test-strlen-ifunc.c: Likewise.
29731 * string/test-strncasecmp-ifunc.c: Likewise.
29732 * string/test-strncat-ifunc.c: Likewise.
29733 * string/test-strncmp-ifunc.c: Likewise.
29734 * string/test-strncpy-ifunc.c: Likewise.
29735 * string/test-strnlen-ifunc.c: Likewise.
29736 * string/test-strpbrk-ifunc.c: Likewise.
29737 * string/test-strrchr-ifunc.c: Likewise.
29738 * string/test-strspn-ifunc.c: Likewise.
29739 * string/test-strstr-ifunc.c: Likewise.
29741 * debug/Makefile (tests-ifunc): New variable.
29742 (tests): Add $(tests-ifunc).
29743 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29744 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29745 * debug/test-stpcpy_chk-ifunc.c: New file.
29746 * debug/test-strcpy_chk-ifunc.c: Likewise.
29748 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29751 * elf/dl-load.c (open_verify): Retry read if the entire ELF
29752 header is not read in.
29754 2012-10-19 Joseph Myers <joseph@codesourcery.com>
29756 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
29757 script to $(SHELL) as $<. Pass $(common-objpfx) to script
29758 directly. Pass built executable to script as
29759 $(built-program-cmd).
29760 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
29761 $testprogram without using LD_LIBRARY_PATH and $ldso.
29763 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29764 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29765 $(rtld-installed-name).
29766 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29767 (rtld_installed_name): Likewise.
29768 (library_path): Likewise.
29769 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
29770 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29771 $(run-program-prefix) to tst-tables.sh.
29772 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
29773 it to run tst-table-from and tst-table-to.
29774 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29775 Pass it to tst-table.sh.
29776 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29777 $(run-program-prefix) to tst-gettext.sh.
29778 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29780 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29782 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
29783 to run tst-gettext.
29784 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
29785 to run tst-gettext2.
29786 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
29787 to run tst-translit.
29788 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29789 $(run-program-prefix) to tst-mtrace.sh.
29790 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
29792 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29793 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29794 $(rtld-installed-name).
29795 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29796 (rtld_installed_name): Likewise.
29797 (run_program_prefix): New variable. Use it to run wordexp-test.
29799 * Makeconfig (ARCH): Remove all definitions.
29800 (machine): Likewise.
29801 [ARCH]: Remove conditional code.
29802 [!objdir]: Give error.
29803 [!objdir] (objpfx): Remove.
29804 [!objdir] (common-objpfx): Likewise.
29805 [!objdir] (common-objdir): Likewise.
29806 * configure.in (config_makefile): Remove. Hardcode Makefile in
29807 AC_CONFIG_FILES call.
29808 * configure: Regenerated.
29811 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29813 (testout): Likewise.
29815 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29816 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29817 $(rtld-installed-name).
29818 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29819 (rtld_installed_name): Likwise.
29820 (runit): Remove function.
29821 (run_getconf): New variable, Use it for running getconf binary.
29823 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29826 * string/test-memmem.c (check_result): New function.
29827 (do_one_test): Use it.
29828 (check1): New function.
29829 (test_main): Use it.
29831 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29833 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29835 2012-10-18 Joseph Myers <joseph@codesourcery.com>
29837 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29838 (_G_LSEEK64): Likewise.
29839 (_G_MMAP64): Likewise.
29840 (_G_FSTAT64): Likewise.
29841 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29842 (_G_LSEEK64): Likewise.
29843 (_G_MMAP64): Likewise.
29844 (_G_FSTAT64): Likewise.
29845 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29846 unconditional. Call __mmap64 directly.
29847 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29848 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29849 __lseek64 directly.
29850 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29851 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29853 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29854 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29855 __lseek64 directly.
29856 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29857 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29858 __lseek64 directly.
29859 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29860 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29861 __lseek64 directly.
29862 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29863 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29864 __fxstat64 directly.
29865 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29866 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29868 (freopen64) [!_G_OPEN64]: Remove conditional code.
29869 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29871 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29872 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29874 (ftello64) [!_G_LSEEK64]: Remove conditional code.
29875 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29877 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29878 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29880 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29881 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29883 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29884 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29886 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29887 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29889 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29891 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29894 * manual/memory.texi (Malloc Tunable Parameters): Add note
29895 about free list pointers overwriting some perturb bytes.
29896 Wording suggested by Roland McGrath.
29898 2012-10-17 Joseph Myers <joseph@codesourcery.com>
29900 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29901 (lgamma_test): Likewise.
29902 (tgamma_test): Likewise.
29904 2012-10-16 Florian Weimer <fweimer@redhat.com>
29907 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29908 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29910 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29912 * NEWS: Mention BZ #14716.
29913 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29914 when removing AVAILABLE1_USES_J macro.
29916 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29918 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29919 (__bswap_64): __uint64_t for unsigned 64-bit int.
29921 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29923 * include/string.h (memmem): Declare libc hidden alias.
29924 * string/memmem.c (memmem): Define libc hidden alias.
29925 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29926 __read, __close instead of open, read, close.
29928 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29930 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29931 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29933 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29934 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29935 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29937 (__rawmemchr_sse2): Likewise.
29938 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29939 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29940 (__strchr_sse2): Likewise.
29941 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29942 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29943 (__strcasecmp_sse2): Likewise.
29944 (__strncasecmp_sse2): Likewise.
29945 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29946 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29947 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29948 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29949 (__strrchr_sse2): Likewise.
29950 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29952 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29953 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29954 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29955 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29956 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29957 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29958 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29959 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29960 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29961 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29962 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29963 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29964 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29965 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29966 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29967 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29968 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29969 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29970 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29971 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29972 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29973 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29974 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29975 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29976 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29977 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29978 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29979 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29980 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29981 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29983 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29985 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29986 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29987 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29988 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29990 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29992 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29993 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29994 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29995 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29997 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29998 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29999 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30000 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30001 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30002 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30003 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30004 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30005 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30006 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30007 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30008 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30009 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30010 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30011 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30012 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30013 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30014 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30015 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30016 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30017 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30018 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30019 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30020 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30021 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30022 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30023 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30024 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30025 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30026 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30027 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30028 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30029 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30030 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30031 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30032 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30033 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30034 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30035 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30036 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30037 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30039 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30040 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30041 * include/ifunc-impl-list.h: New file.
30042 * misc/ifunc-impl-list.c: Likewise.
30043 * misc/Makefile (routines): Add ifunc-impl-list.
30044 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30045 * string/test-string.h: Include <ifunc-impl-list.h>.
30046 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30047 TEST_NAME]: New variables.
30048 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30050 (test_init): Call __libc_ifunc_impl_list to initialize
30051 func_list if TEST_IFUNC and TEST_NAME are defined.
30053 * string/Makefile (strop-tests): Add bcopy and bzero.
30054 * string/test-bcopy.c: New file.
30055 * string/test-bzero.c: Likewise.
30056 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30058 * string/test-memset.c: Support bzero test if TEST_BZERO is
30060 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30062 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30064 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30067 2012-10-10 Joseph Myers <joseph@codesourcery.com>
30069 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30070 * configure: Regenerated.
30072 * Makeconfig (+link-static-before-libc): Don't include
30073 $(link-static-libc).
30075 * libio/libio.h (_IO_pos_t): Remove.
30077 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30079 * NEWS: Add note about FIPS mode. Wording suggested by Roland
30082 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30084 * crypt/crypt-entry.c: Include fips-private.h.
30085 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30086 * crypt/md5c-test.c (main): Tolerate disabled MD5.
30087 * sysdeps/unix/sysv/linux/fips-private.h: New file.
30088 * sysdeps/generic/fips-private.h: New file, dummy fallback.
30090 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
30092 * crypt/crypt-private.h: Include stdbool.h.
30093 (_ufc_setup_salt_r): Return bool.
30094 * crypt/crypt-entry.c: Include errno.h.
30095 (__crypt_r): Return NULL with EINVAL for bad salt.
30096 * crypt/crypt_util.c (bad_for_salt): New.
30097 (_ufc_setup_salt_r): Check that salt is long enough and within
30098 the specified alphabet.
30099 * crypt/badsalttest.c: New file.
30100 * crypt/Makefile (tests): Add it.
30101 ($(objpfx)badsalttest): New.
30103 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
30105 * NEWS: Add entry for BZ #14602.
30107 2012-10-09 Joseph Myers <joseph@codesourcery.com>
30109 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30111 * math/libm-test.inc: Update comment listing what functions and
30113 (isgreater_test): New function.
30114 (isgreaterequal_test): Likewise.
30115 (isless_test): Likewise.
30116 (islessequal_test): Likewise.
30117 (islessgreater_test): Likewise.
30118 (isunordered_test): Likewise.
30119 (main): Call the new functions.
30121 2012-10-09 Roland McGrath <roland@hack.frob.com>
30123 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30124 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30125 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30126 * sysdeps/i386/configure: Regenerated.
30127 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30128 * sysdeps/mach/configure: Regenerated.
30129 * sysdeps/mach/hurd/configure: Regenerated.
30130 * sysdeps/powerpc/configure: Regenerated.
30131 * sysdeps/powerpc/powerpc32/configure: Regenerated.
30132 * sysdeps/powerpc/powerpc64/configure: Regenerated.
30133 * sysdeps/s390/s390-32/configure: Regenerated.
30134 * sysdeps/s390/s390-64/configure: Regenerated.
30135 * sysdeps/sh/configure: Regenerated.
30136 * sysdeps/sparc/configure: Regenerated.
30137 * sysdeps/unix/sysv/linux/configure: Regenerated.
30138 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30139 * sysdeps/x86_64/configure: Regenerated.
30141 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30142 defined. Don't check if MAP is NULL.
30144 2012-10-09 Joseph Myers <joseph@codesourcery.com>
30146 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30147 (_G_stat64): Likewise.
30148 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30149 (_G_stat64): Likewise.
30150 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30151 instead of struct _G_stat64.
30152 * libio/fileops.c (mmap_remap_check): Likewise.
30153 (decide_maybe_mmap): Likewise.
30154 (_IO_new_file_seekoff): Likewise.
30155 (_IO_file_stat): Likewise.
30156 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30158 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30159 instead of struct _G_stat64.
30160 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30162 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
30165 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30167 (CHECK_EOL): New macro.
30168 (two_way_short_needle): Check beginning of haystack for EOL. Use
30170 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30171 Replace with CHECK_EOL.
30172 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30173 Replace with CHECK_EOL.
30175 2012-10-08 Joseph Myers <joseph@codesourcery.com>
30177 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30179 * math/libm-test.inc: Update comment listing what functions and
30181 (finite_test): New function.
30182 (isinf_test): Likewise.
30183 (isnan_test): Likewise.
30184 (fpclassify_test): Test subnormal input.
30185 (isfinite_test): Likewise.
30186 (isnormal_test): Likewise.
30187 (main): Call the new functions.
30189 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
30192 * Makerules (%.dynsym): Force C locale when running
30193 $(OBJDUMP) --dynamic-syms.
30195 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
30197 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30200 2012-10-06 David S. Miller <davem@davemloft.net>
30202 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30203 upper 32-bits of the length value in %o2 since we use branch-on-register
30204 tests which consider the entire 64-bit register.
30206 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
30208 * string/test-strstr.c (check2): Add a test for page boundary.
30210 2012-10-05 David S. Miller <davem@davemloft.net>
30212 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30213 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30215 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30217 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30218 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30219 and bzero when HWCAP_SPARC_CRYPTO is present.
30221 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
30224 * string/test-strstr.c (check2): New function.
30225 (test_main): Call check2.
30227 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30229 * string/bug-strcasestr1.c (do_test): Moved to ...
30230 * string/test-strcasestr.c (check1): Here. New function.
30231 (do_one_test): Break out result checking code into ...
30232 (check_result): This. New function.
30233 (do_one_test): Call check_result.
30234 (test_main): Call check1.
30235 * string/bug-strchr1.c (do_test): Moved to ...
30236 * string/test-strchr.c (check1): Here. New function.
30237 (do_one_test): Break out result checking code into ...
30238 (check_result): This. New function.
30239 (do_one_test): Call check_result.
30240 (test_main): Call check1.
30241 * string/bug-strstr1.c (main): Moved to ...
30242 * string/test-strstr.c (check1): Here. New function.
30243 (do_one_test): Break out result checking code into ...
30244 (check_result): This. New function.
30245 (do_one_test): Call check_result.
30246 (test_main): Call check1.
30247 * string/bug-strcasestr1.c: Removed.
30248 * string/bug-strchr1.c: Likewise.
30249 * string/bug-strstr1.c: Likewise.
30251 * elf/Makefile (dl-routines): Add hwcaps.
30252 * elf/dl-support.c (_dl_important_hwcaps): Removed.
30253 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30254 (_dl_important_hwcaps): Moved to ...
30255 * elf/dl-hwcaps.c: Here. New file.
30256 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30259 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30260 if IS_IN_rtld isn't defined.
30262 * elf/dl-support.c (_dl_sysinfo_map): New.
30263 Include "get-dynamic-info.h" and "setup-vdso.h".
30264 (_dl_non_dynamic_init): Call setup_vdso.
30265 * elf/dynamic-link.h: Don't include <assert.h>.
30266 (elf_get_dynamic_info): Moved to ...
30267 * elf/get-dynamic-info.h: Here. New file.
30268 * elf/dynamic-link.h: Include "get-dynamic-info.h".
30269 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30270 * elf/setup-vdso.h: Here. New file.
30271 * elf/rtld.c: Include "setup-vdso.h".
30272 (dl_main): Call setup_vdso.
30274 2012-10-05 Joseph Myers <joseph@codesourcery.com>
30276 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30277 creal in comment listing functions tested. List finite, isinf,
30278 isnan, isless, islessequal, isgreater, isgreaterequal,
30279 islessgreater, isunordered, lgamma_r and pow10 as functions and
30280 macros not tested. Mention which functions not tested are aliases
30281 for other functions. Fix typo. Note that signs of NaNs are not
30284 * scripts/config.guess: Update from config.git.
30285 * scripts/config.sub: Likewise.
30287 2012-10-04 Roland McGrath <roland@hack.frob.com>
30289 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30290 * misc/madvise.c (madvise): Renamed to __madvise.
30291 Make madvise a weak alias.
30292 * include/sys/mman.h: Declare __madvise.
30293 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30294 * sysdeps/unix/syscalls.list
30295 (madvise): Make __madvise the strong name, and madvise a weak alias.
30296 * sysdeps/unix/sysv/linux/syscalls.list
30297 (madvise, mmap): Remove redundant entries.
30298 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30299 * malloc/malloc.c (mtrim): Likewise.
30300 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30302 2012-10-03 Roland McGrath <roland@hack.frob.com>
30304 * sysdeps/mach/hurd/dl-cache.c: File removed.
30305 * config.h.in (USE_LDCONFIG): New #undef.
30306 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30307 * configure: Regenerated.
30308 * elf/Makefile (dl-routines): Add dl-cache only under
30309 [$(use-ldconfig) = yes].
30310 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30311 cache on [USE_LDCONFIG].
30312 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30314 * elf/rtld.c (dl_main): Likewise.
30316 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
30318 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30319 _SC_LEVEL4_CACHE_LINESIZE.
30321 2012-10-03 Roland McGrath <roland@hack.frob.com>
30323 * sysdeps/unix/bsd/confstr.h: File removed.
30325 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
30327 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30330 2012-10-02 Roland McGrath <roland@hack.frob.com>
30332 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30333 Make 'mapoff' field ElfW(Off) rather than off_t.
30335 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
30337 * nscd/Makefile: Remove nscd-cflags and all its users.
30338 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30339 (CFLAGS-nonlib): Add compiler flags for nscd modules.
30342 * malloc.c (malloc_printerr): Clarify error message.
30344 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
30347 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30348 Set bit_FMA_Usable if FMA is supported.
30349 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30351 (bit_FMA4_Usable): Updated.
30352 (index_FMA_Usable): New macro.
30353 (CPUID_FMA): Likewise
30354 (HAS_FMA): Defined with bit_FMA_Usable.
30356 2012-10-01 Roland McGrath <roland@hack.frob.com>
30358 * bits/types.h (__swblk_t): Type removed.
30359 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30360 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30361 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30362 (__SWBLK_T_TYPE): Likewise.
30363 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30364 (__SWBLK_T_TYPE): Likewise.
30365 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30366 (__SWBLK_T_TYPE): Likewise.
30367 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30368 (__SWBLK_T_TYPE): Likewise.
30370 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
30371 Honza Horak <hhorak@redhat.com>
30373 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30374 (xdr_mapname): Use YPMAXMAP as maxsize.
30375 (xdr_peername): Use YPMAXPEER as maxsize.
30376 (xdr_keydat): Use YPAXRECORD as maxsize.
30377 (xdr_valdat): Use YPMAXRECORD as maxsize.
30379 2012-10-01 Roland McGrath <roland@hack.frob.com>
30381 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30383 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30384 * csu/init-first.c: ... here.
30385 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30386 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30387 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30388 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30389 * sysdeps/i386/init-first.c: File removed.
30390 * sysdeps/sh/init-first.c: File removed.
30392 2012-10-01 Joseph Myers <joseph@codesourcery.com>
30395 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30396 if x * y might underflow to zero and z is zero.
30397 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30398 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30399 * math/libm-test.inc (min_subnorm_value): New variable.
30400 (fma_test): Add more tests.
30401 (fma_test_towardzero): Likewise.
30402 (fma_test_downward): Likewise
30403 (fma_test_upward): Likewise.
30404 (initialize): Set min_subnorm_value.
30406 2012-09-29 Joseph Myers <joseph@codesourcery.com>
30409 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30411 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30412 mode for addition resulting in exact zero.
30413 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30414 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30416 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30417 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30418 * math/libm-test.inc (fma_test): Add more tests.
30419 (fma_test_towardzero): New function.
30420 (fma_test_downward): Likewise.
30421 (fma_test_upward): Likewise.
30422 (main): Call the new functions.
30424 2012-09-28 David S. Miller <davem@davemloft.net>
30426 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30428 2012-09-28 Roland McGrath <roland@hack.frob.com>
30430 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30431 instead of SIGALRM.
30433 * sysdeps/gnu/_G_config.h: Moved to ...
30434 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30435 * sysdeps/mach/hurd/_G_config.h: Moved to ...
30436 * sysdeps/generic/_G_config.h: ... here.
30438 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
30440 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30442 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30443 Conditionalize target on [libnss_test1.so-version].
30445 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30447 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30448 (elfobjdir): Move out of conditionals.
30450 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30451 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30452 (__nss_lookup_function): Conditionalize label remove_from_tree on
30453 [!DO_STATIC_NSS || SHARED], matching its only use.
30455 2012-09-28 David S. Miller <davem@davemloft.net>
30457 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30458 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30460 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30462 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30463 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30464 when HWCAP_SPARC_CRYPTO is present.
30466 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30468 * io/tst-mknodat.c: Create a FIFO instead of a socket.
30470 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
30473 * stdio-common/vfprintf.c (process_string_arg): Revert
30476 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
30478 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30480 * stdio-common/tst-sprintf.c: Include <locale.h>
30481 (main): Test sprintf's handling of incomplete multibyte
30484 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
30486 * elf/dl-runtime.c (VERSYMIDX): Removed.
30487 * elf/dl-version.c (VERSYMIDX): Likewise.
30488 * elf/do-rel.h (VERSYMIDX): Likewise.
30489 (VALIDX): Likewise.
30490 * elf/dynamic-link.h (VERSYMIDX): Likewise.
30491 * elf/rtld.c (VALIDX): Likewise.
30492 (ADDRIDX): Likewise.
30493 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30494 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30495 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30496 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30497 (VALIDX): Likewise.
30498 (ADDRIDX): Likewise.
30500 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30502 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30504 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
30507 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30509 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30510 addresses are in the same scope as 192.0.2/24.
30511 * posix/gai.conf: Document new scope table defaults.
30513 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30516 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30517 for ftell. Compute offsets from write pointers instead.
30518 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30520 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30523 * libio/Makefile (tests): New test case tst-fseek.
30524 * libio/tst-fseek.c: New test case to verify that fseek/ftell
30525 combination works in wide mode.
30526 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30527 state when the external buffer state changes.
30529 2012-09-27 David S. Miller <davem@davemloft.net>
30532 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30533 pass reloc->r_addend in as the 'high' argument to
30534 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30538 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30540 * rt/tst-aio2.c: Include <pthread.h>.
30541 * rt/tst-aio3.c: Likewise.
30543 2012-09-27 Steve Ellcey <sellcey@mips.com>
30545 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30547 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
30549 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30550 contents on [SHARED].
30552 2012-09-26 Marek Polacek <polacek@redhat.com>
30556 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30557 for C++ and GCC <4.3 as well as for non GCC compilers.
30559 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30561 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30563 2012-09-25 Roland McGrath <roland@hack.frob.com>
30565 * Makefile.in (all, install): Declare with .PHONY.
30566 Reported by Michael Hope <michael.hope@linaro.org>.
30568 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30570 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30571 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30573 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30575 (sydep_routines): Add the new and the internal functions.
30576 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30577 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30579 (GLIBC_2.17): Add the new function.
30580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30581 (GLIBC_2.17): Likewise.
30582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30583 (GLIBC_2.17): Likewise.
30584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30585 (GLIBC_2.17): Likewise.
30586 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30588 2012-09-25 Alan Modra <amodra@gmail.com>
30590 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30591 Add release barrier before setting once_control to say
30592 initialisation is done. Add hints on lwarx. Use macro in
30594 (clear_once_control): Add release barrier.
30596 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30599 * math/s_clog.c (__clog): Handle more values close to |z| = 1
30601 * math/s_clog10.c (__clog10): Likewise.
30602 * math/s_clog10f.c (__clog10f): Likewise.
30603 * math/s_clog10l.c (__clog10l): Likewise.
30604 * math/s_clogf.c (__clogf): Likewise.
30605 * math/s_clogl.c (__clogl): Likewise.
30606 * math/Makefile (libm-calls): Add x2y2m1.
30607 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30608 (__x2y2m1): Likewise.
30609 (__x2y2m1l): Likewise.
30610 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30611 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30612 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30613 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30614 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30615 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30616 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30617 * sysdeps/i386/fpu/libm-test-ulps: Update.
30618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30621 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30622 int as type of variable DEPTH.
30623 (glob): Use size_t instead of int as type of variables NEWCOUNT
30626 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30628 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30629 Add s_sincosf-sse2.
30630 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30631 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30632 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30633 macros for using routine as __sincosf_ia32.
30634 Use macro for function declaration and weak_alias.
30635 * sysdeps/i386/fpu/libm-test-ulps: Update.
30637 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30638 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30640 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30641 subnormal argument.
30642 * math/s_cexpf.c (__cexpf): Likewise.
30643 * math/s_csinf.c (__csinf): Likewise.
30644 * math/s_csinhf.c (__csinhf): Likewise.
30645 * math/s_ctanf.c (__ctanf): Likewise.
30646 * math/s_ctanhf.c (__ctanhf): Likewise.
30647 * math/s_ccosh.c (__ccoshf): Likewise.
30648 * math/s_cexp.c (__cexpl): Likewise.
30649 * math/s_csin.c (__csin): Likewise.
30650 * math/s_csinh.c (__csinh): Likewise.
30651 * math/s_ctan.c (__ctan): Likewise.
30652 * math/s_ctanh.c (ctanh): Likewise.
30653 * math/s_ccoshl.c (__ccoshl): Likewise.
30654 * math/s_cexpl.c (__cexpl): Likewise.
30655 * math/s_csinl.c (__csinl): Likewise.
30656 * math/s_csinhl.c (__csinhl): Likewise.
30657 * math/s_ctanl.c (__ctanl): Likewise.
30658 * math/s_ctanhl.c (__ctanhl): Likewise.
30660 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30662 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30663 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30664 (_IO_off_t): Define to __off_t, not _G_off_t.
30665 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30666 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30667 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30668 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30669 type of __dummy and __dummy2 fields.
30670 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30671 (_G_ssize_t): Likewise.
30672 (_G_off_t): Likewise.
30673 (_G_pid_t): Likewise.
30674 (_G_uid_t): Likewise.
30675 (_G_wchar_t): Likewise.
30676 (_G_wint_t): Likewise.
30677 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30678 (_G_ssize_t): Likewise.
30679 (_G_off_t): Likewise.
30680 (_G_pid_t): Likewise.
30681 (_G_uid_t): Likewise.
30682 (_G_wchar_t): Likewise.
30683 (_G_wint_t): Likewise.
30684 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30685 (_G_ssize_t): Likewise.
30686 (_G_off_t): Likewise.
30687 (_G_pid_t): Likewise.
30688 (_G_uid_t): Likewise.
30689 (_G_wchar_t): Likewise.
30690 (_G_wint_t): Likewise.
30692 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30694 * malloc/arena.c: Include malloc-sysdep.h.
30695 (shrink_heap): Use check_may_shrink_heap to decide if madvise
30696 is sufficient to shrink the heap or an unmap is needed.
30697 * sysdeps/generic/malloc-sysdep.h: New file. Define
30698 new function check_may_shrink_heap.
30699 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
30700 new function check_may_shrink_heap.
30702 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30704 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30707 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
30709 * catgets/test-gencat.sh: Add "set -e".
30710 * elf/tst-pathopt.sh: Likewise.
30711 * grp/tst_fgetgrent.sh: Likewise.
30712 * iconvdata/run-iconv-test.sh: Likewise.
30713 * intl/tst-gettext.sh: Likewise.
30714 * intl/tst-gettext2.sh: Likewise.
30715 * intl/tst-gettext4.sh: Likewise.
30716 * intl/tst-gettext6.sh: Likewise.
30717 * intl/tst-translit.sh: Likewise.
30718 * io/ftwtest-sh: Likewise.
30719 * libio/test-freopen.sh: Likewise.
30720 * malloc/tst-mtrace.sh: Likewise.
30721 * posix/globtest.sh: Likewise.
30722 * posix/tst-getconf.sh: Likewise.
30723 * posix/wordexp-tst.sh: Likewise.
30724 * stdio-common/tst-printf.sh: Likewise.
30725 * stdio-common/tst-unbputc.sh: Likewise.
30726 * stdlib/tst-fmtmsg.sh: Likewise.
30727 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30728 * catgets/Makefile: Do not specify -e option when running
30729 testsuite shell scripts.
30730 * elf/Makefile: Likewise.
30731 * grp/Makefile: Likewise.
30732 * iconvdata/Makefile: Likewise.
30733 * intl/Makefile: Likewise.
30734 * io/Makefile: Likewise.
30735 * libio/Makefile: Likewise.
30736 * malloc/Makefile: Likewise.
30737 * posix/Makefile: Likewise.
30738 * stdio-common/Makefile: Likewise.
30739 * stdlib/Makefile: Likewise.
30740 * sysdeps/x86_64/Makefile: Likewise.
30742 * io/ftwtest-sh: Add copyright header.
30743 * posix/globtest.sh: Likewise.
30744 * posix/tst-getconf.sh: Likewise.
30745 * posix/wordexp-tst.sh: Likewise.
30746 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30748 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
30751 * Makeconfig (+link): Defined as $(+link-static) if
30752 $(build-shared) isn't yes.
30753 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30755 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30757 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30760 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30761 new chunk size with MALLOC_ALIGN_MASK.
30763 2012-09-24 Joseph Myers <joseph@codesourcery.com>
30766 * stdio-common/printf_fphex.c: Include <stdbool.h> and
30768 (__printf_fphex): Determine rounding using get_rounding_mode and
30770 * stdio-common/tst-printf-round.c (struct hex_test): New
30772 (hex_tests): New variable.
30773 (test_hex_in_one_mode): New function.
30774 (do_test): Also run tests for hex float output.
30776 2012-09-21 Joseph Myers <joseph@codesourcery.com>
30778 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30779 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30780 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30781 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30782 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30783 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30784 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30785 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30787 2012-09-20 Joseph Myers <joseph@codesourcery.com>
30789 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30790 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30791 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30792 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30794 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
30797 * elf/rtld.c (dl_main): Limit the check for self loading to normal
30799 * elf/tst-rtld-load-self.sh: New test.
30800 * elf/Makefile: Run it.
30802 2012-09-18 Joseph Myers <joseph@codesourcery.com>
30804 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30805 (tst-writev-ENV): Remove.
30806 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30808 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
30810 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30812 2012-09-17 Joseph Myers <joseph@codesourcery.com>
30814 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30816 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30818 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30819 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30820 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30823 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30826 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30827 * config.make.in (have-cpp-asm-debuginfo): Removed.
30828 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30829 * configure: Regenerated.
30831 2012-09-14 Joseph Myers <joseph@codesourcery.com>
30834 * stdio-common/printf_fp.c: Include <stdbool.h> and
30836 (___printf_fp): Determine rounding using get_rounding_mode and
30838 * stdio-common/tst-printf-round.c: New file.
30839 * stdio-common/Makefile (tests): Add tst-printf-round.
30840 (link-libm): New variable.
30841 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30843 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30846 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30847 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30849 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30852 2012-09-13 Joseph Myers <joseph@codesourcery.com>
30854 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30855 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30856 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30857 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30859 2012-09-12 Joseph Myers <joseph@codesourcery.com>
30862 * include/rounding-mode.h: New file.
30863 * sysdeps/generic/get-rounding-mode.h: Likewise.
30864 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30865 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30866 (MAX_VALUE): New macro.
30867 (MIN_VALUE): Likewise.
30868 (overflow_value): New function.
30869 (underflow_value): Likewise.
30870 (round_and_return): Use overflow_value and underflow_value to
30871 determine return values in overflow and underflow cases. Use
30872 round_away to determine rounding depending on rounding mode.
30873 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30874 determine return values in overflow and underflow cases.
30875 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30876 (struct test_results): New structure.
30877 (struct test): Use struct test_results to store expected results
30878 for all rounding modes.
30879 (TEST): Include expected results for all rounding modes.
30880 (test_in_one_mode): New function.
30881 (do_test): Use test_in_one_mode to compute and check results.
30882 Check results for all rounding modes.
30883 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30886 2012-12-09 Allan McRae <allan@archlinux.org>
30888 * sysdeps/i386/fpu/libm-test-ulps: Update
30890 2012-09-11 Joseph Myers <joseph@codesourcery.com>
30892 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30893 (_G_int32_t): Likewise.
30894 (_G_uint16_t): Likewise.
30895 (_G_uint32_t): Likewise.
30896 (_G_HAVE_BOOL): Likewise.
30897 (_G_HAVE_ATEXIT): Likewise.
30898 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30899 (_G_HAVE_IO_FILE_OPEN): Likewise.
30900 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30901 (_G_int32_t): Likewise.
30902 (_G_uint16_t): Likewise.
30903 (_G_uint32_t): Likewise.
30904 (_G_HAVE_BOOL): Likewise.
30905 (_G_HAVE_ATEXIT): Likewise.
30906 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30907 (_G_HAVE_IO_FILE_OPEN): Likewise.
30908 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30909 (_G_int32_t): Likewise.
30910 (_G_uint16_t): Likewise.
30911 (_G_uint32_t): Likewise.
30912 (_G_HAVE_BOOL): Likewise.
30913 (_G_HAVE_ATEXIT): Likewise.
30914 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30915 (_G_HAVE_IO_FILE_OPEN): Likewise.
30917 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30919 * csu/libc-tls.c: Update copyright years.
30921 2012-09-10 Joseph Myers <joseph@codesourcery.com>
30923 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30924 [!_G_USING_THUNKS]: Remove conditional code.
30925 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30926 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30928 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30929 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30930 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30931 (_G_VTABLE_LABEL_PREFIX): Likewise.
30932 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30933 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30934 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30935 (_G_VTABLE_LABEL_PREFIX): Likewise.
30936 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30937 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30938 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30939 (_G_VTABLE_LABEL_PREFIX): Likewise.
30940 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30942 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
30944 * libio/Makefile: Include ../Makeconfig before tests.
30945 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30946 only if $(build-shared) is yes.
30948 * iconv/gconv_db.c: Update copyright years.
30950 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30952 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30953 unwind info if defined PIC. Fix special cases description.
30954 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30956 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30958 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30960 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
30962 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30964 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30967 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30968 (LDLIBS-tst-chk4): This.
30969 (LDFLAGS-tst-chk5): Renamed to ...
30970 (LDLIBS-tst-chk5): This.
30971 (LDFLAGS-tst-chk6): Renamed to ...
30972 (LDLIBS-tst-chk6): This.
30973 (LDFLAGS-tst-lfschk4): Renamed to ...
30974 (LDLIBS-tst-lfschk4): This.
30975 (LDFLAGS-tst-lfschk5): Renamed to ...
30976 (LDLIBS-tst-lfschk5): This.
30977 (LDFLAGS-tst-lfschk6): Renamed to ...
30978 (LDLIBS-tst-lfschk6): This.
30980 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30981 on $(common-objpfx)soversions.mk.
30983 2012-09-07 Joseph Myers <joseph@codesourcery.com>
30986 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30989 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30991 * malloc/arena.c (arena_get_retry): New function that gets
30992 another arena for the caller to try its request on.
30993 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30994 current arena cannot fulfill the request.
30995 (__libc_memalign): Likewise.
30996 (__libc_memalign): Likewise.
30997 (__libc_pvalloc): Likewise.
30998 (__libc_calloc): Likewise.
31000 2012-09-05 John Tobey <john.tobey@gmail.com>
31003 * manual/arith.texi (Operations on Complex): Fix description
31004 of carg branch cut.
31006 2012-09-06 Joseph Myers <joseph@codesourcery.com>
31009 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31013 * manual/memory.texi (Memory): Make order of menu items match
31016 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31018 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31019 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
31020 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31022 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31024 * csu/libc-tls.c (static_dtv): Renamed to ...
31025 (_dl_static_dtv): This. Make it global.
31026 (_dl_initial_dtv): Removed.
31027 (__libc_setup_tls): Updated.
31028 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31029 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31032 2012-09-06 Petr Machata <pmachata@redhat.com>
31034 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31035 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31036 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31037 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31039 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31042 * csu/libc-tls.c (_dl_initial_dtv): New variable.
31043 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31046 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
31049 * Makeconfig (link-static-before-libc): Replace $(+prector)
31051 (link-static-after-libc): Replace $(+postctor) with
31053 (link-bounded): Replace $(+prector)/$(+postctor) with
31054 $(+prectorT)/$(+postctorT).
31055 (+prectorT): New macro.
31056 (+postctorT): Likewise.
31058 2012-09-06 Joseph Myers <joseph@codesourcery.com>
31060 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31061 (round_str): Handle values above the maximum for IBM long double
31063 * stdlib/tst-strtod-round.c (tests): Regenerated.
31065 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31067 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31069 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31070 zarch_nohighgprs around the zarch optimized routines.
31071 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31072 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31073 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31076 2012-09-05 David S. Miller <davem@davemloft.net>
31078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31080 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31081 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31082 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31083 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31086 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31088 * malloc/arena.c: Fold copyright years.
31089 * malloc/mcheck.c, malloc/memusage.c: Likewise.
31091 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31093 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31095 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31097 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
31099 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31101 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31102 change internal state upon failure.
31104 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
31106 * malloc/mcheck.c (mcheck_check_all): Fix typo.
31107 * malloc/memusage.c (mmap): Likewise.
31108 (mmap64, mremap): Likewise. Adjust name in comment.
31110 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31112 * libio/fileops.c: Fix typos in comments.
31113 * libio/oldfileops.c: Likewise.
31114 * libio/wfileops.c: Likewise.
31116 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31119 * malloc/Makefile (tests): Add tst-malloc-usable test case.
31120 (tst-malloc-usable-ENV): Set environment for test case.
31121 * malloc/hooks.c (malloc_check_get_size): New function to get
31123 * malloc/malloc.c (musable): Use malloc_check_get_size.
31124 * malloc/tst-malloc-usable.c: New test case.
31126 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31128 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31130 2012-09-05 Allan McRae <allan@archlinux.org>
31133 * configure.in (CXX_SYSINCLUDES): Use compiler output to
31134 determine header location.
31135 * configure: Regenerated.
31137 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
31139 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31141 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31142 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31144 (test): Regenerate.
31146 2012-09-04 David S. Miller <davem@davemloft.net>
31148 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31149 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31150 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31152 2012-09-04 Florian Weimer <fweimer@redhat.com>
31154 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31157 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31159 2012-09-04 Joseph Myers <joseph@codesourcery.com>
31162 * libio/iogetdelim.c: Include <limits.h>.
31163 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31164 + len + 1 would overflow.
31166 2012-09-03 Andreas Jaeger <aj@suse.de>
31168 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31169 * sysdeps/i386/fpu/libm-test-ulps: Update.
31171 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31173 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31174 Add s_sinf-sse2, s_conf-sse2.
31176 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31177 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31178 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31179 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31181 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31182 for using routine as __sinf_ia32.
31183 Use macro for function declaration and weak_alias.
31184 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31185 for using routine as __cosf_ia32.
31186 Use macro for function declaration and weak_alias.
31188 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31189 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31191 * sysdeps/x86_64/fpu/s_sinf.S: New file.
31192 * sysdeps/x86_64/fpu/s_cosf.S: New file.
31193 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31195 * math/libm-test.inc (cos_test): Add more test cases.
31196 (sin_test): Likewise.
31197 (sincos_test): Likewise.
31199 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31201 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31202 (IFUNC_RESOLVE): Make pointers to the specialized implementations
31204 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31206 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
31209 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31210 first element of the GOT.
31211 (elf_machine_load_address): Return the difference between
31212 the runtime address of _DYNAMIC and elf_machine_dynamic ().
31214 2012-09-01 Allan McRae <allan@archlinux.org>
31217 * configure.in (AWK): Require gawk version 3.0 or later.
31218 * configure: Regenerated.
31220 2012-09-01 Joseph Myers <joseph@codesourcery.com>
31222 * sysdeps/unix/sysv/linux/kernel-features.h
31223 (__ASSUME_POSIX_CPU_TIMERS): Remove.
31224 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31225 [__NR_clock_getres]: Make code unconditional.
31226 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31227 (clock_getcpuclockid): Remove code left unreachable by removal of
31229 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31230 code unconditional.
31231 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31232 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31233 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31234 Make code unconditional.
31235 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31236 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31237 * sysdeps/unix/sysv/linux/clock_settime.c
31238 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31240 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31241 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31243 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
31246 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31247 scripts/test-installation.pl.
31249 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31250 and $ld_so_version if it is set.
31252 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31255 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31256 failure if reading from procfs failed.
31257 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31259 2012-08-27 Joseph Myers <joseph@codesourcery.com>
31261 * sysdeps/unix/sysv/linux/kernel-features.h
31262 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31263 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31264 Remove conditional code.
31265 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31266 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31267 Remove conditional code.
31268 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31269 * sysdeps/unix/sysv/linux/i386/fxstat.c
31270 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31271 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31272 * sysdeps/unix/sysv/linux/i386/fxstatat.c
31273 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31274 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31275 * sysdeps/unix/sysv/linux/i386/lxstat.c
31276 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31277 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31278 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31279 Remove conditional code.
31280 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31281 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31282 Remove conditional code.
31283 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31284 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31285 <kernel-features.h>.
31286 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31288 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31289 Remove conditional code.
31290 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31291 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31292 Remove conditional.
31294 2012-08-27 Mike Frysinger <vapier@gentoo.org>
31297 * NEWS: Add fixed bug number.
31299 2012-08-27 Joseph Myers <joseph@codesourcery.com>
31302 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31303 underflowing exponent in case of negative sign.
31304 * stdlib/tst-strtod-round-data: Add more tests.
31305 * stdlib/tst-strtod-round.c (tests): Regenerated.
31308 * stdlib/strtod_l.c (NDIG): Remove.
31309 (HEXNDIG): Likewise.
31310 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31311 smallest representable value.
31312 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31313 lie within an exact representation of 1/2 ulp of the result.
31314 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31316 (TENS_P9_IDX): Define unconditionally.
31317 (TENS_P9_SIZE): Likewise.
31318 (TENS_P10_IDX): Likewise.
31319 (TENS_P10_SIZE): Likewise.
31320 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31321 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31322 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31323 entries for 10^2^13 and 10^2^14.
31324 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31325 (TENS_P13_IDX): Define.
31326 (TENS_P13_SIZE): Likewise.
31327 (TENS_P14_IDX): Likewise.
31328 (TENS_P14_SIZE): Likewise.
31329 (_fpioconst_pow10): Change array size to
31330 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
31332 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31333 1024]: Add entries for 10^2^13 and 10^2^14.
31334 [LAST_POW10 > _LAST_POW10]: Remove #error.
31335 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31336 (_fpioconst_pow10): Change array size to
31337 FPIOCONST_POW10_ARRAY_SIZE.
31338 * stdlib/gen-fpioconst.c: New file.
31339 * stdlib/gen-tst-strtod-round.c: Likewise.
31340 * stdlib/tst-strtod-round-data: Likewise.
31341 * stdlib/tst-strtod-round.c: Likewise.
31342 * stdlib/Makefile (tests): Add tst-strtod-round.
31345 * stdlib/strtod_l.c: Include <stdint.h>.
31346 (NDEBUG): Do not define.
31347 (round_and_return): Change EXPONENT parameter to type intmax_t.
31348 Rearrange calculations to avoid internal overflow possibilities.
31349 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31350 Rearrange calculations to avoid internal overflow possibilities.
31351 Assert that number fits inside MPNSIZE limbs.
31352 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31353 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
31354 calculations and add assertions to avoid internal overflow
31355 possibilities. Add casts to avoid signed/unsigned operations.
31356 * stdlib/tst-strtod-overflow.c: New file.
31357 * stdlib/Makefile (tests): Add tst-strtod-overflow.
31359 2012-08-25 Marek Polacek <polacek@redhat.com>
31361 * time/time.h: Fix some typos in comments.
31363 2012-08-23 Roland McGrath <roland@hack.frob.com>
31365 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31366 * posix/tst-rfc3484-2.c: Likewise.
31367 * posix/tst-rfc3484-3.c: Likewise.
31369 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
31371 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31372 (EF_ARM_ABI_FLOAT_HARD): Likewise.
31374 2012-08-23 Joseph Myers <joseph@codesourcery.com>
31376 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31377 #include of fxstatat64.c.
31379 2012-08-22 Roland McGrath <roland@hack.frob.com>
31381 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31382 * shadow/getspent_r.c: Likewise.
31383 * shadow/getspnam.c: Likewise.
31384 * shadow/getspnam_r.c: Likewise.
31385 * gshadow/getsgent.c: Likewise.
31386 * gshadow/getsgent_r.c: Likewise.
31387 * gshadow/getsgnam.c: Likewise.
31388 * gshadow/getsgnam_r.c: Likewise.
31389 * inet/getnetbyad.c: Likewise.
31390 * inet/getnetbyad_r.c: Likewise.
31391 * inet/getnetbynm.c: Likewise.
31392 * inet/getnetbynm_r.c: Likewise.
31393 * inet/getnetent.c: Likewise.
31394 * inet/getnetent_r.c: Likewise.
31395 * inet/getproto.c: Likewise.
31396 * inet/getproto_r.c: Likewise.
31397 * inet/getprtent.c: Likewise.
31398 * inet/getprtent_r.c: Likewise.
31399 * inet/getprtname.c: Likewise.
31400 * inet/getprtname_r.c: Likewise.
31401 * inet/getrpcbyname.c: Likewise.
31402 * inet/getrpcbyname_r.c: Likewise.
31403 * inet/getrpcbynumber.c: Likewise.
31404 * inet/getrpcbynumber_r.c: Likewise.
31405 * inet/getrpcent.c: Likewise.
31406 * inet/getrpcent_r.c: Likewise.
31407 * inet/getaliasent.c: Likewise.
31408 * inet/getaliasent_r.c: Likewise.
31409 * inet/getaliasname.c: Likewise.
31410 * inet/getaliasname_r.c: Likewise.
31411 * nscd/getgrgid_r.c: Likewise.
31412 * nscd/getgrnam_r.c: Likewise.
31413 * nscd/gethstbyad_r.c: Likewise.
31414 * nscd/gethstbynm3_r.c: Likewise.
31415 * nscd/getpwnam_r.c: Likewise.
31416 * nscd/getpwuid_r.c: Likewise.
31417 * nscd/getsrvbynm_r.c: Likewise.
31418 * nscd/getsrvbypt_r.c: Likewise.
31419 * nscd/gai.c: Likewise.
31421 * configure.in (build_nscd): New substituted variable, set
31422 by --disable-build-nscd and defaults to $use_nscd.
31423 * configure: Regenerated.
31424 * config.make.in (build-nscd): New substituted variable.
31425 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31426 Change conditional to require [$(build-nscd) = yes] as well.
31427 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31430 * configure.in (use_nscd): New substituted variable, set by
31431 --disable-nscd. If enabled, define USE_NSCD.
31432 * configure: Regenerated.
31433 * config.h.in: Add USE_NSCD.
31434 * config.make.in (use-nscd): New substituted variable.
31435 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31436 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31437 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31438 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31439 (CFLAGS-getgrnam_r.c): Likewise.
31440 (CFLAGS-initgroups.c): Likewise.
31441 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31442 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31444 * inet/getnetgrent_r.c
31445 (nscd_setnetgrent): New function, broken out of ...
31446 (setnetgrent): ... here. Call it.
31447 (innetgr): Conditionalize nscd bits on [USE_NSCD].
31448 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31449 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31450 * nscd/Makefile (routines, aux): Move definitions after include of
31451 Makeconfig. Conditionalize on [$(use-nscd) != no].
31452 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31453 Conditionalize on [USE_NSCD].
31454 (is_nscd, nscd_init_cb): Likewise.
31455 (nss_load_library): Conditionalize init callback on [USE_NSCD].
31456 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31457 * nss/nss_db/db-init.c: Likewise.
31458 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31460 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31461 (make_request): Use it.
31462 (cache_valid_p): New function.
31463 (__check_pf): Use it.
31464 * NEWS: Add item for --disable-nscd.
31466 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
31468 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31469 to support sed >= 4.2.1-20-ga9bf076.
31470 * configure: Regenerated.
31472 2012-08-22 Roland McGrath <roland@hack.frob.com>
31474 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31475 Conditionalize whole body on [IREL].
31477 2012-08-22 Jeff Law <law@redhat.com>
31480 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31481 if the family is PF_UNSPEC.
31483 2012-08-22 Mike Frysinger <vapier@gentoo.org>
31485 * Makerules (lib-version): Rename from V.
31486 (install-lib-nosubdir): Change V to lib-version.
31488 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
31491 * powerpc32/power6/wcschr.c: New file.
31492 * powerpc32/power6/wcscpy.c: New file.
31493 * powerpc32/power6/wcsrchr.c: New file.
31494 * powerpc64/power6/wcschr.c: New file.
31495 * powerpc64/power6/wcscpy.c: New file.
31496 * powerpc64/power6/wcsrchr.c: New file.
31498 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31500 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31501 (two_way_short_needle): Use it.
31502 * string/strstr.c (AVAILABLE1_USES_J): Define.
31503 * string/strcasestr.c: Likewise.
31505 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31507 * string/strcasestr.c (TOLOWER): Make side-effect safe.
31510 * NEWS: Add an entry.
31511 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31512 define their defaults.
31513 (two_way_short_needle): Detect end-of-string on-the-fly.
31514 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31515 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31516 * string/bug-strcasestr1.c: New test.
31517 * string/Makefile: Run it.
31519 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31522 * string/str-two-way.h (two_way_short_needle): Optimize matching of
31523 the first character.
31525 2012-08-21 Roland McGrath <roland@hack.frob.com>
31527 * csu/elf-init.c (__libc_csu_irel): Function removed.
31528 * csu/libc-start.c (apply_irel): New function.
31529 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31531 2012-08-21 Joseph Myers <joseph@codesourcery.com>
31533 * sysdeps/unix/sysv/linux/kernel-features.h
31534 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31535 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31536 <kernel-features.h>.
31537 [__NR_fadvise64_64]: Make code unconditional.
31538 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31539 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31540 !__NR_fadvise64_64)]: Likewise.
31541 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31542 !__NR_fadvise64_64))]: Likewise.
31543 [__NR_fadvise64]: Make code unconditional.
31544 [!__NR_fadvise64]: Remove conditional code.
31545 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31546 <kernel-features.h>.
31547 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31549 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31552 not include <kernel-features.h>.
31553 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31555 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31557 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31558 include <kernel-features.h>.
31559 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31561 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31564 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31566 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31567 slight instruction rearrangements per scrollpipe analysis.
31568 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31570 2012-08-20 Roland McGrath <roland@hack.frob.com>
31572 * manual/syslog.texi (syslog; vsyslog, closelog):
31573 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31574 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31576 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31577 DSOCAPS to match condition on defining it.
31579 2012-08-20 Joseph Myers <joseph@codesourcery.com>
31581 * sysdeps/unix/sysv/linux/kernel-features.h
31582 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31584 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31585 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31587 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31588 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31590 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31591 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31593 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31594 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31596 * sysdeps/unix/sysv/linux/kernel-features.h
31597 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31598 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31600 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31601 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31602 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31603 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31604 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31605 Make code unconditional.
31606 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31607 (__mmap64) [!__NR_mmap2]: Likewise.
31608 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31609 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31610 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31611 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31612 [__NR_mmap2]: Make code unconditional.
31613 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31614 (__mmap64) [!__NR_mmap2]: Likewise.
31616 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31618 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31620 2012-08-18 Andreas Jaeger <aj@suse.de>
31622 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31624 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31626 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31627 * include/unistd.h (__have_sock_cloexec): Likewise.
31628 (__have_pipe2): Likewise.
31629 (__have_dup3): Likewise.
31631 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31634 * include/unistd.h (__have_pipe2): Change define into an extern int.
31635 (__have_dup3): Likewise.
31636 * socket/have_sock_cloexec.c: Include fcntl.h.
31637 (__have_pipe2): New variable.
31638 (__have_dup3): Likewise.
31640 2012-08-17 Mike Frysinger <vapier@gentoo.org>
31642 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31644 2012-08-17 Marek Polacek <polacek@redhat.com>
31646 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31647 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31649 2012-08-17 Roland McGrath <roland@hack.frob.com>
31651 * configure.in: Add AC_SUBST for sysheaders.
31652 * configure: Regenerated.
31653 * config.make.in (sysheaders): New substituted variable.
31655 * sysdeps/unix/mkfifo.c: Moved ...
31656 * sysdeps/posix/mkfifo.c: ... here.
31657 * sysdeps/unix/mkfifoat.c: Moved ...
31658 * sysdeps/posix/mkfifoat.c: ... here.
31660 * sysdeps/unix/utime.c: Moved ...
31661 * sysdeps/posix/utime.c: ... here.
31663 * sysdeps/unix/time.c: Moved ...
31664 * sysdeps/posix/time.c: ... here.
31665 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31666 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31668 * sysdeps/unix/nice.c: Moved ...
31669 * sysdeps/posix/nice.c: ... here.
31671 * sysdeps/unix/alarm.c: Moved ...
31672 * sysdeps/posix/alarm.c: ... here.
31674 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31676 2012-08-17 Jeff Law <law@redhat.com>
31678 * intl/Makefile (codeset_mo): New variable.
31679 ($(codeset_mo)): New target.
31680 (tst-codeset.out): Depend on that. Remove explicit rule.
31681 (tst-gettext3.out, tst-gettext5.out): Likewise.
31682 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31683 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31684 * intl/tst-codeset.sh: Remove.
31685 * intl/tst-gettext3.sh: Likewise.
31686 * intl/tst-gettext5.sh: Likewise.
31688 2012-08-17 Roland McGrath <roland@hack.frob.com>
31690 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
31691 * sysdeps/unix/syscalls.list: ... here.
31693 * sysdeps/posix/getaddrinfo.c
31694 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31695 (gaiconf_init, gaiconf_reload): Use them.
31696 [!_STATBUF_ST_NSEC]
31697 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31698 Define using time_t rather than struct timespec.
31700 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31701 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31703 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31705 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31706 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31709 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31710 __libc_cleanup_push argument.
31712 * bits/param.h: New file.
31713 * misc/sys/param.h: New file.
31714 * include/sys/param.h: New file.
31715 * misc/Makefile (headers): Add bits/param.h.
31716 * sysdeps/generic/sys/param.h: File removed.
31717 * sysdeps/unix/sysv/linux/bits/param.h: New file.
31718 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31719 * sysdeps/mach/hurd/bits/param.h: New file.
31720 * sysdeps/mach/hurd/sys/param.h: File removed.
31722 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31725 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31727 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31728 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31731 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31732 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31733 rather than -D_IO_MTSAFE_IO conditionally.
31734 * stdio-common/Makefile (CPPFLAGS): Likewise.
31735 * wcsmbs/Makefile (CPPFLAGS): Likewise.
31736 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31737 Use $(libio-mtsafe).
31738 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31739 of -D_IO_MTSAFE_IO.
31740 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31741 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31742 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31743 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31744 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31745 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31746 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31747 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31748 (CFLAGS-fread_u_chk.c): Likewise.
31749 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31750 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31751 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31752 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31753 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31754 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31755 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31756 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31757 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31759 * libio/Makefile: Test [$(libc-reentrant) = yes]
31760 instead of [$(filter %REENTRANT, $(defines)) nonempty].
31763 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31764 * sysdeps/pthread/configure: File removed.
31765 * sysdeps/pthread/Makeconfig: New file.
31766 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31767 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31769 2012-08-16 Gary Benson <gbenson@redhat.com>
31771 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31772 unmapping the first object in a namespace.
31774 2012-08-16 Roland McGrath <roland@hack.frob.com>
31776 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31777 (__internal_setnetgrent): ... this. Add internal_function to
31778 definition. Add libc_hidden_def.
31779 (setnetgrent): Update caller.
31780 (internal_endnetgrent): Renamed to ...
31781 (__internal_endnetgrent): ... this. Add internal_function to
31782 definition. Add libc_hidden_def.
31783 (endnetgrent): Update caller.
31784 (internal_getnetgrent_r): Renamed to ...
31785 (__internal_getnetgrent_r): ... this. Add internal_function to
31786 definition. Add libc_hidden_def.
31787 (__getnetgrent_r): Update caller.
31788 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
31790 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31792 * stdlib/longlong.h: Update from GCC.
31794 2012-08-16 Roland McGrath <roland@hack.frob.com>
31796 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31797 on _QL, which is set by umul_ppmm but never used.
31798 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31799 variables, which are set by GMP macros but never used.
31800 * stdio-common/_itowa.c (_itowa): Likewise.
31801 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31802 * stdlib/mod_1.c (mpn_mod_1): Likewise.
31804 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
31806 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31807 struct La_sh_regs is not constant.
31808 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31809 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31810 and struct La_sparc64_regs are not constant.
31812 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31814 * sysdeps/unix/sysv/linux/kernel-features.h
31815 (__ASSUME_POSIX_TIMERS): Remove.
31816 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31817 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31818 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31819 Make code unconditional.
31820 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31821 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31822 Make code unconditional.
31823 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31824 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31825 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31826 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31827 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31828 Make code unconditional.
31829 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31830 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31831 (__libc_missing_posix_timers): Remove.
31833 2012-08-15 Roland McGrath <roland@hack.frob.com>
31835 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31836 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31838 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31840 * elf/dl-sym.c: Include <stdlib.h>.
31842 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31843 constants, which avoids warnings in 32-bit builds.
31845 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31846 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31848 * misc/lseek.c: File moved to ...
31849 * io/lseek.c: ... here.
31851 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31853 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31854 shifting LEN more than 31 bits at once.
31856 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31859 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31860 segmentation fault for a case of two empty input strings.
31861 * string/test-strncasecmp.c (check1): Renamed to...
31862 (bz12205): ...this.
31863 (bz14195): Add new testcase for two empty input strings and N > 0.
31864 (test_main): Call new testcase, adapt for renamed function.
31866 2012-08-15 Andreas Jaeger <aj@suse.de>
31869 * crypt/md5test2.c: New test, based on test supplied by Serge
31870 Belyshev <belyshev@depni.sinp.msu.ru>.
31871 * crypt/Makefile (xtests): Add md5test-giant..
31872 * crypt/Makefile ($(objpfx)md5test-giant): Add.
31874 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
31877 * crypt/md5.c (md5_process_block): Don't assume the buffer
31878 length is less than 2**32.
31879 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31880 length is less than 2**64.
31882 2012-08-15 Roland McGrath <roland@hack.frob.com>
31884 * string/str-two-way.h: Include <sys/param.h>.
31885 (MAX): Macro removed.
31887 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31888 Move #define and #undef of memmove to just before and after
31889 including <string.h>.
31891 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31892 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31893 and after including <string.h>. Move declarations of
31894 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31895 to before #include "string/memmove.c".
31897 * include/dirent.h: Declare __getdirentries.
31899 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31900 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31902 2012-08-14 Mike Frysinger <vapier@gentoo.org>
31904 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31905 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31906 * sysdeps/i386/configure: Regenerated.
31907 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31908 STABS_CURRENT_FILE, and STABS_FUN.
31909 (END): Remove call to STABS_FUN_END.
31910 (STABS_CURRENT_FILE1): Delete.
31911 (STABS_CURRENT_FILE): Likewise.
31912 (STABS_FUN): Likewise.
31913 (STABS_FUN_END): Likewise.
31914 (STABS_FUN2): Likewise.
31915 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31916 * sysdeps/x86_64/configure: Regenerated.
31918 2012-08-14 Roland McGrath <roland@hack.frob.com>
31920 * elf/dl-open.c: Include <atomic.h>.
31921 * elf/dl-lookup.c: Likewise.
31923 2012-08-14 Joseph Myers <joseph@codesourcery.com>
31925 * sysdeps/unix/sysv/linux/kernel-features.h
31926 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31927 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31929 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31931 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31932 condition on __ASSUME_CLONE_THREAD_FLAGS.
31934 2012-08-14 Andreas Jaeger <aj@suse.de>
31936 * sysdeps/i386/fpu/libm-test-ulps: Update.
31938 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
31940 * include/atomic.h (atomic_exchange_and_add): Split into ...
31941 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31944 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
31946 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31948 2012-08-13 Jeff Law <law@redhat.com>
31950 * manual/stdio.texi (snprintf): Clarify handling of the trailing
31951 null byte in the output string.
31953 2012-08-10 Joseph Myers <joseph@codesourcery.com>
31955 * sysdeps/unix/sysv/linux/kernel-features.h
31956 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31957 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31958 (__ASSUME_ARG_MAX_STACK_BASED): Define.
31959 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31960 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31961 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
31962 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31964 2012-08-09 Jeff Law <law@redhat.com>
31967 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31968 When avoid_arena is set, don't retry in the that arena. Pick the
31969 next one, whatever it might be.
31970 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31971 (arena_lock): Pass in new parameter to arena_get2.
31972 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31974 (__libc_malloc): Unify retrying after main arena failure with
31975 __libc_memalign version.
31976 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31978 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
31981 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31982 to __redirect_strstr.
31983 (__strstr_sse42): Use typeof __redirect_strstr.
31984 (__strstr_ia32): Likewise.
31985 (__libc_strstr): New prototype.
31986 (strstr): Renamed to ...
31987 (__libc_strstr): This.
31988 (strstr): New strong alias of __libc_strstr.
31989 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31990 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31993 (__libc_time): New prototype.
31994 (time_ifunc): Replace time with __libc_time.
31995 (time): New strong alias and hidden definition of __libc_time.
31996 (__GI_time): Remove strong alias.
31997 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31998 Include <stddef.h>.
31999 (memmove): Redefined to __redirect_memmove.
32000 (__memmove_sse2): Use typeof __redirect_memmove.
32001 (__memmove_ssse3): Likewise.
32002 (__memmove_ssse3_back): Likewise.
32003 (__libc_memmove): New prototype.
32004 (memmove): Renamed to ...
32005 (__libc_memmove): This.
32006 (memmove): New strong alias of __libc_memmove.
32008 2012-08-08 Mark Salter <msalter@redhat.com>
32011 (R_MN10300_TLS_GD): Define.
32012 (R_MN10300_TLS_LD): Likewise.
32013 (R_MN10300_TLS_LDO): Likewise.
32014 (R_MN10300_TLS_GOTIE): Likewise.
32015 (R_MN10300_TLS_IE): Likewise.
32016 (R_MN10300_TLS_LE): Likewise.
32017 (R_MN10300_TLS_DTPMOD): Likewise.
32018 (R_MN10300_TLS_DTPOFF): Likewise.
32019 (R_MN10300_TLS_TPOFF): Likewise.
32020 (R_MN10300_SYM_DIFF): Likewise.
32021 (R_MN10300_ALIGN): Likewise.
32022 (R_MN10300_NUM): Update.
32024 2012-08-08 Joseph Myers <joseph@codesourcery.com>
32026 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32029 2012-08-08 Roland McGrath <roland@hack.frob.com>
32031 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32033 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32034 sysdeps/unix -> sysdeps/posix move.
32035 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32037 2012-08-07 Allan McRae <allan@archlinux.org>
32040 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32041 (SUNOS_CPP): Likewise.
32042 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32044 (open_input): Call CPP using execvp.
32046 2012-08-07 Joseph Myers <joseph@codesourcery.com>
32048 * sysdeps/unix/sysv/linux/kernel-features.h
32049 (__ASSUME_PROT_GROWSUPDOWN): Remove.
32050 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32051 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32052 (__ASSUME_WAITID_SYSCALL): Likewise.
32053 * sysdeps/unix/sysv/linux/dl-execstack.c
32054 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32055 code unconditional.
32056 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32058 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32059 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32060 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32062 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32064 [__ASSUME_WAITID_SYSCALL]: Likewise.
32065 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32067 2012-08-07 Roland McGrath <roland@hack.frob.com>
32069 * sysdeps/unix/closedir.c: Renamed to ...
32070 * sysdeps/posix/closedir.c: ... here.
32071 * sysdeps/unix/dirfd.c: Renamed to ...
32072 * sysdeps/posix/dirfd.c: ... here.
32073 * sysdeps/unix/dirstream.h: Renamed to ...
32074 * sysdeps/posix/dirstream.h: ... here.
32075 * sysdeps/unix/fdopendir.c: Renamed to ...
32076 * sysdeps/posix/fdopendir.c: ... here.
32077 * sysdeps/unix/opendir.c: Renamed to ...
32078 * sysdeps/posix/opendir.c: ... here.
32079 * sysdeps/unix/readdir.c: Renamed to ...
32080 * sysdeps/posix/readdir.c: ... here.
32081 * sysdeps/unix/readdir_r.c: Renamed to ...
32082 * sysdeps/posix/readdir_r.c: ... here.
32083 * sysdeps/unix/rewinddir.c: Renamed to ...
32084 * sysdeps/posix/rewinddir.c: ... here.
32085 * sysdeps/unix/seekdir.c: Renamed to ...
32086 * sysdeps/posix/seekdir.c: ... here.
32087 * sysdeps/unix/telldir.c: Renamed to ...
32088 * sysdeps/posix/telldir.c: ... here.
32089 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32090 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32091 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32092 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32094 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32095 * bits/fcntl.h: ... here.
32097 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32099 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32100 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32101 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32102 (struct flock): Move l_start, l_len to the beginning.
32103 Use __pid_t for l_pid.
32104 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32105 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32106 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32107 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32108 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32109 [__USE_LARGEFILE64] (struct flock64): New type.
32110 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32112 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32113 * bits/dirent.h: ... here.
32115 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32116 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32118 2012-08-07 Joseph Myers <joseph@codesourcery.com>
32120 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32121 Change from 2.6.0 to 2.6.16.
32122 * sysdeps/unix/sysv/linux/configure: Regenerated.
32123 * sysdeps/unix/sysv/linux/kernel-features.h
32124 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32125 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32127 (__ASSUME_UTIMES): Likewise.
32128 (__ASSUME_CLONE_STOPPED): Remove.
32129 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32130 architectures, not kernel version.
32131 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32132 (__ASSUME_NO_CLONE_DETACHED): Likewise.
32133 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32134 (__ASSUME_WAITID_SYSCALL): Likewise.
32135 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32136 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32137 * README: State 2.6.16 as minimum Linux kernel version. Do not
32138 refer to older versions.
32140 2012-08-06 Roland McGrath <roland@hack.frob.com>
32142 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32143 Define alphasort64 as an alias.
32144 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32145 Define versionsort64 as an alias.
32146 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32147 Define scandir64 as an alias.
32148 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32149 Define scandirat64 as an alias.
32150 * dirent/alphasort64.c (alphasort64):
32151 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32152 * dirent/versionsort64.c: Likewise.
32153 * dirent/scandir64.c: Likewise.
32154 * dirent/scandirat64.c: Likewise.
32155 * sysdeps/wordsize-64/alphasort.c: File removed.
32156 * sysdeps/wordsize-64/alphasort64.c: File removed.
32157 * sysdeps/wordsize-64/scandir.c: File removed.
32158 * sysdeps/wordsize-64/scandir64.c: File removed.
32159 * sysdeps/wordsize-64/scandirat.c: File removed.
32160 * sysdeps/wordsize-64/scandirat64.c: File removed.
32161 * sysdeps/wordsize-64/versionsort.c: File removed.
32162 * sysdeps/wordsize-64/versionsort64.c: File removed.
32163 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32164 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32165 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32166 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32167 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32168 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32169 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32170 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32172 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32173 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32174 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32175 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32176 [defined __arch64__ || defined __sparcv9]
32177 (__INO_T_MATCHES_INO64_T): New macro.
32178 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32179 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32180 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32181 * sysdeps/unix/sysv/linux/bits/dirent.h
32182 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32183 (_DIRENT_MATCHES_DIRENT64): New macro.
32185 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32186 Define lockf64 as an alias.
32187 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32188 Define fseeko64 as an alias.
32189 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32190 Define ftello64 as an alias.
32191 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32192 Define _IO_fgetpos64 and fgetpos64 as aliases.
32193 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32194 Define _IO_fsetpos64 and fsetpos64 as aliases.
32195 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32196 Conditionalize body on this.
32197 * libio/fseeko64.c: Likewise.
32198 * libio/ftello64.c: Likewise.
32199 * libio/iofgetpos64.c: Likewise.
32200 * libio/iofsetpos64.c: Likewise.
32201 * sysdeps/wordsize-64/lockf.c: File removed.
32202 * sysdeps/wordsize-64/lockf64.c: File removed.
32203 * sysdeps/wordsize-64/fseeko.c: File removed.
32204 * sysdeps/wordsize-64/fseeko64.c: File removed.
32205 * sysdeps/wordsize-64/ftello.c: File removed.
32206 * sysdeps/wordsize-64/ftello64.c: File removed.
32207 * sysdeps/wordsize-64/iofgetpos.c: File removed.
32208 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32209 * sysdeps/wordsize-64/iofsetpos.c: File removed.
32210 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32211 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32212 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32213 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32214 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32215 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32216 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32217 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32218 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32219 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32220 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32222 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32223 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32224 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32225 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32226 [defined __arch64__ || defined __sparcv9]
32227 (__OFF_T_MATCHES_OFF64_T): New macro.
32228 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32229 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32230 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32231 (__OFF_T_MATCHES_OFF64_T): New macro.
32233 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32235 * stdlib/secure-getenv.c (__secure_getenv): Replace
32236 GLIBC_2_16 with GLIBC_2_17.
32238 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
32240 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32241 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32243 2012-08-03 David S. Miller <davem@davemloft.net>
32245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32247 2012-08-03 Joseph Myers <joseph@codesourcery.com>
32249 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32251 (__ASSUME_CORRECT_SI_PID): Likewise.
32252 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32253 (__ASSUME_TMPFS_NAME): Likewise.
32254 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32255 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32256 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32257 (HAVE_AUX_SECURE): Make definition unconditional.
32258 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32259 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32261 2012-08-03 Roland McGrath <roland@hack.frob.com>
32263 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32264 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32265 * sysdeps/mach/hurd/eloop-threshold.h: New file.
32266 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32267 __eloop_threshold instead of SYMLOOP_MAX.
32269 * sysdeps/generic/eloop-threshold.h: New file.
32270 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32272 * elf/chroot_canon.c (chroot_canon): Likewise.
32274 2012-08-03 Joseph Myers <joseph@codesourcery.com>
32277 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32278 Change to 2.6.0 everywhere.
32279 * sysdeps/unix/sysv/linux/configure: Regenerated.
32280 * sysdeps/unix/sysv/linux/kernel-features.h
32281 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32282 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32284 (__ASSUME_POSIX_TIMERS): Define unconditionally.
32285 (__ASSUME_FUTEX_REQUEUE): Remove.
32286 (__ASSUME_STATFS64): Define unconditionally.
32287 (__ASSUME_AT_SECURE): Likewise.
32288 (__ASSUME_CORRECT_SI_PID): Likewise.
32289 (__ASSUME_TGKILL): Define without depending on kernel version for
32291 (__ASSUME_UTIMES): Likewise.
32292 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32294 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32295 (__ASSUME_TMPFS_NAME): Likewise.
32296 * README: Update reference to Linux kernel versions.
32298 2012-08-02 Marek Polacek <polacek@redhat.com>
32301 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
32302 libc_cv_asm_type_prefix with %.
32303 * configure: Regenerated.
32304 * include/libc-symbols.h: Remove comment about
32305 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32306 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32307 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32308 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32309 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32310 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32311 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32312 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32313 * elf/tst-unique2mod1.c: Likewise.
32314 * elf/tst-unique1mod2.c: Likewise.
32315 * elf/tst-unique1mod1.c: Likewise.
32316 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32317 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32318 Replace ASM_TYPE_DIRECTIVE with .type.
32319 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32320 * sysdeps/i386/sysdep.h: Likewise.
32321 * sysdeps/x86_64/sysdep.h: Likewise.
32322 * sysdeps/sh/sysdep.h: Likewise.
32323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32324 Do not define ASM_TYPE_DIRECTIVE.
32325 * sysdeps/powerpc/sysdep.h: Likewise.
32326 * sysdeps/powerpc/powerpc32/sysdep.h:
32327 Replace ASM_TYPE_DIRECTIVE with .type.
32328 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32329 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32330 * sysdeps/i386/fpu/e_powf.S: Likewise.
32331 * sysdeps/i386/fpu/e_expl.S: Likewise.
32332 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32333 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32334 * sysdeps/i386/fpu/e_pow.S: Likewise.
32335 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32336 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32337 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32338 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32339 * sysdeps/i386/fpu/e_log2.S: Likewise.
32340 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32341 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32342 * sysdeps/i386/fpu/e_powl.S: Likewise.
32343 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32344 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32345 * sysdeps/i386/fpu/e_logl.S: Likewise.
32346 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32347 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32348 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32349 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32350 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32351 * sysdeps/i386/fpu/e_log.S: Likewise.
32352 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32353 * sysdeps/i386/fpu/e_logf.S: Likewise.
32354 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32355 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32356 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32357 * sysdeps/i386/fpu/e_log10.S: Likewise.
32358 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32359 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32360 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32361 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32362 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32363 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32364 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32365 * sysdeps/i386/i686/strtok.S: Likewise.
32366 * sysdeps/i386/i386-mcount.S: Likewise.
32367 * sysdeps/i386/strtok.S: Likewise.
32368 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32369 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32370 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32371 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32372 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32373 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32374 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32375 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32376 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32377 * sysdeps/x86_64/_mcount.S: Likewise.
32378 * sysdeps/x86_64/strtok.S: Likewise.
32379 * sysdeps/sh/_mcount.S: Likewise.
32381 2012-08-01 Roland McGrath <roland@hack.frob.com>
32383 * libio/iofopen.c: Include <fcntl.h>.
32384 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32385 (_IO_fopen64, fopen64): Define as aliases.
32386 * libio/iofopen64.c: Include <fcntl.h>.
32387 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32388 Conditionalize body on this.
32389 * sysdeps/wordsize-64/iofopen.c: File removed.
32390 * sysdeps/wordsize-64/iofopen64.c: File removed.
32392 2012-08-01 Marek Polacek <polacek@redhat.com>
32394 * libc/Makeconfig: Use elf in place of binfmt-subdir.
32395 Use dlfcn directly instead of a variable.
32396 (binfmt-subdir): Do not define.
32399 2012-08-01 Joseph Myers <joseph@codesourcery.com>
32401 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32402 Remove all definitions.
32403 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32404 <kernel-features.h>.
32405 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32406 (miss_F_GETOWN_EX): Remove all definitions.
32407 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32409 [!__ASSUME_FCNTL64]: Remove conditional code.
32410 [__ASSUME_FCNTL64]: Make code unconditional.
32411 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32412 <kernel-features.h>.
32413 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32414 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32415 (lockf64) [__NR_fcntl64]: Make code unconditional.
32416 (lockf64) [__ASSUME_FCNTL64]: Likewise.
32418 * sysdeps/unix/sysv/linux/kernel-features.h
32419 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32420 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32421 Make code unconditional.
32422 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32423 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32425 [__NR_vfork]: Make code unconditional.
32426 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32427 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32429 [__NR_vfork]: Make code unconditional.
32430 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32431 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32433 2012-08-01 Roland McGrath <roland@hack.frob.com>
32435 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32436 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32438 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32439 Define mkstemp64 as an alias.
32440 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32441 Define mkstemps64 as an alias.
32442 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32443 Define mkostemp64 as an alias.
32444 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32445 Define mkostemps64 as an alias.
32446 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32447 Conditionalize body on this.
32448 * misc/mkostemp64.c: Likewise.
32449 * misc/mkostemps64.c: Likewise.
32450 * misc/mkstemps64.c: Likewise.
32451 * sysdeps/wordsize-64/mkstemp64.c: File removed.
32452 * sysdeps/wordsize-64/mkostemp64.c: File removed.
32453 * sysdeps/wordsize-64/mkostemp.c: File removed.
32454 * sysdeps/wordsize-64/mkstemp.c: File removed.
32455 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32456 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32457 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32458 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32461 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32462 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32463 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32464 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32466 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32467 compat_symbol macros from <shlib-compat.h> rather than the underlying
32468 default_symbol_version and symbol_version macros, so that DEFAULT
32469 lines in shlib-versions are respected.
32470 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32472 2012-08-01 Florian Weimer <fweimer@redhat.com>
32474 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32475 Declare with warn_unused_result.
32476 (setgid, setregid, setegid, setresgid): Likewise.
32477 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32479 * WUR-REPORT: Remove set*id functions.
32481 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
32483 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32485 2012-07-31 Roland McGrath <roland@hack.frob.com>
32488 * include/sys/socket.h (__libc_accept, __libc_accept4):
32489 Add attribute_hidden.
32490 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32492 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32494 * inet/getnetgrent_r.c (setup): Likewise.
32496 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32498 2012-07-31 David S. Miller <davem@davemloft.net>
32500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32502 2012-07-31 Joseph Myers <joseph@codesourcery.com>
32505 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32506 value between 1.0 and 2.0 and smaller part has absolute value less
32508 * math/s_clog10.c (__clog10): Likewise.
32509 * math/s_clog10f.c (__clog10f): Likewise.
32510 * math/s_clog10l.c (__clog10l): Likewise.
32511 * math/s_clogf.c (__clogf): Likewise.
32512 * math/s_clogl.c (__clogl): Likewise.
32513 * math/libm-test.inc (clog_test): Add more tests.
32514 (clog10_test): Likewise.
32515 * sysdeps/i386/fpu/libm-test-ulps: Update.
32516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32518 2012-07-31 Florian Weimer <fweimer@redhat.com>
32520 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32521 Exit with zero in case no suitable GID is found, and write a
32522 message to standard error.
32524 2012-07-30 Roland McGrath <roland@hack.frob.com>
32526 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32528 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32529 (MAXPATHLEN): Removed.
32530 (NOGROUP, NODEV): New macros.
32531 (setbit, clrbit, isset, isclr): New macros.
32532 (howmany, roundup, powerof2): New macros.
32533 (DEV_BSIZE): New macro.
32535 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32536 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32538 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32539 definition on [!__NO_LONG_DOUBLE_MATH].
32541 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32542 PTR_MANGLE and PTR_DEMANGLE.
32544 * socket/accept4.c (accept4): Rename to __libc_accept4.
32545 Define accept4 as a weak alias.
32547 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32548 on [_DIRENT_HAVE_D_TYPE].
32549 * io/ftw.c (ftw_dir): Likewise.
32551 * io/xmknod.c (__xmknod): Don't check PATH for being null.
32553 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32555 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32556 Use the BSD numbers rather than the arbitrary ones we had.
32557 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32558 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32559 (SIGXCPU, SIGXFSZ): New macros.
32562 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32563 initializer on [_LIBC_REENTRANT].
32565 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32566 definitions inside [_POSIX_MAPPED_FILES].
32568 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32570 * dirent/opendir.c: Include <fcntl.h>.
32572 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32573 (__libc_getspecific): Likewise.
32574 (__libc_key_create): Likewise.
32576 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32577 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32578 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32579 (tmpfile64): Define as alias.
32580 * sysdeps/wordsize-64/tmpfile.c: File removed.
32581 * sysdeps/wordsize-64/tmpfile64.c: File removed.
32582 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32583 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32585 * stdio-common/vfscanf.c: Include <stdbool.h>.
32586 * nss/makedb.c: Likewise.
32587 * stdio-common/_i18n_number.h: Likewise.
32588 * argp/argp-help.c: Likewise.
32589 * posix/wordexp.c: Likewise.
32590 * sysdeps/posix/spawni.c: Likewise.
32591 * nss/nss_files/files-initgroups.c: Likewise.
32592 * stdio-common/reg-modifier.c: Include <stdlib.h>.
32593 * nss/nss_files/files-initgroups.c: Likewise.
32594 * nss/nss_db/db-netgrp.c: Likewise.
32595 * nss/nss_db/db-initgroups.c: Likewise.
32596 * io/fchmodat.c: Include <sys/stat.h>.
32598 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32599 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32601 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32604 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32605 Add multiple inclusion protection.
32607 2012-07-27 David S. Miller <davem@davemloft.net>
32609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32611 2012-07-27 Gary Benson <gbenson@redhat.com>
32614 * elf/rtld.c: Include <stap-probe.h>.
32615 (dl_main): Added static probes "init_start" and "init_complete".
32616 * elf/dl-load.c: Include <stap-probe.h>.
32617 (lose): Take new parameter "nsid".
32618 Added static probe "map_failed".
32619 (_dl_map_object_from_fd): Pass namespace id to lose.
32620 Added static probe "map_start".
32621 (open_verify): Pass namespace id to lose.
32622 * elf/dl-open.c: Include <stap-probe.h>.
32623 (dl_open_worker) Added static probes "map_complete", "reloc_start"
32624 and "reloc_complete".
32625 * elf/dl-close.c: Include <stap-probe.h>.
32626 (_dl_close_worker): Added static probes "unmap_start" and
32628 * elf/rtld-debugger-interface.txt: New file documenting the above.
32630 2012-07-26 Roland McGrath <roland@hack.frob.com>
32632 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32633 rather than a string variable.
32634 * sunrpc/rpc_main.c (h_output): Likewise.
32635 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32637 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32639 * inet/check_native.c: New file.
32641 2012-07-26 Joseph Myers <joseph@codesourcery.com>
32644 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32645 if larger part has absolute value 1.0.
32646 * math/s_clog10.c (__clog10): Likewise.
32647 * math/s_clog10f.c (__clog10f): Likewise.
32648 * math/s_clog10l.c (__clog10l): Likewise.
32649 * math/s_clogf.c (__clogf): Likewise.
32650 * math/s_clogl.c (__clogl): Likewise.
32651 * math/libm-test.inc (clog_test): Add more tests.
32652 (clog10_test): Likewise.
32653 * sysdeps/i386/fpu/libm-test-ulps: Update.
32654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32656 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32657 (pltexit): Likewise.
32658 (La_regs): Likewise.
32659 (La_retval): Likewise.
32660 (int_retval): Likewise.
32661 Update #error for removed macros to refer only to definitions in
32663 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32665 (pltexit): Likewise.
32666 (La_regs): Likewise.
32667 (La_retval): Likewise.
32668 (int_retval): Likewise.
32669 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32671 (pltexit): Likewise.
32672 (La_regs): Likewise.
32673 (La_retval): Likewise.
32674 (int_retval): Likewise.
32675 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32677 (pltexit): Likewise.
32678 (La_regs): Likewise.
32679 (La_retval): Likewise.
32680 (int_retval): Likewise.
32681 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32683 (pltexit): Likewise.
32684 (La_regs): Likewise.
32685 (La_retval): Likewise.
32686 (int_retval): Likewise.
32687 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32689 (pltexit): Likewise.
32690 (La_regs): Likewise.
32691 (La_retval): Likewise.
32692 (int_retval): Likewise.
32693 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32695 (pltexit): Likewise.
32696 (La_regs): Likewise.
32697 (La_retval): Likewise.
32698 (int_retval): Likewise.
32699 * sysdeps/generic/tst-audit.h: Update comment to refer only to
32700 macro definitions in tst-audit.h.
32701 * sysdeps/i386/tst-audit.h: New file.
32702 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32703 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32704 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32705 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32706 * sysdeps/sh/tst-audit.h: Likewise.
32707 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32708 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32709 * sysdeps/x86_64/tst-audit.h: Likewise.
32711 2012-07-26 Andreas Jaeger <aj@suse.de>
32713 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32716 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32717 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32718 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32720 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32721 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32722 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32724 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32727 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32729 (si_call_addr, si_syscall, si_arch): Define new macro.
32730 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32732 (si_call_addr, si_syscall, si_arch): Define new marcro.
32733 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32735 (si_call_addr, si_syscall, si_arch): Define new macro.
32736 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32738 (si_call_addr, si_syscall, si_arch): Define new macro.
32740 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32743 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32744 Change to 2.4.21 where previously 2.4.1.
32745 * sysdeps/unix/sysv/linux/configure: Regenerated.
32746 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32747 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32748 Linux kernel version.
32749 (__ASSUME_STD_AUXV): Remove.
32750 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32752 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32753 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32754 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32755 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32756 (__ASSUME_NETLINK_SUPPORT): Likewise.
32757 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32758 (__no_netlink_support): Remove conditional definition.
32759 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32761 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32762 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32763 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32764 (if_nameindex_ioctl): Remove.
32765 (if_nameindex_netlink): Do not handle __no_netlink_support.
32766 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32768 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32769 Remove conditional code.
32770 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32772 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32774 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32775 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32776 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32778 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32779 [!__ASSUME_STD_AUXV]: Remove conditional code.
32780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32781 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32782 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32784 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32785 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32787 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32789 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32790 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32792 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32794 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32797 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32800 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32801 code unconditional.
32802 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32804 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32806 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32809 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32811 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32814 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32815 code unconditional.
32816 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32818 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32820 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32823 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32824 code unconditional.
32825 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32827 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32829 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32832 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32834 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32835 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32836 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32837 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32838 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32839 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32840 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32841 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32842 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32843 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32844 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32845 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32846 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32847 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32848 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32849 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32850 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32851 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32852 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32853 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32854 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32855 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32856 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32858 2012-07-25 Florian Weimer <fweimer@redhat.com>
32860 * Versions.def: Add GLIBC_2.17.
32861 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32862 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32863 Introduce __libc_secure_getenv.
32864 * stdlib/Versions (2.17): Add secure_getenv
32865 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32866 * stdlib/secure-getenv.c: Rename __secure_getenv to
32867 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32868 symbol __secure_getenv for GLIBC_2.0.
32869 * stdlib/tst-secure-getenv.c: New.
32870 * stdlib/Makefile (tests): Add testcase.
32871 * manual/startup.texi (Environment Access): Document
32873 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32874 __libc_secure_getenv.
32875 * inet/ruserpass.c (ruserpass): Likewise.
32876 * malloc/mtrace.c (mtrace): Likewise.
32877 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32878 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32879 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32880 * sysdeps/posix/tempname.c: Likewise. Evaluate
32881 HAVE_SECURE_GETENV.
32882 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32883 __secure_getenv to __libc_secure_getenv.
32884 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32891 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32894 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32897 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32899 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32900 (struct La_i86_retval): Likewise.
32901 (struct La_x86_64_regs): Likewise.
32902 (struct La_x86_64_retval): Likewise.
32903 (struct La_x32_regs): Likewise.
32904 (struct La_x32_retval): Likewise.
32905 (struct La_ppc32_regs): Likewise.
32906 (struct La_ppc32_retval): Likewise.
32907 (struct La_ppc64_regs): Likewise.
32908 (struct La_ppc64_retval): Likewise.
32909 (struct La_sh_regs): Likewise.
32910 (struct La_sh_retval): Likewise.
32911 (struct La_s390_32_regs): Likewise.
32912 (struct La_s390_32_retval): Likewise.
32913 (struct La_s390_64_regs): Likewise.
32914 (struct La_s390_64_retval): Likewise.
32915 (struct La_sparc32_regs): Likewise.
32916 (struct La_sparc32_retval): Likewise.
32917 (struct La_sparc64_regs): Likewise.
32918 (struct La_sparc64_retval): Likewise.
32919 (struct audit_ifaces): Remove architecture-specific pltenter and
32921 * sysdeps/i386/ldsodefs.h: New file.
32922 * sysdeps/powerpc/ldsodefs.h: Likewise.
32923 * sysdeps/s390/ldsodefs.h: Likewise.
32924 * sysdeps/sh/ldsodefs.h: Likewise.
32925 * sysdeps/sparc/ldsodefs.h: Likewise.
32926 * sysdeps/x86_64/ldsodefs.h: Likewise.
32928 2012-07-25 Marek Polacek <polacek@redhat.com>
32931 * math/libm-test.inc (yn_test): Add another test.
32932 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32933 to ERANGE when the result is +-Inf.
32934 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32935 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32936 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32937 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32939 2012-07-24 Joseph Myers <joseph@codesourcery.com>
32941 * conform/data/time.h-data (NULL): Use macro-constant. Require
32943 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
32945 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
32947 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
32949 * configure.in <sysdeps resolving>: Correct printing
32951 * configure: Regenerate.
32953 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
32955 * math/w_ilogb.c: Include <limits.h>.
32956 * math/w_ilogbl.c: Likewise.
32958 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32960 * manual/lang.texi (__va_copy): Document primarily as ISO C99
32961 va_copy. Document allowing for unavailable va_copy only as
32962 pre-C99 compatibility.
32963 * manual/string.texi (Copying and Concatenation): Use va_copy
32964 instead of __va_copy in concat example.
32966 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
32968 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32969 (__sendto): Use create_address_port. Initialize APORT and deallocate
32972 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32973 with O_NOLINK passed to __file_name_lookup.
32975 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32976 with O_NOLINK passed to __file_name_lookup.
32978 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32979 negative N or less than NGIDS.
32981 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32982 type to string_t. Set ERANGE as errno and return it if NAME is not big
32983 enough. Use memcpy instead of strncpy.
32985 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32987 * elf/Makefile (check-data): Remove.
32988 (localplt.data): New vpath directive.
32989 ($(objpfx)check-localplt.out): Use localplt.data from vpath
32990 instead of $(check-data).
32991 * scripts/data/localplt-generic.data: Move to ...
32992 * sysdeps/generic/localplt.data: ... here.
32993 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32994 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32995 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32998 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33001 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33004 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33007 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33010 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33011 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33014 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33016 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33017 PPC32 and PPC64 files.
33018 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33019 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33021 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33023 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33024 __makecontext_ret to ...
33025 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33026 ... here and call exit if uc_link is NULL. New file.
33027 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33028 __makecontext_ret.S.
33029 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33030 __makecontext_ret to ...
33031 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33032 ... here and call exit if uc_link is NULL. New file.
33033 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33034 __makecontext_ret.S.
33036 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33038 * elf/elf.h (R_390_IRELATIVE): New definition.
33039 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33040 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
33041 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33042 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33043 (elf_machine_lazy_rel): Likewise.
33044 * sysdeps/s390/dl-irel.h: New file.
33045 * sysdeps/s390/s390-64/memcpy.S: New asm code.
33046 * sysdeps/s390/s390-64/memset.S: New asm code.
33047 * sysdeps/s390/s390-64/memcmp.S: New asm code.
33048 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33049 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33050 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33051 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33052 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33053 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33054 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33055 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33056 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33057 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33058 * sysdeps/s390/s390-32/memcpy.S: New asm code.
33059 * sysdeps/s390/s390-32/memset.S: New asm code.
33060 * sysdeps/s390/s390-32/memcmp.S: New asm code.
33062 2012-07-17 Marek Polacek <polacek@redhat.com>
33065 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33066 * sysdeps/s390/s390-64/configure.in: Likewise.
33067 * sysdeps/sparc/configure.in: Likewise.
33068 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33069 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33070 * sysdeps/i386/configure.in: Likewise.
33071 * sysdeps/x86_64/configure.in: Likewise.
33072 * sysdeps/sh/configure.in: Likewise.
33073 * sysdeps/s390/s390-32/configure: Regenerated.
33074 * sysdeps/s390/s390-64/configure: Likewise.
33075 * sysdeps/x86_64/configure: Likewise.
33076 * sysdeps/sh/configure: Likewise.
33077 * sysdeps/powerpc/powerpc64/configure: Likewise.
33078 * sysdeps/powerpc/powerpc32/configure: Likewise.
33079 * sysdeps/sparc/configure: Likwise.
33080 * sysdeps/i386/configure: Likewise.
33082 * elf/dl-open.c: Comment fixes.
33084 2012-07-17 Joseph Myers <joseph@codesourcery.com>
33086 * Makefile [CXX] (check-data): Remove.
33087 [CXX] (c++-types.data): New vpath directive.
33088 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33089 vpath. Do not allow for C++ type data being missing.
33090 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33091 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33092 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33093 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33094 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33095 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33096 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33099 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33102 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33105 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33108 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33111 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33114 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33117 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33120 * elf/tls-macros.h (TLS_LE): Move architecture-specific
33121 definitions to architecture-specific files.
33122 (TLS_IE): Likewise.
33123 (TLS_LD): Likewise.
33124 (TLS_GD): Likewise.
33125 * sysdeps/i386/tls-macros.h: New file.
33126 * sysdeps/powerpc/tls-macros.h: Likewise.
33127 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33128 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33129 * sysdeps/sh/tls-macros.h: Likewise.
33130 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33131 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33132 * sysdeps/x86_64/tls-macros.h: Likewise.
33134 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33136 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33137 zero value for regular exit case.
33139 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33140 (__start_context): Preserve zero value for regular exit case.
33142 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
33143 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33145 * manual/setjmp.texi (setcontext): Clarify normal process
33146 termination when uc_link is the null pointer.
33147 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33150 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
33152 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33153 preprocessor. Test for each exception mask separately.
33155 2012-07-16 Andreas Jaeger <aj@suse.de>
33157 * po/ru.po: Update from translation team.
33159 2012-07-15 Joseph Myers <joseph@codesourcery.com>
33161 * conform/data/string.h-data (NULL): Use macro-constant. Require
33163 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33164 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33165 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33166 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33167 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33169 2012-07-13 Andreas Jaeger <aj@suse.de>
33171 * po/fr.po: Update from translation team.
33173 2012-07-12 Marek Polacek <polacek@redhat.com>
33176 * math/libm-test.inc (yn_test): Add test for BZ #14173.
33177 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33180 2012-07-12 Joseph Myers <joseph@codesourcery.com>
33183 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33184 Change to 2.4.1 where previously 2.4.0.
33185 * sysdeps/unix/sysv/linux/configure: Regenerated.
33186 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33187 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33189 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33190 (__ASSUME_AT_CLKTCK): Remove.
33191 (__ASSUME_AT_PAGESIZE): Likewise.
33192 (__ASSUME_AT_XID): Likewise.
33193 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33194 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33195 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33197 (HAVE_AUX_PAGESIZE): Likewise.
33198 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33199 [__ASSUME_AT_CLKTCK]: Make code unconditional.
33200 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33202 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
33205 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33206 the temporary buffer used to invoke __gethostbyname2_r,
33207 __gethostbyaddr_r and gethostbyname4_r to make room for struct
33208 host_data / struct gaih_addrtuple.
33209 * resolv/nss_dns/dns-host.c (global scope): Move definition of
33210 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33211 header file nss/nsswitch.h.
33212 * nss/nsswitch.h (global scope): Add definition of implementation
33213 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33214 resolv/nss_dns/dns-host.c).
33216 2012-07-11 Andreas Jaeger <aj@suse.de>
33218 * po/fr.po: Update from translation team.
33220 * po/sv.po: Update from translation team
33221 * po/fr.po: Another update from translation team.
33223 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33225 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33226 for subnormals or multiply small sinh result by itself.
33227 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33230 2012-07-11 David S. Miller <davem@davemloft.net>
33232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33234 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
33237 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33238 (INTERNAL_MARK): Shift it here.
33240 2012-07-10 Marek Polacek <polacek@redhat.com>
33243 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
33244 libc_cv_asm_global_directive with .globl.
33245 * configure: Regenerated.
33246 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33248 * sysdeps/i386/configure: Regenerated.
33249 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33251 * sysdeps/x86_64/configure: Regenerated.
33252 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33253 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33254 * elf/tst-unique2mod2.c: Likewise.
33255 * elf/tst-unique2mod1.c: Likewise.
33256 * elf/tst-unique1mod2.c: Likewise.
33257 * elf/tst-unique1mod1.c: Likewise.
33258 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33259 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33260 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33261 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33262 * sysdeps/mach/sysdep.h: Likewise.
33263 * sysdeps/i386/sysdep.h: Likewise.
33264 * sysdeps/i386/i386-mcount.S: Likewise.
33265 * sysdeps/x86_64/_mcount.S: Likewise.
33266 * sysdeps/x86_64/sysdep.h: Likewise.
33267 * sysdeps/sh/_mcount.S: Likewise.
33268 * sysdeps/sh/sysdep.h: Likewise.
33269 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33270 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33271 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33272 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33273 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33274 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33275 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33276 * locale/localeinfo.h: Likewise.
33277 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33278 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33280 2012-07-09 Roland McGrath <roland@hack.frob.com>
33283 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33285 * manual/message.texi (The Uniforum approach): Likewise.
33286 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33287 (glibc iconv Implementation): Likewise.
33289 2012-07-09 Joseph Myers <joseph@codesourcery.com>
33292 * math/s_clog.c (__clog): Avoid scaling a value down where that
33293 could result in underflow.
33294 * math/s_clog10.c (__clog10): Likewise.
33295 * math/s_clog10f.c (__clog10f): Likewise.
33296 * math/s_clog10l.c (__clog10l): Likewise.
33297 * math/s_clogf.c (__clogf): Likewise.
33298 * math/s_clogl.c (__clogl): Likewise.
33299 * math/libm-test.inc (clog_test): Add more tests.
33300 (clog10_test): Likewise.
33301 * sysdeps/i386/fpu/libm-test-ulps: Update.
33302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33304 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
33307 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33308 by 7 not 8 to examine high bit of fractional part.
33311 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33312 for call to __mcount_internal.
33313 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33314 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33315 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33317 2012-07-06 Joseph Myers <joseph@codesourcery.com>
33320 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33321 approximation for values within 0x1p-13f of an odd multiple of
33323 * math/libm-test.inc (tan_test): Do not allow spurious underflow
33324 exception. Add more tests.
33325 * sysdeps/i386/fpu/libm-test-ulps: Update.
33328 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33329 inputs and return -1 for them. Do not check for +Inf in case not
33330 reachable for +Inf.
33331 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33332 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33333 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33334 and return -1 for them. Do not check for +Inf in case not
33335 reachable for +Inf.
33336 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33338 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33339 and return -1 for them. Do not check for +Inf in case not
33340 reachable for +Inf.
33341 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
33342 spurious underflow.
33343 * sysdeps/i386/fpu/libm-test-ulps: Update.
33344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33346 2012-07-06 Mike Frysinger <vapier@gentoo.org>
33348 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33350 2012-07-05 Joseph Myers <joseph@codesourcery.com>
33354 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33355 could result in spurious underflow. Scale down values above
33356 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33357 * math/s_csqrtf.c (__csqrtf): Likewise.
33358 * math/s_csqrtl.c (__csqrtl): Likewise.
33359 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
33360 spurious underflow.
33361 * sysdeps/i386/fpu/libm-test-ulps: Update.
33362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33364 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
33366 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33368 * catgets/xopen-msg.awk: New file.
33369 * catgets/xopen-msg.sed: Removed.
33371 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33373 * intl/po2test.awk: New file.
33374 * intl/po2test.sed: Removed.
33376 2012-07-04 Joseph Myers <joseph@codesourcery.com>
33379 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33380 or multiply small sinh result by itself.
33381 * math/s_ctanf.c (__ctanf): Likewise.
33382 * math/s_ctanh.c (__ctanh): Likewise.
33383 * math/s_ctanhf.c (__ctanhf): Likewise.
33384 * math/s_ctanhl.c (__ctanhl): Likewise.
33385 * math/s_ctanl.c (__ctanl): Likewise.
33386 * math/libm-test.inc (ctan_test_tonearest): New function.
33387 (ctan_test_towardzero): Likewise.
33388 (ctan_test_downward): Likewise.
33389 (ctan_test_upward): Likewise.
33390 (ctanh_test_tonearest): Likewise.
33391 (ctanh_test_towardzero): Likewise.
33392 (ctanh_test_downward): Likewise.
33393 (ctanh_test_upward): Likewise.
33394 (main): Call these new functions.
33395 * sysdeps/i386/fpu/libm-test-ulps: Update.
33396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33398 2012-07-03 Mike Frysinger <vapier@gentoo.org>
33400 * .gitignore: Delete /ports entry.
33402 2012-07-03 Andreas Jaeger <aj@suse.de>
33404 * po/bg.po: Update from translation team.
33405 * po/cs.po: Likewise.
33406 * po/de.po: Likewise.
33407 * po/hr.po: Likewise.
33408 * po/nl.pl: Likewise.
33409 * po/pl.po: Likewise.
33410 * po/vi.po: Likewise.
33412 2012-07-03 Joseph Myers <joseph@codesourcery.com>
33414 * Makeconfig [!+link] (+link-before-libc): New variable.
33415 [!+link] (+link-after-libc): Likewise.
33416 [!+link] (+link-tests): Likewise.
33417 [!+link] (+link): Define in terms of $(+link-before-libc) and
33418 $(+link-after-libc).
33419 [!+link-static] (+link-static-before-libc): New variable.
33420 [!+link-static] (+link-static-after-libc): Likewise.
33421 [!+link-static] (+link-static-tests): Likewise.
33422 [!+link-static] (+link-static): Define in terms of
33423 $(+link-static-before-libc) and $(+link-static-after-libc).
33424 [build-shared] (link-libc-before-gnulib): New variable.
33425 [build-shared] (link-libc-tests): Likewise.
33426 [build-shared] (link-libc): Define in terms of
33427 $(link-libc-before-gnulib).
33428 [!build-shared] (link-libc-tests): New variable.
33429 (link-libc-static-tests): New variable.
33430 [!gnulib] (gnulib-arch): New variable.
33431 [!gnulib] (gnulib-tests): Likewise.
33432 [!gnulib] (static-gnulib-arch): Likewise.
33433 [!gnulib] (static-gnulib-tests): Likewise.
33434 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
33435 Define with "=" instead of ":=".
33436 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
33437 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
33438 * Rules (binaries-all-notests): New variable.
33439 (binaries-all-tests): Likewise.
33440 (binaries-static-notests): Likewise.
33441 (binaries-static-tests): Likewise.
33442 (binaries-all): Define using $(binaries-all-notests) and
33443 $(binaries-all-tests).
33444 (binaries-static): Define using $(binaries-static-notests) and
33445 $(binaries-static-tests).
33446 (binaries-shared-tests): New variable.
33447 (binaries-shared-notests): Likewise.
33448 (binaries-shared): Remove variable.
33449 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33450 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33451 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33452 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33453 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33454 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33455 * elf/Makefile (sln-modules): New variable.
33456 (extra-objs): Add $(sln-modules:=.o).
33457 (ldconfig-modules): Add static-stubs.
33458 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33459 * elf/static-stubs.c: New file.
33462 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33463 by 7 not 8 to examine high bit of fractional part. Use volatile
33464 variables when splitting into final array of floats if
33465 __FLT_EVAL_METHOD__ != 0.
33466 * math/libm-test.inc (cos_test): Add another test.
33467 (sin_test): Likewise.
33468 * sysdeps/i386/fpu/libm-test-ulps: Update.
33471 * math/libm-test.inc (cosh_test): Add more tests.
33473 * version.h (RELEASE): Set to "development".
33474 (VERSION): Set to "2.16.90".
33476 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
33478 * NEWS: Update copyright. Remove last-updated date.
33479 Mention math library bug fixes and timezone data changes.
33480 * README: Mention GNU/Hurd, x32, and HPPA support status.
33482 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
33484 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33486 2012-06-27 Andreas Jaeger <aj@suse.de>
33488 * manual/contrib.texi (Contributors): Add Samuel Thibault.
33490 2012-06-25 Andreas Jaeger <aj@suse.de>
33492 * sysdeps/s390/fpu/libm-test-ulps: Update.
33494 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
33495 Thomas Schwinge <thomas@codesourcery.com>
33497 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33498 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33499 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33502 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
33504 * sysdeps/mach/start.c: Remove file.
33505 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33506 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33507 * sysdeps/sh/init-first.c: Likewise.
33509 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33510 registers for frame unwinding purposes, add CFI directives.
33511 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33512 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33513 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33516 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33517 __fortify_fail returning.
33518 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33520 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33521 sysdeps/sh/____longjmp_chk.S.
33522 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33523 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33524 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33525 (gen-as-const-headers): Append sigaltstack-offsets.sym.
33527 * sysdeps/sh/abort-instr.h: New file.
33528 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33529 process in case exit returns.
33531 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33532 initialize the GOT register before use.
33534 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33535 calculation of ARGC > 4.
33537 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33538 meaningful names to some local labels.
33540 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33541 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33543 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33544 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33545 (__arch_compare_and_exchange_val_16_acq): Likewise.
33546 (__arch_compare_and_exchange_val_32_acq): Likewise.
33547 (atomic_exchange_and_add): Fix gUSA sequence.
33548 (atomic_add): Likewise.
33549 (atomic_add_negative): Likewise.
33550 (atomic_add_zero): Likewise.
33551 (atomic_bit_test_set): Likewise.
33553 2012-06-22 Andreas Schwab <schwab@redhat.com>
33556 * include/link.h (struct link_map): Add l_free_initfini.
33557 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33559 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33560 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33561 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33564 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
33566 * configure.in: Use AC_LANG_SOURCE.
33567 * configure: Regenerate.
33569 2012-06-22 Roland McGrath <roland@hack.frob.com>
33571 * configure.in (libc_cv_localstatedir): New substituted variable.
33572 * configure: Regenerated.
33573 * config.make.in (localstatedir): New variable, substituted from
33574 libc_cv_localstatedir.
33575 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33576 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33577 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33578 * sysdeps/gnu/configure: Regenerated.
33580 2012-06-21 Jeff Law <law@redhat.com>
33583 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33584 free. Simplify list management for _LIBC case.
33586 2012-06-21 Joseph Myers <joseph@codesourcery.com>
33589 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33590 Clear sign bit of 64-bit integer value before comparing against
33593 * sysdeps/mach/configure: Regenerated.
33595 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
33598 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33600 2012-06-21 Jeff Law <law@redhat.com>
33603 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
33604 uint16_t for elements in the "seen" array to avoid char overflows.
33605 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33606 * elf/dl-open.c (dl_open_worker): Likewise.
33608 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
33610 * scripts/list-sources.sh: Scan PORTS for translations.
33611 * po/libc.pot: Regenerated.
33613 2012-06-21 Andreas Jaeger <aj@suse.de>
33616 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33618 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33619 * bits/byteswap-16.h (__bswap_16): Likewise.
33620 * bits/byteswap.h (__bswap_constant_16): Likewise.
33622 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
33625 * sysdeps/i386/fpu_control.h: Removed.
33626 * sysdeps/x86_64/fpu_control.h: Moved to ...
33627 * sysdeps/x86/fpu_control.h: Here.
33629 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33630 (_FPU_SETCW): Likewise.
33632 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
33635 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33636 * sysdeps/x86/fpu/bits/mathinline.h: This.
33637 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33641 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33642 functions if __x86_64__ is defined.
33644 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33646 * string/endian.h: Add !__ASSEMBLER__ condition for including
33647 conversion interfaces.
33649 2012-06-15 Joseph Myers <joseph@codesourcery.com>
33652 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33653 of ABS(x) in calculating zero to negative powers other than odd
33655 * math/libm-test.inc (pow_test): Add more tests.
33657 2012-06-15 Andreas Jaeger <aj@suse.de>
33659 * manual/contrib.texi (Contributors): Update entry of Liubov
33660 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33663 2012-06-15 Cyril Hrubis <metan@ucw.cz>
33665 * string/string.h: Add __wur to GNU version of strerror_r.
33667 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33670 * string/Makefile (tests): Add tst-strtok_r.
33671 * string/tst-strtok_r.c: New file.
33672 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33673 RAX_LP/RDX_LP on SAVE_PTR.
33675 2012-06-14 Roland McGrath <roland@hack.frob.com>
33677 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33679 2012-06-14 Joseph Myers <joseph@codesourcery.com>
33681 * libm_test.inc (csqrt_test): Allow more spurious underflow
33683 (j0_test): Likewise.
33684 (j1_test): Likewise.
33685 (y0_test): Likewise.
33686 (y1_test): Likewise.
33688 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33690 * po/Makefile (libc.pot): Use UTF-8 charset.
33692 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
33695 Suppress sign-conversion warning from FD_SET.
33696 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33697 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33698 not unsigned long int.
33699 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33701 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
33705 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33706 __extern_always_inline instead of __extern_inline.
33707 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33708 (__signbit): Likewise.
33709 (__signbitl): Support C++ namespace.
33710 (lrintf): New inline function.
33712 (llrintf): Likewise.
33713 (llrint): Likewise.
33723 (floorf): Likewise.
33724 (nearbyint): Likewise.
33725 (nearbyintf): Likewise.
33727 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
33729 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33730 non-default versions.
33732 2012-06-11 Roland McGrath <roland@hack.frob.com>
33735 * manual/argp.texi (Argp): Reword argp_parse description slightly.
33737 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
33739 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33740 (FE_UPWARD, FE_DOWNWARD): Don't define.
33741 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33742 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33744 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33746 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33747 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33749 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33751 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33752 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33753 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33754 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33756 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
33759 * sysdeps/i386/fpu/bits/fenv.h: Removed.
33760 * sysdeps/i386/fpu/Implies: New file.
33761 * sysdeps/x86_64/fpu/Implies: Likewise.
33762 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33763 * sysdeps/x86/fpu/bits/fenv.h: This.
33765 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33768 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33771 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33772 character 0xffff that matches the last element of the
33775 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33777 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33780 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33782 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33783 values higher than 25.6283.
33785 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33787 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33788 subnormal exponent extraction and add some __builtin_expect.
33789 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33790 Fix for subnormal mantissa calculation.
33792 2012-06-04 Mike Frysinger <vapier@gentoo.org>
33794 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33795 cpu2 is -1 and errno is not ENOSYS.
33797 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
33800 * sysdeps/i386/i486/bits/string.h: Renamed to ...
33801 * sysdeps/x86/bits/string.h: This.
33802 * sysdeps/x86_64/bits/string.h: Removed.
33804 * sysdeps/i386/i486/bits/string.h: Define inline functions only
33805 if not compiling for x86-64, but compiling for >= i486.
33807 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33808 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33810 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33811 New macro from Linux kernel 3.4.0.
33812 (FP_XSTATE_MAGIC2): Likewise.
33813 (FP_XSTATE_MAGIC2_SIZE): Likewise.
33814 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33815 (struct _fpx_sw_bytes): New struct.
33816 (struct _xsave_hdr): Likewise.
33817 (struct _ymmh_state): Likewise.
33818 (struct _xstate): Likewise.
33820 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33821 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33822 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33823 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33824 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33825 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33827 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33828 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33829 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33830 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33831 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33832 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33834 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33837 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33838 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33839 (sysdep_headers): Include sys/platform/ppc.h.
33840 * sysdeps/powerpc/test-gettimebase.c: Test for
33841 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33842 * manual/Makefile (appendices): Include platform.texi.
33843 * manual/contrib.texi (Contributors): Update @node pointers.
33844 * manual/maint.texi (Maintenance): Likewise.
33845 (Platform): New node.
33846 * manual/platform.texi: New file. Document the new features.
33848 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33849 Jakub Jelinek <jakub@redhat.com>
33852 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33853 where __builtin_expect is unavailable.
33855 2012-06-03 David S. Miller <davem@davemloft.net>
33857 * stdlib/longlong.h: Updated from GCC.
33859 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33862 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33863 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33866 (GLIBC_2.16): Likewise.
33868 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33870 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33872 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33875 (default-abi): New variable.
33876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33877 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33879 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33881 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33883 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33886 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33887 definition. Document in comment.
33889 2012-06-01 David S. Miller <davem@davemloft.net>
33891 * stdlib/longlong.h: Updated from GCC.
33893 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33896 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33897 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33898 sys/debugreg.h sys/io.h here.
33899 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33900 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33902 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33903 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33904 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33905 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33906 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33907 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33909 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33910 Define only if __x86_64__ is defined.
33912 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33915 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33916 Use int64_t for variable i.
33917 * math/libm-test.inc (fmod_test): Add more tests.
33919 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33920 z computation is not scheduled after fetestexcept.
33921 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33922 Use math_force_eval instead of asm to ensure calculation scheduled
33923 before exception test.
33924 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33925 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33927 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33929 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33930 computation is not scheduled after fetestexcept.
33932 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33935 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33936 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33938 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33940 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33941 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33943 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33946 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33948 (__WCHAR_MIN): Support __WORDSIZE == 64.
33949 (__WCHAR_MAX): Likewise.
33951 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33952 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33955 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33956 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33959 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33960 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33962 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33963 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33965 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33966 Defined to 1 if __x86_64__ isn't defined.
33967 (_STAT_VER_LINUX_OLD): New.
33968 (st_atime): Remove duplicate.
33969 (st_mtime): Likewise.
33970 (st_ctime): Likewise.
33972 2012-05-31 David S. Miller <davem@davemloft.net>
33974 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33977 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
33979 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33983 * elf/dl-reloc.c: Include <_itoa.h>.
33984 (_dl_reloc_bad_type): Remove use of INTUSE.
33985 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33986 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33987 * stdio-common/psiginfo.c (psiginfo): Likewise.
33988 * stdio-common/psignal.c (psignal): Likewise.
33989 * string/strsignal.c (strsignal): Likewise.
33990 * include/signal.h (_sys_siglist): Declare hidden proto.
33991 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
33992 INTVARDEF with libc_hidden_data_def.
33993 * stdio-common/itoa-udigits.c: Likewise.
33994 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33995 (_itoa_lower_digits_internal): Remove declaration.
33996 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33997 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33998 (_sys_sigabbrev_internal): Remove aliases.
33999 (_sys_siglist): Define hidden alias.
34001 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
34003 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34006 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
34009 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34010 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34012 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34013 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34014 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34015 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34016 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34017 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34019 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34020 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34021 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34023 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34031 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34032 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34033 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34035 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34036 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34037 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34038 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34039 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34040 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34042 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34043 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34045 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34046 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34048 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34049 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34050 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34052 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34053 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34055 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34057 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34058 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34059 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34061 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34063 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34065 2012-05-31 Joseph Myers <joseph@codesourcery.com>
34067 * math/math.h (M_El): Use two more decimal places.
34068 (M_LOG2El): Likewise.
34069 (M_LOG10El): Likewise.
34070 (M_LN2l): Likewise.
34071 (M_LN10l): Likewise.
34073 (M_PI_2l): Likewise.
34074 (M_PI_4l): Likewise.
34075 (M_1_PIl): Likewise.
34076 (M_2_PIl): Likewise.
34077 (M_2_SQRTPIl): Likewise.
34078 (M_SQRT2l): Likewise.
34079 (M_SQRT1_2l): Likewise.
34081 2012-05-31 David S. Miller <davem@davemloft.net>
34083 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34084 values between float registers.
34085 * sysdeps/sparc/sparc64/memset.S: Likewise.
34086 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34088 2012-05-31 Mike Frysinger <vapier@gentoo.org>
34090 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34091 -D_FORTIFY_SOURCE=1.
34092 (CPPFLAGS-tst-longjmp_chk.c): Define.
34093 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34094 (CPPFLAGS-tst-longjmp_chk2.c): Define.
34095 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34096 CFLAGS-tst-wchar-h.c.
34098 2012-05-31 Marek Polacek <polacek@redhat.com>
34101 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34102 __endmntent_internal): Remove declaration.
34103 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34104 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34105 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34107 2012-05-30 David S. Miller <davem@davemloft.net>
34109 * sysdeps/sparc/sparc32/soft-fp/q_util.c
34110 (___Q_simulate_exceptions): Use real FP ops rather than writing
34112 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34115 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34118 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34119 * sysdeps/x86/bits/xtitypes.h: This.
34121 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34122 * sysdeps/x86/bits/wordsize.h: This.
34124 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34125 * sysdeps/x86/bits/huge_vall.h: This.
34127 * sysdeps/i386/bits/select.h: Removed.
34128 * sysdeps/x86_64/bits/select.h: Renamed to ...
34129 * sysdeps/x86/bits/select.h: This.
34131 * sysdeps/i386/bits/setjmp.h: Removed.
34132 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34133 * sysdeps/x86/bits/setjmp.h: This.
34135 * sysdeps/i386/bits/mathdef.h: Removed.
34136 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34137 * sysdeps/x86/bits/mathdef.h: This.
34139 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
34142 * include/sys/socket.h (__connect_internal)
34143 (__libc_sa_len_internal): Remove declaration.
34144 (__connect, __libc_sa_len): Declare hidden_proto.
34145 (SA_LEN): Remove use of INTUSE.
34146 * socket/connect.c: Add libc_hidden_def.
34147 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34148 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34149 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34151 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34152 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34153 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34154 of adding _internal alias.
34156 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34159 * sysdeps/i386/bits/link.h: Removed.
34160 * sysdeps/i386/bits/linkmap.h: Likewise.
34161 * sysdeps/x86_64/bits/link.h: Renamed to ...
34162 * sysdeps/x86/bits/link.h: This.
34163 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34164 * sysdeps/x86/bits/linkmap.h: This.
34166 * sysdeps/i386/bits/endian.h: Removed.
34167 * sysdeps/x86_64/bits/endian.h: Renamed to ...
34168 * sysdeps/x86/bits/endian.h: This.
34170 * sysdeps/i386/bits/byteswap.h: Removed.
34171 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34172 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34173 * sysdeps/x86/bits/byteswap.h: This.
34174 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34175 * sysdeps/x86/bits/byteswap-16.h: This.
34176 * sysdeps/i386/Implies: Add x86.
34177 * sysdeps/x86_64/Implies: Likewise.
34179 2012-05-30 David S. Miller <davem@davemloft.net>
34181 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34182 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34183 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34184 (FP_TRAPPING_EXCEPTIONS): Define.
34185 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34186 (FP_TRAPPING_EXCEPTIONS): Define.
34187 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34188 subnormals only when inexact has been signalled or underflow
34189 exceptions are enabled.
34190 (_FP_PACK_CANONICAL): Likewise.
34192 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34195 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34196 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34198 2012-05-30 Richard Henderson <rth@twiddle.net>
34200 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34201 with #ifndef NOT_IN_libc.
34203 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
34204 marked to avoid plt entry.
34206 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34209 * Makeconfig (default-abi): New macro.
34210 (abi-includes): Likewise.
34211 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
34212 $(abi-$(default-abi)-lib-soname) for soname if defined.
34213 ($(common-objpfx)gnu/lib-names.stmp): Generate from
34215 * Makefile (installed-stubs): Likewise.
34216 * include/stubs-biarch.h: Removed.
34217 * scripts/lib-names.awk: Only handle one library at a time.
34218 * scripts/soversions.awk: Remove WORDSIZE support.
34219 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34221 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34223 (syscall-list-default-condition): Likewise.
34224 (syscall-list-default-condition): Likewise.
34225 (syscall-list-includes): Likewise.
34226 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34227 syscall-list-* with abi-*. Handle undefined abi-variants.
34228 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34229 * sysdeps/unix/sysv/linux/i386/Implies: New file.
34230 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34231 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34232 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34233 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34235 (syscall-list-32-options): Likewise.
34236 (syscall-list-32-condition): Likewise.
34237 (syscall-list-64-options): Likewise.
34238 (syscall-list-64-condition): Likewise.
34239 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34241 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34244 (abi-64-ld-soname): New macro.
34245 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34246 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34249 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34250 * sysdeps/x86_64/x32/shlib-versions: Likewise.
34252 2012-05-30 Joseph Myers <joseph@codesourcery.com>
34254 * sysdeps/unix/sysv/linux/kernel-features.h
34255 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34256 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34257 include <kernel-features.h>.
34258 [!__NR_ftruncate64]: Remove conditional code.
34259 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34260 [__NR_ftruncate64]: Make code unconditional.
34261 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34262 * sysdeps/unix/sysv/linux/truncate64.c: Do not
34263 include <kernel-features.h>.
34264 [!__NR_ftruncate64]: Remove conditional code.
34265 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34266 [__NR_ftruncate64]: Make code unconditional.
34267 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34269 include <kernel-features.h>.
34270 [!__NR_ftruncate64]: Remove conditional code.
34271 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34272 [__NR_ftruncate64]: Make code unconditional.
34273 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34275 include <kernel-features.h>.
34276 [!__NR_ftruncate64]: Remove conditional code.
34277 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34278 [__NR_ftruncate64]: Make code unconditional.
34279 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34281 * configure.in (libc_cv_fpie): Weaken to a compile test using
34282 LIBC_TRY_CC_OPTION.
34283 * configure: Regenerated.
34285 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34295 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34297 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34300 2012-05-27 David S. Miller <davem@davemloft.net>
34302 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34304 (__Q_simulate_exceptions): Return void. Change to simulate
34305 exceptions by writing into the %fsr.
34306 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34307 (__Qp_handle_exceptions): Likewise.
34309 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34310 __Qp_handle_exceptions.
34311 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34312 __Qp_handle_exceptions.
34313 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34314 as unused and give dummy FP_RND_NEAREST initializer.
34315 (FP_INHIBIT_RESULTS): Define.
34316 (___Q_simulate_exceptions): Update declaration.
34317 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34319 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34320 as unused and give dummy FP_RND_NEAREST initializer.
34321 (__Qp_handle_exceptions): Update declaration.
34322 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34325 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
34327 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34328 the temporary FPU control word.
34329 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34330 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34331 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34332 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34333 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34334 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34335 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34336 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34337 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34338 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34339 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34341 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34343 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34346 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
34348 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34349 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34350 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34351 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34353 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34354 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34357 2012-05-27 Ulrich Drepper <drepper@gmail.com>
34359 * po/h.po: Update from translation team.
34361 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
34363 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34365 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34366 handling of denormals.
34367 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34368 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34369 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34370 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34371 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34372 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34373 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34376 2012-05-26 Marek Polacek <polacek@redhat.com>
34379 * math/libm-test.inc (fma_test): Don't always expect underflow
34382 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34385 * elf/tst-execstack.c: Include stackinfo.h.
34386 (do_test): Adjust test case to ensure that pthread_getattr_np
34387 behaviour remains the same after marking stack executable.
34389 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34391 * sysdeps/unix/sysv/linux/kernel-features.h
34392 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34393 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34395 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34396 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34397 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34399 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34400 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34402 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
34404 * configure.in: Define the default includes to being none.
34405 * configure: Regenerated.
34407 2012-05-25 Roland McGrath <roland@hack.frob.com>
34409 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34410 * sysdeps/x86_64/setjmp.S: Likewise.
34411 * sysdeps/i386/bsd-setjmp.S: Likewise.
34412 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34413 * sysdeps/i386/setjmp.S: Likewise.
34414 * sysdeps/i386/__longjmp.S: Likewise.
34415 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34416 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34418 * include/stap-probe.h: New file.
34419 * configure.in: Handle --enable-systemtap.
34420 * configure: Regenerated.
34421 * config.h.in (USE_STAP_PROBE): New #undef.
34422 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34423 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34424 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34426 2012-05-25 Joseph Myers <joseph@codesourcery.com>
34429 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34430 to 2.4.0 where earlier.
34431 * sysdeps/unix/sysv/linux/configure: Regenerated.
34432 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34433 <kernel-features.h>.
34434 [__ASSUME_32BITUIDS]: Make code unconditional.
34435 [!__ASSUME_32BITUIDS]: Remove conditional code.
34436 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34437 <kernel-features.h>.
34438 [__ASSUME_32BITUIDS]: Make code unconditional.
34439 [!__ASSUME_32BITUIDS]: Remove conditional code.
34440 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34441 [__ASSUME_32BITUIDS]: Make code unconditional.
34442 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34443 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34444 <kernel-features.h>.
34445 [__ASSUME_32BITUIDS]: Make code unconditional.
34446 [!__ASSUME_32BITUIDS]: Remove conditional code.
34447 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34448 <kernel-features.h>.
34449 [__ASSUME_32BITUIDS]: Make code unconditional.
34450 [!__ASSUME_32BITUIDS]: Remove conditional code.
34451 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34452 <kernel-features.h>.
34453 [__ASSUME_32BITUIDS]: Make code unconditional.
34454 [!__ASSUME_32BITUIDS]: Remove conditional code.
34455 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34456 <kernel-features.h>.
34457 [__ASSUME_32BITUIDS]: Make code unconditional.
34458 [!__ASSUME_32BITUIDS]: Remove conditional code.
34459 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34460 <kernel-features.h>.
34461 [__ASSUME_32BITUIDS]: Make code unconditional.
34462 [!__ASSUME_32BITUIDS]: Remove conditional code.
34463 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34464 <kernel-features.h>.
34465 [__ASSUME_32BITUIDS]: Make code unconditional.
34466 [!__ASSUME_32BITUIDS]: Remove conditional code.
34467 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34468 <kernel-features.h>.
34469 [__ASSUME_32BITUIDS]: Make code unconditional.
34470 [!__ASSUME_32BITUIDS]: Remove conditional code.
34471 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34472 <kernel-features.h>.
34473 [__ASSUME_32BITUIDS]: Make code unconditional.
34474 [!__ASSUME_32BITUIDS]: Remove conditional code.
34475 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34476 <kernel-features.h>.
34477 [__ASSUME_32BITUIDS]: Make code unconditional.
34478 [!__ASSUME_32BITUIDS]: Remove conditional code.
34479 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34480 <kernel-features.h>.
34481 [__ASSUME_32BITUIDS]: Make code unconditional.
34482 [!__ASSUME_32BITUIDS]: Remove conditional code.
34483 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34484 <kernel-features.h>.
34485 [__NR_setresgid] (__setresgid): Do not declare.
34486 [__ASSUME_32BITUIDS]: Make code unconditional.
34487 [!__ASSUME_32BITUIDS]: Remove conditional code.
34488 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34489 <kernel-features.h>.
34490 [__NR_setresuid] (__setresuid): Do not declare.
34491 [__ASSUME_32BITUIDS]: Make code unconditional.
34492 [!__ASSUME_32BITUIDS]: Remove conditional code.
34493 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34494 <kernel-features.h>.
34495 [__ASSUME_32BITUIDS]: Make code unconditional.
34496 [!__ASSUME_32BITUIDS]: Remove conditional code.
34497 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34498 <kernel-features.h>.
34499 [__ASSUME_32BITUIDS]: Make code unconditional.
34500 [!__ASSUME_32BITUIDS]: Remove conditional code.
34501 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34502 <kernel-features.h>.
34503 [__ASSUME_32BITUIDS]: Make code unconditional.
34504 [!__ASSUME_32BITUIDS]: Remove conditional code.
34505 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34506 <kernel-features.h>.
34507 [__ASSUME_32BITUIDS]: Make code unconditional.
34508 [!__ASSUME_32BITUIDS]: Remove conditional code.
34509 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34510 <kernel-features.h>.
34511 [__ASSUME_32BITUIDS]: Make code unconditional.
34512 [!__ASSUME_32BITUIDS]: Remove conditional code.
34513 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34514 <kernel-features.h>.
34515 [__ASSUME_32BITUIDS]: Make code unconditional.
34516 [!__ASSUME_32BITUIDS]: Remove conditional code.
34517 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34518 <kernel-features.h>.
34519 [__ASSUME_32BITUIDS]: Make code unconditional.
34520 [!__ASSUME_32BITUIDS]: Remove conditional code.
34521 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34522 <kernel-features.h>.
34523 [__ASSUME_32BITUIDS]: Make code unconditional.
34524 [!__ASSUME_32BITUIDS]: Remove conditional code.
34525 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34526 <kernel-features.h>.
34527 [__ASSUME_32BITUIDS]: Make code unconditional.
34528 [!__ASSUME_32BITUIDS]: Remove conditional code.
34529 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34530 <kernel-features.h>.
34531 [__ASSUME_32BITUIDS]: Make code unconditional.
34532 [!__ASSUME_32BITUIDS]: Remove conditional code.
34533 * sysdeps/unix/sysv/linux/kernel-features.h
34534 (__ASSUME_SETRESUID_SYSCALL): Remove.
34535 (__ASSUME_SETRESGID_SYSCALL): Likewise.
34536 (__ASSUME_32BITUIDS): Likewise.
34537 (__ASSUME_LDT_WORKS): Likewise.
34538 (__ASSUME_O_DIRECTORY): Likewise.
34539 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34540 architecture but not kernel version.
34541 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34542 (__ASSUME_MMAP2_SYSCALL): Likewise.
34543 (__ASSUME_STAT64_SYSCALL): Likewise.
34544 (__ASSUME_IPC64): Likewise.
34545 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34546 <kernel-features.h>.
34547 [__ASSUME_32BITUIDS]: Make code unconditional.
34548 [!__ASSUME_32BITUIDS]: Remove conditional code.
34549 * sysdeps/unix/sysv/linux/opendir.c: Do not include
34550 <kernel-features.h>.
34551 [__ASSUME_O_DIRECTORY]: Make code unconditional.
34552 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34553 132096]: Remove conditional code.
34554 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34555 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
34564 <kernel-features.h>.
34565 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34567 (__setresgid): Do not declare.
34568 [__ASSUME_32BITUIDS]: Make code unconditional.
34569 [!__ASSUME_32BITUIDS]: Remove conditional code.
34570 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34571 <kernel-features.h>.
34572 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34574 (__setresuid): Do not declare.
34575 [__ASSUME_32BITUIDS]: Make code unconditional.
34576 [!__ASSUME_32BITUIDS]: Remove conditional code.
34577 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34578 <kernel-features.h>.
34579 [__ASSUME_32BITUIDS]: Make code unconditional.
34580 [!__ASSUME_32BITUIDS]: Remove conditional code.
34581 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34582 <kernel-features.h>.
34583 [__ASSUME_32BITUIDS]: Make code unconditional.
34584 [!__ASSUME_32BITUIDS]: Remove conditional code.
34586 2012-05-25 Richard Henderson <rth@twiddle.net>
34588 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34589 dl_hwcap to ifunc resolver.
34590 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34592 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34593 dl_hwcap to ifunc resolver.
34594 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34596 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34599 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34600 for |x| <= 2**-26, not 2**-57.
34601 * math/libm-test.inc (acos_test): Do not allow spurious underflow
34604 2012-05-24 Jeff Law <law@redhat.com>
34606 * stdio-common/Makefile (tests): Add bug25.
34607 * stdio-common/bug25.c: New test.
34609 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34612 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34613 multiple of MALLOC_ALIGNMENT in size.
34614 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34616 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34618 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34620 (FILENAME_MAX): Use macro-int-constant.
34621 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
34622 (_IOFBF): Use macro-int-constant.
34623 (_IOLBF): Likewise.
34624 (_IONBF): Likewise.
34625 (SEEK_CUR): Likewise.
34626 (SEEK_END): Likewise.
34627 (SEEK_SET): Likewise.
34628 (TMP_MAX): Likewise.
34629 (EOF): Use macro-int-constant. Require < 0.
34630 (NULL): Use macro-constant. Require == 0.
34631 (stdin): Require type to be FILE *.
34632 (stdout): Likewise.
34633 (stderr): Likewise.
34634 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34635 macro-int-constant.
34636 (EXIT_SUCCESS): Likewise.
34637 (NULL): Use macro-constant. Require == 0.
34638 (RAND_MAX): Use macro-int-constant.
34639 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34640 [C99-based standards] (strtof): Require function.
34641 [C99-based standards] (strtold): Likewise.
34642 [C99-based standards] (strtoll): Likewise.
34643 [C99-based standards] (strtoull): Likewise.
34644 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34645 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34646 [ISO || ISO99 || ISO11] (math.h): Likewise.
34647 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34648 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34649 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34651 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34654 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34655 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34656 * intl/dgettext.c (DCGETTEXT): Likewise.
34657 * intl/gettext.c (DCGETTEXT): Likewise.
34658 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34659 * posix/regex_internal.h (gettext): Likewise.
34660 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34661 Remove declaration.
34662 * include/argz.h (__argz_count_internal)
34663 (__argz_stringify_internal): Remove declaration.
34664 (__argz_count, __argz_stringify): Declare hidden proto.
34665 * intl/dcgettext.c: Remove use of INTDEF.
34666 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34667 * string/argz-stringify.c: Likewise.
34668 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34669 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34670 Declare hidden proto.
34671 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34672 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34673 Declare hidden proto.
34674 * include/stdio.h (__asprintf_internal): Don't declare.
34675 (__asprintf): Don't define as macro. Declare hidden proto.
34676 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34677 (__fsetlocking): Declare hidden proto.
34678 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34679 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34681 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34682 (_IO_setlinebuf): Remove use of INTUSE.
34683 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34684 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34685 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34686 Remove declaration.
34687 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34688 (_IO_do_flush): Remove use of INTUSE.
34689 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34690 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34691 (_IO_adjust_column, _IO_least_wmarker)
34692 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34693 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34694 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34695 (_IO_default_doallocate, _IO_wdefault_doallocate)
34696 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34697 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34698 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34699 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34700 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34701 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34702 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34703 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34704 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34705 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34706 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34707 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34708 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34710 (_IO_flush_all_internal, _IO_adjust_column_internal)
34711 (_IO_default_uflow_internal, _IO_default_finish_internal)
34712 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34713 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34714 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34715 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34716 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34717 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34718 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34719 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34720 (_IO_file_close_internal, _IO_file_close_it_internal)
34721 (_IO_file_underflow_internal, _IO_file_overflow_internal)
34722 (_IO_file_init_internal, _IO_file_attach_internal)
34723 (_IO_file_fopen_internal, _IO_file_read_internal)
34724 (_IO_file_sync_internal, _IO_file_seek_internal)
34725 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34726 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34727 (_IO_str_underflow_internal, _IO_str_overflow_internal)
34728 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34729 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34730 (_IO_list_all_internal, _IO_link_in_internal)
34731 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34732 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34733 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34734 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34735 (_IO_do_write_internal, _IO_padn_internal)
34736 (_IO_getline_info_internal, _IO_getline_internal)
34737 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34738 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34739 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34740 (_IO_vfscanf_internal, _IO_vfprintf_internal)
34741 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34742 (_IO_init_internal, _IO_un_link_internal): Don't declare.
34743 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34744 with libc_hidden_ver, remove use of INTUSE.
34745 * libio/genops.c: Likewise.
34746 * libio/freopen.c: Likewise.
34747 * libio/freopen64.c: Likewise.
34748 * libio/iofclose.c: Likewise.
34749 * libio/iofdopen.c: Likewise.
34750 * libio/iofflush.c: Likewise.
34751 * libio/iofflush_u.c: Likewise.
34752 * libio/iofgets.c: Likewise.
34753 * libio/iofgets_u.c: Likewise.
34754 * libio/iofopen.c: Likewise.
34755 * libio/iofopncook.c: Likewise.
34756 * libio/iofread.c: Likewise.
34757 * libio/iofread_u.c: Likewise.
34758 * libio/ioftell.c: Likewise.
34759 * libio/iofwrite.c: Likewise.
34760 * libio/iogetline.c: Likewise.
34761 * libio/iogets.c: Likewise.
34762 * libio/iogetwline.c: Likewise.
34763 * libio/iopadn.c: Likewise.
34764 * libio/iopopen.c: Likewise.
34765 * libio/ioseekoff.c: Likewise.
34766 * libio/ioseekpos.c: Likewise.
34767 * libio/iosetbuffer.c: Likewise.
34768 * libio/iosetvbuf.c: Likewise.
34769 * libio/ioungetc.c: Likewise.
34770 * libio/ioungetwc.c: Likewise.
34771 * libio/iovdprintf.c: Likewise.
34772 * libio/iovsprintf.c: Likewise.
34773 * libio/iovsscanf.c: Likewise.
34774 * libio/memstream.c: Likewise.
34775 * libio/obprintf.c: Likewise.
34776 * libio/oldfileops.c: Likewise.
34777 * libio/oldiofclose.c: Likewise.
34778 * libio/oldiofdopen.c: Likewise.
34779 * libio/oldiofopen.c: Likewise.
34780 * libio/oldiopopen.c: Likewise.
34781 * libio/oldstdfiles.c: Likewise.
34782 * libio/putc.c: Likewise.
34783 * libio/setbuf.c: Likewise.
34784 * libio/setlinebuf.c: Likewise.
34785 * libio/stdfiles.c: Likewise.
34786 * libio/strops.c: Likewise.
34787 * libio/vasprintf.c: Likewise.
34788 * libio/vscanf.c: Likewise.
34789 * libio/vsnprintf.c: Likewise.
34790 * libio/vswprintf.c: Likewise.
34791 * libio/wfiledoalloc.c: Likewise.
34792 * libio/wfileops.c: Likewise.
34793 * libio/wgenops.c: Likewise.
34794 * libio/wmemstream.c: Likewise.
34795 * libio/wstrops.c: Likewise.
34796 * libio/__fpurge.c: Likewise.
34797 * libio/__fsetlocking.c: Likewise.
34798 * assert/assert.c: Likewise.
34799 * debug/fgets_chk.c: Likewise.
34800 * debug/fgets_u_chk.c: Likewise.
34801 * debug/fread_chk.c: Likewise.
34802 * debug/fread_u_chk.c: Likewise.
34803 * debug/gets_chk.c: Likewise.
34804 * debug/obprintf_chk.c: Likewise.
34805 * debug/vasprintf_chk.c: Likewise.
34806 * debug/vdprintf_chk.c: Likewise.
34807 * debug/vsnprintf_chk.c: Likewise.
34808 * debug/vsprintf_chk.c: Likewise.
34809 * malloc/mtrace.c: Likewise.
34810 * misc/error.c: Likewise.
34811 * misc/syslog.c: Likewise.
34812 * stdio-common/asprintf.c: Likewise.
34813 * stdio-common/fxprintf.c: Likewise.
34814 * stdio-common/getw.c: Likewise.
34815 * stdio-common/isoc99_fscanf.c: Likewise.
34816 * stdio-common/isoc99_scanf.c: Likewise.
34817 * stdio-common/isoc99_vfscanf.c: Likewise.
34818 * stdio-common/isoc99_vscanf.c: Likewise.
34819 * stdio-common/isoc99_vsscanf.c: Likewise.
34820 * stdio-common/printf-prs.c: Likewise.
34821 * stdio-common/printf_fp.c: Likewise.
34822 * stdio-common/printf_fphex.c: Likewise.
34823 * stdio-common/printf_size.c: Likewise.
34824 * stdio-common/putw.c: Likewise.
34825 * stdio-common/scanf.c: Likewise.
34826 * stdio-common/sprintf.c: Likewise.
34827 * stdio-common/tmpfile.c: Likewise.
34828 * stdio-common/vfprintf.c: Likewise.
34829 * stdio-common/vfscanf.c: Likewise.
34830 * stdlib/strfmon_l.c: Likewise.
34831 * sunrpc/openchild.c: Likewise.
34832 * sunrpc/xdr_stdio.c: Likewise.
34833 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34834 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34836 2012-05-24 Roland McGrath <roland@hack.frob.com>
34838 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34840 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34841 in the third column, to generate for the shared library an IFUNC
34842 that uses _dl_vdso_vsym.
34843 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34844 * Makeconfig (object-suffixes-noshared): New variable.
34846 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34847 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34848 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34849 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34852 * include/sys/time.h (__gettimeofday): Remove macro.
34853 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34854 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34856 (__gettimeofday): Add libc_hidden_def.
34857 (gettimeofday): Add libc_hidden_weak.
34858 * sysdeps/mach/gettimeofday.c: Likewise.
34859 * sysdeps/posix/gettimeofday.c: Likewise.
34860 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34861 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34862 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34863 (__gettimeofday_internal): Remove strong_alias.
34864 (__gettimeofday): Add libc_hidden_def.
34865 (gettimeofday): Add libc_hidden_weak.
34866 * sysdeps/unix/syscalls.list (gettimeofday):
34867 Remove __gettimeofday_internal alias.
34869 2012-05-24 Daniel Jacobowitz <drow@false.org>
34870 H.J. Lu <hongjiu.lu@intel.com>
34873 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34874 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34875 (largebin_index_32_big): New.
34876 (largebin_index): Use it for 16-byte alignment.
34877 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34878 correction with front_misalign.
34880 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34883 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34887 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34889 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34891 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34893 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34897 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34899 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34908 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34909 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34911 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34915 * math/libm-test.inc (exp_test): Add test from bug 14036.
34916 (pow_test): Add test from bug 10846.
34918 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34920 (special_function): Do not include flags in test name.
34921 (parse_args): Likewise.
34922 * sysdeps/i386/fpu/libm-test-ulps: Update.
34923 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34924 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34925 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34928 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34930 * math/libm-test.inc ("Philosophy"): Update comment about
34932 (UNDERFLOW_EXCEPTION): New macro.
34933 (UNDERFLOW_EXCEPTION_OK): Likewise.
34934 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34935 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34936 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34937 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34938 (INVALID_EXCEPTION_OK): Update value.
34939 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34940 (OVERFLOW_EXCEPTION_OK): Likewise.
34941 (IGNORE_ZERO_INF_SIGN): Likewise.
34942 (test_exceptions): Handle underflow exceptions.
34943 (acos_test): Update for underflow exception expectations.
34944 (cexp_test): Likewise.
34945 (clog_test): Likewise.
34946 (clog10_test): Likewise.
34947 (csqrt_test): Likewise.
34948 (ctan_test): Likewise.
34949 (ctanh_test): Likewise.
34950 (exp_test): Likewise.
34951 (exp10_test): Likewise.
34952 (exp2_test): Likewise.
34953 (expm1_test): Likewise.
34954 (fma_test): Likewise.
34955 (j0_test): Likewise.
34956 (jn_test): Likewise.
34957 (nexttoward_test): Likewise.
34958 (pow_test): Likewise.
34959 (scalbn_test): Likewise.
34960 (scalbln_test): Likewise.
34961 (tan_test): Likewise.
34962 (y1_test): Likewise.
34963 * sysdeps/i386/fpu/libm-test-ulps: Update.
34964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34966 2012-05-23 David S. Miller <davem@davemloft.net>
34968 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34969 (__libc_sigaction): Remove unused local variables.
34971 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34973 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34975 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
34977 mktime: avoid signed integer overflow
34978 * time/mktime.c (__mktime_internal): Do not mishandle the case
34979 where diff == INT_MIN.
34981 mktime: simplify computation of average
34982 * time/mktime.c (ranged_convert): Use new time_t_avg function
34983 instead of rolling our own (probably-slower) code.
34985 mktime: do not assume signed right shift propagates sign bit
34986 * time/mktime.c (isdst_differ): New static function.
34987 (__mktime_internal): No need to normalize tm_isdst now.
34988 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34991 mktime: merge another wrapv change from gnulib
34992 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34993 from some compilers.
34995 mktime: remove incorrect attempt at unusual arithmetics
34996 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34997 The code didn't really work on such machines anyway.
34998 (TYPE_MINIMUM): Assume two's complement.
34999 (twos_complement_arithmetic): Verify that long_int and time_t
35000 are two's complement (or unsigned, in the latter case).
35002 mktime: check signed shifts on long_int and time_t, too
35003 * time/mktime.c (SHR): Check that shifts work as desired
35004 on the types long_int and time_t too, as SHR is used on
35007 mktime: do not assume 'long' is wide enough
35008 * time/mktime.c (verify): Move decl up.
35009 (long_int): New type.
35010 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35011 to remove assumption in the code that 'long' is wide enough to
35012 store year values. This assumption is not true on x32 and on
35013 some non-glibc platforms.
35015 mktime: merge wrapv change from gnulib
35016 * time/mktime.c (WRAPV): New macro.
35017 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35018 (guess_time_tm, __mktime_internal): Do not assume that signed
35019 integer overflow wraps around; modern compilers generate code
35020 where this assumption is no longer valid.
35022 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35024 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35025 Replace "jmp L(pseudo_end)" with "ret".
35026 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35029 2012-05-23 Andreas Jaeger <aj@suse.de>
35031 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35032 * sysdeps/unix/sysv/linux/poll.c: Remove file.
35034 2012-05-23 Andreas Jaeger <aj@suse.de>
35035 Maximilian Attems <max@stro.at>
35037 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35040 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
35042 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35043 code so that pseudo_end is just ret and the stack pointer is
35044 correct also for static library in error case.
35046 2012-05-23 Joseph Myers <joseph@codesourcery.com>
35048 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35049 move to syscalls.list.
35050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35055 * manual/install.texi (Running make install): Do not mention Linux
35056 kernel version for which pt_chown is not needed.
35057 (Linux): Do not mention problems with nscd with 2.0 kernels.
35058 * INSTALL: Regenerated.
35060 2012-05-23 Andreas Jaeger <aj@suse.de>
35062 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35063 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35065 * sysdeps/unix/sysv/linux/s390/bits/mman.h
35066 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35067 * sysdeps/unix/sysv/linux/sh/bits/mman.h
35068 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35069 * sysdeps/unix/sysv/linux/i386/bits/mman.h
35070 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35071 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35072 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35073 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35074 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35075 * sysdeps/unix/sysv/linux/bits/in.h
35076 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35078 2012-05-22 Roland McGrath <roland@hack.frob.com>
35080 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35081 (PREPARE_VERSION): Just use assert instead, it will be elided
35082 under [NDEBUG] anyway.
35084 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35086 * sysdeps/unix/sysv/linux/Makefile: Include
35087 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35088 (sysdep_routines): Remove sysctl.
35089 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35090 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35091 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35092 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35093 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35095 2012-05-22 Andreas Jaeger <aj@suse.de>
35097 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35098 that pseudo_end is just ret and the stack pointer is correct also
35099 for static library in error case.
35101 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
35104 * nss/nsswitch.c (defconfig_entries): New variable.
35105 (__nss_database_lookup): Don't leak defconfig entries.
35106 (nss_parse_service_list): Don't leak on error paths.
35107 (free_database_entries): New function.
35108 (free_defconfig): New function.
35109 (free_mem): Move common code to free_database_entries.
35111 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35113 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35115 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35117 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35118 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35119 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35121 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35122 (INTERNAL_SYSCALL_TYPES): Likewise.
35123 (LOAD_ARGS_TYPES_[1-6]): Likewise.
35124 (LOAD_REGS_TYPES_[1-6]): Likewise.
35125 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35126 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35128 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35130 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35131 copysignl for GLIBC_2_0.
35132 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35133 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35134 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35135 logbl for GLIBC_2_0.
35136 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35137 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35139 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35141 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35142 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35144 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35147 * time/mktime.c: Update copyright years.
35149 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
35151 mktime: merge comment-quoting-style change from gnulib
35152 * time/mktime.c: Quote 'like this' in comments.
35153 The GNU coding standards suggest that we no longer quote `like this',
35154 as "`" and "'" are typically rendered asymmetrically nowadays.
35155 The typical gnulib style is to quote 'like this' when quoting
35156 code, and "like this" when quoting English.
35158 * time/mktime.c (compile-command): Add "-I.".
35160 mktime: merge mktime-internal.h change from gnulib
35161 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35163 mktime: merge time_r change from gnulib
35164 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35166 mktime: merge DEBUG change from gnulib
35167 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35168 case system <time.h> has a #define.
35170 mktime: merge <sys/types.h> change from gnulib
35171 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35172 since <time.t> is now guaranteed to define time_t.
35174 mktime: merge HAVE_CONFIG_H change from gnulib
35175 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35177 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
35179 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35182 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35184 (struct rusage): Use anonymous union to pad each field to
35187 2012-05-21 David S. Miller <davem@davemloft.net>
35189 * Makefules (o-iterator): Remove .s cases.
35190 (compile-command.s): Delete.
35191 (COMPILE.s): Delete.
35192 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35194 2012-05-21 Joseph Myers <joseph@codesourcery.com>
35196 * configure.in (libc_cv_predef_stack_protector): Only consider
35197 "foobar" and "__stack_chk_fail" lines in libc_undefs.
35198 * configure: Regenerated.
35200 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35202 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35203 New macro. Use R*LP on int and pointer.
35204 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35205 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35206 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35207 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35209 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35210 [__WORDSIZE_TIME64_COMPAT32] instead of
35211 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35212 (struct utmp): Likewise.
35213 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35214 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35216 (__WORDSIZE_TIME64_COMPAT32): This.
35217 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35218 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35219 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35220 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35221 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35222 (__WORDSIZE_TIME64_COMPAT32): New macro.
35224 2012-05-21 Andreas Jaeger <aj@suse.de>
35226 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35227 only if [SHARED]. Add prototype for __wcschr_ia32.
35229 2012-05-21 Roland McGrath <roland@hack.frob.com>
35231 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35232 of %rbp unmolested in the jmp_buf while mangling the low bits.
35233 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35234 unmolested high bits of %rbp while demangling the low bits.
35235 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35237 2012-05-21 Andreas Jaeger <aj@suse.de>
35239 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35240 * sunrpc/svc_simple.c: Use it for registerrpc.
35241 * sunrpc/xcrypt.c: Use it for passwd2des.
35243 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35245 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35247 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35248 Don't define if [__SYSCALL_WORDSIZE != 32].
35249 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35252 2012-05-21 Bruno Haible <bruno@clisp.org>
35253 Andreas Jaeger <aj@suse.de>
35255 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35256 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35257 inptr and inend for must_buffer_ch.
35258 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35259 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35260 * stdio-common/Makefile (tests): Remove bug15.
35261 (bug15-ENV): Remove macro.
35262 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35265 2012-05-19 Andreas Jaeger <aj@suse.de>
35266 Roland McGrath <roland@hack.frob.com>
35268 * manual/contrib.texi: Completely rewritten. It contains now an
35269 alphabetical list of contributors and their contributions.
35271 2012-05-21 Richard Henderson <rth@twiddle.net>
35273 * misc/getauxval.c (__getauxval): Use unsigned long int.
35274 * misc/sys/auxv.h: Include <sys/cdefs.h>.
35275 (getauxval): Use unsigned long int.
35277 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35279 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35281 2012-05-21 Roland McGrath <roland@hack.frob.com>
35283 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35284 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35285 __alignof__ (long double).
35287 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35291 2012-05-20 Richard Henderson <rth@twiddle.net>
35293 * misc/getauxval.c: New file.
35294 * misc/sys/auxv.h: New file.
35295 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35296 (routines): Add getauxval.
35297 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35298 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35299 * elf/dl-sysdep.c (_dl_auxv): Remove.
35300 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35301 * elf/dl-support.c (_dl_auxv): New variable.
35302 (_dl_aux_init): Initialize it.
35303 * manual/startup.texi (Auxiliary Vector): New node.
35304 * sysdeps/generic/bits/hwcap.h: New file.
35305 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35306 * sysdeps/powerpc/sysdep.h: ... here. Include it.
35307 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35308 * sysdeps/sparc/sysdep.h: ... here. Include it.
35309 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35310 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35316 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35320 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35322 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35326 2012-05-19 David S. Miller <davem@davemloft.net>
35328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35330 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35333 * math/s_ccosh.c: Include <float.h>
35334 (__ccosh): Avoid internal overflow calculating sinh and cosh
35335 values before multiplying by sin and cos values.
35336 * math/s_ccoshf.c: Likewise.
35337 * math/s_ccoshl.c: Likewise.
35338 * math/s_csin.c: Likewise.
35339 * math/s_csinf.c: Likewise.
35340 * math/s_csinl.c: Likewise.
35341 * math/s_csinh.c: Likewise.
35342 * math/s_csinhf.c: Likewise.
35343 * math/s_csinhl.c: Likewise.
35344 * math/libm-test.inc (ccos_test): Add more tests.
35345 (ccosh_test): Likewise.
35346 (csin_test): Likewise.
35347 (csinh_test): Likewise.
35348 * sysdeps/i386/fpu/libm-test-ulps: Update.
35349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35351 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
35353 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35354 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35356 * sysdeps/x86_64/x32/_itoa.h: Add comment.
35358 2012-05-19 Joseph Myers <joseph@codesourcery.com>
35360 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35361 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35362 * sysdeps/powerpc/soft-fp/Versions: Likewise.
35363 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35364 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35365 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35366 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35367 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35368 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35369 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35370 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35371 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35372 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35373 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35374 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35375 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35376 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35377 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35378 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35379 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35380 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35381 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35382 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35383 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35384 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35385 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35386 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35387 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35388 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35389 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35390 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35392 2012-05-18 Andreas Jaeger <aj@suse.de>
35394 * csu/.gitignore: Delete.
35396 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35398 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35399 (timex): Use __syscall_slong_t.
35401 2012-05-18 Andreas Jaeger <aj@suse.de>
35402 Carlos O'Donell <carlos_odonell@mentor.com>
35404 * manual/install.texi (Configuring and compiling): Update
35405 description about files modified in the source directory.
35406 * INSTALL: Regenerated.
35408 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35410 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35411 value. Use "or" to set return value to -1.
35412 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35413 negate return value.
35415 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35417 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35418 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35419 failure if the compiler has Graphite support disabled.
35420 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35422 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35423 (CFLAGS-memmove.c): Likewise.
35424 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35427 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35429 * sysdeps/x86_64/x32/_itoa.h: New file.
35431 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35432 getdents system call only if kernel and user dirents have the
35433 same d_ino and d_off.
35435 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35436 LLONG_MAX != LONG_MAX.
35437 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35438 (_fitoa_word): Likewise.
35440 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35442 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35443 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35444 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35446 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35447 include <bits/wordsize.h>. Check __x86_64__ instead of
35449 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35450 if __x86_64__ is defined. Use anonymous union on fpstate.
35452 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35455 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
35457 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35458 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35459 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35460 Refer to _rtld_local_ro instead of _rtld_global_ro.
35461 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35463 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35465 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35467 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35468 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35469 of _rtld_global, and rtld_progname instead of _dl_argv[0].
35471 * sysdeps/powerpc/powerpc32/dl-machine.c
35472 (__elf_machine_runtime_setup) [PROF]: Don't reference
35475 2012-05-18 Andreas Jaeger <aj@suse.de>
35477 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35478 function only available for GCCs before 3.4 since GCC 3.4
35479 introduced a builtin.
35481 (llrintf): Likewise.
35482 (llrint): Likewise.
35489 (nearbyint): Likewise.
35490 (nearbyintf): Likewise.
35494 (floorf): Likewise.
35496 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35498 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35499 on both fields and cast pointer to __syscall_ulong_t.
35501 * bits/types.h (__fsword_t): New type.
35502 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35503 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35504 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35505 (__FSWORD_T_TYPE): Likewise.
35506 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35507 (__FSWORD_T_TYPE): Likewise.
35508 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35509 (__FSWORD_T_TYPE): Likewise.
35510 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35511 (__FSWORD_T_TYPE): Likewise.
35512 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35513 __SWORD_TYPE with __fsword_t.
35514 (statfs64): Likewise.
35516 2012-05-17 David S. Miller <davem@davemloft.net>
35518 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35520 2012-05-17 Andreas Jaeger <aj@suse.de>
35522 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35525 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35527 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35529 2012-05-17 Andreas Jaeger <aj@suse.de>
35531 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35534 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35536 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35538 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35540 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35541 * sysdeps/x86_64/tst-mallocalign1.c: New file.
35543 2012-05-17 Andreas Jaeger <aj@suse.de>
35544 Carlos O'Donell <carlos_odonell@mentor.com>
35547 * sysdeps/x86_64/multiarch/init-arch.h
35548 (bit_YMM_Usable): Rename to...
35549 (bit_AVX_Usable): ... this.
35550 (bit_FMA4_Usable): New macro.
35551 (bit_XMM_state): New macro.
35552 (bit_YMM_state): New macro.
35553 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35554 [__ASSEMBLER__] (index_AVX_Usable): ... this.
35555 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35556 (CPUID_OSXSAVE): New macro.
35557 (CPUID_AVX): New macro.
35558 (CPUID_FMA4): New macro.
35559 (index_YMM_Usable): Rename to...
35560 (index_AVX_Usable): ... this.
35561 (HAS_AVX): Use HAS_ARCH_FEATURE.
35562 (HAS_FMA4): Likewise.
35563 (HAS_YMM_USABLE): Remove.
35564 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35565 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35567 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35568 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35569 * sysdeps/x86_64/multiarch/Makefile: Likewise.
35570 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35571 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35573 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35575 * math/libm-test.c: Support platforms without multiple rounding modes.
35576 * math/bug-nextafter.c: Support platforms without FP exceptions.
35577 * math/bug-nexttoward.c: Likewise.
35578 * math/test-fenv.c: Likewise.
35579 * math/test-misc.c: Likewise.
35580 * stdlib/bug-getcontext.c: Likewise.
35582 2012-05-17 Andreas Jaeger <aj@suse.de>
35584 * manual/examples/search.c (critter_cmp): Change signature to
35586 * manual/string.texi (Collation Functions): Likewise.
35588 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35590 * bits/types.h: Fold copyright years.
35591 * bits/typesizes.h: Likewise.
35592 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35593 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35594 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35595 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35596 * time/time.h: Likewise.
35598 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
35601 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35602 in instead of returning them. Return void.
35603 (__libc_mallinfo): Accumulate over all arenas.
35604 (__malloc_stats): Adjust for change in int_mallinfo interface.
35606 2012-05-16 Roland McGrath <roland@hack.frob.com>
35609 * configure.in (NM): Add AC_CHECK_TOOL for it.
35610 (libc_extra_cflags): New substituted variable.
35611 Check for -fstack-protector being used implicitly.
35612 * configure: Regenerated.
35613 * config.make.in (config-extra-cflags): New variable,
35614 gets @libc_extra_cflags@.
35615 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35618 * configure.in: Check for _FORTIFY_SOURCE being predefined.
35619 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35620 * configure: Regenerated.
35621 * config.make.in (CPPUNDEFS): New substituted variable.
35622 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35623 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35624 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35626 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35628 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35629 (mq_attr): Use __syscall_slong_t.
35631 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35633 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35634 Check __x86_64__ instead of __WORDSIZE.
35635 (_STAT_VER_LINUX): Likewise.
35636 (stat): Check __x86_64__ instead of __WORDSIZE. Use
35637 __syscall_ulong_t and __syscall_slong_t.
35638 (stat64): Likewise.
35640 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35642 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35644 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35646 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35648 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35650 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35653 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35654 include <bits/wordsize.h>. Check __x86_64__ instead of
35656 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35658 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35660 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35661 include <bits/wordsize.h>. Check __x86_64__ instead of
35663 (user_regs_struct): Use "__extension__ unsigned long long"
35664 instead of "unsigned long" if __x86_64__ is defined.
35665 (user): Likewise. Pad after pointer field if __ILP32__ is
35668 2012-05-16 Joseph Myers <joseph@codesourcery.com>
35670 * configure.in (makeinfo): Require version 4.5 or later. Allow
35672 * configure: Regenerated.
35673 * manual/install.texi (texinfo): Increase version requirement to
35675 * INSTALL: Regenerated.
35677 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35679 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35681 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35683 * sysdeps/x86_64/x32/ffs.c: New file.
35685 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35687 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35688 defined. Use __syscall_ulong_t.
35689 (shminfo): Use __syscall_ulong_t.
35690 (shm_info): Likewise.
35692 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35695 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35697 (msgqnum_t): Use __syscall_ulong_t.
35698 (msglen_t): Likewise.
35699 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
35702 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35703 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35705 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35707 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35708 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35710 * sysvipc/sys/msg.h (msgbuf): Replace long int with
35713 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35714 include <bits/wordsize.h>. Check __x86_64__ instead of
35717 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35718 "unsigned long long int" if __x86_64__ is defined.
35719 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35721 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35722 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35723 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35725 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35727 (GET_PC): Cast to uintptr_t first.
35728 (GET_FRAME): Likewise.
35729 (GET_STACK): Likewise.
35731 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35732 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35733 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35734 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35735 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35736 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35737 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35738 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35739 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35740 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35741 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35742 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35743 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35744 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35745 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35746 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35747 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35748 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35749 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35750 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35751 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35752 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35753 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35754 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35755 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35756 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35757 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35758 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35759 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35761 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
35763 * Makerules (+depfiles): Also collect depfiles from .oS in
35765 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35766 .oS, $(libnldbl-routines)).
35768 * Makerules (native-compile-mkdep-flags): Define.
35769 * sunrpc/Makefile (extra-objs): Add $(addprefix
35770 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35771 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35772 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
35773 calling $(make-target-directory).
35775 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35777 * bits/types.h (__snseconds_t): Removed.
35778 * time/time.h (struct timespec): Replace __snseconds_t with
35780 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35781 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35783 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35784 (__SNSECONDS_T_TYPE): Likewise.
35785 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35786 (__SNSECONDS_T_TYPE): Likewise.
35787 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35788 (__SNSECONDS_T_TYPE): Likewise.
35790 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35792 * sysdeps/mach/hurd/bits/typesizes.h
35793 (__SYSCALL_SLONG_TYPE): New macro.
35794 (__SYSCALL_ULONG_TYPE): Likewise.
35796 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35798 * bits/types.h (__syscall_slong_t): New type.
35799 (__syscall_ulong_t): Likewise.
35801 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35802 (__SYSCALL_ULONG_TYPE): Likewise.
35803 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35804 (__SYSCALL_SLONG_TYPE): Likewise.
35805 (__SYSCALL_ULONG_TYPE): Likewise.
35806 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35807 (__SYSCALL_SLONG_TYPE): Likewise.
35808 (__SYSCALL_ULONG_TYPE): Likewise.
35809 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35810 (__SYSCALL_SLONG_TYPE): Likewise.
35811 (__SYSCALL_ULONG_TYPE): Likewise.
35813 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35815 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35816 Add sigaltstack-offsets.sym.
35817 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35818 <sigaltstack-offsets.h>.
35819 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35820 longjmp_msg pointer.
35821 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35822 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35824 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35826 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35828 * elf/stackguard-macros.h: Remove file.
35829 * sysdeps/generic/stackguard-macros.h: New file.
35830 * sysdeps/i386/stackguard-macros.h: Likewise.
35831 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35832 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35833 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35834 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35835 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35836 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35837 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35838 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35839 <elf/stackguard-macros.h>.
35842 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35843 __aligned__ in attribute.
35844 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35845 (gregset_t): Likewise.
35847 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35849 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35850 * sysdeps/x86_64/64/Implies-after: Here. New file.
35851 * sysdeps/x86_64/x32/Implies-after: New file.
35853 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35855 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35856 and access return value for _dl_profile_fixup. Use R10_LP to
35859 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35861 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35863 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35865 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35866 * sysdeps/x86_64/x32/sysdep.h: New file.
35868 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35870 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35871 * sysdeps/x86_64/setjmp.S: Likewise.
35873 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35875 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35876 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35877 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35878 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35879 remove unused global constant.
35881 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35883 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35884 include of <not-cancel.h>.
35886 2012-05-15 Roland McGrath <roland@hack.frob.com>
35888 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35890 2012-05-15 Jeff Law <law@redhat.com>
35891 Andreas Jaeger <aj@suse.de>
35894 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35896 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35897 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35898 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35899 code changing __hst_map_handle.map.
35901 2012-05-15 Roland McGrath <roland@hack.frob.com>
35903 * configure.in (sysnames): Look for Implies-before and Implies-after
35905 * configure: Regenerated.
35907 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35909 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35910 8-byte data alignment with LP_SIZE alignment.
35912 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35914 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35917 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35919 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35921 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35923 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35924 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35925 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35927 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35929 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35931 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35932 (stackinfo_sub_sp): Likewise.
35934 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35936 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35939 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35941 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35944 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35946 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35949 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35951 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35953 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35955 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35956 into R11_LP and load __x86_64_shared_cache_size_half into
35959 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35961 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35964 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35966 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35968 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35970 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35972 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35973 powerpc32/power7/fpu/s_logb.c via #include.
35974 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35975 powerpc32/power7/fpu/s_logbf.c via #include.
35976 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35977 powerpc32/power7/fpu/s_logbl.c via #include.
35979 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35981 * README.libm: Remove file.
35983 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35985 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35986 count for x32. Use R*_LP and omit operand-size suffix.
35988 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35990 * shlib-versions: Move x86_64-.*-linux.* entries to ...
35991 * sysdeps/x86_64/64/shlib-versions: Here. New file.
35992 * sysdeps/x86_64/x32/shlib-versions: New file.
35994 2012-05-14 Roland McGrath <roland@hack.frob.com>
35996 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35997 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35998 Use _dl_fatal_printf instead.
36000 2012-05-14 Joseph Myers <joseph@codesourcery.com>
36002 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36003 set if not set by the user. Do not allow for being unset.
36004 * sysdeps/unix/sysv/linux/configure: Regenerated.
36006 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36008 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36009 the `q' suffix from lea and replace .quad with ASM_ADDR.
36011 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36013 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36014 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
36016 (PTR_DEMANGLE): Likewise.
36018 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36020 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36022 (ASM_ADDR): Likewise.
36023 (RAX_LP): Likewise.
36024 (RBP_LP): Likewise.
36025 (RBX_LP): Likewise.
36026 (RCX_LP): Likewise.
36027 (RDI_LP): Likewise.
36028 (RSI_LP): Likewise.
36029 (RSP_LP): Likewise.
36032 (R10_LP): Likewise.
36033 (R10_LP): Likewise.
36034 (R11_LP): Likewise.
36035 (R12_LP): Likewise.
36036 (R13_LP): Likewise.
36037 (R14_LP): Likewise.
36038 (R15_LP): Likewise.
36040 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36042 * sysdeps/x86_64/x32/dl-machine.h: New file.
36044 2012-05-14 Andreas Jaeger <aj@suse.de>
36046 * manual/Makefile (subdir): Remove export of subdir.
36047 (all): Remove target.
36048 (.PHONY): Remove all from list.
36049 (mkinstalldirs): Remove.
36050 (.PHONY): Remove installdirs from list.
36051 ($(inst_infodir)/libc.info): Use make-target-directory.
36052 (installdirs): Remove.
36053 (subdir_%): Remove.
36054 (glibc-targets): Remove.
36057 ($(objpfx)stubs ../po/manual.pot): Remove.
36058 ($(objpfx)stamp%): Remove.
36059 (make-target-directory): Remove.
36060 (subdir_install): Remove.
36061 (routines): Remove.
36068 * manual/.gitignore: Remove, it's not needed anymore.
36069 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36071 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36073 (texis): Renamed to $(objpfx)texis.
36074 (texis-path): New, contains path to generated files.
36075 (chapters.%): Use texis-path for complete path, add extra argument
36077 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36078 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36079 (summary,texi, stamp-summary): Use complete path of
36080 files. Generate files in build dir.
36081 (dir-add.texi): Build in build dir.
36082 (libm-err.texi,stamp-libm-err): Likewise.
36083 (version.texi, stamp-version): Likewise.
36084 (.%c.texi): Likewise.
36085 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36086 (mostlyclean): Remove target.
36087 (realclean): Remove target.
36088 (generated): Add new variable with contents from mostlyclean and
36089 realclean, remove entries duplicated in common-mostlyclean, add
36090 stamp-libm-err and stamp-version.
36091 (generated-dirs): Add libc directory.
36092 ($(inst_infodir)/libc.info): Install files from build dir.
36094 * manual/install.texi (Configuring and compiling): Adjust since
36095 the info files are not part of the tar ball anymore.
36097 2012-05-14 Andreas Jaeger <aj@suse.de>
36099 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36102 2012-05-14 Joseph Myers <joseph@codesourcery.com>
36105 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36106 to 2.2.0 where earlier.
36107 * sysdeps/unix/sysv/linux/configure: Regenerated.
36108 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36109 Remove conditional code.
36110 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36111 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36112 Remove conditional code.
36113 [!__NR_lchown]: Likewise.
36114 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36115 [__NR_lchown]: Likewise.
36116 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36117 comment referencing __ASSUME_LCHOWN_SYSCALL.
36118 * sysdeps/unix/sysv/linux/i386/sigaction.c
36119 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36120 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36121 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36122 Remove conditional code.
36123 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36124 (__protocol_available): Remove #if 0 code.
36125 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36127 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36128 * sysdeps/unix/sysv/linux/kernel-features.h
36129 (__ASSUME_GETCWD_SYSCALL): Don't define.
36130 (__ASSUME_REALTIME_SIGNALS): Likewise.
36131 (__ASSUME_PREAD_SYSCALL): Likewise.
36132 (__ASSUME_PWRITE_SYSCALL): Likewise.
36133 (__ASSUME_POLL_SYSCALL): Likewise.
36134 (__ASSUME_LCHOWN_SYSCALL): Likewise.
36135 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36137 (__ASSUME_SIOCGIFNAME): Don't define.
36138 (__ASSUME_MSG_NOSIGNAL): Likewise.
36139 (__ASSUME_SENDFILE): Define unconditionally.
36140 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36141 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36143 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36144 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36145 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36146 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36147 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36148 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36149 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36151 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36152 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36154 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36155 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36157 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36158 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36160 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36161 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36163 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36164 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36166 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36167 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36169 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36170 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36172 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36173 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36174 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36175 Remove conditional code.
36176 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36177 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36178 Remove conditional code.
36179 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36180 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36181 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36182 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36183 Remove conditional code.
36184 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36185 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36186 Remove conditional code.
36187 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36188 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36189 Remove conditional code.
36190 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36191 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36192 Remove conditional code.
36193 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36194 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36195 Remove conditional code.
36196 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36197 * sysdeps/unix/sysv/linux/sh/pwrite64.c
36198 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36199 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36200 * sysdeps/unix/sysv/linux/sigaction.c
36201 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36202 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36203 * sysdeps/unix/sysv/linux/sigpending.c
36204 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36205 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36206 * sysdeps/unix/sysv/linux/sigprocmask.c
36207 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36208 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36209 * sysdeps/unix/sysv/linux/sigsuspend.c
36210 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36211 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36212 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36213 (__libc_missing_rt_sigs): Remove.
36214 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36215 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36216 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36217 Remove conditional code.
36218 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36219 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36221 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36222 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36223 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36224 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36226 2012-05-14 Andreas Jaeger <aj@suse.de>
36228 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36229 it's not used in glibc.
36230 (__coshm1): Likewise.
36231 (__acosh1p): Likewise.
36234 * manual/string.texi (Copying and Concatenation): Add missing
36235 variable in concat example.
36236 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36238 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36241 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36242 __builtin_clzl with __builtin_clzll.
36244 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36247 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36250 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36252 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36253 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36254 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36255 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36257 2012-05-14 Mike Frysinger <vapier@gentoo.org>
36259 * NEWS: Update ia64 info.
36261 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
36263 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36266 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
36268 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36269 * sysdeps/unix/syscalls.list (dup3): Likewise.
36270 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36271 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36273 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36275 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36276 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36278 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36280 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36282 (TLS_IE): Use mov/add instead of movq/addq to load thread
36284 (TLS_GD_PREFIX): New.
36287 2012-05-11 David S. Miller <davem@davemloft.net>
36289 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36290 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36291 (_FPU_SETCW): Likewise.
36293 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36295 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36296 is 32-byte aligned.
36298 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
36301 * iconvdata/gb18030.c: Update tables.
36302 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
36303 characters specially.
36304 (BODY for TO_LOOP): Add encoding of missing ranges.
36306 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
36309 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36310 * sysdeps/mach/hurd/dup3.c: Likewise.
36311 * sysdeps/mach/hurd/readlinkat.c: Likewise.
36312 * sysdeps/powerpc/memmove.c:: Likewise.
36314 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36316 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36317 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36319 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36321 * elf/elf.h (R_X86_64_RELATIVE64): New.
36322 (R_X86_64_NUM): Updated.
36323 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36324 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
36325 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36326 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36327 tst-quad1pie tst-quad2pie
36328 (modules-names): Add tst-quadmod1 tst-quadmod2.
36329 ($(objpfx)tst-quad1): New dependency.
36330 ($(objpfx)tst-quad2): Likewise.
36331 ($(objpfx)tst-quad1pie): Likewise.
36332 ($(objpfx)tst-quad2pie): Likewise.
36333 * sysdeps/x86_64/tst-quad1.c: New file.
36334 * sysdeps/x86_64/tst-quad1pie.c: New file.
36335 * sysdeps/x86_64/tst-quad2.c: Likewise.
36336 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36337 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36338 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36339 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36340 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36342 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36344 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36345 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36346 * streams/stropts.h (t_scalar_t): Define type.
36348 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36349 (_PATH_PRESERVE): Set to "/var/lib".
36350 (_PATH_RWHODIR): Set to "/var/spool/rwho".
36352 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36355 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36356 if __dir_mkfile succeeded.
36358 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36359 checking for _hurd_dtablesize. Unlock it right after having
36360 finished _hurd_dtable allocation.
36362 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36364 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36365 * sysdeps/mach/hurd/configure: Regenerated.
36366 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36367 special-casing to...
36368 * sysdeps/gnu/configure.in: ... this new file.
36369 * sysdeps/unix/sysv/linux/configure: Regenerated.
36370 * sysdeps/gnu/configure: New generated file.
36372 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36373 for Linux: use nsec instead of usec, as well as:
36374 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36375 members of type struct timespec.
36376 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36378 (struct stat64): Likewise.
36379 (_STATBUF_ST_NSEC): New macro.
36380 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36382 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36383 __strtoul_internal rather than strtoul.
36385 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36387 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36390 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36392 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36393 which preserves existing values.
36394 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36396 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36398 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36399 TIMEOUT values. Return EINVAL for NFDS values either negative or
36400 greater than FD_SETSIZE.
36402 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36404 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36405 allocated, call __vm_protect to finish enabling the existing space, and
36406 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36407 allocate the remainder.
36409 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36411 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36412 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
36414 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36416 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36417 sysdeps/mach/hurd/readlink.c.
36419 * posix/tst-sysconf.c (posix_options): Only use
36420 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36421 _POSIX_SYNCHRONIZED_IO when they are defined
36422 * sysdeps/mach/hurd/bits/posix_opt.h:
36423 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36424 (_XOPEN_REALTIME): Undefine macro.
36425 (_XOPEN_REALTIME_THREADS): Undefine macro.
36426 (_XOPEN_SHM): Undefine macro.
36427 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36429 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36431 (_POSIX_ASYNC_IO): Undefine macro.
36432 (_POSIX_PRIORITIZED_IO): Undefine macro.
36433 (_POSIX_SPIN_LOCKS): Define macro to -1.
36435 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36436 SA_NODEFER, SA_RESETHAND.
36437 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36438 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36441 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36443 * elf/Makefile (pldd-modules): Define unconditionally.
36445 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36447 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36449 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36451 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36452 Return ENOENT when name is empty.
36453 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36455 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36457 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36459 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36461 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36463 Fix mlock in all cases except non-readable pages.
36464 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36465 instead of VM_PROT_ALL as parameter to __vm_wire function.
36467 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36468 (__mkdir): When path is `/', just fail with EEXIST.
36469 * sysdeps/mach/hurd/mkdirat.c: Likewise.
36471 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36473 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36474 <sys/uio.h> (for writev).
36475 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36476 and <sys/param.h> (for MIN).
36478 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36480 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36481 REQUESTED_TIME. Properly set the remaining time and return EINTR
36484 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36486 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36487 Depend on against $(link-rpcuserlibs).
36489 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36491 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36492 (__libc_stack_end): Do not use attribute_relro.
36493 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36494 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36495 to libthread-provided value.
36496 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36499 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36502 * bits/libc-lock.h (__libc_once_get): New macro.
36503 * sysdeps/mach/bits/libc-lock.h: Likewise.
36504 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36505 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36506 instead of using implementation details.
36508 * libio/fileops.c: Unconditionally include <kernel-features.h>.
36509 * libio/freopen.c: Likewise.
36510 * libio/freopen64.c: Likewise.
36511 * misc/syslog.c: Likewise.
36512 * nscd/connections.c: Likewise.
36513 * nscd/netgroupcache.c: Likewise.
36514 * sysdeps/posix/getcwd.c: Likewise.
36516 2012-05-10 Roland McGrath <roland@hack.frob.com>
36518 * math/w_ilogbf.c: Add #include <limits.h>.
36520 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36522 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36523 path instead of returning without unlocking.
36525 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36526 immediate-write ioctls.
36527 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36529 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36531 * sysdeps/mach/hurd/i386/init-first.c (init): Use
36532 __builtin_frame_address instead of making assumptions about the
36533 location of the return address relative to DATA. Force early load of
36534 the return address.
36535 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36536 __builtin_frame_address.
36539 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36540 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36541 implement dup3 and do some further code clean-ups.
36542 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36543 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36545 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36547 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36549 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36550 HURD_CRITICAL_END around holding _hurd_dtable_lock.
36551 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36552 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36553 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36556 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36557 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
36558 when handler == SIG_ERR, not when handler != SIG_ERR.
36560 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36562 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36563 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36566 accept4 for GNU Hurd.
36567 * include/sys/socket.h (__libc_accept4): New prototype.
36568 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
36569 to implement __libc_accept4.
36570 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36572 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36574 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36575 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36576 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36577 signal-defines.sym.
36579 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36581 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36583 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36585 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36586 assertion on O_CLOEXEC flag.
36587 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36588 * hurd/intern-fd.c: Likewise.
36589 * hurd/port2fd.c: Likewise.
36591 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36594 * bits/in.h (IPV6_PKTINFO): Define new macro.
36595 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36597 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36602 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36603 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36604 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36605 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36606 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36607 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36608 * math/libm-test.inc (logb_test) : Additional logb tests.
36610 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
36611 Andreas Jaeger <aj@suse.de>
36613 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36614 * configure: Regenerated.
36615 * config.h.in (LINK_OBSOLETE_RPC): New macro.
36616 * config.make.in (link-obsolete-rpc): New substituted variable.
36617 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36618 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36619 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36620 (shared-only-routines): Don't set it under [link-obsolete-rpc],
36621 so that libc.a contains the symbols.
36622 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36623 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36624 * sunrpc/auth_none.c: Likewise.
36625 * sunrpc/auth_unix.c: Likewise.
36626 * sunrpc/authdes_prot.c: Likewise.
36627 * sunrpc/authuxprot.c: Likewise.
36628 * sunrpc/clnt_gen.c: Likewise.
36629 * sunrpc/clnt_perr.c: Likewise.
36630 * sunrpc/clnt_raw.c: Likewise.
36631 * sunrpc/clnt_simp.c: Likewise.
36632 * sunrpc/clnt_tcp.c: Likewise.
36633 * sunrpc/clnt_udp.c: Likewise.
36634 * sunrpc/clnt_unix.c: Likewise.
36635 * sunrpc/des_crypt.c: Likewise.
36636 * sunrpc/des_soft.c: Likewise.
36637 * sunrpc/get_myaddr.c: Likewise.
36638 * sunrpc/key_call.c: Likewise.
36639 * sunrpc/key_prot.c: Likewise.
36640 * sunrpc/netname.c: Likewise.
36641 * sunrpc/pm_getmaps.c: Likewise.
36642 * sunrpc/pm_getport.c: Likewise.
36643 * sunrpc/pmap_clnt.c: Likewise.
36644 * sunrpc/pmap_prot.c: Likewise.
36645 * sunrpc/pmap_prot2.c: Likewise.
36646 * sunrpc/pmap_rmt.c: Likewise.
36647 * sunrpc/publickey.c: Likewise.
36648 * sunrpc/rpc_cmsg.c: Likewise.
36649 * sunrpc/rpc_common.c: Likewise.
36650 * sunrpc/rpc_dtable.c: Likewise.
36651 * sunrpc/rpc_prot.c: Likewise.
36652 * sunrpc/rpc_thread.c: Likewise.
36653 * sunrpc/rtime.c: Likewise.
36654 * sunrpc/svc.c: Likewise.
36655 * sunrpc/svc_auth.c: Likewise.
36656 * sunrpc/svc_raw.c: Likewise.
36657 * sunrpc/svc_run.c: Likewise.
36658 * sunrpc/svc_tcp.c: Likewise.
36659 * sunrpc/svc_udp.c: Likewise.
36660 * sunrpc/svc_unix.c: Likewise.
36661 * sunrpc/svcauth_des.c: Likewise.
36662 * sunrpc/xcrypt.c: Likewise.
36663 * sunrpc/xdr.c: Likewise.
36664 * sunrpc/xdr_array.c: Likewise.
36665 * sunrpc/xdr_float.c: Likewise.
36666 * sunrpc/xdr_intXX_t.c: Likewise.
36667 * sunrpc/xdr_mem.c: Likewise.
36668 * sunrpc/xdr_rec.c: Likewise.
36669 * sunrpc/xdr_ref.c: Likewise.
36670 * sunrpc/xdr_sizeof.c: Likewise.
36671 * sunrpc/xdr_stdio.c: Likewise.
36673 2012-05-10 Roland McGrath <roland@hack.frob.com>
36675 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36676 change. Update copyright years.
36678 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36680 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36682 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36683 Joseph Myers <joseph@codesourcery.com>
36684 Paul Pluzhnikov <ppluzhnikov@google.com>
36687 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36689 [cross-compiling] (extra-libs): Likewise.
36690 [cross-compiling] (extra-libs-others): Likewise.
36691 [cross-compiling] (librpcsvc-routines): Likewise.
36692 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36693 [cross-compiling] (omit-deps): Likewise.
36694 (sunrpc-CPPFLAGS): New variable.
36695 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36696 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36697 (cross-rpcgen-objs): New variable.
36698 (extra-objs): Append $(cross-rpcgen-objs).
36699 ($(cross-rpcgen-objs)): New rule.
36700 ($(objpfx)cross-rpcgen): Likewise.
36701 (rpcgen-cmd): Define to use $(built-program-file). Expand
36703 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36704 ($(objpfx)x%.stmp): Likewise.
36705 * sunrpc/proto.h [IS_IN_build] (_): Define.
36706 [IS_IN_build] (_libc_intl_domainname): Likewise.
36708 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36710 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36711 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36712 and R_X86_64_TPOFF64.
36714 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36716 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36717 sysdeps/unix/sysv/syscalls.list.
36720 * sysdeps/unix/sysv/syscalls.list: Remove file.
36722 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
36725 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36726 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36727 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36728 (__LC_IDENTIFICATION): Make these macros useful in #if
36729 expressions, as required by C99.
36731 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
36733 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36734 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
36737 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
36739 * stdlib/longlong.h: Updated from GCC.
36741 2012-05-09 Andreas Jaeger <aj@suse.de>
36743 * nscd/nscd.c (run_modes): Make named enum, reorder so that
36744 default is first entry.
36745 (run_mode): Set type.
36746 (main): Remove informal message about syslog.
36747 (options): Fix typo.
36750 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36753 (llrintf): Likewise.
36754 (llrint): Likewise.
36757 (nearbyint): Likewise.
36758 (nearbyintf): Likewise.
36760 2012-05-09 Andreas Jaeger <aj@suse.de>
36761 Pedro Alves <palves@redhat.com>
36763 * nscd/nscd.c (run_mode): Use enum.
36764 (main): Cleanup coding style issue.
36766 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
36767 Andreas Jaeger <aj@suse.de>
36769 * nscd/nscd.c (go_background): Replaced with...
36770 (run_mode): ... this.
36771 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36772 (options): Add -F --foreground.
36773 (main): Implement it.
36774 (parse_opt): Parse it.
36776 2012-05-09 Andreas Jaeger <aj@suse.de>
36779 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36780 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36781 -Wconversion warning.
36782 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36785 2012-05-09 Joseph Myers <joseph@codesourcery.com>
36787 * conform/data/locale.h-data (NULL): Use macro-constant. Require
36789 (LC_ALL): Use macro-int-constant.
36790 (LC_COLLATE): Likewise.
36791 (LC_CTYPE): Likewise.
36792 (LC_MESSAGES): Likewise.
36793 (LC_MONETARY): Likewise.
36794 (LC_NUMERIC): Likewise.
36795 (LC_TIME): Likewise.
36796 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36797 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36798 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36799 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36801 [C99-based standards] (float_t): Expect type.
36802 [C99-based standards] (double_t): Expect type.
36803 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
36805 [C99-based standards] (HUGE_VALL): Likewise.
36806 [C99-based standards] (INFINITY): Likewise.
36807 [C99-based standards] (NAN): Likewise.
36808 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36809 [C99-based standards] (FP_NAN): Likewise.
36810 [C99-based standards] (FP_NORMAL): Likewise.
36811 [C99-based standards] (FP_SUBNORMAL): Likewise.
36812 [C99-based standards] (FP_ZERO): Likewise.
36813 [C99-based standards] (FP_FAST_FMA): Use
36814 optional-macro-int-constant. Specify type. Require == 1.
36815 [C99-based standards] (FP_FAST_FMAF): Likewise.
36816 [C99-based standards] (FP_FAST_FMAL): Likewise.
36817 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36818 [C99-based standards] (FP_ILOGBNAN): Likewise.
36819 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36821 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36822 [C99-based standards] (math_errhandling): Specify type.
36823 [ISO99 || ISO11] (signgam): Do not allow.
36824 [non-C99-based standards] (copysignf): Do not allow.
36825 [non-C99-based standards] (exp2f): Likewise.
36826 [non-C99-based standards] (log2f): Likewise.
36827 [non-C99-based standards] (modff): Allow.
36828 [non-C99-based standards] (erff): Do not allow.
36829 [non-C99-based standards] (erfcf): Likewise.
36830 [non-C99-based standards] (gammaf): Likewise.
36831 [non-C99-based standards] (hypotf): Likewise.
36832 [non-C99-based standards] (j0f): Likewise.
36833 [non-C99-based standards] (j1f): Likewise.
36834 [non-C99-based standards] (jnf): Likewise.
36835 [non-C99-based standards] (lgammaf): Likewise.
36836 [non-C99-based standards] (tgammaf): Likewise.
36837 [non-C99-based standards] (y0f): Likewise.
36838 [non-C99-based standards] (y1f): Likewise.
36839 [non-C99-based standards] (ynf): Likewise.
36840 [non-C99-based standards] (isnanf): Likewise.
36841 [non-C99-based standards] (acoshf): Likewise.
36842 [non-C99-based standards] (asinhf): Likewise.
36843 [non-C99-based standards] (atanhf): Likewise.
36844 [non-C99-based standards] (cbrtf): Likewise.
36845 [non-C99-based standards] (expm1f): Likewise.
36846 [non-C99-based standards] (ilogbf): Likewise.
36847 [non-C99-based standards] (log1pf): Likewise.
36848 [non-C99-based standards] (logbf): Likewise.
36849 [non-C99-based standards] (nextafterf): Likewise.
36850 [non-C99-based standards] (remainderf): Likewise.
36851 [non-C99-based standards] (rintf): Likewise.
36852 [non-C99-based standards] (scalbf): Likewise.
36853 [non-C99-based standards] (copysignl): Likewise.
36854 [non-C99-based standards] (exp2l): Likewise.
36855 [non-C99-based standards] (log2l): Likewise.
36856 [non-C99-based standards] (modfl): Allow.
36857 [non-C99-based standards] (erfl): Do not allow.
36858 [non-C99-based standards] (erfcl): Likewise.
36859 [non-C99-based standards] (gammal): Likewise.
36860 [non-C99-based standards] (hypotl): Likewise.
36861 [non-C99-based standards] (j0l): Likewise.
36862 [non-C99-based standards] (j1l): Likewise.
36863 [non-C99-based standards] (jnl): Likewise.
36864 [non-C99-based standards] (lgammal): Likewise.
36865 [non-C99-based standards] (tgammal): Likewise.
36866 [non-C99-based standards] (y0l): Likewise.
36867 [non-C99-based standards] (y1l): Likewise.
36868 [non-C99-based standards] (ynl): Likewise.
36869 [non-C99-based standards] (isnanl): Likewise.
36870 [non-C99-based standards] (acoshl): Likewise.
36871 [non-C99-based standards] (asinhl): Likewise.
36872 [non-C99-based standards] (atanhl): Likewise.
36873 [non-C99-based standards] (cbrtl): Likewise.
36874 [non-C99-based standards] (expm1l): Likewise.
36875 [non-C99-based standards] (ilogbl): Likewise.
36876 [non-C99-based standards] (log1pl): Likewise.
36877 [non-C99-based standards] (logbl): Likewise.
36878 [non-C99-based standards] (nextafterl): Likewise.
36879 [non-C99-based standards] (remainderl): Likewise.
36880 [non-C99-based standards] (rintl): Likewise.
36881 [non-C99-based standards] (scalbl): Likewise.
36882 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36883 [non-C99-based standards] (FP_*): Do not allow.
36884 [C99-based standards] (FP_*): Change to
36885 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36886 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36888 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36889 (SIG_ERR): Likewise.
36890 [X/Open-based standards] (SIG_HOLD): Likewise.
36891 (SIG_IGN): Likewise.
36892 (SIGABRT): Use macro-int-constant. Specify type. Require
36894 (SIGFPE): Likewise.
36895 (SIGILL): Likewise.
36896 (SIGINT): Likewise.
36897 (SIGSEGV): Likewise.
36898 (SIGTER): Likewise.
36899 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36900 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36901 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36902 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36903 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36904 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36905 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36906 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36907 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36908 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36909 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36910 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36911 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36912 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36913 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36914 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36915 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36916 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36917 [X/Open-based standards] (SIGTRAP): Likewise.
36918 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36919 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36920 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36921 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36922 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36925 2012-05-08 Ian Wienand <ianw@vmware.com>
36928 * time/tzset.c (__tzset_parse_tz): Update default rules for
36929 daylight time changes in the Energy Policy Act of 2005.
36931 2012-05-09 Andreas Jaeger <aj@suse.de>
36934 * elf/ldconfig.c (parse_conf): Change string to make clear that
36935 ldconfig only issued a warning if ld.so.conf does not exist.
36937 2012-05-08 David S. Miller <davem@davemloft.net>
36939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36940 movxtod instead of popping the value on the stack.
36942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36944 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
36946 * config.h.in: Add HAVE_ARM_PCS_VFP.
36948 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
36951 * include/features.h: Warn if user requests __FORTIFY_SOURCE
36952 checking but the checks are disabled for any reason.
36954 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
36956 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36957 and ELF64_R_TYPE with ELFW(R_TYPE).
36959 2012-05-08 Joseph Myers <joseph@codesourcery.com>
36961 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36962 (ulimit): Likewise.
36964 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36965 (settimeofday): Likewise.
36967 2012-05-08 Mike Frysinger <vapier@gentoo.org>
36969 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
36970 a struct th_u2 inside the union, and move tu_block/tu_code into
36971 a new th_u3 union of tu_block/tu_code inside of that. Move
36972 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
36973 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
36974 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36975 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36976 (th_stuff): Change to th_u1.tu_stuff.
36978 (th_msg): Change to th_u1.th_u2.tu_data.
36980 2012-05-07 David S. Miller <davem@davemloft.net>
36982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36985 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36986 (SETUP_PIC_REG): Use it.
36987 (SETUP_PIC_REG_LEAF): Use it.
36989 2012-05-07 Joseph Myers <joseph@codesourcery.com>
36993 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36995 (EXPL_FINITE): Likewise.
36996 (FLDLOG): Likewise.
36997 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36998 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37000 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37002 (EXPL_FINITE): Likewise.
37003 (FLDLOG): Likewise.
37004 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37005 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37007 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
37008 test of -max_value argument for long double.
37009 * sysdeps/i386/fpu/libm-test-ulps: Update.
37010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37012 2012-05-06 David S. Miller <davem@davemloft.net>
37014 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37015 quad soft-float symbols whose references which are compiler
37017 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37019 2012-05-06 Joseph Myers <joseph@codesourcery.com>
37023 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37025 (EXPL_FINITE): Likewise.
37026 (FLDLOG): Likewise.
37029 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37030 Adjust comments for base varying.
37031 (__expl_finite): Change alias to EXPL_FINITE.
37032 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37034 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37035 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37036 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37037 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37038 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37040 (EXPL_FINITE): Likewise.
37041 (FLDLOG): Likewise.
37044 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
37045 Adjust comments for base varying.
37046 (__expl_finite): Change alias to EXPL_FINITE.
37047 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
37049 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37052 * math/libm-test.inc (check_float_internal): Correct ulp
37053 calculation for subnormal expected results.
37055 2012-05-06 Andreas Jaeger <aj@suse.de>
37057 * Makeconfig (+math-flags): New, set to -frounding-math.
37058 (+cflags): Add +math-flags so that all of glibc gets compiled with
37061 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37063 2012-05-05 Joseph Myers <joseph@codesourcery.com>
37065 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37071 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37072 (__ieee754_expl): Allow for and saturate large arguments.
37073 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37074 (u_threshold): Likewise.
37075 (__exp): Call __ieee754_exp before checking for overflow and
37077 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37078 (u_threshold): Likewise.
37079 (__expf): Call __ieee754_expf before checking for overflow and
37081 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37082 (u_threshold): Likewise.
37083 (__expl): Call __ieee754_expl before checking for overflow and
37085 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37086 (__ieee754_expl): Allow for and saturate large arguments.
37087 * math/libm-test.inc (exp_test): Add another test. Do not allow
37088 missing overflow exception on overflow.
37089 (expm1_test): Do not allow missing overflow exception on overflow.
37091 * sysdeps/i386/fpu/e_expl.c: Move to ...
37092 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
37093 rather than using inline asm.
37094 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37095 * sysdeps/x86_64/fpu/e_expl.S: Copy from
37096 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37098 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37101 (signal): Likewise.
37105 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37107 * sysdeps/unix/syscalls.list (adjtime): Add entry from
37108 sysdeps/unix/common/syscalls.list.
37109 (fchmod): Likewise.
37110 (fchown): Likewise.
37111 (ftruncate): Likewise.
37112 (getrusage): Likewise.
37113 (gettimeofday): Likewise.
37114 (setpgid): Likewise.
37115 (setregid): Likewise.
37116 (setreuid): Likewise.
37117 (sigaction): Likewise.
37118 (truncate): Likewise.
37119 (vhangup): Likewise.
37120 * sysdeps/unix/common/syscalls.list: Remove file.
37121 * sysdeps/unix/bsd/Implies: Don't include unix/common.
37122 * sysdeps/unix/sysv/linux/Implies: Likewise.
37124 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
37126 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37127 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37128 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37132 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37134 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37135 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37138 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37141 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37144 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37147 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37150 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37152 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37154 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37158 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37161 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37165 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37169 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37171 * sysdeps/unix/common/bits/dirent.h: Remove file.
37172 * sysdeps/unix/common/bits/fcntl.h: Likewise.
37174 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37175 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37176 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37177 * sysdeps/unix/bsd/isatty.c: Likewise.
37178 * sysdeps/unix/bsd/tcdrain.c: Likewise.
37179 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37180 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37182 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37185 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37186 long double comparison inaccuracies.
37187 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37190 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
37192 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37193 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37195 2012-05-04 Joseph Myers <joseph@codesourcery.com>
37198 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37199 nonzero digits before rounding a hex value.
37200 * stdlib/tst-strtod.c (tests): Add another test.
37202 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37204 * sysdeps/s390/fpu/libm-test-ulps: Update.
37206 2012-05-03 Andreas Jaeger <aj@suse.de>
37208 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37209 does not get optimized out.
37210 (malloc_opt_barrier): New.
37212 2012-05-03 Andreas Jaeger <aj@suse.de>
37213 Roland McGrath <roland@hack.frob.com>
37215 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37216 intermediate file deletion.
37217 (generated): Add .symlist files.
37219 2012-05-03 Joseph Myers <joseph@codesourcery.com>
37222 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37223 Redirect under this condition.
37224 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37225 [__USE_GNU] (__dprintf_chk): Not under this condition.
37226 [__USE_GNU] (__vdprintf_chk): Likewise.
37227 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37228 under this condition.
37229 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37230 [__USE_XOPEN2K8] (dprintf): Define under this condition.
37231 [__USE_XOPEN2K8] (vdprintf): Likewise.
37232 [__USE_GNU] (__dprintf_chk): Not under this condition.
37233 [__USE_GNU] (__vdprintf_chk): Likewise.
37234 [__USE_GNU] (dprintf): Likewise.
37235 [__USE_GNU] (vdprintf): Likewise.
37237 2012-05-03 Roland McGrath <roland@hack.frob.com>
37239 * elf/Makefile (common-generated): Set this instead of generated for
37240 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
37241 $(all-built-dso)-derived lists.
37243 2012-05-03 Andreas Jaeger <aj@suse.de>
37245 * sysdeps/i386/fpu/libm-test-ulps: Update.
37248 * FAQ.in: Likewise.
37249 * scripts/gen-FAQ.pl: Likewise.
37250 * manual/install.texi (Installation): Point to online location of
37252 * Makefile (files-for-dist): Remove FAQ.
37255 2012-05-02 Allan McRae <allan@archlinux.org>
37257 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37258 (LDFLAGS-reldepmod5.so): Likewise.
37259 (LDFLAGS-reldep6mod1.so): Likewise.
37260 (LDFLAGS-reldep6mod4.so): Likewise.
37261 (LDFLAGS-reldep8mod3.so): Likewise.
37262 (LDFLAGS-unload4mod1.so): Likewise.
37263 (LDFLAGS-unload4mod2.so): Likewise.
37264 (LDFLAGS-tst-initorder): Likewise.
37265 (LDFLAGS-tst-initordera2.so): Likewise.
37266 (LDFLAGS-tst-initordera3.so): Likewise.
37267 (LDFLAGS-tst-initordera4.so): Likewise.
37268 (LDFLAGS-tst-initorderb2.so): Likewise.
37269 (LDFLAGS-noload): Likewise.
37270 (LDFLAGS-next): Likewise.
37271 (LDFLAGS-order2mod1.so): Likewise.
37272 (LDFLAGS-order2mod2.so): Likewise.
37273 (LDFLAGS-tst-initorder2): Likewise.
37274 (LDFLAGS-tst-initorder2a.so): Likewise.
37275 (LDFLAGS-tst-initorder2b.so): Likewise.
37276 (LDFLAGS-tst-initorder2c.so): Likewise.
37277 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37279 2012-05-02 David S. Miller <davem@davemloft.net>
37281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37283 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
37286 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37288 2012-05-02 Andreas Jaeger <aj@suse.de>
37290 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37291 since we manipulate rounding mode.
37292 (CPPFLAGS-test-idouble.c): Likewise.
37293 (CPPFLAGS-test-ifloat.c): Likewise.
37294 (CFLAGS-test-ldouble.c): Likewise.
37295 (CFLAGS-test-double.c): Likewise.
37296 (CFLAGS-test-float.c): Likewise.
37297 (CFLAGS-test-misc.c): Likewise.
37298 (CFLAGS-test-test-fenv.c): Likewise.
37300 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37304 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37305 comparisons to determine direction to adjust input.
37307 2012-05-01 Roland McGrath <roland@hack.frob.com>
37309 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37310 output to the target.
37312 * scripts/localplt.awk: New file.
37313 * elf/Makefile ($(objpfx)check-localplt): Target removed.
37314 (check-localplt-CFLAGS): Variable removed.
37315 ($(all-built-dso:=.jmprel)): New static pattern rule.
37316 (generated): Add those targets.
37317 (localplt-built-dso): New variable.
37318 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37320 * elf/check-localplt.c: File removed.
37322 * scripts/check-execstack.awk: New file.
37323 * elf/Makefile ($(objpfx)check-execstack): Target removed.
37324 (check-execstack-CFLAGS): Variable removed.
37325 ($(objpfx)check-execstack.h): Target removed.
37326 ($(objpfx)execstack-default): New target.
37327 (generated): Add that instead of check-execstack.h.
37328 ($(all-built-dso:=.phdr)): New static pattern rule.
37329 (generated): Add those targets.
37330 * elf/check-execstack.c: File removed.
37332 * scripts/check-textrel.awk: New file.
37333 * elf/Makefile ($(objpfx)check-textrel): Target removed.
37334 (check-textrel-CFLAGS): Variable removed.
37335 (all-built-dso): Use := to define.o
37336 ($(all-built-dso:=.dyn)): New static pattern rule.
37337 (generated): Add those targets.
37338 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37339 * config.make.in (READELF): New substituted variable.
37340 * elf/check-textrel.c: File removed.
37342 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37344 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37346 * conform/data/ctype.h-data [C99-based standards] (isblank):
37348 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37349 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37350 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37351 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37352 Specify type. Require positive value.
37353 (EILSEQ): Likewise.
37354 (ERANGE): Likewise.
37355 [ISO || POSIX] (EILSEQ): Do not expect.
37356 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37357 Specify type. Require positive value.
37358 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37359 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37360 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37361 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37362 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37363 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37364 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37365 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37366 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37367 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37368 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37369 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37370 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37371 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37372 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37373 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37374 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37375 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37376 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37377 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37378 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37379 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37380 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37381 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37382 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37383 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37384 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37385 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37386 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37387 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37388 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37389 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37390 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37391 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37392 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37393 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37394 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37395 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37396 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37397 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37398 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37399 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37400 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37401 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37402 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37403 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37404 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37405 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37406 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37407 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37408 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37409 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37410 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37411 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37412 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37413 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37414 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37415 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37416 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37417 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37418 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37419 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37420 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37421 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37422 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37423 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37424 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37425 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37426 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37427 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37428 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37429 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37430 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37431 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37432 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37433 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37434 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37436 (FLT_ROUNDS): Expect as macro, not constant.
37437 (FLT_MANT_DIG): Use macro-int-constant.
37438 (DBL_MANT_DIG): Likewise.
37439 (LDBL_MANT_DIG): Likewise.
37440 (FLT_DIG): Likewise.
37441 (DBL_DIG): Likewise.
37442 (LDBL_DIG): Likewise.
37443 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
37444 (DBL_MIN_EXP): Likewise.
37445 (LDBL_MIN_EXP): Likewise.
37446 (FLT_MAX_EXP): Use macro-int-constant.
37447 (DBL_MAX_EXP): Likewise.
37448 (LDBL_MAX_EXP): Likewise.
37449 (FLT_MAX_10_EXP): Likewise.
37450 (DBL_MAX_10_EXP): Likewise.
37451 (LDBL_MAX_10_EXP): Likewise.
37452 (FLT_MAX): Use macro-constant.
37453 (DBL_MAX): Likewise.
37454 (LDBL_MAX): Likewise.
37455 (FLT_EPSILON): Use macro-constant. Give upper bound.
37456 (DBL_EPSILON): Likewise.
37457 (LDBL_EPSILON): Likewise.
37458 (FLT_MIN): Likewise.
37459 (DBL_MIN): Likewise.
37460 (LDBL_MIN): Likewise.
37461 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37462 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37463 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37464 [ISO11] (FLT_HAS_SUBNORM): Likewise.
37465 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37466 [ISO11] (DBL_DECIMAL_DIG): Likewise.
37467 [ISO11] (FLT_DECIMAL_DIG): Likewise.
37468 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37469 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37470 [ISO11] (FLT_TRUE_MIN): Likewise.
37471 [ISO11] (LDBL_TRUE_MIN): Likewise.
37472 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37473 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37474 (SCHAR_MIN): Use macro-int-constant. Specify type.
37475 (SCHAR_MAX): Likewise.
37476 (UCHAR_MAX): Likewise.
37477 (CHAR_MIN): Likewise.
37478 (CHAR_MAX): Likewise.
37479 (MB_LEN_MAX): Use macro-int-constant.
37480 (SHRT_MIN): Use macro-int-constant. Specify type.
37481 (SHRT_MAX): Likewise.
37482 (USHRT_MAX): Likewise.
37483 (INT_MAX): Likewise.
37484 (INT_MIN): Use macro-int-constant. Specify type. Make upper
37486 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
37488 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37490 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
37491 bound negative. Suffix upper bound with "L".
37492 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37494 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37496 [C99-based standards] (LLONG_MAX): Likewise.
37497 [C99-based standards] (ULLONG_MAX): Likewise.
37498 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
37500 [ISO11] (max_align_t): Require type.
37501 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37503 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37504 from $CFLAGS, without defining away __attribute__ calls.
37505 (checknamespace): Use $CFLAGS_namespace.
37507 * conform/conformtest.pl (@keywords): Only include C99 keywords
37508 for standards based on C99 or C11.
37510 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37512 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37515 * conform/conformtest.pl: Handle "macro-int-constant" and test for
37516 usability of symbols in #if.
37518 * conform/conformtest.pl: If macro or constant types start
37519 "promoted:", expect the symbol to be of the following type
37520 promoted by the integer promotions.
37522 * conform/conformtest.pl: Parse all "constant" and "macro" lines
37523 in one place. Also handle "macro-constant".
37525 * conform/conformtest.pl: Only accept expected macro values with
37526 "==". Parse all "macro" lines in one place.
37527 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37529 * conform/conformtest.pl: Handle braced types on "constant" lines
37530 instead of handling "typed-constant".
37531 * conform/data/signal.h-data: Use "constant" instead of
37534 * conform/conformtest.pl: Handle "optional-" at start of lines in
37535 one place rather than duplicating several cases. Handle each
37536 format of "macro" line with initial "optional-".
37538 * conform/conformtest.pl: Only accept expected constant or
37539 optional-constant values with "==". Parse all "constant" lines in
37540 one place. Parse all "optional-constant" lines in one place.
37541 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37542 * conform/data/fmtmsg.h-data: Likewise.
37543 * conform/data/netinet/in.h-data: Likewise.
37544 * conform/data/tar.h-data: Likewise.
37545 * conform/data/limits.h-data: Use "==" form on "constant" and
37546 "optional-constant" lines.
37548 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37549 Use -std=c99 for XOPEN2K.
37550 (@knownproblems): Remove.
37551 (newtoken): Don't check %isknown.
37553 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37554 Do not expect macro.
37555 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37556 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37557 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37558 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37559 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37560 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37561 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37562 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37563 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37564 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37565 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37566 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37567 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37568 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37569 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37570 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37571 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37572 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37573 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37574 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37575 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37576 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37577 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37578 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37579 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37580 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37581 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37582 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37583 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37584 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37585 [XPG3] (acosh): Likewise.
37586 [XPG3] (asinh): Likewise.
37587 [XPG3] (atanh): Likewise.
37588 [XPG3] (cbrt): Likewise.
37589 [XPG3] (expm1): Likewise.
37590 [XPG3] (ilogb): Likewise.
37591 [XPG3] (log1p): Likewise.
37592 [XPG3] (logb): Likewise.
37593 [XPG3] (nextafter): Likewise.
37594 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37595 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37596 [XPG3] (remainder): Likewise.
37597 [XPG3] (rint): Likewise.
37598 [XPG3 || XPG4 || UNIX98] (round): Likewise.
37599 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37600 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37601 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37602 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37603 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37604 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37605 [UNIX98 || XOPEN2K] (scalb): Expect.
37606 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37607 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37608 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37609 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37610 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37611 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37612 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37613 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37614 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37615 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37616 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37617 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37618 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37619 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37620 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37621 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37622 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37623 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37624 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37625 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37626 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37627 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37628 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37629 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37630 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37631 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37632 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37633 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37634 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37635 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37636 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37637 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37638 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37639 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37640 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37641 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37642 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37643 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37644 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37645 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37646 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37647 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37648 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37649 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37650 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37651 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37652 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37653 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37654 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37655 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37656 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37657 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37658 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37659 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37660 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37661 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37662 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37663 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37664 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37665 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37666 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37667 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37668 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37669 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37670 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37671 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37672 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37673 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37674 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37675 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37676 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37677 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37678 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37679 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37680 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37681 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37682 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37683 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37684 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37685 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37686 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37687 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37688 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37689 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37690 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37691 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37692 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37693 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37694 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37695 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37696 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37697 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37698 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37699 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37700 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37701 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37702 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37703 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37704 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37705 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37706 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37707 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37708 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37709 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37710 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37711 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37712 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37713 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37714 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37715 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37716 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37717 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37718 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37719 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37720 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37721 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37722 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37723 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37724 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37725 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37726 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37727 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37728 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37729 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37730 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37731 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37732 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37733 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37734 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37735 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37736 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37737 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37738 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37739 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37740 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37741 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37742 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37744 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37745 _XOPEN_SOURCE_EXTENDED for XPG4.
37747 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37749 * Makeconfig (localtime): Remove variable.
37750 (inst_localtime-file): Likewise.
37752 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37773 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37777 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37778 comparisons to determine direction to adjust input.
37779 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37780 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37781 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37783 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37785 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37787 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37788 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37790 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37792 * math/libm-test.inc (nexttoward_test): Add more tests.
37794 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37797 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37798 in version GLIBC_2.1, not GLIBC_2.0.
37799 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37802 2012-04-30 Joseph Myers <joseph@codesourcery.com>
37805 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37807 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37808 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37809 * math/libm-test.inc (acos_test): Add more tests.
37810 (asin_test): Likewise.
37811 * sysdeps/i386/fpu/libm-test-ulps: Update.
37812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37815 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37817 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37818 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37819 * math/libm-test.inc (acos_test_tonearest): New function.
37820 (acos_test_towardzero): Likewise.
37821 (acos_test_downward): Likewise.
37822 (acos_test_upward): Likewise.
37823 (asin_test_tonearest): Likewise.
37824 (asin_test_towardzero): Likewise.
37825 (asin_test_downward): Likewise.
37826 (asin_test_upward): Likewise.
37827 (main): Call the new functions.
37828 * sysdeps/i386/fpu/libm-test-ulps: Update.
37829 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37833 * math/e_exp10.c: Include <float.h>.
37834 (__ieee754_exp10): Handle underflow here rather than multiplying
37835 large negative argument by M_LN10.
37836 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37838 * math/e_exp10l.c: Include <float.h>.
37839 (__ieee754_exp10l): Handle underflow here rather than multiplying
37840 large negative argument by M_LN10l.
37841 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37842 spurious overflow exception on underflow.
37844 2012-04-29 Marek Polacek <polacek@redhat.com>
37846 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37847 (__fortify_function): New macro.
37848 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37849 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37850 __extern_always_inline.
37851 * libio/bits/stdio2.h: Likewise.
37852 * libio/bits/stdio.h: Likewise.
37853 * string/string.h: Likewise.
37854 * string/bits/string3.h: Likewise.
37855 * include/stdio.h: Likewise.
37856 * stdlib/bits/stdlib.h: Likewise.
37857 * stdlib/stdlib.h: Likewise.
37858 * rt/bits/mqueue2.h: Likewise.
37859 * rt/mqueue.h: Likewise.
37860 * posix/bits/unistd.h: Likewise.
37861 * posix/unistd.h: Likewise.
37862 * io/bits/poll2.h: Likewise.
37863 * io/bits/fcntl2.h: Likewise.
37864 * io/fcntl.h: Likewise.
37865 * io/sys/poll.h: Likewise.
37866 * misc/bits/syslog.h: Likewise.
37867 * misc/bits/syslog-ldbl.h: Likewise.
37868 * misc/sys/syslog.h: Likewise.
37869 * socket/bits/socket2.h: Likewise.
37870 * socket/sys/socket.h: Likewise.
37871 * debug/tst-chk1.c: Likewise.
37872 * wcsmbs/bits/wchar2.h: Likewise.
37873 * wcsmbs/bits/wchar-ldbl.h: Likewise.
37874 * wcsmbs/wchar.h: Likewise.
37876 2012-04-29 Andreas Jaeger <aj@suse.de>
37878 * Makerules (tests): Remove enable-check-abi protection.
37879 (check-abi-warn): Remove.
37880 (check-abi-%): Remove check-abi-warn usage.
37882 * configure.in: Remove check-abi configure option.
37883 * configure: Regenerated.
37884 * config.make.in (enable-check-abi): Remove.
37886 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37889 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37890 double functions to double *_finite functions.
37893 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37894 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37896 * stdio-common/Makefile (tests): Add tst-sprintf3.
37897 * stdio-common/tst-sprintf3.c: New file.
37899 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37900 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37902 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37904 * conform/conformtest.pl: Remove duplicate typed-constant
37907 2012-04-28 David S. Miller <davem@davemloft.net>
37909 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37910 (check-abi-%): Remove AWK script prerequisite and explicit
37912 (check-abi): Rewrite to just diff the symlist with the abilist.
37913 (config-tls, config-abi-config): Delete, no longer used.
37914 (update-abi-%): Remove AWK script and explicit abilist directory.
37915 (update-abi): Rewrite to simply compare and conditionally copy the
37916 symlist and the sysdep abilist file. Remove update-abi-config
37918 * abilist/ld.abilist: Remove.
37919 * abilist/libBrokenLocale.abilist: Remove.
37920 * abilist/libanl.abilist: Remove.
37921 * abilist/libcrypt.abilist: Remove.
37922 * abilist/libdl.abilist: Remove.
37923 * abilist/librt.abilist: Remove.
37924 * abilist/libthread_db.abilist: Remove.
37925 * abilist/libutil.abilist: Remove.
37926 * scripts/extract-abilist.awk: Remove.
37927 * scripts/merge-abilist.awk: Remove.
37928 * sysdeps/generic/libcidn.abilist: New file.
37929 * sysdeps/generic/libnss_compat.abilist: New file.
37930 * sysdeps/generic/libnss_db.abilist: New file.
37931 * sysdeps/generic/libnss_dns.abilist: New file.
37932 * sysdeps/generic/libnss_files.abilist: New file.
37933 * sysdeps/generic/libnss_hesiod.abilist: New file.
37934 * sysdeps/generic/libnss_nis.abilist: New file.
37935 * sysdeps/generic/libnss_nisplus.abilist: New file.
37936 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37937 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37938 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37940 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37941 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37942 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37943 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37944 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37945 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37946 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37947 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37948 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37950 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37951 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37952 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37953 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37955 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37956 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37957 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37958 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37959 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37960 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37962 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37963 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37964 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37966 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37967 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37969 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37971 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37973 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37975 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37977 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37979 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37981 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37983 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37985 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37987 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37989 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37991 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38036 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38047 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38051 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38053 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38057 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38059 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38069 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38070 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38071 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38073 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38074 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38075 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38076 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38077 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38078 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38079 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38080 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38081 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38082 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38090 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38125 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38134 2012-04-28 Joseph Myers <joseph@codesourcery.com>
38136 * conform/conformtest.pl: Fix typo in handling typed-constant from
38139 2012-04-27 Joseph Myers <joseph@codesourcery.com>
38141 * README: Cut down references to pre-2.6 Linux kernels and
38142 Linuxthreads. Update lists of configurations in libc and ports
38143 and sort alphabetically. Say "or newer" with Linux kernel version
38146 * config.h.in [IS_IN_build]: Allow compiling without optimization.
38148 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
38151 * math/libm-test.inc (logb_test_downward): New test to expose
38152 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38155 2012-04-27 Joseph Myers <joseph@codesourcery.com>
38158 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38160 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38161 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38163 2012-04-26 Joseph Myers <joseph@codesourcery.com>
38165 * sysdeps/unix/i386/brk.S: Remove file.
38166 * sysdeps/unix/i386/dl-brk.S: Likewise.
38167 * sysdeps/unix/i386/pipe.S: Likewise.
38168 * sysdeps/unix/i386/sigreturn.S: Likewise.
38169 * sysdeps/unix/i386/syscall.S: Likewise.
38170 * sysdeps/unix/i386/vfork.S: Likewise.
38171 * sysdeps/unix/i386/wait.S: Likewise.
38173 * sysdeps/unix/common/tcsendbrk.c: Move to ...
38174 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38176 * configure.in (arm*-none*): Do not allow without
38177 --enable-hacker-mode.
38178 (netbsd*): Remove case setting base_os.
38179 (386bsd*): Likewise.
38180 (freebsd*): Likewise.
38183 (sunos*): Likewise.
38184 (ultrix*): Likewise.
38185 (newsos*): Likewise.
38186 (dynix*): Likewise.
38192 (minix*): Likewise.
38193 (irix4*): Likewise.
38194 (irix6*): Likewise.
38195 (solaris[2-9]*): Likewise.
38197 * configure: Regenerated.
38199 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38202 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38203 overflow or cancellation in calculating denominator.
38204 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38205 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38206 down expression to avoid unexpected rounding in newer GCCs.
38207 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38209 2012-04-26 David S. Miller <davem@davemloft.net>
38211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38212 long-double compat symbols.
38213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38227 2012-04-25 David S. Miller <davem@davemloft.net>
38229 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38230 HWCAP_* values only after the memory barriers have been defined.
38231 (atomic_full_barrier): Define.
38232 (atomic_read_barrier): Define.
38233 (atomic_write_barrier): Define.
38235 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38237 * shlib-versions: Add libgcc_s version information.
38238 * sysdeps/generic/libgcc_s.h: Remove.
38239 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38241 * sysdeps/gnu/unwind-resume.c: Likewise.
38242 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38244 2012-04-25 David S. Miller <davem@davemloft.net>
38246 * sysdeps/unix/sparc/brk.S: Delete.
38247 * sysdeps/unix/sparc/dl-brk.S: Delete.
38248 * sysdeps/unix/sparc/pipe.S: Delete.
38249 * sysdeps/unix/sparc/sysdep.S: Delete.
38250 * sysdeps/unix/sparc/sysdep.h: Delete.
38251 * sysdeps/unix/sparc/vfork.S: Delete.
38252 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38253 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38254 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38255 (ret_ERRVAL, r0, r1, MOVE): Define.
38256 (JUMPTARGET): Remove.
38257 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38258 sysdeps/unix/sparc/sysdep.h
38259 (ENTRY, END): Remove.
38260 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38262 2012-04-25 Joseph Myers <joseph@codesourcery.com>
38264 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38265 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38268 * timezone/README: Update upstream location and email address for
38270 * timezone/zdump.c: Update from tzcode 2012b.
38271 * timezone/zic.c: Likewise.
38273 * configure.in (libc_cv_as_needed): Remove test.
38274 * configure: Regenerated.
38275 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38276 conditional definition.
38277 [$(have-as-needed) != yes] (no-as-needed): Likewise.
38278 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38279 * config.make.in (have-as-needed): Remove variable.
38281 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38282 Paul Pluzhnikov <ppluzhnikov@google.com>
38284 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38287 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
38289 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38290 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38291 * sysdeps/sh/strlen.S: Likewise.
38293 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38295 * sysdeps/unix/fork.S: Remove file.
38296 * sysdeps/unix/i386/fork.S: Likewise.
38297 * sysdeps/unix/sparc/fork.S: Likewise.
38299 * sysdeps/unix/system.c: Remove file.
38300 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38302 * sysdeps/unix/getegid.S: Remove file.
38303 * sysdeps/unix/geteuid.S: Likewise.
38305 2012-04-24 Roland McGrath <roland@hack.frob.com>
38307 * scripts/check-localplt.awk: New file.
38308 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38310 * scripts/data/localplt-generic.data: Add a comment.
38312 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38313 NODE when __dir_mkfile failed.
38314 * sysdeps/mach/hurd/symlinkat.c: Likewise.
38315 Reported by Ludovic Courtès <ludo@gnu.org>.
38317 2012-04-24 Andreas Jaeger <aj@suse.de>
38319 * Makerules (common-clean): Also remove gen-as-const-headers
38322 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38324 * Makerules (native-compile): Do not change working directory for
38325 build. Use $(OUTPUT_OPTION) in command.
38326 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38328 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38331 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38332 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38333 * math/libm-test.inc (floor_test): Add more tests.
38334 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38336 2012-04-24 Joseph Myers <joseph@codesourcery.com>
38338 * sysdeps/unix/getdents.c: Remove file.
38339 * sysdeps/unix/sysv/getdents.c: Likewise.
38340 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38342 * sysdeps/unix/syscalls.list (madvise): Add syscall from
38343 sysdeps/unix/mman/syscalls.list.
38345 (mprotect): Likewise.
38347 (munmap): Likewise.
38348 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38349 * sysdeps/unix/mman/syscalls.list: Remove.
38350 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38352 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38353 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38354 * configure: Regenerated.
38355 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38356 $(libgcc_s_suffix).
38357 * config.make.in (libgcc_s_suffix): Remove variable.
38359 2012-04-23 Joseph Myers <joseph@codesourcery.com>
38361 * sysdeps/unix/sysv/gethostname.c: Move to ...
38362 * sysdeps/posix/gethostname.c: ... here.
38364 * sysdeps/unix/execve.S: Remove file.
38366 * sysdeps/unix/_exit.S: Remove file.
38368 2012-04-23 Andreas Jaeger <aj@suse.de>
38371 * manual/Makefile: Remove make dist support, there's no
38372 need for a stand-alone documentation tar ball.
38373 (TEXI2DVI): Define always, it's not in Makeconfig.
38376 (edition): Removed.
38377 (glibc-doc-$(edition).tar): Removed
38381 (ETAGS): Remove, it's in Makeconfig.
38382 (move-if-change): Remove, it's in Makeconfig.
38384 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
38387 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38388 (strtod, strtof, strtold, strtol, strtoul, strtoq)
38389 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38390 (strtod_l, strtof_l, strtold_l): Remove __wur.
38391 It is not necessarily an error to ignore strtol's return value.
38392 One can reliably look at the stored endptr to decide whether
38393 the number had valid syntax.
38395 2012-04-21 Andreas Jaeger <aj@suse.de>
38398 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38400 2012-04-21 Joseph Myers <joseph@codesourcery.com>
38402 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38403 * sysdeps/unix/sysv/Versions: Remove file.
38405 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
38408 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38410 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
38413 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38414 version from __vm86.
38416 2012-04-20 Joseph Myers <joseph@codesourcery.com>
38418 * sysdeps/unix/common/lxstat.c: Remove file.
38419 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38421 * sysdeps/unix/sysv/Makefile: Remove file.
38423 * sysdeps/unix/sysv/direct.h: Remove file.
38425 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38426 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38427 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38428 * sysdeps/unix/sysv/bits/signum.h: Likewise.
38429 * sysdeps/unix/sysv/bits/stat.h: Likewise.
38430 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38431 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38433 * sysdeps/unix/sysv/setrlimit.c: Remove file.
38435 * sysdeps/unix/xmknod.c: Remove file.
38436 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38438 * sysdeps/unix/sysv/settimeofday.c: Remove file.
38440 * sysdeps/unix/sysv/i386/time.S: Remove file.
38442 * sysdeps/unix/fxstat.c: Remove file.
38443 * sysdeps/unix/xstat.c: Likewise.
38444 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38446 * sysdeps/unix/sysv/sigaction.c: Remove file.
38448 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38449 (sysdep_headers): Remove variable.
38450 [termio.h not in sysdep_headers] (generated): Likewise.
38451 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38452 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38453 * sysdeps/unix/sysv/tcdrain.c: Likewise.
38454 * sysdeps/unix/sysv/tcflow.c: Likewise.
38455 * sysdeps/unix/sysv/tcflush.c: Likewise.
38456 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38457 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38458 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38459 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38460 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38462 * sysdeps/unix/siglist.c: Remove file.
38464 * sysdeps/unix/getppid.S: Remove file.
38466 * sysdeps/unix/mkdir.c: Remove file.
38467 * sysdeps/unix/rmdir.c: Likewise.
38469 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
38471 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38473 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38474 errlist-compat value.
38476 2012-04-18 David S. Miller <davem@davemloft.net>
38478 * sysdeps/generic/memcopy.h (reg_char): Delete.
38479 * debug/strcat_chk.c: Use char, not reg_char.
38480 * debug/strcpy_chk.c: Likewise.
38481 * debug/strncat_chk.c: Likewise.
38482 * debug/strncpy_chk.c: Likewise.
38483 * string/memchr.c: Likewise.
38484 * string/memrchr.c: Likewise.
38485 * string/rawmemchr.c: Likewise.
38486 * string/strcat.c: Likewise.
38487 * string/strchr.c: Likewise.
38488 * string/strchrnul.c: Likewise.
38489 * string/strcmp.c: Likewise.
38490 * string/strcpy.c: Likewise.
38491 * string/strncat.c: Likewise.
38492 * string/strncmp.c: Likewise.
38493 * string/strncpy.c: Likewise.
38495 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38497 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38498 __builtin_memcopy is called when src and dest ranges are known to not
38501 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38503 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38504 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38505 fwd_align_merge macro call.
38506 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38507 bwd_align_merge macro call.
38508 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38510 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38512 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38513 bwd_align_merge macros.
38514 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38515 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38516 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38518 2012-04-18 David S. Miller <davem@davemloft.net>
38520 * sysdeps/sparc/sparc64/memcopy.h: Delete.
38522 2012-04-18 Andreas Jaeger <aj@suse.de>
38525 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38526 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38527 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38529 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38530 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38531 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38533 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38534 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38535 Adjust for changed ldbl-128 files.
38537 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38538 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38539 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38541 2012-04-17 David S. Miller <davem@davemloft.net>
38543 * sysdeps/sparc/sparc32/memcopy.h: Delete.
38545 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
38547 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38548 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38549 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38550 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38551 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38552 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38554 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38557 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38558 * math/libm-test.inc: Add ilogb errno and exception tests.
38559 * math/w_ilogb.c: New file: ilogb wrapper.
38560 * math/w_ilogbf.c: New file: ilogbf wrapper.
38561 * math/w_ilogbl.c: New file: ilogbl wrapper.
38562 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38563 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38564 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38565 exception being thrown with 0.0 as argument.
38566 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38567 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38568 exception being thrown with 0.0 as argument.
38569 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38570 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38571 exception being thrown with 0.0 as argument.
38572 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38573 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38574 exception being thrown with 0.0 as argument.
38575 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38576 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38577 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38578 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38579 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38580 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38581 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38582 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38583 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38585 2012-04-17 Petr Baudis <pasky@ucw.cz>
38587 * include/sys/uio.h: Change __vector to __iovec to avoid clash
38590 2012-04-16 Marek Polacek <polacek@redhat.com>
38592 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38594 2012-04-16 Marek Polacek <polacek@redhat.com>
38596 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38597 operands of fdivp instruction.
38599 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38601 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38602 * elf/tst-auditmod3b.c: Likewise.
38603 * elf/tst-auditmod4b.c: Likewise.
38604 * elf/tst-auditmod5b.c: Likewise.
38605 * elf/tst-auditmod6b.c: Likewise.
38606 * elf/tst-auditmod6c.c: Likewise.
38607 * elf/tst-auditmod7b.c: Likewise.
38608 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38609 * sysdeps/x86_64/preconfigure.in: Likewise.
38610 * sysdeps/x86_64/preconfigure: Regenerated.
38612 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38614 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38617 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
38619 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38620 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38622 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
38625 * locale/iso-639.def: Fix gl language name. Spotted by
38628 2012-04-12 Roland McGrath <roland@hack.frob.com>
38631 * libio/libio.h (__io_write_fn): Update comment.
38633 2012-04-12 Petr Baudis <pasky@ucw.cz>
38636 * stdio.texi (Hook Functions): The user provided writer function
38637 is not allowed to return -1.
38639 2012-04-11 David S. Miller <davem@davemloft.net>
38641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38643 2012-04-11 Mike Frysinger <vapier@gentoo.org>
38645 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38646 Add a leading slash to rtkaio.
38648 2012-04-11 Jim Meyering <meyering@redhat.com>
38651 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38652 It is not necessarily an error to ignore fwrite's return
38653 value. One can reliably use ferror to test for errors after
38656 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38658 * bits/types.h (__snseconds_t): New type.
38659 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38661 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38662 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38663 (__SNSECONDS_T_TYPE): Likewise.
38664 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38665 (__SNSECONDS_T_TYPE): Likewise.
38666 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38667 (__SNSECONDS_T_TYPE): Likewise.
38669 2012-04-10 Andreas Jaeger <aj@suse.de>
38672 * manual/time.texi (Processor Time): Return type of times is
38673 elapsed real time since an arbitrary point in the past.
38674 (CPU Time): Move CLK_TCK from here...
38675 (Processor Time): ...to here. Correct description.
38676 * manual/conf.texi (Constants for Sysconf): Correct description of
38679 2012-04-10 David S. Miller <davem@davemloft.net>
38682 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38683 where the is a gap between DT_REL(A) and DT_JMPREL.
38685 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38687 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38688 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38689 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38691 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38693 * elf/dl-support.c (_dl_inhibit_cache): New variable.
38694 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38695 (dl_main): Handle --inhibit-cache.
38696 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38698 * elf/dl-load.c (_dl_map_object): Use it.
38699 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38701 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38704 * sysdeps/i386/fpu/e_powl.S (p78): New object.
38705 (__ieee754_powl): Saturate large exponents rather than testing for
38706 overflow of y*log2(x).
38707 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38708 * math/libm-test.inc (pow_test): Do not permit spurious overflow
38712 * math/s_ctan.c: Include <float.h>.
38713 (__ctan): Avoid internal overflow or cancellation in calculating
38715 * math/s_ctanf.c: Likewise.
38716 * math/s_ctanl.c: Likewise.
38717 * math/s_ctanh.c: Likewise.
38718 * math/s_ctanhf.c: Likewise.
38719 * math/s_ctanhl.c: Likewise.
38720 * math/libm-test.inc (ctan_test): Add more tests.
38721 (ctanh_test): Likewise.
38722 * sysdeps/i386/fpu/libm-test-ulps: Update.
38723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38725 2012-04-09 Andreas Jaeger <aj@suse.de>
38728 * manual/filesys.texi (Directory Entries): Mention that d_namlen
38729 is an optional BSD extension.
38732 * manual/stdio.texi (Opening Streams): Document additional fopen
38735 2012-04-09 Roland McGrath <roland@hack.frob.com>
38737 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38738 %eax without telling the compiler.
38740 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
38743 * manual/install.texi: Use sourceware.org.
38745 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38748 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38749 (__ieee754_pow): Generate overflow and underflow using huge*huge
38750 and tiny*tiny rather than just returning constant infinity or zero
38751 for large exponents.
38752 * math/libm-test.inc (pow_test): Require overflow exceptions for
38753 applicable cases of large exponents.
38756 * sysdeps/i386/fpu/e_pow.S (p10): New object.
38757 (__ieee754_pow): Use iterative multiplication algorithm only for
38758 integer exponents with absolute value below 1024. Check for odd
38759 integer exponents when using algorithm for real exponents.
38760 * math/libm-test.inc (pow_test): Add more tests.
38761 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38763 2012-04-08 Joseph Myers <joseph@codesourcery.com>
38766 * math/libm-test.inc (exp_test): Do not allow overflow exception
38769 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
38772 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38773 instead of __kernel_standard_f.
38775 2012-04-08 Mike Frysinger <vapier@gentoo.org>
38777 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38778 * sysdeps/x86_64/memset_chk.S: Likewise.
38780 2012-04-08 Andreas Jaeger <aj@suse.de>
38783 * manual/startup.texi (Environment Access): Describe return value
38784 for putenv and setenv.
38787 * manual/filesys.texi (Directory Entries): Add description for
38791 * manual/filesys.texi (Directory Entries): Clarify that it's file
38792 system not operating system in the description of DT_UNKNOWN.
38795 * manual/syslog.texi (closelog): Fix reference, it's openlog.
38797 2012-04-08 Stephen Compall <s11@member.fsf.org>
38800 * manual/llio.texi (Opening and Closing Files): Add cross
38801 reference to explain mode argument.
38803 2012-04-07 Mike Frysinger <vapier@gentoo.org>
38805 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38806 * sysdeps/x86_64/memset_chk.S: Likewise.
38808 2012-04-07 David S. Miller <davem@davemloft.net>
38810 * elf/elf.h (R_SPARC_WDISP10): Define.
38811 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38813 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38814 R_SPARC_SIZE64 and R_SPARC_H34.
38816 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38818 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38819 conditions and remove no longer applicable assertion.
38821 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38823 * bits/byteswap.h: Include <features.h>.
38824 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38825 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38827 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38829 * bits/byteswap.h (__bswap_16): Removed.
38830 Include <bits/byteswap-16.h> to get __bswap_16.
38831 * sysdeps/i386/bits/byteswap.h: Likewise.
38832 * sysdeps/s390/bits/byteswap.h: Likewise.
38833 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38834 * bits/byteswap-16.h: New file.
38835 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38836 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38837 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38838 * string/Makefile (headers): Add bits/byteswap-16.h.
38840 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38843 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38845 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38846 * nss/tst-nss-static.c: New.
38848 2012-04-06 Robert Millan <rmh@gnu.org>
38851 * manual/llio.texi (File Position Primitive): lseek
38852 refers to WHENCE when it really means OFFSET.
38854 2012-04-06 Andreas Jaeger <aj@suse.de>
38856 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38857 strncmp declarations.
38859 * abilist/libc.abilist: Add __poll and __ppoll.
38861 2012-04-05 David S. Miller <davem@davemloft.net>
38863 * scripts/check-local-headers.sh: Accept a host triplet in the
38864 path matched by the exclude regexp.
38866 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38868 * sysdeps/powerpc/powerpc32/dl-machine.h
38869 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38870 * sysdeps/s390/s390-32/dl-machine.h
38871 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38872 * sysdeps/sparc/sparc32/dl-machine.h
38873 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38874 * sysdeps/sparc/sparc64/dl-machine.h
38875 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38877 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38879 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38880 undefined symbol errors.
38882 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38885 2012-04-05 Michael Matz <matz@suse.de>
38888 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38890 2012-04-05 Andreas Jaeger <aj@suse.de>
38893 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38896 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38898 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38899 which ROUND is no valid rounding mode.
38901 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38903 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38905 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38907 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38909 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38910 an exception using FPU order intentionally.
38912 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38914 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38915 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38916 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38917 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38919 2012-04-05 Simon Josefsson <simon@josefsson.org>
38922 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38923 EINVAL when BUFLEN is too smal.
38925 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38928 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38929 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38931 2012-04-03 Andreas Jaeger <aj@suse.de>
38934 * manual/setjmp.texi (System V contexts): Fix sentence.
38937 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38938 New macro for this case.
38939 [!__GNUC__] (__bswap_64): New inline function for this case.
38940 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38941 * bits/byteswap.h: Likewise.
38942 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38943 ull, guard with __GLIBC_HAVE_LONG_LONG.
38945 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38946 __GLIBC_HAVE_LONG_LONG.
38948 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38949 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38951 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38954 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38955 inptr and inend, rather than using last_ch.
38957 2012-04-02 David S. Miller <davem@davemloft.net>
38959 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38960 * stdio-common/printf-parse.h (read_int): Change return type to
38961 'int', return -1 on INT_MAX overflow.
38962 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38963 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
38964 overflows INT_MAX. Check for overflow of in-format-string precision
38965 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
38966 SIZE_MAX not INT_MAX for integer overflow test.
38967 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38968 skip the construct in the format string but do not record anything.
38969 * stdio-common/bug22.c: Adjust to test both width/prevision
38970 INT_MAX overflow as well as total length INT_MAX overflow. Check
38971 explicitly for proper errno values.
38973 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
38975 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38977 * string/test-strcmp.c [! WIDE]: Likewise.
38978 * time/tst-mktime2.c: Likewise for INT_MAX.
38979 * string/test-string.h: #include <sys/param.h> for MIN.
38981 * csu/init-first.c (__libc_init_first): Call __ctype_init.
38982 * sysdeps/i386/init-first.c (init): Likewise.
38983 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38984 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38985 * sysdeps/sh/init-first.c (init): Likewise.
38987 2012-04-01 Ulrich Drepper <drepper@gmail.com>
38989 * po/ru.po: Update from translation team.
38990 * po/vi.po: Likewise.
38992 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38994 * resolv/nss_dns/dns-host.c: Merge copyright years.
38996 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38998 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38999 Optimize memcpy with prefetch if
39000 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
39001 src, dst pointers have unequal 16 byte alignments.
39003 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39006 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39007 from a CNAME entry and return the minimum ttl for the query.
39008 (gaih_getanswer_slice): Likewise.
39010 2012-03-30 Jeff Law <law@redhat.com>
39012 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39014 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39015 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39017 * resolv/nss_dns/dns-host.c: Update copyright year.
39019 2012-03-30 Ulrich Drepper <drepper@gmail.com>
39021 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
39022 requests to save a system call. Fix check that all bytes are sent.
39024 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39025 comments for sendmmsg.
39027 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39030 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39031 with only 1 character between 0x0041 and 0x01b0.
39032 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39033 * wcsmbs/tst-mbsnrtowcs.c: New file.
39035 2012-03-29 David S. Miller <davem@davemloft.net>
39037 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39038 small copies by hand.
39040 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39043 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39044 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39047 2012-03-28 David S. Miller <davem@davemloft.net>
39049 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39050 that branches into memcpy.
39051 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39052 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39053 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39054 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39055 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39057 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39058 implementation too.
39059 * sysdeps/sparc/mempcpy.S: New file.
39061 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39062 the IFUNC routine in the libc case.
39063 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39065 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39066 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39067 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39068 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39069 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39070 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39071 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39072 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39074 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39075 loop to 256 bytes instead of 64 bytes and fix test signedness.
39077 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39078 * sysdeps/sparc/sparc32/Makefile: rather than here...
39079 * sysdeps/sparc/sparc64/Makefile: and here.
39081 2012-03-28 Ulrich Drepper <drepper@gmail.com>
39083 * malloc/mallocbug.c: Avoid warnings about unused variables.
39085 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
39088 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39089 in the right place. Discard and retry query if response is
39090 larger than input buffer size.
39092 2012-03-28 Joseph Myers <joseph@codesourcery.com>
39097 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39098 x for large integer exponent.
39099 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39100 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
39101 sign of result as needed afterwards.
39102 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39103 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39104 result for underflowing pow the same as for overflow.
39105 (__kernel_standard_l): Handle powl overflow and underflow here
39106 rather than calling __kernel_standard.
39107 * math/libm-test.inc (pow_test): Add more tests.
39122 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39123 * sysdeps/ieee754/k_standard.c: Include <float.h>.
39124 (__kernel_standard_l): New function.
39125 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39127 * math/w_acosl.c (__acosl): Likewise.
39128 * math/w_asinl.c (__asinl): Likewise.
39129 * math/w_atan2l.c (__atan2l): Likewise.
39130 * math/w_atanhl.c (__atanhl): Likewise.
39131 * math/w_coshl.c (__coshl): Likewise.
39132 * math/w_exp10l.c (__exp10l): Likewise.
39133 * math/w_exp2l.c (__exp2l): Likewise.
39134 * math/w_fmodl.c (__fmodl): Likewise.
39135 * math/w_hypotl.c (__hypotl): Likewise.
39136 * math/w_j0l.c (__j0l, __y0l): Likewise.
39137 * math/w_j1l.c (__j1l, __y1l): Likewise.
39138 * math/w_jnl.c (__jnl, __ynl): Likewise.
39139 * math/w_lgammal.c (__lgammal): Likewise.
39140 * math/w_log10l.c (__log10l): Likewise.
39141 * math/w_log2l.c (__log2l): Likewise.
39142 * math/w_logl.c (__logl): Likewise.
39143 * math/w_powl.c (__powl): Likewise.
39144 * math/w_remainderl.c (__remainderl): Likewise.
39145 * math/w_scalbl.c (sysv_scalbl): Likewise.
39146 * math/w_sinhl.c (__sinhl): Likewise.
39147 * math/w_sqrtl.c (__sqrtl): Likewise.
39148 * math/w_tgammal.c (__tgammal): Likewise.
39149 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39150 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39151 * math/libm-test.inc (acos_test): Add more tests.
39152 (acosh_test): Likewise.
39153 (asin_test): Likewise.
39154 (atanh_test): Likewise.
39155 (exp_test): Likewise.
39156 (exp10_test): Likewise.
39157 (exp2_test): Likewise.
39158 (expm1_test): Likewise.
39159 (lgamma_test): Likewise.
39160 (log_test): Likewise.
39161 (log10_test): Likewise.
39162 (log1p_test): Likewise.
39163 (log2_test): Likewise.
39164 (pow_test): Do not allow some spurious overflow exceptions.
39165 (sqrt_test): Add more tests.
39166 (tgamma_test): Likewise.
39167 (y0_test): Likewise.
39168 (y1_test): Likewise.
39169 (yn_test): Likewise.
39171 2012-03-27 Anton Blanchard <anton@samba.org>
39173 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39175 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39176 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39177 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39179 2012-03-27 David S. Miller <davem@davemloft.net>
39181 * conform/Makefile: Run run-conformtest.sh using $(BASH).
39183 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39184 have-as-vis3 check.
39186 2012-03-27 Andreas Jaeger <aj@suse.de>
39188 * sysdeps/x86_64/elf/configure.in: Moved to ...
39189 * sysdeps/x86_64/configure.in: ... here.
39190 * sysdeps/x86_64/elf/start.S: Moved to ...
39191 * sysdeps/x86_64/start.S: ... here.
39192 * sysdeps/x86_64/elf/configure: Delete.
39194 * sysdeps/x86_64/configure.in: Merge contents from
39195 sysdeps/i386/configure.in (without i686 check).
39197 * sysdeps/i386/elf/Versions: Merge into ...
39198 * sysdeps/i386/Versions: ... this.
39199 * sysdeps/i386/elf/Versions: Delete file.
39200 * sysdeps/i386/elf/start.S: Moved to ...
39201 * sysdeps/i386/start.S: ...here.
39202 * sysdeps/i386/elf/configure.in: Merge into...
39203 * sysdeps/i386/configure.in: ...here.
39204 * sysdeps/i386/elf/configure.in: Delete file.
39205 * sysdeps/i386/elf/configure: Delete file.
39207 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39208 * debug/backtracesyms.c: ... here.
39209 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39210 * debug/backtracesymsfd.c: ... here.
39211 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39212 * sysdeps/generic/ifunc-sel.h: ... here.
39214 * sysdeps/unix/i386/start.c: Delete file.
39215 * sysdeps/unix/sparc/start.c: Delete file.
39216 * sysdeps/unix/start.c: Delete file.
39218 * sysdeps/sh/elf/configure.in: Moved to ...
39219 * sysdeps/sh/configure.in: ... here.
39220 * sysdeps/sh/elf/start.S: Moved to ...
39221 * sysdeps/sh/start.S: ... here.
39222 * sysdeps/sh/elf/configure: Delete file.
39224 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39225 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39226 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39227 * sysdeps/powerpc/powerpc64/entry.h: ... here.
39228 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39229 * sysdeps/powerpc/powerpc64/start.S: here.
39230 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39231 * sysdeps/powerpc/powerpc64/Makefile: ... this.
39232 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39233 * sysdeps/powerpc/powerpc64/configure.in: ... this.
39234 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39236 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39237 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39238 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39239 * sysdeps/powerpc/powerpc32/start.S: ... here.
39240 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39241 * sysdeps/powerpc/powerpc32/configure.in: ... this.
39242 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39244 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39245 * sysdeps/powerpc/ifunc-sel.h: ... here.
39246 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39247 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39249 * sysdeps/sparc/elf/configure.in: Moved to ...
39250 * sysdeps/sparc/configure.in: ... here.
39251 * sysdeps/sparc/elf/configure: Delete file.
39252 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39253 * sysdeps/sparc/sparc32/start.S: ... here.
39254 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39255 * sysdeps/sparc/sparc64/start.S: ... here.
39256 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39257 * sysdeps/sparc/sparc32/Makefile: ... this.
39258 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39259 * sysdeps/sparc/sparc64/Makefile: ... this.
39261 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39262 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39263 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39264 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39265 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39266 * sysdeps/s390/s390-32/setjmp.S: ... here.
39267 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39268 * sysdeps/s390/s390-32/configure.in: ... here.
39269 * sysdeps/s390/s390-32/elf/configure: Delete file.
39270 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39271 * sysdeps/s390/s390-32/start.S: ... here.
39273 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39274 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39275 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39276 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39277 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39278 * sysdeps/s390/s390-64/setjmp.S: ... here.
39279 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39280 * sysdeps/s390/s390-64/configure.in: ... here
39281 * sysdeps/s390/s390-64/elf/configure: Delete file.
39282 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39283 * sysdeps/s390/s390-64/start.S: ... here.
39284 * sysdeps/s390/s390-64/elf/configure: Delete.
39286 * configure.in: Remove support for elf directories in sysdeps.
39288 * configure: Regenerated.
39289 * sysdeps/i386/configure: Regenerated.
39290 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39291 * sysdeps/powerpc/powerpc64/configure: Regenerated.
39292 * sysdeps/s390/s390-32/configure: Regenerated.
39293 * sysdeps/s390/s390-64/configure: Regenerated.
39294 * sysdeps/sh/configure: Regenerated.
39295 * sysdeps/sparc/configure: Regenerated.
39296 * sysdeps/x86_64/configure: Regenerated.
39298 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
39300 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39302 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39303 denormal result into account.
39305 2012-03-25 Roland McGrath <roland@hack.frob.com>
39307 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39308 Reported by Allan McRae <allan@archlinux.org>.
39310 2012-03-23 Jeff Law <law@redhat.com>
39312 * nss/getnssent.c (__nss_getent): Fix typo.
39314 2012-03-23 David S. Miller <davem@davemloft.net>
39316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39318 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
39320 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39321 to pad to uint64_t for each field.
39322 (dl_tls_index): Replace unsigned long with uint64_t.
39324 2012-03-23 Daniel Jacobowitz <dmj@google.com>
39325 Paul Pluzhnikov <ppluzhnikov@google.com>
39328 * grp/Makefile (otherlibs): Don't set it.
39329 * inet/Makefile (otherlibs): Likewise.
39330 * login/Makefile (otherlibs): Likewise.
39331 * nscd/Makefile (otherlibs): Likewise.
39332 * posix/Makefile (otherlibs): Likewise.
39333 * pwd/Makefile (otherlibs): Likewise.
39334 * rt/Makefile (otherlibs): Likewise.
39335 * sunrpc/Makefile (otherlibs): Likewise.
39336 * nss/Makefile (otherlibs): Likewise.
39337 Add libnss_files to routines and static-only-routines.
39338 ($(objpfx)getent): Remove rule.
39339 * resolv/Makefile: Add libnss_dns and libresolv to routines and
39340 static-only-routines.
39342 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39345 * math/s_cexp.c: Include <float.h>.
39346 (__cexp): Handle exp result overflowing not necessarily
39347 overflowing both real and imaginary parts of result.
39348 * math/s_cexpf.c: Likewise.
39349 * math/s_cexpl.c: Likewise.
39350 * math/libm-test.inc (cexp_test): Add more tests.
39351 * sysdeps/i386/fpu/libm-test-ulps: Update.
39352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39354 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39356 * include/link.h (ELFW): New macro.
39357 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39358 Replace ELF64_R_TYPE with ELFW(R_TYPE).
39360 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39362 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39365 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39367 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39369 (struct La_x32_retval): Likewise.
39371 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39373 * sysdeps/x86_64/preconfigure.in: New file.
39374 * sysdeps/x86_64/preconfigure: New generated file.
39376 2012-03-22 Joseph Myers <joseph@codesourcery.com>
39379 * math/e_exp2l.c: Include <float.h>.
39380 (__ieee754_exp2l): Handle overflow and underflow cases
39381 separately. Only pass fractional part of argument to
39383 * math/libm-test.inc (exp2_test): Add more tests.
39385 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39386 negating x to take absolute value.
39387 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39389 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39390 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39392 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39393 computing low part if x was negated.
39394 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39396 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39398 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39399 la_x32_gnu_pltexit.
39400 (pltexit): Cast int_retval to ptrdiff_t.
39401 * elf/tst-auditmod3b.c: Likewise.
39402 * elf/tst-auditmod4b.c: Likewise.
39403 * elf/tst-auditmod5b.c: Likewise.
39404 * elf/tst-auditmod6b.c: Likewise.
39405 * elf/tst-auditmod6c.c: Likewise.
39406 * elf/tst-auditmod7b.c: Likewise.
39408 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39409 and x32_gnu_pltexit.
39411 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39412 __ELF_NATIVE_CLASS.
39413 (La_x32_regs): New macro.
39414 (La_x32_retval): Likewise.
39415 (la_x32_gnu_pltenter): New function prototype.
39416 (la_x32_gnu_pltexit): Likewise.
39418 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
39420 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39423 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39425 * configure.in (libc_cv_cc_nofma): Check for option to disable
39426 generation of FMA instructions.
39427 * configure: Regenerate.
39428 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39429 * sysdeps/ieee754/dbl-64/Makefile: New file.
39430 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39431 Remove brandred-fma4.
39432 (CFLAGS-brandred-fma4.c): Remove.
39433 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39434 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39436 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39439 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39441 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39442 LLONG_MAX != LONG_MAX.
39443 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39444 (_fitoa_word): Likewise.
39445 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39446 LLONG_MAX != LONG_MAX.
39447 * stdio-common/_itowa.h: Include <_itoa.h>.
39448 (_itowa_word): Use _ITOA_WORD_TYPE on value.
39449 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
39450 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
39451 only if not defined.
39452 (_ITOA_WORD_TYPE): Likewise.
39453 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39454 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39456 2012-03-21 David S. Miller <davem@davemloft.net>
39458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39460 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39462 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39463 of x86_64 when setting libc_cv_slibdir, libdir and
39465 * sysdeps/unix/sysv/linux/configure: Regenerated.
39467 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39469 * manual/lang.texi (Old Varargs): Remove section.
39470 (How Variadic): Update menu.
39471 (va_start): Do not mention varargs.h.
39473 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39474 Joseph Myers <joseph@codesourcery.com>
39476 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39478 * configure: Regenerated.
39480 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39482 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39483 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39486 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39489 * Makefile (files-for-dist): Remove NOTES.
39490 (NOTES): Remove rule.
39491 * README: Don't refer to NOTES.
39492 * manual/creature.texi: Don't include macros.texi.
39493 * manual/intro.texi (creature.texi): Remove comment referring to
39496 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39497 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39498 * configure: Regenerated.
39499 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39500 LIBC_TRY_CC_OPTION.
39501 (libc_cv_as_i686): Likewise.
39502 (libc_cv_cc_avx): Likewise.
39503 (libc_cv_cc_sse2avx): Likewise.
39504 (libc_cv_cc_fma4): Likewise.
39505 (libc_cv_cc_novzeroupper): Likewise.
39506 * sysdeps/i386/configure: Regenerated.
39509 * sysdeps/i386/fpu/s_cexp.S: Remove.
39510 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39511 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39512 * math/libm-test.inc (cexp_test): Add more tests.
39513 * sysdeps/i386/fpu/libm-test-ulps: Update.
39514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39516 2012-03-21 Allan McRae <allan@archlinux.org>
39518 * timezone/Makefile: Do not install iso3166.tab and zone.tab
39520 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39523 * math/w_exp2.c: Do not include <float.h>.
39524 (o_threshold, u_threshold): Remove.
39525 (__exp2): Calculate result before checking finiteness and calling
39527 * math/w_exp2f.c: Likewise.
39528 * math/w_exp2l.c: Likewise.
39529 * math/libm-test.inc (exp2_test): Require overflow exception for
39533 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39534 range of signed 64-bit integers before using fistpll. Remove
39535 checks for whether integers fit in mantissa bits.
39536 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39537 the range of signed 32-bit integers before using fistpl. Remove
39538 checks for whether integers fit in mantissa bits.
39539 * sysdeps/i386/fpu/e_powl.S (p64): New object.
39540 (__ieee754_powl): Test for y outside the range of signed 64-bit
39541 integers before using fistpll. Reduce 64-bit values to 63-bit
39543 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39544 divide-by-zero is raised for zero to large negative powers.
39545 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39546 (__ieee754_powl): Test for y outside the range of signed 64-bit
39547 integers before using fistpll. Reduce 64-bit values to 63-bit
39549 * math/libm-test.inc (pow_test): Add more tests.
39551 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39553 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39554 <stdio-common/_itoa.h>.
39555 * debug/segfault.c: Likewise.
39556 * elf/dl-cache.c: Likewise.
39557 * elf/dl-minimal.c: Likewise.
39558 * elf/dl-misc.c: Likewise.
39559 * elf/dl-sysdep.c: Likewise.
39560 * elf/dl-version.c: Likewise.
39561 * elf/rtld.c: Likewise.
39562 * hurd/hurdsock.c: Likewise.
39563 * hurd/lookup-retry.c: Likewise.
39564 * malloc/malloc.c: Likewise.
39565 * malloc/mtrace.c: Likewise.
39566 * nscd/nscd_getgr_r.c: Likewise.
39567 * nscd/nscd_getpw_r.c: Likewise.
39568 * nscd/nscd_getserv_r.c: Likewise.
39569 * posix/getopt_init.c: Likewise.
39570 * posix/wordexp.c: Likewise.
39571 * stdio-common/_itoa.c: Likewise.
39572 * stdio-common/printf_fphex.c: Likewise.
39573 * stdio-common/vfprintf.c: Likewise.
39574 * string/_strerror.c: Likewise.
39575 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39576 * sysdeps/i386/i686/hp-timing.h: Likewise.
39577 * sysdeps/mach/_strerror.c: Likewise.
39578 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39579 * sysdeps/mach/hurd/sethostid.c: Likewise.
39580 * sysdeps/mach/hurd/xmknodat.c: Likewise.
39581 * sysdeps/mach/xpg-strerror.c: Likewise.
39582 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39583 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39584 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39585 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39586 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39587 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39588 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39589 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39590 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39591 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39592 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39593 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39594 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39595 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39596 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39597 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39598 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39599 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39600 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39601 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39602 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39604 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39606 * stdio-common/_itoa.h: Moved to ...
39607 * sysdeps/generic/_itoa.h: Here.
39609 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39611 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39612 instead of "_itoa.h" and "_itowa.h".
39613 * stdio-common/vfprintf.: Likewise.
39615 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39617 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39619 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39620 (__signbit): Likwise.
39621 (llrintf): Likwise.
39624 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39626 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39629 2012-03-20 Joseph Myers <joseph@codesourcery.com>
39631 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39632 OVERFLOW_EXCEPTION_OK.
39633 * math/libm-test.inc ("Philosophy"): Update comment about
39635 (OVERFLOW_EXCEPTION): Define.
39636 (OVERFLOW_EXCEPTION_OK): Likewise.
39637 (INVALID_EXCEPTION_OK): Renumber.
39638 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39639 (IGNORE_ZERO_INF_SIGN): Likewise.
39640 (test_exceptions): Handle FE_OVERFLOW.
39641 (exp10_test): Expect overflow exceptions.
39642 (exp2_test): Likewise.
39643 (expm1_test): Likewise.
39644 (nextafter_test): Likewise.
39645 (pow_test): Likewise.
39646 (scalbn_test): Likewise.
39647 (scalbln_test): Likewise.
39649 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39651 * sysdeps/x86_64/bits/atomic.h
39652 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39654 (atomic_exchange_acq): Likewise.
39655 (__arch_exchange_and_add_body): Likewise.
39656 (__arch_add_body): Likewise.
39657 (atomic_add_negative): Likewise.
39658 (atomic_add_zero): Likewise.
39660 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39662 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39663 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39665 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39667 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39668 Check __x86_64__ instead of __WORDSIZE.
39670 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39672 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39674 2012-03-19 David S. Miller <davem@davemloft.net>
39676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39678 * sysdeps/sparc/fpu/fenv_private.h: New file.
39679 * sysdeps/sparc/fpu/math_private.h: Use it.
39680 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39682 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39683 (libc_feholdexcept_setroundl): Remove.
39684 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39686 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39687 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39689 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39691 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39692 int64_t instead of long int.
39693 (INSERT_WORDS64): Likwise.
39695 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39697 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39698 _Unwind_GetCFA return to _Unwind_Ptr first.
39700 2012-03-19 Joseph Myers <joseph@codesourcery.com>
39703 * math/s_clog.c: Include <float.h>.
39704 (__clog): Scale large or subnormal inputs.
39705 * math/s_clogf.c: Likewise.
39706 * math/s_clogl.c: Likewise.
39707 * math/s_clog10.c: Include <float.h>.
39708 (M_LOG10_2): Define.
39709 (__clog10): Scale large or subnormal inputs.
39710 * math/s_clog10f.c: Likewise.
39711 * math/s_clog10l.c: Likewise.
39712 * math/libm-test.inc (clog_test): Add more tests.
39713 (clog10_test): Likewise.
39714 * sysdeps/i386/fpu/libm-test-ulps: Update.
39715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39718 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39720 * math/libm-test.inc (atan2_test): Add another test.
39722 * Makerules (common-objdir-compile): Remove.
39723 * sysdeps/unix/Makefile (config-generated): Do not add
39724 $(unix-generated) to variable.
39725 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39726 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39728 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39730 [generic bits/local_lim.h] (before-compile): Do not append to
39732 [generic bits/local_lim.h] (common-generated): Likewise.
39733 [generic sys/param.h] (before-compile): Do not append to variable.
39734 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39735 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39736 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39737 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39739 [generic sys/param.h] (sys/param.h-includes): Remove variable.
39740 [generic sys/param.h] (sys/param.h-includes): Remove rule.
39741 [generic sys/param.h] ($(addprefix
39742 $(common-objpfx),$(sys/param.h-includes))): Likewise.
39743 [generic sys/param.h] (common-generated): Do not append to
39745 [generic sys/param.h] (sysdep_headers): Likewise.
39746 [generic bits/errno.h] (before-compile): Do not append to
39748 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39750 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39751 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39752 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39753 [generic bits/errno.h] (common-generated): Do not append to
39755 [generic bits/ioctls.h] (before-compile): Do not append to
39757 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39759 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39760 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39761 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39763 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39764 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39765 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39766 [generic bits/ioctls.h] (common-generated): Do not append to
39768 [generic sys/syscall.h] (syscall.h): Remove variable.
39769 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39771 [generic sys/syscall.h] (before-compile): Do not append to
39773 [generic sys/syscall.h] (common-generated): Likewise.
39774 * sysdeps/unix/errnos-tmpl.c: Remove file.
39775 * sysdeps/unix/errnos.awk: Likewise.
39776 * sysdeps/unix/ioctls-tmpl.c: Likewise.
39777 * sysdeps/unix/ioctls.awk: Likewise.
39778 * sysdeps/unix/mk-local_lim.c: Likewise.
39779 * sysdeps/unix/snarf-ioctls: Likewise.
39781 2012-03-19 Richard Henderson <rth@twiddle.net>
39783 * sysdeps/i386/fpu/fenv_private.h: New file.
39784 * sysdeps/i386/fpu/math_private.h: Use it.
39785 (math_opt_barrier, math_force_eval): Remove.
39786 (libc_feholdexcept_setround_53bit): Remove.
39787 (libc_feupdateenv_53bit): Remove.
39788 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39789 (math_opt_barrier, math_force_eval): Remove.
39790 (libc_feholdexcept): Remove.
39791 (libc_feholdexcept_setround): Remove.
39792 (libc_fetestexcept, libc_fesetenv): Remove.
39793 (libc_feupdateenv_test): Remove.
39794 (libc_feupdateenv, libc_feholdsetround): Remove.
39795 (libc_feresetround): Remove.
39797 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39798 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39800 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39801 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39802 (libc_feupdateenv_testl): New.
39803 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39804 (libc_feupdateenv_testf): New.
39805 (libc_feupdateenv): Use libc_feupdateenv_test.
39806 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39807 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39809 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39810 (libc_feholdsetroundf, libc_feholdsetroundl): New.
39811 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39812 (libc_feresetround_noex): New.
39813 (libc_feresetround_noexf): New.
39814 (libc_feresetround_noexl): New.
39815 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39816 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39817 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39818 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39820 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39821 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39823 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39824 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39825 SET_RESTORE_ROUND_NOEX.
39826 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39827 SET_RESTORE_ROUND_NOEXF.
39828 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39829 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39830 (libc_feholdsetroundf): New.
39831 (libc_feresetround, libc_feresetroundf): New.
39833 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39834 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39835 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39837 * sysdeps/generic/math_private.h: Include <fenv.h>.
39838 (default_libc_feholdexcept): New.
39839 (default_libc_feholdexcept_setround): New.
39840 (default_libc_fesetenv, default_libc_feupdateenv): New.
39841 (libc_feholdexcept): Only define if undefined.
39842 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39843 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39844 (libc_feholdexcept_setroundl): Likewise.
39845 (libc_feholdexcept_setround_53bit): Likewise.
39846 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39847 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39848 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39849 (libc_feupdateenv_53bit): Likewise.
39850 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39851 (libc_feholdexcept): Convert from macro to inline function.
39852 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39853 (libc_fesetenv, libc_feupdateenv): Likewise.
39855 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39856 not previously defined.
39857 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39858 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39859 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39860 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39861 * sysdeps/ieee754/flt-32/math_private.h: New file.
39862 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39863 math_private.h below SET_FLOAT_WORD.
39864 (__isnan, __isinf_ns, __finite): Remove.
39865 (__isnanf, __isinf_nsf, __finitef): Remove.
39867 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39871 2012-03-17 David S. Miller <davem@davemloft.net>
39874 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39877 2012-03-16 David S. Miller <davem@davemloft.net>
39879 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39883 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39885 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39886 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39887 sysdep_routines when subdir is sysvipc.
39888 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39889 __getshmlba helper.
39891 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39893 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39895 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39898 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39900 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39901 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39902 (__lround): Renamed to ...
39903 (__llround): This. Replace long int with long long int.
39904 Define lround functions as aliases of llround functions.
39905 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39907 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39909 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39910 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39911 adresses to uintptr_t. Replace "long int" and "unsigned long
39912 int" with "greg_t" on va_arg.
39914 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39916 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39917 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39919 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39920 Move e_machine check before EI_CLASS check. Handle x32
39921 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39922 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39923 SKIP_EM_IA_64 and include
39924 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39926 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39927 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39928 (add_system_dir): New macro.
39930 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39931 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39933 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39944 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39946 * math/w_j0f.c (j0f): Likewise.
39948 * math/w_j0l.c (__j0l): Likewise.
39950 * math/w_j1.c (j1): Likewise.
39952 * math/w_j1f.c (j1f): Likewise.
39954 * math/w_j1l.c (__j1l): Likewise.
39956 * math/w_jn.c (jn): Likewise.
39958 * math/w_jnf.c (jnf): Likewise.
39960 * math/w_jnl.c (__jnl): Likewise.
39962 * math/libm-test.inc (j0_test): Add more tests.
39963 (j1_test): Likewise.
39964 (jn_test): Likewise. Add trailing semicolon to existing test.
39965 (y0_test): Likewise.
39966 (y1_test): Likewise.
39967 * sysdeps/i386/fpu/libm-test-ulps: Update.
39968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39972 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39973 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39974 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39975 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39976 (__tanl): Set errno for infinite argument.
39977 * sysdeps/i386/fpu/mptan.c: Remove.
39978 * sysdeps/i386/fpu/s_tan.S: Likewise.
39979 * sysdeps/i386/fpu/s_tanl.S: Likewise.
39980 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39981 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39982 * math/libm-test.inc (tan_test): Add more tests and enable more
39983 tests for double and long double.
39984 * sysdeps/i386/fpu/libm-test-ulps: Update.
39985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39987 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
39989 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39990 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39992 2012-03-16 Roland McGrath <roland@hack.frob.com>
39994 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39995 * configure.in: Use it for both main tree and add-ons.
39996 * configure: Regenerated.
39998 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
40000 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40002 2012-03-16 Joseph Myers <joseph@codesourcery.com>
40004 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40008 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40009 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40010 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40011 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40012 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40014 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40015 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40016 != 0 for prec == 2.
40017 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40018 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40019 * sysdeps/i386/fpu/s_cosl.S: Likewise.
40020 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40021 * sysdeps/i386/fpu/s_sinl.S: Likewise.
40022 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40023 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40024 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40025 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40026 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40027 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40028 * math/libm-test.inc (cos_test): Add more tests and enable more
40029 tests for long double.
40030 (sin_test): Likewise.
40031 (sincos_test): Likewise.
40032 * sysdeps/i386/fpu/libm-test-ulps: Update.
40033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40035 2012-03-16 David S. Miller <davem@davemloft.net>
40037 * sysdeps/sparc/fpu/math_private.h: New file.
40039 2012-03-15 David S. Miller <davem@davemloft.net>
40041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40047 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40048 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40049 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40050 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40051 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40055 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40056 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40058 * sysdeps/sparc/sparc-ifunc.h: New file.
40059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40083 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40084 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40085 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40086 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40087 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40088 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40089 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40090 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40091 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40092 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40093 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40094 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40095 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40096 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40097 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40098 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40099 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40100 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40101 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40102 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40104 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40106 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40110 2012-03-15 Andreas Jaeger <aj@suse.de>
40113 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40114 ieee754/flt-32 implementation for sin, cos and sincos.
40115 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40116 * sysdeps/i386/fpu/s_cosf.S: Likewise.
40117 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40118 * sysdeps/i386/fpu/s_sinf.S: Likewise.
40119 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40120 ieee754/flt-32 implementation for tan.
40122 * math/libm-test.inc (cos_test): Enable some large input tests for
40124 (sin_test): Likewise.
40125 (sincos_test): Likewise.
40126 (tan_test): Add tests for large input.
40128 * sysdeps/i386/fpu/libm-test-ulps: Update.
40130 2012-03-15 Andreas Jaeger <aj@suse.de>
40133 * math/libm-test.inc (cos_test): Add more test cases.
40134 (sin_test): Likewise.
40135 (sincos_test): Likewise.
40137 2012-03-15 Andreas Jaeger <aj@suse.de>
40140 * math/libm-test.inc (cos_test): Add a test case for large input
40142 (sin_test): Likewise.
40143 (sincos_test): Likewise.
40145 2012-03-15 Andreas Jaeger <aj@suse.de>
40146 Joseph Myers <joseph@codesourcery.com>
40149 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40150 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40151 * sysdeps/i386/fpu/branred.c: Likewise.
40152 * sysdeps/i386/fpu/dosincos.c: Likewise.
40153 * sysdeps/i386/fpu/mpa.c: Likewise.
40154 * sysdeps/i386/fpu/s_cos.S: Likewise.
40155 * sysdeps/i386/fpu/s_sin.S: Likewise.
40156 * sysdeps/i386/fpu/s_sincos.S: Likewise.
40157 * sysdeps/i386/fpu/sincos32.c: Likewise.
40159 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40161 (libc_feupdateenv_53bit): Define.
40162 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40164 (libc_feupdateenv_53bit): Define.
40166 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40167 53 bit (without extend i386 double precision).
40169 * math/libm-test.inc (sincos_test): Add tests for large input.
40173 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40175 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
40177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40179 2012-03-15 David S. Miller <davem@davemloft.net>
40181 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40182 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40183 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40184 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40189 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40190 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40191 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40192 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40193 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40194 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40195 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40208 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40209 fmin/fmax sysdep routines.
40210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40212 2012-03-14 David S. Miller <davem@davemloft.net>
40214 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40215 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40216 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40217 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40218 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40219 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40220 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40221 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40222 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40223 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40224 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40225 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40226 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40227 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40228 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40229 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40230 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40231 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40232 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40233 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40234 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40235 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40236 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40237 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40238 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40239 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40240 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40241 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40242 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40286 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40291 * sysdeps/sparc/configure.in: New file.
40292 * sysdeps/sparc/configure: Generate.
40293 * configure.in (libc_cv_sparc_as_vis3): Substitute.
40294 * configure: Regenerate.
40295 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40296 * config.make.in (have-as-vis3): New.
40297 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40298 available use -Av9d instead of -Av9a.
40299 * sysdeps/sparc/sparc64/Makefile: Likewise.
40300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40309 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40310 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40311 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40312 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40313 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40315 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40316 fzeros/fnegs to load 0x80000000 into a float register instead of
40318 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40320 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40322 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40324 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40325 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40326 ($(inst_includedir)/bits/syscall.h): Remove rule.
40327 ($(objpfx)bits/syscall.d): Include instead of
40328 $(objpfx)syscall-list.d.
40329 (generated): Change syscall-list.h and syscall-list.d to
40330 bits/syscall.h and bits/syscall.d.
40332 2012-03-14 Roland McGrath <roland@hack.frob.com>
40335 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40337 2012-03-14 Joseph Myers <joseph@codesourcery.com>
40340 * math/s_csqrt.c: Include <float.h>.
40341 (__csqrt): Scale large or subnormal inputs.
40342 * math/s_csqrtf.c: Likewise.
40343 * math/s_csqrtl.c: Likewise.
40344 * math/libm-test.inc (csqrt_test): Add more tests.
40345 * sysdeps/i386/fpu/libm-test-ulps: Update.
40346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40349 * math/libm-test.inc (hypot_test): Add more tests.
40351 2012-03-13 David S. Miller <davem@davemloft.net>
40354 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40355 double-precision for the calculation instead of scaling.
40357 2012-03-13 Joseph Myers <joseph@codesourcery.com>
40359 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40360 manipulate bits before adding and subtracting TWO52[sx].
40361 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40362 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40364 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40366 2012-03-13 David S. Miller <davem@davemloft.net>
40368 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40369 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40370 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40371 rtld-global-offsets.h
40372 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40374 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40377 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40379 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40380 'err' in the ifdef scope in which it is actually used.
40382 * nss/nss_db/db-init.c: Include string.h
40384 2012-03-12 David S. Miller <davem@davemloft.net>
40386 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40387 masking out of the most significant byte of random value used.
40388 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40389 Fix coding style in previous change.
40391 * sysdeps/unix/sysv/linux/kernel-features.h
40392 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40393 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40395 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40398 2012-03-11 David S. Miller <davem@davemloft.net>
40400 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40401 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40402 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40403 for 'resultvar' otherwise things get truncated on 64-bit.
40405 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40406 Fix masking out of the most significant byte of random value used.
40408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40410 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
40412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40414 2012-03-09 David S. Miller <davem@davemloft.net>
40416 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40417 variables with appropriate CPP guards.
40418 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40419 from the frame pointer, not the stack pointer. Correct layout
40420 comments. Fix test on resulting framesize and the management of
40421 the outregs buffer for pltexit. Preserve floating point return
40422 values across _dl_call_pltexit call.
40423 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40424 framesize and the management of the outregs buffer for pltexit.
40425 Preserve floating point return values across _dl_call_pltexit
40427 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40428 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40429 (la_sparc64_gnu_pltexit): New functions.
40430 (print_exit): Fix format string for return register value.
40432 2012-03-10 Joseph Myers <joseph@codesourcery.com>
40434 * sunrpc/Makefile (others): Add rpcgen.
40435 ($(objpfx)rpcgen): Remove special build rule and dependency on
40437 * sunrpc/rpcgen.c: New file.
40439 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
40442 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40443 * stdio-common/bug-vfprintf-nargs.c: Likewise.
40444 * sysdeps/i386/crti.S: Likewise.
40445 * sysdeps/i386/crtn.S: Likewise.
40446 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40447 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40448 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40449 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40450 * sysdeps/sh/crti.S: Likewise.
40451 * sysdeps/sh/crtn.S: Likewise.
40452 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40455 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40457 * locale/programs/locfile-kw.gperf: Likewise.
40458 * locale/programs/charmap-kw.h: Regenerated.
40459 * locale/programs/locfile-kw.h: Likewise.
40462 * intl/plural.y: Replace FSF snail mail address with URL.
40463 * intl/plural.c: Regenerated.
40465 2012-03-09 Richard Henderson <rth@twiddle.net>
40467 * include/math_private.h: Remove file.
40468 * math/math_private.h: Move file ...
40469 * sysdeps/generic/math_private.h: ... here.
40471 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40472 * sysdeps/powerpc/fpu/math_private.h: Likewise.
40473 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40475 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40476 and <math_private.h>.
40477 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40478 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40479 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40480 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40481 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40482 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40483 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40484 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40485 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40486 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40487 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40488 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40489 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40490 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40491 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40492 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40493 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40494 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40495 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40496 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40497 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40498 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40499 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40500 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40501 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40502 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40503 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40504 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40505 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40506 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40507 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40508 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40509 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40510 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40511 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40512 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40513 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40514 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40515 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40516 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40517 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40518 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40519 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40520 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40521 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40522 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40523 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40524 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40525 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40526 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40527 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40528 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40529 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40530 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40531 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40532 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40533 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40534 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40535 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40536 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40537 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40538 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40539 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40540 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40541 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40542 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40543 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40544 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40545 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40546 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40547 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40548 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40549 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40550 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40551 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40552 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40553 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40554 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40555 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40556 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40557 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40558 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40559 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40560 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40561 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40562 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40563 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40564 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40565 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40566 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40567 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40568 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40569 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40570 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40571 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40572 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40573 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40574 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40575 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40576 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40577 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40578 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40579 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40580 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40581 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40582 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40583 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40584 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40585 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40586 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40587 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40588 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40589 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40590 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40591 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40592 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40593 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40594 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40595 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40596 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40597 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40598 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40599 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40600 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40601 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40602 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40603 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40604 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40605 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40606 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40607 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40608 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40609 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40610 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40611 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40612 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40613 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40614 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40615 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40616 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40617 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40618 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40619 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40620 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40621 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40622 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40623 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40624 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40625 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40626 * sysdeps/ieee754/k_standard.c: Likewise.
40627 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40628 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40629 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40630 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40631 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40632 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40633 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40634 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40635 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40636 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40637 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40638 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40639 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40640 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40641 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40642 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40643 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40644 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40645 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40646 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40647 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40648 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40649 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40650 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40651 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40652 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40653 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40654 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40655 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40656 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40657 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40658 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40659 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40660 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40661 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40662 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40663 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40664 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40665 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40666 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40667 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40668 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40669 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40670 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40671 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40672 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40673 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40674 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40675 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40676 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40677 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40678 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40679 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40680 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40681 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40682 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40683 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40684 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40685 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40686 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40687 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40688 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40689 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40690 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40691 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40692 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40693 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40694 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40695 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40696 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40697 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40698 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40699 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40700 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40701 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40702 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40703 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40704 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40705 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40706 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40707 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40708 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40709 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40710 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40711 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40712 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40713 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40714 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40715 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40716 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40717 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40718 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40719 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40720 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40721 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40722 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40723 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40724 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40725 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40726 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40727 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40728 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40729 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40730 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40731 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40732 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40733 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40734 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40735 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40736 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40737 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40738 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40739 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40740 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40741 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40742 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40743 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40744 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40745 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40746 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40747 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40748 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40749 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40750 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40751 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40752 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40753 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40754 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40755 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40756 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40757 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40758 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40759 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40760 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40761 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40762 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40763 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40764 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40765 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40766 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40767 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40768 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40769 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40770 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40771 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40772 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40773 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40774 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40775 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40776 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40777 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40778 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40779 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40780 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40781 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40782 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40783 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40784 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40785 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40786 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40787 * sysdeps/ieee754/s_lib_version.c: Likewise.
40788 * sysdeps/ieee754/s_matherr.c: Likewise.
40789 * sysdeps/ieee754/s_signgam.c: Likewise.
40790 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40791 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40792 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40793 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40794 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40795 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40796 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40797 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40798 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40799 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40800 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40801 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40802 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40803 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40804 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40805 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40806 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40807 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40808 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40809 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40810 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40812 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40814 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40815 * sunrpc/rpc_main.c: Likewise.
40816 * sunrpc/rpc_svcout.c: Likewise.
40818 2012-03-09 David S. Miller <davem@davemloft.net>
40820 * include/math_private.h: New file.
40822 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40824 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40825 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40826 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40827 from <bits/socket_type.h>.
40828 (enum __socket_type): Don't define here.
40829 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40830 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40831 bits/socket_type.h.
40834 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40835 checking __USE_GNU.
40837 * Makerules ($(inst_includedir)/%.h): New rule.
40838 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40839 (install-others): Remove variable setting.
40840 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40842 2012-03-08 Richard Henderson <rth@twiddle.net>
40844 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40845 from macro to inline function; merge with the
40846 !__LIBC_INTERNAL_MATH_INLINES version.
40847 (__ieee754_sqrtf): Likewise.
40849 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40850 to inline function.
40851 (__rintf, __floor, __floorf): Likewise.
40853 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40854 macro to inline function.
40855 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40857 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40858 not <math/math_private.h>.
40860 2012-03-08 David S. Miller <davem@davemloft.net>
40862 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40864 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40866 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40868 * resolv/gai_misc.c (handle_requests): Fix struct timespec
40870 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40871 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40873 2012-03-08 Ulrich Drepper <drepper@gmail.com>
40875 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40876 be defined individually, they must be defined as a block. Define
40877 S for printing a string instead of hidint the different by using a
40878 macro for adding the 'l'.
40879 * stdio-common/tst-fphex-wide.c: Adjust.
40881 2012-03-07 Marek Polacek <polacek@redhat.com>
40883 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40885 2012-03-08 Marek Polacek <polacek@redhat.com>
40888 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40889 * stdio-common/tst-fphex.c: Define a few macros to make the
40890 test reusable. Use them.
40891 * stdio-common/tst-fphex-wide.c: New file.
40893 2012-03-08 Joseph Myers <joseph@codesourcery.com>
40896 * manual/macros.texi (gnusystems): New macro.
40897 (nongnusystems): Likewise.
40898 (gnulinuxhurdsystems): Likewise.
40899 (gnuhurdsystems): Likewise..
40900 (gnulinuxsystems): Likewise.
40901 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40902 variants of the GNU system, not "GNU system".
40903 * manual/conf.texi: Likewise.
40904 * manual/errno.texi: Likewise. Update example of errno macro
40906 * manual/filesys.texi: Likewise.
40907 (getumask): Document as specific to GNU/Hurd.
40908 * manual/install.texi: Likewise. Reword some references to
40910 * manual/intro.texi: Likewise.
40911 * manual/io.texi: Likewise.
40912 (File Name Portability): Detail which constraints are inapplicable
40913 to all GNU systems and which are only inapplicable to GNU/Hurd.
40914 * manual/job.texi: Likewise.
40915 * manual/llio.texi: Likewise.
40916 (O_NOCTTY): Document as present on GNU/Linux.
40917 * manual/maint.texi: Likewise.
40918 * manual/memory.texi: Likewise.
40919 * manual/pattern.texi: Likewise.
40920 * manual/pipe.texi: Likewise.
40921 * manual/process.texi: Likewise.
40922 * manual/resource.texi: Likewise.
40923 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40925 * manual/setjmp.texi: Likewise.
40926 * manual/signal.texi: Likewise.
40927 * manual/startup.texi: Likewise.
40928 * manual/stdio.texi: Likewise.
40929 * manual/terminal.texi: Likewise.
40930 (ONLCR): Document as POSIX.
40931 (OXTABS): Document availability on GNU/Linux as XTABS.
40932 (ONOEOT): Document availability separately from other bits.
40933 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40934 * manual/time.texi: Likewise.
40935 * manual/users.texi: Likewise.
40936 * INSTALL: Regenerated.
40937 * sysdeps/gnu/errlist.c: Regenerated.
40939 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40940 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40941 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
40943 * configure: Regenerated.
40945 2012-03-07 Joseph Myers <joseph@codesourcery.com>
40947 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40948 default includes instead of AC_HEADER_CHECK.
40949 * sysdeps/i386/configure: Regenerated.
40952 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40953 * math/s_cacoshf.c (__cacoshf): Likewise.
40954 * math/s_cacoshl.c (__cacoshl): Likewise.
40955 * math/s_casinh.c (__casinh): Set signs of result from argument.
40956 * math/s_casinhf.c (__casinhf): Likewise.
40957 * math/s_casinhl.c (__casinhl): Likewise.
40958 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40959 (casinh_test): Add more tests.
40960 * sysdeps/i386/fpu/libm-test-ulps: Update.
40961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40963 2012-03-07 Ulrich Drepper <drepper@gmail.com>
40965 * po/zh_TW.po: Update from translation team.
40967 * login/Makefile (distribute): Remove variable.
40968 * catgets/Makefile: Likewise.
40969 * mach/Makefile: Likewise.
40970 * malloc/Makefile: Likewise.
40971 * misc/Makefile: Likewise.
40972 * iconv/Makefile: Likewise.
40973 * nscd/Makefile: Likewise.
40974 * hurd/Makefile: Likewise.
40975 * manual/Makefile: Likewise.
40976 * locale/Makefile: Likewise.
40977 * intl/Makefile: Likewise.
40978 * conform/Makefile: Likewise.
40979 * nss/Makefile: Likewise.
40980 * time/Makefile: Likewise.
40981 * soft-fp/Makefile: Likewise.
40982 * dirent/Makefile: Likewise.
40983 * gmon/Makefile: Likewise.
40984 * po/Makefile: Likewise.
40985 * rt/Makefile: Likewise.
40986 * socket/Makefile: Likewise.
40987 * math/Makefile: Likewise.
40988 * signal/Makefile: Likewise.
40989 * debug/Makefile: Likewise.
40990 * elf/Makefile: Likewise.
40991 * timezone/Makefile: Likewise.
40992 * stdlib/Makefile: Likewise.
40993 * iconvdata/Makefile: Likewise.
40994 * sunrpc/Makefile: Likewise.
40995 * io/Makefile: Likewise.
40996 * argp/Makefile: Likewise.
40997 * inet/Makefile: Likewise.
40998 * hesiod/Makefile: Likewise.
40999 * grp/Makefile: Likewise.
41000 * csu/Makefile: Likewise.
41001 * wctype/Makefile: Likewise.
41002 * crypt/Makefile: Likewise.
41003 * libio/Makefile: Likewise.
41004 * string/Makefile: Likewise.
41005 * nis/Makefile: Likewise.
41006 * resolv/Makefile: Likewise.
41007 * stdio-common/Makefile: Likewise.
41008 * wcsmbs/Makefile: Likewise.
41009 * dlfcn/Makefile: Likewise.
41010 * posix/Makefile: Likewise.
41013 * timezone/Makefile: Don't install timezone files, just the programs
41016 2012-03-06 Ulrich Drepper <drepper@gmail.com>
41018 * nss/databases.def: Add missing gshadow entry.
41020 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
41022 2012-03-06 Marek Polacek <polacek@redhat.com>
41025 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41026 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41027 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41028 * stdio-common/tst-long-dbl-fphex.c: New file.
41030 2012-03-06 David S. Miller <davem@davemloft.net>
41032 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41033 (set_obp_int): New function.
41034 (get_obp_int): New function.
41035 (__get_clockfreq_via_dev_openprom): Likewise.
41036 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41037 Avoid unused variable warnings on 'val' and use builtin_expect.
41038 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41040 (INLINE_CLONE_SYSCALL): Likewise.
41042 2012-03-05 David S. Miller <davem@davemloft.net>
41044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41046 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
41048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41050 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41051 only for |x| >= 40.
41052 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41054 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
41056 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41057 Replace gettimeofday with __vdso_gettimeofday.
41059 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41060 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41061 __vdso_clock_gettime and __vdso_getcpu.
41063 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41064 time with __vdso_time.
41066 2012-03-05 Joseph Myers <joseph@codesourcery.com>
41068 * manual/lang.texi (size_t): Note types to which size_t may be
41069 equivalent with the GNU C Library, but do not describe when
41070 differences between them are significant.
41072 2012-03-05 Andreas Jaeger <aj@suse.de>
41074 * sysdeps/i386/fpu/libm-test-ulps: Update.
41076 2012-03-05 Joseph Myers <joseph@codesourcery.com>
41079 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41080 (__ieee754_pow): Save and restore rounding mode and use
41081 round-to-nearest for main computations.
41082 * math/libm-test.inc (pow_test_tonearest): New function.
41083 (pow_test_towardzero): Likewise.
41084 (pow_test_downward): Likewise.
41085 (pow_test_upward): Likewise.
41086 (main): Call the new functions.
41087 * sysdeps/i386/fpu/libm-test-ulps: Update.
41088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41091 * math/libm-test.inc (cosh_test_tonearest): New function.
41092 (cosh_test_towardzero): Likewise.
41093 (cosh_test_downward): Likewise.
41094 (cosh_test_upward): Likewise.
41095 (sinh_test_tonearest): Likewise.
41096 (sinh_test_towardzero): Likewise.
41097 (sinh_test_downward): Likewise.
41098 (sinh_test_upward): Likewise.
41099 (main): Call the new functions.
41100 * sysdeps/i386/fpu/libm-test-ulps: Update.
41101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41103 2012-03-05 Tom de Vries <tom@codesourcery.com>
41105 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41106 default stack guard is set in last bytes.
41107 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41109 2012-03-05 Kees Cook <keescook@chromium.org>
41111 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41114 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41115 possibly allocate from heap instead of stack.
41116 * stdio-common/bug-vfprintf-nargs.c: New file.
41117 * stdio-common/Makefile (tests): Add nargs overflow test.
41119 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
41121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41123 2012-03-03 Marek Polacek <polacek@redhat.com>
41125 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41126 * math/math_private.h: Likewise.
41127 * stdlib/tst-strtod.c: Likewise.
41128 * sysdeps/i386/i486/bits/atomic.h: Likewise.
41129 * sysdeps/x86_64/bits/atomic.h: Likewise.
41131 2012-03-02 David S. Miller <davem@davemloft.net>
41133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41137 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41138 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41139 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41140 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41142 2012-03-02 Roland McGrath <roland@hack.frob.com>
41145 * manual/examples/README: New file, says the example source files
41146 can be used under GPL>=2.
41147 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41148 line containing just "*/".
41149 * manual/examples/add.c: Add copyright header (GPL>=2).
41150 * manual/examples/argp-ex1.c: Likewise.
41151 * manual/examples/argp-ex2.c: Likewise.
41152 * manual/examples/argp-ex3.c: Likewise.
41153 * manual/examples/argp-ex4.c: Likewise.
41154 * manual/examples/atexit.c: Likewise.
41155 * manual/examples/db.c: Likewise.
41156 * manual/examples/dir.c: Likewise.
41157 * manual/examples/dir2.c: Likewise.
41158 * manual/examples/execinfo.c: Likewise.
41159 * manual/examples/filecli.c: Likewise.
41160 * manual/examples/filesrv.c: Likewise.
41161 * manual/examples/fmtmsgexpl.c: Likewise.
41162 * manual/examples/genpass.c: Likewise.
41163 * manual/examples/inetcli.c: Likewise.
41164 * manual/examples/inetsrv.c: Likewise.
41165 * manual/examples/isockad.c: Likewise.
41166 * manual/examples/longopt.c: Likewise.
41167 * manual/examples/memopen.c: Likewise.
41168 * manual/examples/memstrm.c: Likewise.
41169 * manual/examples/mkfsock.c: Likewise.
41170 * manual/examples/mkisock.c: Likewise.
41171 * manual/examples/mygetpass.c: Likewise.
41172 * manual/examples/pipe.c: Likewise.
41173 * manual/examples/popen.c: Likewise.
41174 * manual/examples/rprintf.c: Likewise.
41175 * manual/examples/search.c: Likewise.
41176 * manual/examples/select.c: Likewise.
41177 * manual/examples/setjmp.c: Likewise.
41178 * manual/examples/sigh1.c: Likewise.
41179 * manual/examples/sigusr.c: Likewise.
41180 * manual/examples/stpcpy.c: Likewise.
41181 * manual/examples/strdupa.c: Likewise.
41182 * manual/examples/strftim.c: Likewise.
41183 * manual/examples/strncat.c: Likewise.
41184 * manual/examples/subopt.c: Likewise.
41185 * manual/examples/swapcontext.c: Likewise.
41186 * manual/examples/termios.c: Likewise.
41187 * manual/examples/testopt.c: Likewise.
41188 * manual/examples/testpass.c: Likewise.
41189 * manual/examples/timeval_subtract.c: Likewise.
41192 * manual/time.texi (Elapsed Time): Move timeval_subtract example
41194 * manual/timeval_subtract.c.texi: ... here, new file.
41196 2012-03-02 David S. Miller <davem@davemloft.net>
41198 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41200 2012-03-02 Joseph Myers <joseph@codesourcery.com>
41203 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41204 (__sin): Save and restore rounding mode and use round-to-nearest
41205 for all computations.
41206 (__cos): Save and restore rounding mode and use round-to-nearest
41207 for all computations.
41208 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41210 (tan): Save and restore rounding mode and use round-to-nearest for
41212 * math/libm-test.inc (cos_test_tonearest): New function.
41213 (cos_test_towardzero): Likewise.
41214 (cos_test_downward): Likewise.
41215 (cos_test_upward): Likewise.
41216 (sin_test_tonearest): Likewise.
41217 (sin_test_towardzero): Likewise.
41218 (sin_test_downward): Likewise.
41219 (sin_test_upward): Likewise.
41220 (tan_test_tonearest): Likewise.
41221 (tan_test_towardzero): Likewise.
41222 (tan_test_downward): Likewise.
41223 (tan_test_upward): Likewise.
41224 (main): Call the new functions.
41225 * sysdeps/i386/fpu/libm-test-ulps: Update.
41226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41229 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41230 small n, then large n, before computing and testing k+n.
41231 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41232 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41234 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41236 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41237 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41238 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41239 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41240 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41241 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41242 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41243 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41244 * math/libm-test.inc (scalbn_test): Add more tests.
41245 (scalbln_test): Likewise.
41247 * manual/filesys.texi (mode_t): Describe constraints on size and
41248 signedness, not exact equivalence to a particular type.
41250 (ino64_t): Likewise.
41252 (nlink_t): Likewise.
41253 (blkcnt_t): Likewise.
41254 (blkcnt64_t): Likewise.
41255 * manual/llio.texi (off_t): Likewise.
41258 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41259 (__ieee754_exp): Save and restore rounding mode and use
41260 round-to-nearest for all computations.
41261 * math/libm-test.inc (exp_test_tonearest): New function.
41262 (exp_test_towardzero): Likewise.
41263 (exp_test_downward): Likewise.
41264 (exp_test_upward): Likewise.
41265 (main): Call the new functions.
41266 * sysdeps/i386/fpu/libm-test-ulps: Update.
41267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41269 2012-03-01 Chris Demetriou <cgd@google.com>
41271 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41272 have predictable order.
41274 2012-03-01 David S. Miller <davem@davemloft.net>
41276 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41278 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41279 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41280 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41281 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41283 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41284 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41285 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41287 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41288 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41289 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41290 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41291 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41293 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41295 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41296 * sysdeps/sparc/fpu/libm-test-ulps: to here.
41297 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41299 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41300 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41301 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41302 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41303 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41304 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41305 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41306 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41307 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41308 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41309 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41310 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41311 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41312 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41313 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41314 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41315 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41316 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41317 * sysdeps/sparc/elf/configure: Regenerated.
41319 2012-03-01 Joseph Myers <joseph@codesourcery.com>
41321 * configure.in (AS, LD): Require binutils 2.20 or later.
41322 * configure: Regenerated.
41323 * manual/install.texi (Tools for Compilation): Give binutils 2.20
41324 as required minimum version.
41325 * INSTALL: Regenerated.
41329 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41330 before squaring exponent.
41331 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41332 bottom long double and 27 bits of top long double before squaring
41334 * math/libm-test.inc (erfc_test): Add more tests.
41335 * sysdeps/i386/fpu/libm-test-ulps: Update.
41336 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41339 2012-03-01 Kai Tietz <ktietz@redhat.com>
41341 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41342 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41343 containing bit-fields.
41344 * soft-fp/extended.h (_FP_UNION_E): Likewise.
41345 * soft-fp/single.h (_FP_UNION_S): Likewise.
41346 * soft-fp/double.h (_FP_UNION_D): Likewise.
41348 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41351 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41352 not include ../strcmp.S.
41353 [USE_AS_STRNCASECMP_L]: Likewise.
41354 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41355 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41356 * sysdeps/i386/i686/multiarch/strncase_l-c.c
41357 (__strncasecmp_l_ia32): Define as alias to
41358 __strncasecmp_l_nonascii.
41361 * math/libm-test.inc (expm1_test): Add test for bug 5794.
41362 * sysdeps/i386/fpu/libm-test-ulps: Update.
41363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41365 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41368 2012-02-29 Jeff Law <law@redhat.com>
41370 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41371 out of bounds read.
41373 2012-02-29 Marek Polacek <polacek@redhat.com>
41376 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41377 * elf/Makefile: Add rules to run tst-unused-dep.out.
41379 2012-02-28 David S. Miller <davem@davemloft.net>
41381 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41382 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41383 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41384 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41385 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41386 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41388 2012-02-29 Joseph Myers <joseph@codesourcery.com>
41390 * math/libm-test.inc (llround_test): Move one test from
41391 lround_test. Use TEST_f_L in moved test.
41392 (lround_test): Move misplaced test to llround_test. Add testcase
41395 2012-02-28 Ulrich Drepper <drepper@gmail.com>
41397 * sysdeps/x86_64/fpu/e_expf.S: New file.
41398 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41400 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
41403 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41404 of remain_len that may cause incomplete multi-byte character and
41406 * posix/bug-regex33.c: New file.
41407 * posix/Makefile (tests): Add bug-regex33.
41409 2012-02-28 Joseph Myers <joseph@codesourcery.com>
41411 * manual/macros.texi: New file.
41412 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41413 * manual/libc.texinfo: Include macros.texi.
41414 * manual/creatute.texi: Likewise.
41415 * manual/install.texi: Likewise.
41416 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41417 @glibcadj{} in references to the GNU C Library.
41418 * manual/charset.texi: Likewise.
41419 * manual/conf.texi: Likewise.
41420 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
41421 when not using those macros.
41422 * manual/creature.texi: Likewise.
41423 * manual/crypt.texi: Likewise.
41424 * manual/errno.texi: Likewise.
41425 * manual/filesys.texi: Likewise.
41426 * manual/header.texi: Likewise.
41427 * manual/install.texi: Likewise.
41428 * manual/intro.texi: Likewise.
41429 * manual/io.texi: Likewise.
41430 * manual/job.texi: Likewise.
41431 * manual/lang.texi: Likewise.
41432 * manual/libc.texiinfo: Likewise.
41433 * manual/llio.texi: Likewise.
41434 * manual/locale.texi: Likewise.
41435 * manual/maint.texi: Likewise.
41436 * manual/math.texi: Likewise.
41437 * manual/memory.texi: Likewise.
41438 * manual/message.texi: Likewise.
41439 * manual/nss.texi: Likewise.
41440 * manual/pattern.texi: Likewise.
41441 * manual/process.texi: Likewise.
41442 * manual/resource.texi: Likewise.
41443 * manual/search.texi: Likewise.
41444 * manual/setjmp.texi: Likewise.
41445 * manual/signal.texi: Likewise.
41446 * manual/socket.texi: Likewise.
41447 * manual/startup.texi: Likewise.
41448 * manual/stdio.texi: Likewise.
41449 * manual/string.texi: Likewise.
41450 * manual/sysinfo.texi: Likewise.
41451 * manual/syslog.texi: Likewise.
41452 * manual/terminal.texi: Likewise.
41453 * manual/time.texi: Likewise.
41454 * manual/users.texi: Likewise.
41455 * INSTALL: Regenerated.
41456 * NOTES: Regenerated.
41457 * sysdeps/gnu/errlist.c: Regenerated.
41459 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
41461 * include/dirent.h: Include <dirstream.h> before
41464 2012-02-28 David S. Miller <davem@davemloft.net>
41466 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41467 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41468 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41469 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41471 2012-02-27 David S. Miller <davem@davemloft.net>
41473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41475 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41476 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41479 frame pointer instead of stack pointer relative arg slot.
41480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41481 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41482 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41484 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
41487 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41489 2012-02-27 David S. Miller <davem@davemloft.net>
41491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41495 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41496 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41497 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41498 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41500 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41502 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41503 later. Allow versions 5-9.
41504 * configure: Regenerated.
41505 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41506 required minimum version and 4.6 as recommended version. Do not
41507 mention bugs in GCC 2.7 and 2.8.
41508 * INSTALL: Regenerated.
41510 2012-02-27 David S. Miller <davem@davemloft.net>
41512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41516 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41517 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41518 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41519 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41521 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41522 manipulate bits before adding and subtracting TWO112[sx].
41523 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41525 2012-02-27 Roland McGrath <roland@hack.frob.com>
41528 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41529 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41530 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41531 being in POSIX, because they are in 1003.1-2008.
41533 * rt/tst-aio.c: Include <fcntl.h>.
41534 * rt/tst-aio7.c: Likewise.
41535 * rt/tst-aio64.c: Likewise.
41537 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41539 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41541 * manual/install.texi (--with-headers): Describe headers as
41542 interface headers, not private headers.
41543 (Specific advice for GNU/Linux systems): Describe use of headers
41544 from "make headers_install", not private headers from older
41546 * INSTALL: Regenerated.
41547 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41549 * sysdeps/unix/sysv/linux/configure: Regenerated.
41551 * manual/llio.texi (fclean): Remove documentation.
41553 * manual/Makefile (libc-texi-generated): New variable. Include
41555 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41556 $(libc-texi-generated), not duplicated list of files.
41557 (version.texi, stamp-version): New rules.
41558 (realclean): Remove $(libc-texi-generated), not individual files
41559 from that list. Do not remove dir-add.texinfo.
41560 * manual/libc.texinfo: Comment out uses of edition numbers and
41561 references to printed manual. Remove last-updated dates.
41562 (EDITION): Comment out.
41564 (VERSION, UPDATED): Remove.
41565 (version.texi): Include.
41567 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
41569 * sysdeps/posix/spawni.c: Include <signal.h>.
41570 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41571 * sysdeps/pthread/aio_fsync.c: Likewise.
41573 2012-02-26 Ulrich Drepper <drepper@gmail.com>
41575 * conform/Makefile (tests): Run only when not cross-compiling and
41576 when fast-check is not defined.
41578 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41579 * conform/data/limits.h-data: Fixes for POSIX2008.
41580 * conform/run-conformtest.sh: Run all tests.
41581 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41583 * include/bits/dlfcn.h: Likewise.
41584 * include/langinfo.h: Likewise.
41585 * include/monetary.h: Likewise.
41586 * include/sys/poll.h: Likewise.
41588 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41590 * posix/spawn.h: Define __need_sigset_t.
41591 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41592 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41593 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
41594 to get sigevent_t only.
41595 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41596 only for __USE_GNU.
41597 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41598 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41599 process_vm_writev only for __USE_GNU.
41600 * termios/termios.h: Declare tcgetsid also for POSIX2008.
41602 * conform/Makefile: For now ignore errors from run-conformtest.
41603 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
41604 POSIX to avoid namespace pollution. Don't prepend headers.
41605 * conform/data/aio.h-data: Fixes for POSIX testing.
41606 * conform/data/fcntl.h-data: Likewise.
41607 * conform/data/glob.h-data: Likewise.
41608 * conform/data/grp.h-data: Likewise.
41609 * conform/data/pthread.h-data: Likewise.
41610 * conform/data/pwd.h-data: Likewise.
41611 * conform/data/signal.h-data: Likewise.
41612 * conform/data/spawn.h-data: Likewise.
41613 * conform/data/stdio.h-data: Likewise.
41614 * conform/data/stdlib.h-data: Likewise.
41615 * conform/data/stropts.h-data: Likewise.
41616 * conform/data/sys/mman.h-data: Likewise.
41617 * conform/data/sys/stat.h-data: Likewise.
41618 * conform/data/sys/types.h-data: Likewise.
41619 * conform/data/sys/wait.h-data: Likewise.
41620 * conform/data/time.h-data: Likewise.
41621 * conform/data/unistd.h-data: Likewise.
41622 * conform/data/utime.h-data: Likewise.
41624 * io/sys/stat.h: fchmod was always in POSIX.
41625 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41626 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41627 * rt/aio.h: Define __need_timespec before including <time.h>.
41628 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41629 struct. Add forward declaration of pthread_attr_t and use it in
41631 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41632 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41633 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41634 always remove CLK_TCK definition.
41636 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41638 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41640 2012-02-25 Ulrich Drepper <drepper@gmail.com>
41642 * conform/run-conformtest.sh: New file.
41643 * conform/Makefile: Run run-conformtest for tests.
41644 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41647 * conform/data/uchar.h-data: New file.
41648 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41649 * conform/data/arpa/inet.h-data: Likewise.
41650 * conform/data/assert.h-data: Likewise.
41651 * conform/data/complex.h-data: Likewise.
41652 * conform/data/cpio.h-data: Likewise.
41653 * conform/data/ctype.h-data: Likewise.
41654 * conform/data/dirent.h-data: Likewise.
41655 * conform/data/dlfcn.h-data: Likewise.
41656 * conform/data/errno.h-data: Likewise.
41657 * conform/data/fcntl.h-data: Likewise.
41658 * conform/data/float.h-data: Likewise.
41659 * conform/data/fmtmsg.h-data: Likewise.
41660 * conform/data/fnmatch.h-data: Likewise.
41661 * conform/data/ftw.h-data: Likewise.
41662 * conform/data/glob.h-data: Likewise.
41663 * conform/data/grp.h-data: Likewise.
41664 * conform/data/iconv.h-data: Likewise.
41665 * conform/data/inttypes.h-data: Likewise.
41666 * conform/data/langinfo.h-data: Likewise.
41667 * conform/data/libgen.h-data: Likewise.
41668 * conform/data/limits.h-data: Likewise.
41669 * conform/data/locale.h-data: Likewise.
41670 * conform/data/math.h-data: Likewise.
41671 * conform/data/monetary.h-data: Likewise.
41672 * conform/data/mqueue.h-data: Likewise.
41673 * conform/data/ndbm.h-data: Likewise.
41674 * conform/data/net/if.h-data: Likewise.
41675 * conform/data/netdb.h-data: Likewise.
41676 * conform/data/netinet/in.h-data: Likewise.
41677 * conform/data/nl_types.h-data: Likewise.
41678 * conform/data/poll.h-data: Likewise.
41679 * conform/data/pthread.h-data: Likewise.
41680 * conform/data/pwd.h-data: Likewise.
41681 * conform/data/regex.h-data: Likewise.
41682 * conform/data/sched.h-data: Likewise.
41683 * conform/data/search.h-data: Likewise.
41684 * conform/data/semaphore.h-data: Likewise.
41685 * conform/data/setjmp.h-data: Likewise.
41686 * conform/data/signal.h-data: Likewise.
41687 * conform/data/spawn.h-data: Likewise.
41688 * conform/data/stdarg.h-data: Likewise.
41689 * conform/data/stdio.h-data: Likewise.
41690 * conform/data/stdlib.h-data: Likewise.
41691 * conform/data/string.h-data: Likewise.
41692 * conform/data/strings.h-data: Likewise.
41693 * conform/data/stropts.h-data: Likewise.
41694 * conform/data/sys/ipc.h-data: Likewise.
41695 * conform/data/sys/mman.h-data: Likewise.
41696 * conform/data/sys/msg.h-data: Likewise.
41697 * conform/data/sys/resource.h-data: Likewise.
41698 * conform/data/sys/select.h-data: Likewise.
41699 * conform/data/sys/sem.h-data: Likewise.
41700 * conform/data/sys/shm.h-data: Likewise.
41701 * conform/data/sys/socket.h-data: Likewise.
41702 * conform/data/sys/stat.h-data: Likewise.
41703 * conform/data/sys/statvfs.h-data: Likewise.
41704 * conform/data/sys/time.h-data: Likewise.
41705 * conform/data/sys/timeb.h-data: Likewise.
41706 * conform/data/sys/times.h-data: Likewise.
41707 * conform/data/sys/types.h-data: Likewise.
41708 * conform/data/sys/uio.h-data: Likewise.
41709 * conform/data/sys/un.h-data: Likewise.
41710 * conform/data/sys/utsname.h-data: Likewise.
41711 * conform/data/sys/wait.h-data: Likewise.
41712 * conform/data/syslog.h-data: Likewise.
41713 * conform/data/tar.h-data: Likewise.
41714 * conform/data/termios.h-data: Likewise.
41715 * conform/data/utime.h-data: Likewise.
41716 * conform/data/utmpx.h-data: Likewise.
41717 * conform/data/varargs.h-data: Likewise.
41718 * conform/data/wchar.h-data: Likewise.
41719 * conform/data/wctype.h-data: Likewise.
41720 * conform/data/wordexp.h-data: Likewise.
41722 * include/stropts.h: New file.
41723 * include/uchar.h: New file.
41724 * include/aio.h: Changes to allow conformtest.pl to use the headers.
41725 * include/assert.h: Likewise.
41726 * include/ctype.h: Likewise.
41727 * include/dirent.h: Likewise.
41728 * include/dlfcn.h: Likewise.
41729 * include/fcntl.h: Likewise.
41730 * include/fnmatch.h: Likewise.
41731 * include/glob.h: Likewise.
41732 * include/grp.h: Likewise.
41733 * include/libio.h: Likewise.
41734 * include/locale.h: Likewise.
41735 * include/math.h: Likewise.
41736 * include/net/if.h: Likewise.
41737 * include/netdb.h: Likewise.
41738 * include/netinet/in.h: Likewise.
41739 * include/pthread.h: Likewise.
41740 * include/pwd.h: Likewise.
41741 * include/regex.h: Likewise.
41742 * include/sched.h: Likewise.
41743 * include/search.h: Likewise.
41744 * include/setjmp.h: Likewise.
41745 * include/signal.h: Likewise.
41746 * include/stdio.h: Likewise.
41747 * include/stdlib.h: Likewise.
41748 * include/string.h: Likewise.
41749 * include/sys/cdefs.h: Likewise.
41750 * include/sys/mman.h: Likewise.
41751 * include/sys/msg.h: Likewise.
41752 * include/sys/resource.h: Likewise.
41753 * include/sys/select.h: Likewise.
41754 * include/sys/socket.h: Likewise.
41755 * include/sys/stat.h: Likewise.
41756 * include/sys/statvfs.h: Likewise.
41757 * include/sys/time.h: Likewise.
41758 * include/sys/times.h: Likewise.
41759 * include/sys/uio.h: Likewise.
41760 * include/sys/utsname.h: Likewise.
41761 * include/sys/wait.h: Likewise.
41762 * include/termios.h: Likewise.
41763 * include/time.h: Likewise.
41764 * include/ulimit.h: Likewise.
41765 * include/unistd.h: Likewise.
41766 * include/utime.h: Likewise.
41767 * include/wchar.h: Likewise.
41768 * include/wctype.h: Likewise.
41769 * include/wordexp.h: Likewise.
41771 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41773 * time/time.h: TIME_UTC must be a macro.
41774 Make timespec_get available for ISO C11 only as well.
41776 2012-02-24 Ulrich Drepper <drepper@gmail.com>
41778 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41779 Reported by Peng Haitao <penght@cn.fujitsu.com>.
41781 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41783 * configure.in: Use -o not -a in test for unsupported multi-arch.
41785 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41787 * manual/texinfo.tex: Update to version 2012-01-19.16.
41789 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41791 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41793 2012-02-24 Roland McGrath <roland@hack.frob.com>
41796 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41797 * manual/fdl-1.3.texi: New file.
41798 * manual/fdl-1.1.texi: File removed.
41801 * manual/libc.texinfo (FDL_VERSION): New @set.
41802 Use it for mention of FDL in cover text.
41803 (Documentation License): Use it in @include file name.
41805 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41806 Roland McGrath <roland@hack.frob.com>
41809 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41810 (not LONG_LONG_MAX and LONG_LONG_MIN.
41811 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41812 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
41814 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41816 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41820 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41821 manipulate bits before adding and subtracting TWO23[sx].
41822 * math/libm-test.inc (nearbyint_test): Add more tests.
41824 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41827 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41828 bits before adding and subtracting TWO23[sx].
41829 * math/libm-test.inc (rint_test): Add more tests.
41830 (rint_test_tonearest): Likewise.
41831 (rint_test_towardzero): Likewise.
41832 (rint_test_downward): Likewise.
41833 (rint_test_upward: Likewise.
41835 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41838 * include/stdc-predef.h: New file. Extracted from features.h.
41839 * include/features.h: Include stdc-predef.h.
41840 * Makefile (headers): Add stdc-predef.h.
41841 * CONFORMANCE (Compiler limitations): Update.
41843 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41845 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41847 2012-02-21 David S. Miller <davem@davemloft.net>
41849 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41850 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41852 2012-02-20 David S. Miller <davem@davemloft.net>
41854 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41855 using a normal save/restore sequence, rather than allocating a
41856 dummy stack frame just to store a frame pointer and restore.
41857 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41859 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41861 * manual/install.texi: Fix stray word in line-wrapped comment.
41863 2012-02-20 David S. Miller <davem@davemloft.net>
41865 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41866 both binutils and gcc support GOTDATA.
41868 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41869 "rd %pc" in the PIC register setup sequences.
41871 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41872 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41873 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41874 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41875 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41876 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41877 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41878 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41879 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41880 (SYSCALL_ERROR_HANDLER): Likewise.
41881 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41882 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41883 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41884 (SYSCALL_ERROR_HANDLER): Likewise.
41886 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41887 (HAVE_GCC_GOTDATA): New.
41888 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41889 relocation support in both binutils and gcc.
41890 * sysdeps/sparc/elf/configure: Regenerate.
41892 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41893 * sysdeps/sparc/sparc32/elf/configure: Delete.
41894 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41895 * sysdeps/sparc/sparc64/elf/configure: Delete.
41896 * sysdeps/sparc/elf/configure.in: New file.
41897 * sysdeps/sparc/elf/configure: Generate.
41899 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41900 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41901 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41902 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41903 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41905 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41907 * manual/install.texi: Do not mention specific glibc version
41909 * manual/libc.texinfo (VERSION, UPDATED): Update.
41910 (@copying): Use @copyright{} and range of years.
41912 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41915 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41916 [crti.S not in sysdirs] (generated): Do not append.
41917 [crti.S not in sysdirs] (omit-deps): Likewise.
41918 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41919 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41920 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41921 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41922 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41924 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41925 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41926 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41927 * csu/defs.awk: Remove file.
41928 * sysdeps/generic/initfini.c: Likewise.
41929 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41931 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41934 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41936 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41937 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41938 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41939 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41940 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41941 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41943 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41944 (__EPOLL_PACKED): Define to empty if not defined by
41946 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41947 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41950 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41952 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41953 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41954 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41955 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41957 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41958 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41961 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41963 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41965 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41966 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41967 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41970 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
41972 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41973 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41975 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
41977 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41978 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41980 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41982 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41985 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
41987 * math/w_acos.c: Use non-signaling floating-point comparisons.
41988 * math/w_acosf.c: Likewise.
41989 * math/w_acosh.c: Likewise.
41990 * math/w_acoshf.c: Likewise.
41991 * math/w_acoshl.c: Likewise.
41992 * math/w_acosl.c: Likewise.
41993 * math/w_asin.c: Likewise.
41994 * math/w_asinf.c: Likewise.
41995 * math/w_asinl.c: Likewise.
41996 * math/w_atanh.c: Likewise.
41997 * math/w_atanhf.c: Likewise.
41998 * math/w_atanhl.c: Likewise.
41999 * math/w_exp2.c: Likewise.
42000 * math/w_exp2f.c: Likewise.
42001 * math/w_exp2l.c: Likewise.
42002 * math/w_j0.c: Likewise.
42003 * math/w_j0f.c: Likewise.
42004 * math/w_j0l.c: Likewise.
42005 * math/w_j1.c: Likewise.
42006 * math/w_j1f.c: Likewise.
42007 * math/w_j1l.c: Likewise.
42008 * math/w_jn.c: Likewise.
42009 * math/w_jnf.c: Likewise.
42010 * math/w_log.c: Likewise.
42011 * math/w_log10.c: Likewise.
42012 * math/w_log10f.c: Likewise.
42013 * math/w_log10l.c: Likewise.
42014 * math/w_log2.c: Likewise.
42015 * math/w_log2f.c: Likewise.
42016 * math/w_log2l.c: Likewise.
42017 * math/w_logf.c: Likewise.
42018 * math/w_logl.c: Likewise.
42019 * math/w_sqrt.c: Likewise.
42020 * math/w_sqrtf.c: Likewise.
42021 * math/w_sqrtl.c: Likewise.
42022 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42023 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42024 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42025 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42026 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42028 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42031 * manual/string.texi (strnlen): Use correct parameter name in
42032 equivalent expression.
42034 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42037 * manual/users.texi (seteuid): Consistently use neweuid for
42040 2012-02-19 Joseph Myers <joseph@codesourcery.com>
42043 * manual/nss.texi (Services in the NSS configuration): Correct
42044 list of services in example configuration file.
42046 2012-02-19 Nick Bowler <nbowler@draconx.ca>
42049 * manual/arith.texi: Remove statements about negative zero
42050 behaving identically to zero.
42052 2012-02-18 Joseph Myers <joseph@codesourcery.com>
42055 * manual/install.texi: Do not document upgrading from libc5.
42057 2012-02-18 Joseph Myers <joseph@codesourcery.com>
42060 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42062 2012-02-18 David S. Miller <davem@davemloft.net>
42064 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42065 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42066 %o7 across the call.
42067 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42069 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42070 SETUP_PIC_REG_LEAF.
42071 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42072 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42073 * sysdeps/sparc/crtn.S: Likewise.
42075 2012-02-17 Ulrich Drepper <drepper@gmail.com>
42077 * aout/Makefile: Remove.
42079 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
42082 * manual/examples/argp-ex1.c (main): Format definition in GNU
42084 * manual/examples/argp-ex2.c (main): Likewise.
42085 * manual/examples/argp-ex3.c (main): Likewise.
42086 * manual/examples/argp-ex4.c (main): Likewise.
42087 * manual/examples/longopt.c (main): Use new-style prototype
42089 * manual/examples/strncat.c (main): Specify return type and use
42090 (void) for arguments.
42091 * manual/examples/subopt.c (main): Use char **argv argument.
42093 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42096 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42099 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
42102 * manual/string.texi (strchr): Change when strchrnul is
42105 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
42108 * manual/locale.texi (setlocale): Document LOCPATH.
42110 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42113 * manual/process.texi (execle): Move @dots{} before last argument.
42115 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
42118 * manual/charset.texi (Generic Charset Conversion): Fix typo
42119 (LC_TYPE -> LC_CTYPE).
42121 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
42124 * manual/arith.texi (scalbn): Use @var{} on parameter names.
42125 (scalbnf): Likewise.
42126 (scalbnl): Likewise.
42127 (scalbln): Likewise.
42128 (scalblnf): Likewise.
42129 (scalblnl): Likewise.
42130 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42131 (vwarnx): Likewise.
42134 * manual/filesys.texi (telldir): Use braces around return type.
42135 * manual/llio.texi (mmap): Add space after comma.
42136 (mmap64): Likewise.
42137 * manual/math.texi (jn): Use @var{} on parameter names.
42143 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42145 * manual/resource.texi (ulimit): Use @dots{} instead of literal
42147 (sched_get_priority_min): Remove semicolon on @deftypefun line.
42148 (sched_get_priority_max): Likewise.
42149 * manual/signal.texi (sigvec): Add space after comma.
42150 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42152 (if_indextoname): Likewise.
42153 (if_freenameindex): Likewise.
42154 (sendto): Use ',' instead of '.' in prototype.
42155 * manual/startup.texi (syscall): Use @dots{} instead of literal
42157 * manual/stdio.texi (__fpending): Separate initial words of
42158 paragraph from @deftypefun line.
42159 * manual/syslog.texi (syslog): Use @dots{} instead of literal
42161 (vsyslog): Use @var{} on parameter names.
42162 * manual/terminal.texi (stty): Use @var{} on parameter names.
42163 * manual/users.texi (getutmp): Use @var{} on parameter names.
42164 (getutmpx): Likewise.
42166 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42169 * manual/stdio.texi (fopen): Fix typos in description of
42172 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
42175 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42176 get clock_id definition.
42178 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
42181 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42182 (madvise): Cast every argument to void on its own.
42184 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42187 * manual/startup.texi (Exit Status): Fix typo.
42189 2012-02-17 Joseph Myers <joseph@codesourcery.com>
42192 * manual/examples/argp-ex1.c: Include <stdlib.h>.
42193 * manual/examples/argp-ex2.c: Likewise.
42194 * manual/examples/argp-ex3.c: Likewise.
42196 2012-02-16 Richard Henderson <rth@redhat.com>
42198 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42199 * sysdeps/s390/s390-32/initfini.c: Remove.
42200 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42201 * sysdeps/s390/s390-64/initfini.c: Remove.
42203 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42205 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42206 compiler output for sysdeps/generic/initfini.c.
42207 * sysdeps/sh/elf/initfini.c: Remove file.
42209 2012-02-16 David S. Miller <davem@davemloft.net>
42212 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42214 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42215 * sysdeps/sparc/crti.S: New file.
42216 * sysdeps/sparc/crtn.S: New file.
42217 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42218 * sysdeps/sparc/sparc64/Makefile: Likewise.
42220 2012-02-15 Mike Frysinger <vapier@gentoo.org>
42223 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42225 2012-02-15 Roland McGrath <roland@hack.frob.com>
42228 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42230 * mach/devstream.c (cookie_io_functions_t): Macro removed.
42231 (write, read, close): Likewise.
42232 Patch by Aurelien Jarno <aurelien@aurel32.net>.
42234 2012-02-15 Joseph Myers <joseph@codesourcery.com>
42236 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42237 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42238 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42239 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42241 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42242 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42245 2012-02-14 Marek Polacek <polacek@redhat.com>
42247 * sysdeps/x86_64/crti.S: New file.
42248 * sysdeps/x86_64/crtn.S: New file.
42249 * sysdeps/x86_64/elf/initfini.c: Remove file.
42251 2012-02-13 Joseph Myers <joseph@codesourcery.com>
42253 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42254 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42255 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42256 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42258 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42259 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42262 2012-02-13 Joseph Myers <joseph@codesourcery.com>
42264 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42265 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42266 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42267 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42269 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42270 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42273 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
42275 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42276 __feraiseexcept instead of feraiseexcept.
42278 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42279 nanosleep invocations.
42280 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42281 strings, and add error checking for a nanosleep invocations.
42283 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
42285 Replace FSF snail mail address with URLs, as per GNU coding standards.
42286 Most of the snail mail addresses were wrong anyway, and omitting
42287 them makes the source code easier to maintain. Almost all of the
42288 changes are to license notices and to locale LC_IDENTIFICATION
42289 addresses, except for this one:
42290 * manual/libc.texinfo: In "Published by", give the FSF's URL,
42291 not its snail mail address.
42293 2012-02-09 Richard Henderson <rth@twiddle.net>
42295 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42296 of kernel-features.h.
42298 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42300 2012-02-08 Marek Polacek <polacek@redhat.com>
42302 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42303 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42304 * sysdeps/gnu/_G_config.h: Likewise.
42305 * sysdeps/generic/_G_config.h: Likewise.
42307 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
42309 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42313 * sysdeps/powerpc/powerpc32/crti.S: New file.
42314 * sysdeps/powerpc/powerpc32/crtn.S: New file.
42315 * sysdeps/powerpc/powerpc64/crti.S: New file.
42316 * sysdeps/powerpc/powerpc64/crtn.S: New file.
42318 * Makeconfig (have-initfini): Don't set.
42319 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42320 * configure.in (nopic_initfini): Don't substitute.
42321 * config.h.in (HAVE_INITFINI): Don't #undef.
42322 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42323 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42325 2012-02-08 Joseph Myers <joseph@codesourcery.com>
42327 Support crti.S and crtn.S provided directly by architectures.
42328 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42329 [crti.S in sysdirs] (omit-deps): Likewise.
42330 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42331 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42332 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42333 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42334 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42335 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42336 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42337 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42338 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42339 compiler output for sysdeps/generic/initfini.c.
42340 * sysdeps/i386/elf/Makefile: Remove file.
42341 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42343 2012-02-07 Marek Polacek <polacek@redhat.com>
42345 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42346 * sysdeps/gnu/_G_config.h: Likewise.
42347 * sysdeps/mach/hurd/_G_config.h: Likewise.
42349 2012-02-07 Marek Polacek <polacek@redhat.com>
42351 * math/Makefile (tests): Add tst-CMPLX2.
42352 * math/tst-CMPLX2.c: New file.
42354 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
42356 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42358 * math/libm-test.inc (jn_test): Add missing L suffix.
42360 2012-02-06 Marek Polacek <polacek@redhat.com>
42362 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42363 * sysdeps/i386/fpu/e_powf.S: Likewise.
42364 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42365 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42366 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42367 * sysdeps/i386/fpu/e_pow.S: Likewise.
42368 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42369 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42370 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42371 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42372 * sysdeps/i386/fpu/e_log2.S: Likewise.
42373 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42374 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42375 * sysdeps/i386/fpu/e_powl.S: Likewise.
42376 * sysdeps/i386/fpu/s_log1p.S: Likewise.
42377 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42378 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42379 * sysdeps/i386/fpu/e_logl.S: Likewise.
42380 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42381 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42382 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42383 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42384 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42385 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42386 * sysdeps/i386/fpu/e_log.S: Likewise.
42387 * sysdeps/i386/fpu/s_cexp.S: Likewise.
42388 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42389 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42390 * sysdeps/i386/fpu/e_logf.S: Likewise.
42391 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42392 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42393 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42394 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42395 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42396 * sysdeps/i386/fpu/e_log10.S: Likewise.
42397 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42398 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42399 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42400 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42401 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42402 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42403 * sysdeps/i386/asm-syntax.h: Likewise.
42404 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42405 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42406 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42407 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42408 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42409 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42410 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42411 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42412 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42413 * sysdeps/powerpc/sysdep.h: Likewise.
42414 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42415 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42417 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42420 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42422 2012-02-06 Joseph Myers <joseph@codesourcery.com>
42424 * sysdeps/i386/sysdep.h: Include <features.h>.
42425 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42428 2012-02-05 Joseph Myers <joseph@codesourcery.com>
42430 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42432 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42435 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42437 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42438 (SETUP_PIC_REG): Use GET_PC_THUNK.
42439 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42442 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42444 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42445 for non-PIC compilation.
42446 (SETUP_PIC_REG): Add .p2align directive.
42447 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42448 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42449 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42450 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42451 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42452 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42453 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42454 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42455 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42456 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42457 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42458 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42459 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42460 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42461 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42462 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42463 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42464 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42465 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42466 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42467 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42468 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42469 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42470 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42471 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42472 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42473 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42474 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42475 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42476 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42477 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42478 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42479 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42480 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42481 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42482 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42483 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42484 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42485 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42486 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42487 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42489 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42491 * math/tst-CMPLX.c: Include <stdio.h>.
42493 2012-01-31 Joseph Myers <joseph@codesourcery.com>
42495 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42497 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42498 * sysdeps/sparc/bits/mathdef.h: Likewise.
42500 2012-01-31 Marek Polacek <polacek@redhat.com>
42502 * libio/libio.h: Don't define _PARAMS.
42503 * locale/programs/config.h: Don't define PARAMS.
42504 * stdlib/strtol_l.c: Likewise.
42505 (__strtol_l): Remove PARAMS from the prototype.
42507 2012-01-31 Ulrich Drepper <drepper@gmail.com>
42509 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
42510 names. Just use the correct names. Remove unnecessary wrapper
42512 * malloc/arena.c: Likewise.
42513 * malloc/hooks.c: Likewise.
42515 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42516 ARENA_TEST says not to. Simplify test for creation of a new arena.
42517 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42519 2012-01-30 Ulrich Drepper <drepper@gmail.com>
42521 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42523 (update_get_addr): New function.
42524 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42525 GET_ADDR_MODULE parameter.
42527 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42529 * crypt/cert.c: Remove __STDC__ conditionals.
42530 * crypt/crypt-entry.c: Likewise.
42531 * crypt/crypt_util.c: Likewise.
42532 * libio/filedoalloc.c: Likewise.
42533 * libio/fileops.c: Likewise.
42534 * libio/genops.c: Likewise.
42535 * libio/iofclose.c: Likewise.
42536 * libio/iofdopen.c: Likewise.
42537 * libio/iofopen.c: Likewise.
42538 * libio/iofopen64.c: Likewise.
42539 * libio/iogetdelim.c: Likewise.
42540 * libio/iopopen.c: Likewise.
42541 * libio/obprintf.c: Likewise.
42542 * libio/oldfileops.c: Likewise.
42543 * libio/oldiofclose.c: Likewise.
42544 * libio/oldiofdopen.c: Likewise.
42545 * libio/oldiofopen.c: Likewise.
42546 * libio/oldiopopen.c: Likewise.
42547 * libio/wfiledoalloc.c: Likewise.
42548 * libio/wgenops.c: Likewise.
42549 * locale/programs/xmalloc.c: Likewise.
42550 * misc/syslog.c: Likewise.
42551 * stdio-common/xbug.c: Likewise.
42552 * string/memchr.c: Likewise.
42553 * string/memcmp.c: Likewise.
42554 * string/memrchr.c: Likewise.
42555 * string/rawmemchr.c: Likewise.
42556 * sysdeps/posix/getcwd.c: Likewise.
42557 * time/strftime_l.c: Likewise.
42559 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42561 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42562 * config.make.in (config-cflags-sse2avx): Define.
42563 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42566 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
42568 * scripts/config.guess: Update from upstream config git repository.
42569 * scripts/config.sub: Likewise.
42571 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
42573 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42575 (R_TILEPRO_*, R_TILEGX_*): New macros.
42577 * scripts/firstversions.awk: Fix bug in version range handling.
42579 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42581 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42583 * include/sys/epoll.h: New file.
42584 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42587 2012-01-28 Ulrich Drepper <drepper@gmail.com>
42589 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42590 Avoid unnecessary __WORDSIZE == 64 test.
42591 (fmaxf): Use VEX format if possible.
42596 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42597 * math/math_private.h: Remove libc_fegetround* and
42599 * sysdeps/i386/configure.in: Check for -msse2avx.
42600 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42601 also if SSE2AVX is defined.
42602 Remove libc_fegetround* and libc_fesetround*.
42603 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42604 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
42605 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42607 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42608 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42609 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42610 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42611 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42613 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42615 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42617 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42619 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42621 2012-01-27 Ulrich Drepper <drepper@gmail.com>
42624 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42626 * Makeconfig (libm): Define.
42627 * elf/Makefile: Add rules to build and run tst-relsort1.
42628 * elf/tst-relsort1.c: New file.
42629 * elf/tst-relsort1mod1.c: New file.
42630 * elf/tst-relsort1mod2.c: New file.
42632 2012-01-27 Joseph Myers <joseph@codesourcery.com>
42634 * math/s_ldexp.c: Remove __STDC__ conditionals.
42635 * math/s_ldexpf.c: Likewise.
42636 * math/s_ldexpl.c: Likewise.
42637 * math/s_nextafter.c: Likewise.
42638 * math/s_nexttowardf.c: Likewise.
42639 * math/s_significand.c: Likewise.
42640 * math/s_significandf.c: Likewise.
42641 * math/s_significandl.c: Likewise.
42642 * math/w_jnl.c: Likewise.
42643 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42644 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42645 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42646 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42647 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42648 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42649 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42650 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42651 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42652 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42653 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42654 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42655 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42656 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42657 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42658 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42659 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42660 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42661 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42662 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42663 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42664 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42665 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42666 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42667 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42668 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42669 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42670 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42671 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42672 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42673 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42674 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42675 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42676 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42677 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42678 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42679 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42680 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42681 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42682 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42683 * sysdeps/ieee754/k_standard.c: Likewise.
42684 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42685 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42686 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42687 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42688 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42689 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42690 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42691 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42692 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42693 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42694 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42695 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42696 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42697 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42698 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42699 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42700 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42701 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42702 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42703 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42704 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42705 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42706 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42707 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42708 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42709 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42710 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42711 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42712 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42713 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42714 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42715 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42716 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42717 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42718 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42719 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42720 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42721 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42722 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42723 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42724 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42725 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42726 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42727 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42728 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42729 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42730 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42731 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42732 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42733 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42734 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42735 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42736 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42737 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42738 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42739 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42740 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42741 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42742 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42743 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42744 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42745 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42746 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42747 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42748 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42749 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42750 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42751 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42752 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42753 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42754 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42755 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42756 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42757 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42758 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42759 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42760 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42761 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42762 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42763 * sysdeps/ieee754/s_matherr.c: Likewise.
42764 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42765 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42766 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42767 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42769 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42771 * crypt/md5.h: Remove __STDC__ conditionals.
42772 * libio/libioP.h: Likewise.
42773 * locale/programs/config.h: Likewise.
42774 * sysdeps/generic/sysdep.h: Likewise.
42775 * sysdeps/i386/asm-syntax.h: Likewise.
42776 * sysdeps/s390/asm-syntax.h: Likewise.
42777 * sysdeps/unix/sysdep.h: Likewise.
42778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42781 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42783 * libio/libio.h: Remove __STDC__ conditionals.
42784 * malloc/obstack.h: Likewise.
42785 * math/complex.h: Likewise.
42786 * math/math.h: Likewise.
42787 * sysdeps/generic/_G_config.h: Likewise.
42788 * sysdeps/gnu/_G_config.h: Likewise.
42789 * sysdeps/mach/hurd/_G_config.h: Likewise.
42790 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42791 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42792 * sysdeps/sparc/bits/mathdef.h: Likewise.
42794 2012-01-26 Ulrich Drepper <drepper@gmail.com>
42797 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42798 Clean up HAS_* macros.
42799 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42800 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42802 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42804 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42805 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42806 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42807 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42808 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42810 2012-01-25 Joseph Myers <joseph@codesourcery.com>
42812 * elf/tst-unique3.cc (gets): Remove declaration.
42813 * elf/tst-unique3lib.cc (gets): Likewise.
42814 * elf/tst-unique3lib2.cc (gets): Likewise.
42815 * elf/tst-unique4.cc (gets): Likewise.
42817 2012-01-24 Ulrich Drepper <drepper@gmail.com>
42819 * include/stdio.h: Add C++ protection. Add gets declarations and
42821 * debug/tst-chk1.c: Don't declare gets here.
42822 * stdio-common/tst-gets.c: Likewise.
42824 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42826 * posix/glob: Remove directory.
42828 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42830 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42832 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42834 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42835 of the non-standard EPFNOSUPPORT.
42837 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42839 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42840 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42841 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42843 2012-01-21 Ulrich Drepper <drepper@gmail.com>
42845 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42847 2012-01-20 Ulrich Drepper <drepper@gmail.com>
42849 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42851 * nscd/grpcache.c (cache_addgr): Likewise.
42852 * nscd/hstcache.c (cache_addhst): Likewise.
42853 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42854 * nscd/pwdcache.c (cache_addpw): Likewise.
42855 * nscd/servicescache.c (cache_addserv): Likewise.
42857 2012-01-16 Ulrich Drepper <drepper@gmail.com>
42859 * malloc/malloc.c: Various cleanups.
42860 * malloc/hooks.c: Likewise.
42862 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42863 * stdlib/bug-fmtmsg1.c: New file.
42865 * stdlib/fmtmsg.c (init): Add missing unlock.
42866 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42868 2012-01-12 Marek Polacek <polacek@redhat.com>
42870 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42873 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42875 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42876 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42877 macro to ensure uniqueness of label name.
42878 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42879 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42881 2012-01-11 Ulrich Drepper <drepper@gmail.com>
42883 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42885 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42886 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42887 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42888 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42890 2012-01-10 Ulrich Drepper <drepper@gmail.com>
42892 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42894 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42895 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42896 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42898 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42900 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42901 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42902 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42903 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42905 * math/bits/math-finite.h: Add ldexp support.
42907 2012-01-10 Marek Polacek <polacek@redhat.com>
42909 * locale/programs/localedef.h (show_archive_content): Add noreturn
42912 2012-01-09 Ulrich Drepper <drepper@gmail.com>
42914 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42916 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42918 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42920 * io/Makefile (headers): Add bits/poll2.h.
42922 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42925 typo #include statement.
42927 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42929 * include/sys/cdefs.h: Define __attribute_alloc_size.
42930 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42931 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42932 * elf/pldd.c: Likewise.
42933 * iconv/iconv_charmap.c: Likewise.
42934 * iconv/iconvconfig.c: Likewise.
42935 * iconv/strtab.c: Likewise.
42936 * locale/programs/locale.c: Likewise.
42937 * locale/programs/localedef.h: Likewise.
42938 * locale/programs/simple-hash.c: Likewise.
42939 * nscd/nscd.h: Likewise.
42940 * nss/makedb.c: Likewise.
42941 * sysdeps/generic/ldconfig.h: Likewise.
42942 * locale/programs/localedef.c: Remove xmalloc prototype.
42943 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42945 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42947 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42950 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42952 * math/Makefile (tests): Add tst-CMPLX.
42953 * math/tst-CMPLX.c: New file.
42955 * math/complex.h (CMPLXL): Fix typo.
42957 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42958 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42960 * debug/tst-chk1.c: Add poll and ppoll tests.
42961 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42962 * include/sys/poll.h: Add hidden proto for ppoll.
42963 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42964 * sysdeps/mach/hurd/ppoll.c: Likewise.
42965 * io/ppoll.c: Likewise.
42966 * debug/poll_chk.c: New file.
42967 * debug/ppoll_chk.c: New file.
42968 * include/bits/poll2.h: New file.
42969 * io/bits/poll2.h: New file.
42972 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42974 * configure.in: static is always set to yes. Remove.
42975 * config.make.in: Don't set build-static.
42976 * Makeconfig: Remove use of build-static.
42977 * dlfcn/Makefile: Likewise.
42978 * elf/Makefile: Likewise.
42979 * math/Makefile: Likewise.
42980 * misc/Makefile: Likewise.
42981 * nptl/Makefile: Likewise.
42982 * sysdeps/mach/hurd/Makefile: Likewise.
42984 * configure.in: PWD_P is not used anymore.
42985 * config.make.in: Remove PWD_P entry.
42987 * configure.in: Remove last remnants of RANLIB.
42988 No need to check for signed size_t anymore.
42989 Don't set libc_commonpagesize and libc_relro_required here for Alpha
42991 Remove __builtin_expect test because we require at least gcc 3.4.
42992 * aclocal.m4: Likewise.
42994 * wcsmbs/mbrtoc16.c: Implement using towc function.
42995 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42996 * wcsmbs/wcsmbsload.c: Likewise.
42997 * iconv/gconv_simple.c: Likewise.
42998 * iconv/gconv_int.h: Likewise.
42999 * iconv/gconv_builtin.h: Likewise.
43000 * iconv/iconv_prog.c: Remove CHAR16 handling.
43002 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43004 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43006 * configure.in: Remove --with-elf and --enable-bounded options.
43007 Dont set base_machine for ia64. More non-ELF conditions removed.
43008 Remove testing and setting of leading underscore information.
43009 * config.make.in (build-bounded): Set to no.
43010 * config.h.in: Remove NO_UNDERSCORES entry.
43011 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
43013 * csu/start.c: Remove !NO_UNDERSCORE code.
43014 * locale/localeinfo.h: Likewise.
43015 * sysdeps/generic/machine-gmon.h: Likewise.
43016 * sysdeps/generic/sysdep.h: Likewise.
43017 * sysdeps/i386/sysdep.h: Likewise.
43018 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43019 * sysdeps/mach/sysdep.h: Likewise.
43020 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43021 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43022 * sysdeps/sh/sysdep.h: Likewise.
43023 * sysdeps/sparc/sparc32/alloca.S: Likewise.
43024 * sysdeps/unix/i386/sysdep.S: Likewise.
43025 * sysdeps/unix/sparc/start.c: Likewise.
43026 * sysdeps/unix/sparc/sysdep.S: Likewise.
43027 * sysdeps/unix/sparc/sysdep.h: Likewise.
43028 * sysdeps/unix/start.c: Likewise.
43029 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43030 * sysdeps/x86_64/sysdep.h: Likewise.
43032 2012-01-07 Ulrich Drepper <drepper@gmail.com>
43035 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43037 * argp/argp-fmtstream.h: Use const instead __const.
43038 * argp/argp.h: Likewise.
43039 * assert/assert.h: Likewise.
43040 * bits/fenv.h: Likewise.
43041 * bits/sched.h: Likewise.
43042 * bits/sigset.h: Likewise.
43043 * bits/sigthread.h: Likewise.
43044 * catgets/nl_types.h: Likewise.
43045 * conform/data/pthread.h-data: Likewise.
43046 * crypt/crypt-private.h: Likewise.
43047 * crypt/crypt.h: Likewise.
43048 * crypt/crypt_util.c: Likewise.
43049 * ctype/ctype.h: Likewise.
43050 * debug/execinfo.h: Likewise.
43051 * debug/mbsnrtowcs_chk.c: Likewise.
43052 * debug/mbsrtowcs_chk.c: Likewise.
43053 * debug/wcsnrtombs_chk.c: Likewise.
43054 * debug/wcsrtombs_chk.c: Likewise.
43055 * debug/wcstombs_chk.c: Likewise.
43056 * dirent/dirent.h: Likewise.
43057 * dlfcn/dlfcn.h: Likewise.
43058 * elf/neededtest4.c: Likewise.
43059 * grp/grp.h: Likewise.
43060 * gshadow/gshadow.h: Likewise.
43061 * iconv/gconv.h: Likewise.
43062 * iconv/gconv_int.h: Likewise.
43063 * iconv/gconv_simple.c: Likewise.
43064 * iconv/iconv.h: Likewise.
43065 * iconv/loop.c: Likewise.
43066 * iconv/skeleton.c: Likewise.
43067 * include/aio.h: Likewise.
43068 * include/aliases.h: Likewise.
43069 * include/argz.h: Likewise.
43070 * include/arpa/inet.h: Likewise.
43071 * include/assert.h: Likewise.
43072 * include/dirent.h: Likewise.
43073 * include/dlfcn.h: Likewise.
43074 * include/execinfo.h: Likewise.
43075 * include/fcntl.h: Likewise.
43076 * include/fenv.h: Likewise.
43077 * include/glob.h: Likewise.
43078 * include/grp.h: Likewise.
43079 * include/libintl.h: Likewise.
43080 * include/mntent.h: Likewise.
43081 * include/netdb.h: Likewise.
43082 * include/pwd.h: Likewise.
43083 * include/rpc/netdb.h: Likewise.
43084 * include/sched.h: Likewise.
43085 * include/search.h: Likewise.
43086 * include/shadow.h: Likewise.
43087 * include/signal.h: Likewise.
43088 * include/stdio.h: Likewise.
43089 * include/stdlib.h: Likewise.
43090 * include/string.h: Likewise.
43091 * include/sys/socket.h: Likewise.
43092 * include/sys/stat.h: Likewise.
43093 * include/sys/statfs.h: Likewise.
43094 * include/sys/statvfs.h: Likewise.
43095 * include/sys/syslog.h: Likewise.
43096 * include/sys/time.h: Likewise.
43097 * include/sys/uio.h: Likewise.
43098 * include/time.h: Likewise.
43099 * include/unistd.h: Likewise.
43100 * include/utmp.h: Likewise.
43101 * include/wchar.h: Likewise.
43102 * include/wctype.h: Likewise.
43103 * inet/aliases.h: Likewise.
43104 * inet/arpa/inet.h: Likewise.
43105 * inet/netinet/ether.h: Likewise.
43106 * inet/netinet/in.h: Likewise.
43107 * intl/libintl.h: Likewise.
43108 * io/bits/fcntl2.h: Likewise.
43109 * io/fcntl.h: Likewise.
43110 * io/ftw.h: Likewise.
43111 * io/sys/poll.h: Likewise.
43112 * io/sys/stat.h: Likewise.
43113 * io/sys/statfs.h: Likewise.
43114 * io/sys/statvfs.h: Likewise.
43115 * io/utime.h: Likewise.
43116 * libio/bits/stdio.h: Likewise.
43117 * libio/bits/stdio2.h: Likewise.
43118 * libio/libio.h: Likewise.
43119 * libio/libioP.h: Likewise.
43120 * libio/stdio.h: Likewise.
43121 * locale/lc-ctype.c: Likewise.
43122 * locale/locale.h: Likewise.
43123 * login/utmp.h: Likewise.
43124 * malloc/arena.c: Likewise.
43125 * malloc/malloc.c: Likewise.
43126 * malloc/malloc.h: Likewise.
43127 * malloc/mcheck.c: Likewise.
43128 * malloc/mtrace.c: Likewise.
43129 * math/bits/mathcalls.h: Likewise.
43130 * math/fenv.h: Likewise.
43131 * math/math_private.h: Likewise.
43132 * misc/bits/error.h: Likewise.
43133 * misc/bits/syslog.h: Likewise.
43134 * misc/err.h: Likewise.
43135 * misc/error.h: Likewise.
43136 * misc/fstab.h: Likewise.
43137 * misc/mntent.h: Likewise.
43138 * misc/regexp.h: Likewise.
43139 * misc/search.h: Likewise.
43140 * misc/sgtty.h: Likewise.
43141 * misc/sys/mman.h: Likewise.
43142 * misc/sys/syslog.h: Likewise.
43143 * misc/sys/uio.h: Likewise.
43144 * misc/sys/xattr.h: Likewise.
43145 * misc/ttyent.h: Likewise.
43146 * nis/rpcsvc/ypclnt.h: Likewise.
43147 * nss/nss.h: Likewise.
43148 * posix/bits/unistd.h: Likewise.
43149 * posix/fnmatch.h: Likewise.
43150 * posix/glob.h: Likewise.
43151 * posix/sched.h: Likewise.
43152 * posix/spawn.h: Likewise.
43153 * posix/sys/wait.h: Likewise.
43154 * posix/unistd.h: Likewise.
43155 * posix/wordexp.h: Likewise.
43156 * pwd/pwd.h: Likewise.
43157 * resolv/netdb.h: Likewise.
43158 * resource/sys/resource.h: Likewise.
43159 * rt/aio.h: Likewise.
43160 * rt/bits/mqueue2.h: Likewise.
43161 * rt/mqueue.h: Likewise.
43162 * shadow/shadow.h: Likewise.
43163 * signal/signal.h: Likewise.
43164 * socket/send.c: Likewise.
43165 * socket/sendto.c: Likewise.
43166 * socket/sys/socket.h: Likewise.
43167 * stdio-common/printf.h: Likewise.
43168 * stdlib/bits/stdlib.h: Likewise.
43169 * stdlib/fmtmsg.h: Likewise.
43170 * stdlib/monetary.h: Likewise.
43171 * stdlib/stdlib.h: Likewise.
43172 * stdlib/ucontext.h: Likewise.
43173 * streams/stropts.h: Likewise.
43174 * string/argz.h: Likewise.
43175 * string/bits/string2.h: Likewise.
43176 * string/string.h: Likewise.
43177 * string/strings.h: Likewise.
43178 * sunrpc/rpc/auth.h: Likewise.
43179 * sunrpc/rpc/auth_des.h: Likewise.
43180 * sunrpc/rpc/clnt.h: Likewise.
43181 * sunrpc/rpc/netdb.h: Likewise.
43182 * sunrpc/rpc/pmap_clnt.h: Likewise.
43183 * sunrpc/rpc/xdr.h: Likewise.
43184 * sysdeps/generic/inttypes.h: Likewise.
43185 * sysdeps/generic/net/if.h: Likewise.
43186 * sysdeps/generic/sys/swap.h: Likewise.
43187 * sysdeps/gnu/net/if.h: Likewise.
43188 * sysdeps/gnu/utmpx.h: Likewise.
43189 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43190 * sysdeps/i386/i486/bits/string.h: Likewise.
43191 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43192 * sysdeps/s390/bits/string.h: Likewise.
43193 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43194 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43195 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43196 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43197 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43198 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43199 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43200 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43201 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43202 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43203 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43204 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43205 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43206 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43207 * sysdeps/unix/sysv/linux/readv.c: Likewise.
43208 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43209 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43210 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43211 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43212 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43213 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43214 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43215 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43216 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43217 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43218 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43219 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43220 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43221 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43222 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43223 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43224 * sysvipc/sys/ipc.h: Likewise.
43225 * sysvipc/sys/msg.h: Likewise.
43226 * sysvipc/sys/sem.h: Likewise.
43227 * sysvipc/sys/shm.h: Likewise.
43228 * termios/termios.h: Likewise.
43229 * time/sys/time.h: Likewise.
43230 * time/time.h: Likewise.
43231 * wcsmbs/bits/wchar2.h: Likewise.
43232 * wcsmbs/uchar.h: Likewise.
43233 * wcsmbs/wchar.h: Likewise.
43234 * wctype/wctype.h: Likewise.
43237 * Makeconfig: Remove all but ELF support including AIX support.
43238 * Makerules: Likewise.
43239 * config.h.in: Likewise.
43240 * config.make.in: Likewise.
43241 * configure: Likewise.
43242 * configure.in: Likewise.
43243 * csu/Makefile: Likewise.
43244 * csu/version.c: Likewise.
43245 * debug/Makefile: Likewise.
43246 * dlfcn/Makefile: Likewise.
43247 * elf/Makefile: Likewise.
43248 * extra-lib.mk: Likewise.
43249 * iconv/Makefile: Likewise.
43250 * include/libc-symbols.h: Likewise.
43251 * include/shlib-compat.h: Likewise.
43252 * resolv/Makefile: Likewise.
43253 * resolv/res_libc.c: Likewise.
43254 * rt/Makefile: Likewise.
43255 * sysdeps/i386/asm-syntax.h: Likewise.
43256 * sysdeps/i386/sysdep.h: Likewise.
43257 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43258 * sysdeps/mach/sysdep.h: Likewise.
43259 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43260 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43261 * sysdeps/s390/asm-syntax.h: Likewise.
43262 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43263 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43264 * sysdeps/sh/sysdep.h: Likewise.
43265 * sysdeps/unix/sparc/sysdep.h: Likewise.
43266 * sysdeps/wordsize-32/divdi3.c: Likewise.
43267 * sysdeps/x86_64/sysdep.h: Likewise.
43269 * argp/Versions: Remove _argp_unlock_xxx.
43272 * abilist/ld.abilist: Update. Adjust for removal of tls option.
43273 * abilist/libBrokenLocale.abilist: Likewise.
43274 * abilist/libanl.abilist: Likewise.
43275 * abilist/libc.abilist: Likewise.
43276 * abilist/libcrypt.abilist: Likewise.
43277 * abilist/libdl.abilist: Likewise.
43278 * abilist/libm.abilist: Likewise.
43279 * abilist/libnsl.abilist: Likewise.
43280 * abilist/libpthread.abilist: Likewise.
43281 * abilist/libresolv.abilist: Likewise.
43282 * abilist/librt.abilist: Likewise.
43283 * abilist/libthread_db.abilist: Likewise.
43284 * abilist/libutil.abilist: Likewise.
43285 * abilist/libnss_db.abilist: New file.
43287 * scripts/abilist.awk: Add support for indirect functions.
43289 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43291 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43293 * shlib-versions: Remove entries for ports architectures.
43295 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
43297 * elf/stackguard-macros.h: Remove support for IA-64.
43298 * elf/tst-auditmod1.c: Likewise.
43299 * sysdeps/generic/ldsodefs.h: Likewise.
43301 * sysdeps/unix/sysv/linux/configure.in: Ports should define
43302 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43306 * configure.in: Remove --enable-omitfp support.
43308 * config.make.in: Likewise.
43309 * Makeconfig: Likewise.
43310 * manual/install.texi: Likewise.
43312 In case anyone cares, the IA-64 architecture could move to ports.
43313 * sysdeps/ia64/*: Removed.
43314 * sysdeps/unix/sysv/linux/ia64/*: Removed.
43315 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43318 * configure.in: Remove entries for unsupported architectures.
43321 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43322 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
43324 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43325 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43326 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
43327 fall back to using wcrtomb.
43328 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43329 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
43331 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43332 * wcsmbs/tst-c16c32-1.c: New file.
43334 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43337 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43339 * elf/tst-unique3.cc: Add explicit declaration of gets.
43340 * elf/tst-unique3lib.cc: Likewise.
43341 * elf/tst-unique3lib2.cc: Likewise.
43342 * elf/tst-unique4.cc: Likewise.
43344 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43346 2012-01-06 Joseph Myers <joseph@codesourcery.com>
43349 * assert/assert.h (static_assert): Don't define for C++.
43350 * libio/stdio.h (gets): Do declare for C++ <= C++11.
43351 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43353 2012-01-03 Ulrich Drepper <drepper@gmail.com>
43355 * iconv/loop.c (single loop): Fix assertion in storing of
43358 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43360 2012-01-01 Ulrich Drepper <drepper@gmail.com>
43362 * posix/getconf.c: Update copyright year.
43363 * nss/getent.c: Likewise.
43364 * nss/makedb.c: Likewise.
43365 * iconv/iconvconfig.c: Likewise.
43366 * iconv/iconv_prog.c: Likewise.
43367 * elf/ldconfig.c: Likewise.
43368 * elf/pldd.c: Likewise.
43369 * elf/sotruss.ksh: Likewise.
43370 * catgets/gencat.c: Likewise.
43371 * csu/version.c: Likewise.
43372 * elf/ldd.bash.in: Likewise.
43373 * elf/sprof.c (print_version): Likewise.
43374 * locale/programs/locale.c: Likewise.
43375 * locale/programs/localedef.c: Likewise.
43376 * login/programs/pt_chown.c: Likewise.
43377 * nscd/nscd.c (print_version): Likewise.
43378 * debug/xtrace.sh: Likewise.
43379 * malloc/memusage.sh: Likewise.
43380 * malloc/mtrace.pl: Likewise.
43381 * debug/catchsegv.sh: Likewise.
43383 2011-12-30 Jakub Jelinek <jakub@redhat.com>
43385 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43388 2011-12-24 Ulrich Drepper <drepper@gmail.com>
43391 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43392 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43394 * iconv/gconv_int.h: Likewise.
43395 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43396 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43397 from libc for GLIBC_2.16.
43398 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43399 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43400 * wcsmbs/uchar.h: Really define mbstate_t.
43401 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43402 * wcsmbs/c16rtomb.c: New file.
43403 * wcsmbs/mbrtoc16.c: New file.
43404 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43405 for C/POSIX locale.
43406 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43407 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43409 * wcsmbs/wchar.h: Add missing __restrict.
43411 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43414 * time/Makefile (routines): Add timespec_get.
43415 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43416 * time/time.h: Define TIME_UTC and declare timespec_get. Define
43417 timespec for ISO C11.
43418 * time/timespec_get.c: New file.
43419 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43420 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43423 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43424 * stdlib/stdlib.h: Declare aligned_alloc.
43425 * Versions.def: Add GLIBC_2.16 for libc.
43426 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43429 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43432 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43436 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43439 * assert/assert.h (static_assert): Define.
43441 * version.h: Update for 2.16 development version.
43444 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43447 * version.h (RELEASE): Bump for 2.15 release.
43448 * include/features.h (__GLIBC_MINOR__): Bump to 15.
43450 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43451 Patch by Marek Polacek <mpolacek@redhat.com>.
43453 * bits/byteswap.h: Protect long long constants with __extension__.
43454 * sysdeps/i386/bits/byteswap.h: Likewise.
43455 * sysdeps/ia64/bits/byteswap.h: Likewise.
43456 * sysdeps/s390/bits/byteswap.h: Likewise.
43457 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43459 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43462 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43463 destination buffer.
43464 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43466 2011-12-23 Marek Polacek <polacek@redhat.com>
43468 * elf/dl-addr.c (determine_info): Add inline keyword.
43469 * elf/tst-auditmod4b.c (check_avx): Likewise.
43470 * elf/tst-auditmod6b.c (check_avx): Likewise.
43471 * elf/tst-auditmod6c.c (check_avx): Likewise.
43472 * elf/tst-auditmod7b.c (check_avx): Likewise.
43474 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43476 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43479 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43482 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43483 processing for last bytes.
43485 2011-08-06 Bruno Haible <bruno@clisp.org>
43488 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43489 U+0385, not to U+1FEE.
43492 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43493 entry for U+00A5 U+0301.
43495 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43498 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43499 buffer for the output is too small.
43501 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43505 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43506 SSE flags if possible.
43508 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43511 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43512 processing for last bytes.
43514 2011-12-22 Joseph Myers <joseph@codesourcery.com>
43516 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43517 (syscall-list-default-options, syscall-list-default-condition)
43518 (syscall-list-includes): Define.
43519 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43520 list of ABIs and options and #if conditions for each ABI. Do not
43521 handle common syscalls between ABIs specially.
43522 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43524 (syscall-list-variants, syscall-list-32bit-options)
43525 (syscall-list-32bit-condition, syscall-list-64bit-options)
43526 (syscall-list-64bit-condition): Define.
43527 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43528 (syscall-list-variants, syscall-list-32bit-options)
43529 (syscall-list-32bit-condition, syscall-list-64bit-options)
43530 (syscall-list-64bit-condition): Define.
43531 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43533 (syscall-list-variants, syscall-list-32bit-options)
43534 (syscall-list-32bit-condition, syscall-list-64bit-options)
43535 (syscall-list-64bit-condition): Define.
43536 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43538 (syscall-list-variants, syscall-list-32bit-options)
43539 (syscall-list-32bit-condition, syscall-list-64bit-options)
43540 (syscall-list-64bit-condition): Define.
43542 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43544 * locale/iso-639.def: Add brx entry.
43547 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43548 Proposed by Mariusz_Cukr <marcukr@op.pl>.
43550 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43551 __feraiseexcept_renamed.
43553 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43556 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43557 EPOLLET with unsigned values.
43558 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43559 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43561 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43562 to large cancellation.
43563 * math/s_cacoshf.c: Likewise.
43564 * math/s_cacoshl.c: Likewise.
43566 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
43570 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43571 * math/s_cacoshf.c: Likewise.
43572 * math/s_cacoshl.c: Likewise.
43574 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43577 * iconv/gconv.h: Define __GCONV_SWAP.
43578 * iconvdata/unicode.c: The swap bit must be stored in __flags.
43579 * iconvdata/utf-16.c: Likewise.
43580 * iconvdata/utf-32.c: Likewise.
43582 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
43585 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43586 numerator after shifting it by one limb.
43588 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
43590 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43591 under [__USE_EXTERN_INLINES].
43593 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43596 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43598 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43600 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43601 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43603 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43604 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43605 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43606 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43607 for strncasecmp/strncasecmp_l compilation.
43608 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43609 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43611 2011-12-08 Marek Polacek <mpolacek@redhat.com>
43614 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43617 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43620 * time/tzfile.c (__tzfile_read): Check values from file header.
43622 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43624 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43625 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43626 * powerpc/powerpc32/dl-start.S: Likewise.
43627 * powerpc/powerpc32/elf/start.S: Likewise.
43628 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43629 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43630 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43631 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43632 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43633 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43634 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43635 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43636 * powerpc/powerpc32/fpu/s_round.S: Likewise.
43637 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43638 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43639 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43640 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43641 * powerpc/powerpc32/memset.S: Likewise.
43642 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43643 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43644 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43645 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43646 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43647 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43648 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43649 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43650 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43651 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43652 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43653 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43654 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43656 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43658 * math/libm-test.inc: Added more nearbyint tests.
43659 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43660 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43661 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43662 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43664 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43666 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43669 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43671 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43672 Add wcscpy-ssse3 wcscpy-c.
43673 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43674 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43675 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43676 * sysdeps/x86_64/wcschr.S: New file.
43677 * sysdeps/x86_64/wcsrchr.S: New file.
43678 * string/test-strcmp.c: Remove checking of wcscmp function for
43680 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43681 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43682 wcsrchr-sse2 wcsrchr-c.
43683 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43684 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43685 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43686 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43687 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43688 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43689 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43690 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43691 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43692 * wcsmbc/wcschr.c (WCSCHR): New macro.
43694 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43696 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43697 * wcsmbs/test-wcsrchr.c: New file.
43698 * string/test-strrchr.c: Add wcsrchr support.
43700 * wcsmbs/test-wcscpy.c: New file.
43701 * string/test-strcpy.c: Add wcscpy support.
43704 2011-12-10 Ulrich Drepper <drepper@gmail.com>
43706 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43709 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
43712 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43714 2011-12-04 Ulrich Drepper <drepper@gmail.com>
43716 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43717 Minor optimizations.
43719 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43720 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43721 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43723 2011-12-03 Ulrich Drepper <drepper@gmail.com>
43725 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43726 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43727 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43728 for gcc to avoid warnings.
43729 * inet/Makefile (tests): Add tst-checks.
43730 * inet/tst-checks.c: New file.
43732 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43735 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43738 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43739 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43741 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43743 2011-12-02 Ulrich Drepper <drepper@gmail.com>
43745 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43748 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43750 2011-11-29 Joseph Myers <joseph@codesourcery.com>
43752 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43753 conditional on GCC version.
43754 (__arch_compare_and_exchange_val_8_acq)
43755 (__arch_compare_and_exchange_val_16_acq)
43756 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43757 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43758 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43760 2011-12-02 Joseph Myers <joseph@codesourcery.com>
43762 * sysdeps/sh/backtrace.c: New file.
43764 2011-12-02 Andreas Schwab <schwab@redhat.com>
43766 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
43769 2011-12-01 Andreas Schwab <schwab@redhat.com>
43771 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43772 falling back to utime.
43774 2011-11-30 Andreas Schwab <schwab@redhat.com>
43776 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43777 expectations for float.
43779 2011-11-29 Andreas Schwab <schwab@redhat.com>
43781 * locale/weight.h (findidx): Add parameter len.
43782 * locale/weightwc.h (findidx): Likewise.
43783 * posix/fnmatch_loop.c (FCT): Adjust caller.
43784 * posix/regcomp.c (build_equiv_class): Likewise.
43785 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43786 * posix/regexec.c (check_node_accept_bytes): Likewise.
43787 * string/strcoll_l.c (STRCOLL): Likewise.
43788 * string/strxfrm_l.c (STRXFRM): Likewise.
43790 2011-11-17 Ulrich Drepper <drepper@gmail.com>
43792 * Makefile.in: Remove CVSOPT handling.
43793 * configure.in: Remove use of AC_REVISION.
43794 * iconvdata/Makefile (distribute): No need to filter out CVS.
43795 * scripts/list-sources.sh: Remove CVS, subversion and monotone
43798 2011-11-16 Andreas Schwab <schwab@redhat.com>
43800 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43801 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43802 [USE_AS_STRNCASECMP_L]: Likewise.
43803 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43804 NO_TLS_DIRECT_SEG_REFS.
43805 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43806 Fix argument offsets for non-PIC.
43807 [USE_AS_STRNCASECMP_L]: Likewise.
43808 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43809 NO_TLS_DIRECT_SEG_REFS.
43811 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43813 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43815 * locale/loadlocale.c (_nl_load_locale): Likewise.
43817 2011-11-15 Andreas Schwab <schwab@redhat.com>
43819 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43820 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43821 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43822 (SYSCALL_GETTIME): Set errno on error.
43824 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43825 count references to noai6ai_cached.
43827 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43829 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43831 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43832 FD_CLOEXEC for /proc/self/maps.
43834 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43835 FD_CLOEXEC for /proc/meminfo.
43837 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43840 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43841 FD_CLOEXEC for given file.
43843 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43845 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43846 FD_CLOEXEC for /etc/hosts.
43847 (_gethtent): Likewise.
43849 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43851 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43852 cancellation and set FD_CLOEXEC for /etc/netgroup.
43854 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43855 reading /etc/publickey.
43857 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43858 allow cancellation when reading /etc/group.
43860 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43862 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43864 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43865 when using data file.
43867 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43869 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43870 (write_nis_obj): Use "c" and "e" in fopen.
43872 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43874 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43876 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43878 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43880 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43883 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43885 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43887 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43889 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43890 file parsing and set FD_CLOEXEC.
43892 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43894 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43896 2011-11-14 Andreas Schwab <schwab@redhat.com>
43898 * malloc/arena.c (arena_get2): Don't call reused_arena when
43899 _int_new_arena failed.
43901 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43903 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43904 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43905 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43906 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43907 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43908 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43909 to compile strcasecmp and strncasecmp.
43910 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43911 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43913 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43915 2011-11-13 Ulrich Drepper <drepper@gmail.com>
43917 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43918 locale-defines.sym to gen-as-const-headers.
43919 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43920 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43921 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43922 to compile strcasecmp and strncasecmp.
43923 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43924 strcasecmp_l and strncasecmp_l.
43925 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43926 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43927 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43928 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43929 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43930 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43931 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43932 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43933 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43934 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43935 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43937 2011-11-12 Ulrich Drepper <drepper@gmail.com>
43939 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43940 result of SYSDEP_GETTIME_CPU to retval.
43941 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43942 parameter list to macro. Remove trailing semicolon. Adjust users.
43944 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43947 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43949 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43951 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43952 from unused variable.
43954 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43956 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43959 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43962 * sunrpc/rpc_prot.c (rejected): Fix case value.
43964 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43965 unsigned long long int to avoid warnings in shift.
43967 * posix/regex_internal.c (re_string_reconstruct): Actually use result
43969 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43972 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43973 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43974 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43976 * nis/nis_table.c (nis_list): Use variable of correct type for
43977 result of __follow_path call.
43979 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43981 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43982 of math functions ceil, trunc, floor, round, and sqrt, when
43983 avaliable on the platform.
43984 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43986 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43987 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43988 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43990 2011-10-30 Marek Polacek <mpolacek@redhat.com>
43992 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43993 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43995 2011-11-11 Roland McGrath <roland@hack.frob.com>
43997 * include/unistd.h: Fix __readlink return type.
43998 Reported by Chris Metcalf <cmetcalf@tilera.com>.
44000 2011-11-11 Ulrich Drepper <drepper@gmail.com>
44002 * stdlib/ucontext.h: Undo last change for makecontext.
44004 2011-11-11 Andreas Schwab <schwab@redhat.com>
44006 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44008 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44009 * setjmp/setjmp.h: Mark functions as non-leaf.
44010 * setjmp/bits/setjmp2.h: Likewise.
44011 * stdlib/ucontext.h: Likewise.
44013 2011-11-10 Andreas Schwab <schwab@redhat.com>
44015 * malloc/arena.c (_int_new_arena): Don't increment narenas.
44016 (reused_arena): Don't check arena limit.
44017 (arena_get2): Atomically check arena limit.
44019 2011-11-08 Ulrich Drepper <drepper@gmail.com>
44021 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44022 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44024 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44027 2011-11-07 Andreas Schwab <schwab@redhat.com>
44029 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44030 handler when locking.
44032 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44033 Fix size of allocated buffer.
44035 2011-11-04 Andreas Schwab <schwab@redhat.com>
44038 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44039 declarations for long double functions.
44040 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44042 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44044 2011-11-03 Andreas Schwab <schwab@redhat.com>
44046 * nscd/nscd.c (main): Don't start AVC thread until credentials are
44049 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44052 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
44054 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44056 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
44058 * include/alloca.h (stackinfo_alloca_round): Define.
44059 (extend_alloca): Use it.
44060 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44061 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44064 * scripts/check-local-headers.sh: Ignore libaudit.h.
44066 * nscd/Makefile (extra-objs): Make recursively expanded.
44068 2011-11-01 Ulrich Drepper <drepper@gmail.com>
44070 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44071 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44073 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44074 * posix/tst-rfc3484-2.c: Likewise.
44075 * posix/tst-rfc3484-3.c: Likewise.
44077 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44079 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44081 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44082 process_vm_writev from libc using GLIBC_2.15 version.
44084 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44086 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
44088 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44091 2011-10-31 Ulrich Drepper <drepper@gmail.com>
44094 * nss/getent.c (initgroups_keys): Show error message in case no group
44097 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44098 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44099 __bump_nl_timestamp.
44100 * nscd/connections (nscd_init): When host database is served open
44101 netlink socket and request notification about configuration changes.
44102 (main_loop_poll): Track netlink file descriptor and bump timestamp
44103 in case data becomes available.
44104 (main_loop_epoll): Likewise.
44105 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44106 (database_pers_head): Add extra_data fileds.
44107 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44108 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44109 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44111 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44112 in6ai data, call __free_in6ai.
44113 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44114 Add -DHAVE_NETLINK.
44115 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
44116 interface information. Reuse previous data if netlink timestamp
44118 (__bump_nl_timestamp): New function.
44119 (__free_in6ai): New function.
44121 2011-10-30 Ulrich Drepper <drepper@gmail.com>
44123 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44124 close_not_cancel_no_status here.
44125 (__check_pf): Reorganize code a bit to not call close twice if OOM.
44127 2011-10-29 Ulrich Drepper <drepper@gmail.com>
44130 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44133 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44134 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44135 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44137 2011-07-03 Andreas Jaeger <aj@suse.de>
44140 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44141 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44142 * math/libm-test.inc (sin_test): Add test case.
44144 2011-10-29 Ulrich Drepper <drepper@gmail.com>
44147 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44148 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44150 * elf/chroot_canon.c (chroot_canon): Cleanups.
44152 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44155 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44156 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44158 * string/test-strchr.c: Make usable for strchrnul testing.
44159 * string/test-strchrnul.c: New file.
44160 * string/Makefile (strop-tests): Add strchrnul.
44162 * po/it.po: Update from translation team.
44163 * po/es.po: Likewise.
44165 2011-10-28 Ulrich Drepper <drepper@gmail.com>
44167 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44168 the three constants needed as parameters. Drop the others.
44169 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44170 __m128i_strloadu_tolower.
44171 Create and initialize variable zero and use it in all the places
44172 where _mm_setzero_si128 was used.
44174 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44175 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44176 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44177 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44179 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44180 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44181 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44182 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44183 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44184 __mpranred, __mptan.
44185 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44186 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44187 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44188 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44189 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44190 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44191 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44192 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44193 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44195 2011-10-28 Andreas Schwab <schwab@redhat.com>
44197 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44198 redefine if SHARED.
44199 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44201 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44202 wide char related routines to wcsmbs subdir.
44204 2011-10-27 Andreas Schwab <schwab@redhat.com>
44207 * misc/sys/cdefs.h (__THROWNL): Define.
44208 * posix/unistd.h: Use __THREADNL instead of __THREAD
44209 for memory synchronization functions.
44211 2011-10-26 Roland McGrath <roland@hack.frob.com>
44214 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44216 * manual/stdio.texi (Obstack Streams): Node removed.
44218 2011-10-26 Andreas Schwab <schwab@redhat.com>
44220 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44221 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44222 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44224 * math/math_private.h (math_force_eval): Allow non-addressable
44226 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44228 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44230 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44231 file is not needed.
44233 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44234 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44235 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44236 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44237 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44238 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44239 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44240 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44242 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44243 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44244 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44245 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44246 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44247 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44248 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44249 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44250 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44251 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44252 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44253 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44254 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44255 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44256 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44257 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44258 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44259 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44260 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44262 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44263 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
44265 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44266 place. Use VEX encoding when compiling for AVX.
44268 2011-10-25 Andreas Schwab <schwab@redhat.com>
44270 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44271 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44273 * string/test-strchr.c (do_test): Don't generate NUL bytes.
44275 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44277 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44278 useless if() expression.
44279 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44280 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44281 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44282 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44283 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44284 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44285 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44286 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44287 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44288 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44289 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44290 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44291 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44292 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44293 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44294 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44295 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44296 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44297 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44299 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44301 2011-10-25 Andreas Schwab <schwab@redhat.com>
44303 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44305 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44307 2011-10-25 Ulrich Drepper <drepper@gmail.com>
44309 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44310 .text section. Avoid duplicate constants.
44311 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44312 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44313 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44314 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44315 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44316 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44317 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44318 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44319 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44320 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44321 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44322 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44323 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44324 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44325 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44326 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44327 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44328 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44329 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44330 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44331 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44332 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44333 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44334 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44335 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44336 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44337 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44338 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44339 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44340 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44341 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44342 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44343 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44344 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44345 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44346 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44347 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44348 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44349 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44350 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44351 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44352 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44353 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44354 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44355 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44357 2011-10-24 Ulrich Drepper <drepper@gmail.com>
44359 * sysdeps/x86_64/dla.h: Move to ...
44360 * sysdeps/x86_64/fpu/dla.h: ...here.
44361 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44362 situations. Use __builtin_fma only for gcc 4.6 and up.
44364 * config.make.in: Add have-mfma4 entry.
44365 * configure.in: Substitute libc_cv_cc_fma4.
44366 * math/Makefile (dbl-only-routines): Add sincostab.
44367 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44368 Use __sincostab not sincos.
44369 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44371 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44372 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44373 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44374 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
44376 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
44377 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
44378 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44379 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44381 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44382 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44384 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
44385 define aliases when function name is a macro.
44386 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44387 sysdeps/ieee754/dbl-64/sincos.tbl.
44388 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44389 fma4-enabled routines.
44390 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44391 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44392 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44393 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44394 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44395 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44396 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44397 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44398 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44399 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44400 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44401 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44402 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44403 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44404 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44405 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44406 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44407 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44408 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44409 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44410 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44411 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44412 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44413 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44414 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44415 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44416 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44417 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44418 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44419 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44421 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44423 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44424 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44425 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44426 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44427 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44428 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44429 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44430 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44432 2011-10-24 Andreas Schwab <schwab@redhat.com>
44434 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44436 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44438 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44440 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44442 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44444 * string/strnlen.c: Don't define STRNLEN, reverse logic.
44445 Remove unused variable magic_bits.
44446 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44448 * string/strnlen.c: Define and use STRNLEN macro.
44449 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44450 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44451 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44452 * wcsmbs/wcslen.c: Define and use WCSLEN.
44453 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44454 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44455 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44456 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44457 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44458 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44459 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44461 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44463 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44464 strnlen-sse2-no-bsf.
44465 Rename strlen-no-bsf to strlen-sse2-no-bsf.
44466 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44467 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44468 Add strnlen support.
44469 (USE_AS_STRNLEN): New macro.
44470 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44471 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44472 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44473 * sysdeps/x86_64/wcslen.S: New file.
44475 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
44477 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44478 XMM-moves are used for copying on small sizes.
44480 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44482 * wcsmbs/Makefile (strop-tests): Add wcschr.
44483 * wcsmbs/test-wcschr.c: New file.
44484 * string/test-strchr.c: Update.
44485 Add wcschr support.
44488 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44490 * wcsmbs/Makefile (strop-tests): Add wcslen.
44491 * wcsmbs/test-wcslen.c: New file.
44492 * string/test-strlen.c: Update.
44493 Add wcslen support.
44496 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44498 * po/it.po: Update from translation team.
44500 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44502 * sysdeps/x86_64/wcscmp.S: Update.
44503 Fix wrong comparison semantics.
44504 wcscmp shall use signed comparison not unsigned.
44505 Don't use substraction to avoid overflow bug.
44506 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44507 * wcsmbc/wcscmp.c: Likewise.
44508 * string/test-strcmp.c: Likewise.
44509 Add new tests to check cases with negative values.
44511 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44513 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44514 * sysdeps/x86_64/dla.h: ...here. New file.
44515 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44516 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44517 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44518 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44519 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44520 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44521 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44522 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44523 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44525 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
44527 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44528 __ynl_finite aliases.
44530 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44532 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44534 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44536 [DLA_FMA] (EMULV): Use DLA_FMA.
44537 [DLA_FMA] (MUL12): Use EMULV.
44538 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44539 that are not needed.
44540 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44541 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44542 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44543 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44544 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44545 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44546 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44548 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
44550 * math/s_nan.c: Undef __nan.
44551 * math/s_nanf.c: Undef __nanf.
44552 * math/s_nanl.c: Undef __nanl.
44553 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44556 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44558 * math/s_catan.c: Add branch predictions.
44559 * math/s_catanf.c: Likewise.
44560 * math/s_catanh.c: Likewise.
44561 * math/s_catanhf.c: Likewise.
44562 * math/s_catanhl.c: Likewise.
44563 * math/s_catanl.c: Likewise.
44564 * math/s_cexp.c: Likewise.
44565 * math/s_cexpf.c: Likewise.
44566 * math/s_cexpl.c: Likewise.
44567 * math/s_clog.c: Likewise.
44568 * math/s_clog10.c: Likewise.
44569 * math/s_clog10f.c: Likewise.
44570 * math/s_clog10l.c: Likewise.
44571 * math/s_clogf.c: Likewise.
44572 * math/s_clogl.c: Likewise.
44573 * math/s_csqrt.c: Likewise.
44574 * math/s_csqrtf.c: Likewise.
44575 * math/s_csqrtl.c: Likewise.
44576 * math/s_ctanf.c: Likewise.
44577 * math/s_ctanh.c: Likewise.
44578 * math/s_ctanhf.c: Likewise.
44579 * math/s_ctanhl.c: Likewise.
44580 * math/s_ctanl.c: Likewise.
44582 * math/math_private.h: Define __nan, __nanf, __nanl.
44583 * math/s_cacosh.c: Include <math_private.h>.
44584 * math/s_cacoshl.c: Likewise.
44585 * math/s_casinh.c: Likewise.
44586 * math/s_casinhf.c: Likewise.
44587 * math/s_casinhl.c: Likewise.
44588 * math/s_ccos.c: Rely entire on ccosh.
44589 * math/s_ccosf.c: Rely entire on ccoshf.
44590 * math/s_ccosl.c: Rely entirely on ccoshl.
44591 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
44592 Remove tests for FE_INVALID.
44593 * math/s_ccoshf.c: Likewise.
44594 * math/s_ccoshl.c: Likewise.
44595 * math/s_csin.c: Likewise.
44596 * math/s_csinf.c: Likewise.
44597 * math/s_csinh.c Likewise.
44598 * math/s_csinhf.c: Likewise.
44599 * math/s_csinhl.c: Likewise.
44600 * math/s_csinl.c: Likewise.
44601 * math/s_ctan.c: Likewise.
44602 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44603 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44604 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44606 2011-10-21 Ulrich Drepper <drepper@gmail.com>
44608 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44609 compilation problems.
44611 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44614 2011-10-20 Ulrich Drepper <drepper@gmail.com>
44616 * sysdeps/i386/configure.in: Test for -mfma4 option.
44617 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44618 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44619 COMMON_CPUID_INDEX_80000001.
44620 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44621 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44622 use it if FMA3 is not supported.
44623 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44625 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44626 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44628 2011-10-20 Andreas Schwab <schwab@redhat.com>
44631 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44632 it would create a cycle with a link time dependency.
44634 2011-10-19 Ulrich Drepper <drepper@gmail.com>
44636 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44638 * string/Makefile (strop-tests): Add rawmemchr.
44639 * string/test-rawmemchr.c: New file.
44641 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44642 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44643 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44644 when compiling str{,n}casecmp and when AVX is available. Hook up
44645 new optimized code in initializers.
44647 2011-10-19 Andreas Schwab <schwab@redhat.com>
44649 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44650 __feraiseexcept instead of feraiseexcept.
44652 2011-10-18 Ulrich Drepper <drepper@gmail.com>
44654 * math/math_private.h: Define defaults for libc_fetestexcept and
44656 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44657 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44658 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44659 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44660 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44661 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44662 libc_fetestexcept and libc_feupdateenv.
44664 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44665 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44666 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44667 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44668 libc_feholdexcept_setround.
44670 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44671 Add s_nearbyint-c and s_nearbyintf-c.
44672 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44673 nearbyintf inlines.
44674 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44675 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44676 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44677 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44679 * math/math_private.h: Define defaults for libc_fegetround,
44680 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44681 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44682 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44683 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44684 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44685 standard functions.
44686 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44687 Remove comments and hacks for old compiler versions.
44688 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44689 libc_fegetround, libc_fesetround, libc_feholdexcept, and
44690 libc_feholdexceptl.
44692 2011-10-18 Andreas Schwab <schwab@redhat.com>
44694 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44695 (__feraiseexcept_renamed): Add __NTH.
44696 (feraiseexcept): Add __NTH. Rename local variables to fix
44697 namespace violations.
44699 2011-10-17 Ulrich Drepper <drepper@gmail.com>
44701 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44703 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44705 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44706 recently added interfaces.
44707 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44709 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44710 about macro parameter expansion.
44712 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44713 __NO_MATH_INLINES is defined. Cleanups.
44715 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44716 and __floorf is target has SSE4.1.
44717 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44718 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44719 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44720 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44722 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44724 (floorf): Likewise.
44726 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44728 2011-10-17 Andreas Schwab <schwab@redhat.com>
44730 * misc/sys/cdefs.h: Fix last change.
44732 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44735 2011-10-16 Ulrich Drepper <drepper@gmail.com>
44737 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44739 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44740 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44741 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44742 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44743 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44744 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44745 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44746 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44747 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44748 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44749 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44750 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44751 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44752 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44753 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44754 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44755 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44756 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44757 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44758 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44759 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44760 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44762 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44763 ceil, ceilf, floor, floorf.
44765 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44766 Perform IRELATIVE relocations last.
44768 * elf/do-rel.h: Add another parameter nrelative, replacing the
44769 local variable with the same name. Change name of the function
44770 to end in Rel or Rela (uppercase).
44771 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44772 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
44773 elf_dynamic_do_##reloc function.
44775 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44777 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44778 is sufficient, at least on modern CPUs.
44780 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44782 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44783 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44785 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44787 * math/bits/math-finite.h: Add entries for exp.
44788 * math/e_expl.c: Add __*_finite alias.
44789 * sysdeps/i386/fpu/e_exp.S: Likewise.
44790 * sysdeps/i386/fpu/e_expf.S: Likewise.
44791 * sysdeps/i386/fpu/e_expl.c: Likewise.
44792 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44793 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44794 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44795 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44796 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44797 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44798 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44800 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44801 is sufficient, at least on modern CPUs.
44803 * ctype/ctype-info.c (__ctype_init): Define.
44804 * include/ctype.h (__ctype_init): Declare.
44805 (__ctype_b_loc): The variable is always initialized.
44806 (__ctype_toupper_loc): Likewise.
44807 (__ctype_tolower_loc): Likewise.
44808 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44809 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44811 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
44813 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44815 * configure.in: Also look in $cxxmachine/include for C++ system
44818 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44820 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44821 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44822 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44823 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44824 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44825 (USE_AS_WMEMCMP): New macro.
44827 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44828 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44829 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44830 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44831 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44832 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44833 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44834 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44835 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44836 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44837 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44838 (USE_AS_WMEMCMP): New macro.
44839 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44840 * sysdeps/string/test-memcmp.c: Update.
44841 Fix simple_wmemcmp.
44843 * wcsmbs/wmemcmp.c: Update.
44844 (WMEMCMP): New macro.
44847 2011-10-12 Andreas Jaeger <aj@suse.de>
44850 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44852 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44854 * libio/iofwide.c (do_length): Avoid warning.
44856 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44858 2011-10-14 Ulrich Drepper <drepper@gmail.com>
44860 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44862 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44863 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44864 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44865 * sysdeps/i386/i686/fpu/e_log.S: New file.
44866 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44867 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44869 * ctype/ctype.h: Add support for inlined isXXX functions when
44870 compiling C++ code.
44872 2011-10-14 Andreas Schwab <schwab@redhat.com>
44874 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44876 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44878 2011-10-13 Roland McGrath <roland@hack.frob.com>
44881 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44883 2011-10-13 Andreas Schwab <schwab@redhat.com>
44885 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44886 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44889 * sysdeps/x86_64/memrchr.S: Check for zero size.
44891 * string/stratcliff.c: Add memrchr tests.
44893 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44895 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44896 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44897 rawmemchr-sse2 rawmemchr-sse2-bsf.
44898 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44899 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44900 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44901 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44902 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44903 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44904 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44905 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44906 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44907 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44908 * string/memrchr.c (MEMRCHR): New macro.
44910 2011-10-12 Ulrich Drepper <drepper@gmail.com>
44912 Add integration with gcc's -ffinite-math-only and optimize wrapper
44914 * Versions.def: Define GLIBC_2.15 version for libm.
44915 * math/Makefile (headers): Add bits/math-finite.h.
44916 * math/bits/math-finite.h: New file.
44917 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44918 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44919 * math/e_acoshl.c: Add __*_finite alias.
44920 * math/e_acosl.c: Likewise.
44921 * math/e_asinl.c: Likewise.
44922 * math/e_atan2l.c: Likewise.
44923 * math/e_atanhl.c: Likewise.
44924 * math/e_coshl.c: Likewise.
44925 * math/e_exp10.c: Likewise.
44926 * math/e_exp10f.c: Likewise.
44927 * math/e_exp10l.c: Likewise.
44928 * math/e_exp2l.c: Likewise.
44929 * math/e_fmodl.c: Likewise.
44930 * math/e_gammal_r.c: Likewise.
44931 * math/e_hypotl.c: Likewise.
44932 * math/e_j0l.c: Likewise.
44933 * math/e_j1l.c: Likewise.
44934 * math/e_jnl.c: Likewise.
44935 * math/e_lgammal_r.c: Likewise.
44936 * math/e_log10l.c: Likewise.
44937 * math/e_log2l.c: Likewise.
44938 * math/e_logl.c: Likewise.
44939 * math/e_powl.c: Likewise.
44940 * math/e_sinhl.c: Likewise.
44941 * math/e_sqrtl.c: Likewise.
44942 * math/e_scalb.c: Completely rewritten and optimized.
44943 * math/e_scalbf.c: Likewise.
44944 * math/e_scalbl.c: Likewise.
44945 * math/w_acos.c: Likewise.
44946 * math/w_acosf.c: Likewise.
44947 * math/w_acosl.c: Likewise.
44948 * math/w_acosh.c: Likewise.
44949 * math/w_acoshf.c: Likewise.
44950 * math/w_acoshl.c: Likewise.
44951 * math/w_asin.c: Likewise.
44952 * math/w_asinf.c: Likewise.
44953 * math/w_asinl.c: Likewise.
44954 * math/w_atan2.c: Likewise.
44955 * math/w_atan2f.c: Likewise.
44956 * math/w_atan2l.c: Likewise.
44957 * math/w_atanh.c: Likewise.
44958 * math/w_atanhf.c: Likewise.
44959 * math/w_atanhl.c: Likewise.
44960 * math/w_exp10.c: Likewise.
44961 * math/w_exp10f.c: Likewise.
44962 * math/w_exp10l.c: Likewise.
44963 * math/w_fmod.c: Likewise.
44964 * math/w_fmodf.c: Likewise.
44965 * math/w_fmodl.c: Likewise.
44966 * math/w_j0.c: Likewise.
44967 * math/w_j0f.c: Likewise.
44968 * math/w_j0l.c: Likewise.
44969 * math/w_j1.c: Likewise.
44970 * math/w_j1f.c: Likewise.
44971 * math/w_j1l.c: Likewise.
44972 * math/w_jn.c: Likewise.
44973 * math/w_jnf.c: Likewise.
44974 * math/w_log.c: Likewise.
44975 * math/w_logf.c: Likewise.
44976 * math/w_logl.c: Likewise.
44977 * math/w_log10.c: Likewise.
44978 * math/w_log10f.c: Likewise.
44979 * math/w_log10l.c: Likewise.
44980 * math/w_log2.c: Likewise.
44981 * math/w_log2f.c: Likewise.
44982 * math/w_log2l.c: Likewise.
44983 * math/w_pow.c: Likewise.
44984 * math/w_powf.c: Likewise.
44985 * math/w_powl.c: Likewise.
44986 * math/w_remainder.c: Likewise.
44987 * math/w_remainderf.c: Likewise.
44988 * math/w_remainderl.c: Likewise.
44989 * math/w_scalb.c: Likewise.
44990 * math/w_scalbf.c: Likewise.
44991 * math/w_scalbl.c: Likewise.
44992 * math/w_sqrt.c: Likewise.
44993 * math/w_sqrtf.c: Likewise.
44994 * math/w_sqrtl.c: Likewise.
44995 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44996 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
44998 * math/math_private.h: Declare __kernel_standard_f.
44999 * math/w_cosh.c: Remove cruft and optimize a bit.
45000 * math/w_coshf.c: Likewise.
45001 * math/w_coshl.c: Likewise.
45002 * math/w_exp2.c: Likewise.
45003 * math/w_exp2f.c: Likewise.
45004 * math/w_exp2l.c: Likewise.
45005 * math/w_hypot.c: Likewise.
45006 * math/w_hypotf.c: Likewise.
45007 * math/w_hypotl.c: Likewise.
45008 * math/w_lgamma.c: Likewise.
45009 * math/w_lgamma_r.c: Likewise.
45010 * math/w_lgammaf.c: Likewise.
45011 * math/w_lgammaf_r.c: Likewise.
45012 * math/w_lgammal.c: Likewise.
45013 * math/w_lgammal_r.c: Likewise.
45014 * math/w_sinh.c: Likewise.
45015 * math/w_sinhf.c: Likewise.
45016 * math/w_sinhl.c: Likewise.
45017 * math/w_tgamma.c: Likewise.
45018 * math/w_tgammaf.c: Likewise.
45019 * math/w_tgammal.c: Likewise.
45020 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45021 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45022 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45023 Minor optimizations. Pretty printing. Remove cruft.
45024 * sysdeps/i386/fpu/e_acosf.S: Likewise.
45025 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45026 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45027 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45028 * sysdeps/i386/fpu/e_acosl.c: Likewise.
45029 * sysdeps/i386/fpu/e_asin.S: Likewise.
45030 * sysdeps/i386/fpu/e_asinf.S: Likewise.
45031 * sysdeps/i386/fpu/e_atan2.S: Likewise.
45032 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45033 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45034 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45035 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45036 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45037 * sysdeps/i386/fpu/e_exp10.S: Likewise.
45038 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45039 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45040 * sysdeps/i386/fpu/e_exp2.S: Likewise.
45041 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45042 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45043 * sysdeps/i386/fpu/e_fmod.S: Likewise.
45044 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45045 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45046 * sysdeps/i386/fpu/e_hypot.S: Likewise.
45047 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45048 * sysdeps/i386/fpu/e_log.S: Likewise.
45049 * sysdeps/i386/fpu/e_log10.S: Likewise.
45050 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45051 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45052 * sysdeps/i386/fpu/e_log2.S: Likewise.
45053 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45054 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45055 * sysdeps/i386/fpu/e_logf.S: Likewise.
45056 * sysdeps/i386/fpu/e_logl.S: Likewise.
45057 * sysdeps/i386/fpu/e_pow.S: Likewise.
45058 * sysdeps/i386/fpu/e_powf.S: Likewise.
45059 * sysdeps/i386/fpu/e_powl.S: Likewise.
45060 * sysdeps/i386/fpu/e_remainder.S: Likewise.
45061 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45062 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45063 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45064 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45065 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45066 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45067 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45068 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45069 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45070 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45071 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45072 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45073 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45074 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45075 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45076 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45077 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45078 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45079 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45080 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45081 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45082 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45083 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45084 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45085 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45086 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45087 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45088 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45089 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45090 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45091 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45092 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45093 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45094 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45095 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45096 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45097 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45098 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45099 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45100 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45101 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45102 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45103 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45104 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45105 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45106 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45107 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45108 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45109 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45110 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45111 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45112 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45113 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45114 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45115 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45116 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45117 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45118 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45119 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45120 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45121 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45122 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45123 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45124 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45125 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45126 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45127 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45128 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45129 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45130 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45131 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45132 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45133 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45134 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45135 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45136 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45137 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45138 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45139 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45140 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45141 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45142 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45143 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45144 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45145 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45146 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45147 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45148 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45149 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45150 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45151 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45152 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45153 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45154 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45155 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45156 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45157 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45158 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45159 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45160 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45161 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45162 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45163 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45164 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45165 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45166 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45167 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45168 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45169 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45170 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45171 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45172 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45173 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45174 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45175 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45176 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45177 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45178 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45179 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
45180 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45181 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45182 (__isnanf): Likewise.
45183 (__isinf_ns): Likewise.
45184 (__isinf_nsf): Likewise.
45185 (__finite): Likewise.
45186 (__finitef): Likewise.
45187 (__ieee754_sqrt): Define as macro.
45188 (__ieee754_sqrtf): Define as macro.
45189 (__ieee754_sqrtl): Define as macro.
45190 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45192 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45193 __FINITE_MATH_ONLY__ consistent.
45194 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45196 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
45198 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45201 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45203 2011-10-09 Ulrich Drepper <drepper@gmail.com>
45205 * po/ja.po: Update from translation team.
45207 2011-10-08 Roland McGrath <roland@hack.frob.com>
45209 * locale/programs/locarchive.c (prepare_address_space): New function.
45210 (create_archive, enlarge_archive, open_archive): Use it.
45212 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45213 inside [SHARED], where it is used.
45215 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45217 * nss/getent.c (netgroup_keys): Remove unused variable.
45218 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45220 2011-10-08 Ulrich Drepper <drepper@gmail.com>
45222 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45223 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45224 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45225 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45226 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45227 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45228 * math/Makefile (libm-calls): Add s_isinf_ns.
45229 * math/divtc3.c: Use __isinf_nsl instead of isinf.
45230 * math/multc3.c: Likewise.
45231 * math/s_casin.c: Likewise.
45232 * math/s_casinf.c: Likewise.
45233 * math/s_casinl.c: Likewise.
45234 * math/s_ccos.c: Likewise.
45235 * math/s_ccosf.c: Likewise.
45236 * math/s_ccosl.c: Likewise.
45237 * math/s_ctan.c: Likewise.
45238 * math/s_ctanf.c: Likewise.
45239 * math/s_ctanh.c: Likewise.
45240 * math/s_ctanhf.c: Likewise.
45241 * math/s_ctanhl.c: Likewise.
45242 * math/s_ctanl.c: Likewise.
45243 * math/w_fmod.c: Likewise.
45244 * math/w_fmodf.c: Likewise.
45245 * math/w_fmodl.c: Likewise.
45246 * math/w_remainder.c: Likewise.
45247 * math/w_remainderf.c: Likewise.
45248 * math/w_remainderl.c: Likewise.
45249 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45250 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45251 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45252 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45253 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45254 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45255 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45256 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45258 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45260 * stdio-common/printf_fphex.c: Likewise.
45261 * stdio-common/printf_size.c: Likewise.
45263 * math/e_exp10.c: Include math_private.h using <...> not "...".
45264 * math/e_exp10f.c: Likewise.
45265 * math/e_exp10l.c: Likewise.
45266 * math/e_exp2l.c: Likewise.
45267 * math/e_j0l.c: Likewise.
45268 * math/e_j1l.c: Likewise.
45269 * math/e_jnl.c: Likewise.
45270 * math/e_lgammal_r.c: Likewise.
45271 * math/e_rem_pio2l.c: Likewise.
45272 * math/e_scalb.c: Likewise.
45273 * math/e_scalbf.c: Likewise.
45274 * math/e_scalbl.c: Likewise.
45275 * math/k_cosl.c: Likewise.
45276 * math/k_sinl.c: Likewise.
45277 * math/k_tanl.c: Likewise.
45278 * math/s_cacoshf.c: Likewise.
45279 * math/s_catan.c: Likewise.
45280 * math/s_catanf.c: Likewise.
45281 * math/s_catanh.c: Likewise.
45282 * math/s_catanhf.c: Likewise.
45283 * math/s_catanhl.c: Likewise.
45284 * math/s_catanl.c: Likewise.
45285 * math/s_ccosh.c: Likewise.
45286 * math/s_ccoshf.c: Likewise.
45287 * math/s_ccoshl.c: Likewise.
45288 * math/s_cexp.c: Likewise.
45289 * math/s_cexpf.c: Likewise.
45290 * math/s_cexpl.c: Likewise.
45291 * math/s_clog.c: Likewise.
45292 * math/s_clog10.c: Likewise.
45293 * math/s_clog10f.c: Likewise.
45294 * math/s_clog10l.c: Likewise.
45295 * math/s_clogf.c: Likewise.
45296 * math/s_clogl.c: Likewise.
45297 * math/s_csin.c: Likewise.
45298 * math/s_csinf.c: Likewise.
45299 * math/s_csinh.c: Likewise.
45300 * math/s_csinhf.c: Likewise.
45301 * math/s_csinhl.c: Likewise.
45302 * math/s_csinl.c: Likewise.
45303 * math/s_csqrt.c: Likewise.
45304 * math/s_csqrtf.c: Likewise.
45305 * math/s_csqrtl.c: Likewise.
45306 * math/s_ctan.c: Likewise.
45307 * math/s_ctanf.c: Likewise.
45308 * math/s_ctanh.c: Likewise.
45309 * math/s_ctanhf.c: Likewise.
45310 * math/s_ctanhl.c: Likewise.
45311 * math/s_ctanl.c: Likewise.
45312 * math/s_ldexp.c: Likewise.
45313 * math/s_ldexpf.c: Likewise.
45314 * math/s_ldexpl.c: Likewise.
45315 * math/s_significand.c: Likewise.
45316 * math/s_significandf.c: Likewise.
45317 * math/s_significandl.c: Likewise.
45318 * math/w_acos.c: Likewise.
45319 * math/w_acosf.c: Likewise.
45320 * math/w_acosh.c: Likewise.
45321 * math/w_acoshf.c: Likewise.
45322 * math/w_acoshl.c: Likewise.
45323 * math/w_acosl.c: Likewise.
45324 * math/w_asin.c: Likewise.
45325 * math/w_asinf.c: Likewise.
45326 * math/w_asinl.c: Likewise.
45327 * math/w_atan2.c: Likewise.
45328 * math/w_atan2f.c: Likewise.
45329 * math/w_atan2l.c: Likewise.
45330 * math/w_atanh.c: Likewise.
45331 * math/w_atanhf.c: Likewise.
45332 * math/w_atanhl.c: Likewise.
45333 * math/w_cosh.c: Likewise.
45334 * math/w_coshf.c: Likewise.
45335 * math/w_coshl.c: Likewise.
45336 * math/w_dremf.c: Likewise.
45337 * math/w_exp10.c: Likewise.
45338 * math/w_exp10f.c: Likewise.
45339 * math/w_exp10l.c: Likewise.
45340 * math/w_exp2.c: Likewise.
45341 * math/w_exp2f.c: Likewise.
45342 * math/w_fmod.c: Likewise.
45343 * math/w_fmodf.c: Likewise.
45344 * math/w_fmodl.c: Likewise.
45345 * math/w_hypot.c: Likewise.
45346 * math/w_hypotf.c: Likewise.
45347 * math/w_hypotl.c: Likewise.
45348 * math/w_j0.c: Likewise.
45349 * math/w_j0f.c: Likewise.
45350 * math/w_j0l.c: Likewise.
45351 * math/w_j1.c: Likewise.
45352 * math/w_j1f.c: Likewise.
45353 * math/w_j1l.c: Likewise.
45354 * math/w_jn.c: Likewise.
45355 * math/w_jnf.c: Likewise.
45356 * math/w_jnl.c: Likewise.
45357 * math/w_lgamma.c: Likewise.
45358 * math/w_lgamma_r.c: Likewise.
45359 * math/w_lgammaf.c: Likewise.
45360 * math/w_lgammaf_r.c: Likewise.
45361 * math/w_lgammal.c: Likewise.
45362 * math/w_lgammal_r.c: Likewise.
45363 * math/w_log.c: Likewise.
45364 * math/w_log10.c: Likewise.
45365 * math/w_log10f.c: Likewise.
45366 * math/w_log10l.c: Likewise.
45367 * math/w_log2.c: Likewise.
45368 * math/w_log2f.c: Likewise.
45369 * math/w_log2l.c: Likewise.
45370 * math/w_logf.c: Likewise.
45371 * math/w_logl.c: Likewise.
45372 * math/w_pow.c: Likewise.
45373 * math/w_powf.c: Likewise.
45374 * math/w_powl.c: Likewise.
45375 * math/w_remainder.c: Likewise.
45376 * math/w_remainderf.c: Likewise.
45377 * math/w_remainderl.c: Likewise.
45378 * math/w_scalb.c: Likewise.
45379 * math/w_scalbf.c: Likewise.
45380 * math/w_scalbl.c: Likewise.
45381 * math/w_sinh.c: Likewise.
45382 * math/w_sinhf.c: Likewise.
45383 * math/w_sinhl.c: Likewise.
45384 * math/w_sqrt.c: Likewise.
45385 * math/w_sqrtf.c: Likewise.
45386 * math/w_sqrtl.c: Likewise.
45387 * math/w_tgamma.c: Likewise.
45388 * math/w_tgammaf.c: Likewise.
45389 * math/w_tgammal.c: Likewise.
45391 * po/ja.po: Update from translation team.
45393 2011-09-29 Andreas Jaeger <aj@suse.de>
45396 * sunrpc/netname.c (netname2host): Fix logic.
45400 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45402 * math/w_remainder.c (__remainder): Likewise.
45403 * math/w_remainderf.c (__remainderf): Likewise.
45404 * math/libm-test.inc (remainder_test): Add test cases.
45406 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45408 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
45411 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45413 * string/test-memcmp.c: Avoid unncessary #defines.
45414 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45416 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45418 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45419 Use new sse2 version for core i3 - i7 as it's faster
45420 than sse42 version.
45421 (bit_Prefer_PMINUB_for_stringop): New.
45422 * sysdeps/x86_64/rawmemchr.S: Update.
45423 Replace with faster SSE2 version.
45424 * sysdeps/x86_64/memrchr.S: New file.
45425 * sysdeps/x86_64/memchr.S: Update.
45426 Replace with faster SSE2 version.
45428 2011-09-12 Marek Polacek <mpolacek@redhat.com>
45430 * elf/dl-load.c (lose): Add cast to avoid warning.
45432 2011-10-07 Ulrich Drepper <drepper@gmail.com>
45434 * po/ca.po: Update from translation team.
45436 * inet/getnetgrent_r.c: Hook up nscd.
45437 * nscd/Makefile (routines): Add nscd_netgroup.
45438 (nscd-modules): Add netgroupcache.
45439 (CFLAGS-netgroupcache.c): Define.
45440 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45441 (cache_search): Add const to second parameter.
45442 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45444 (dbs): Add netgrdb entry.
45445 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45446 (verify_persistent_db): Handle netgrdb.
45447 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45448 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45450 (netgroup_response_header): Define.
45451 (innetgroup_response_header): Define.
45452 (datahead): Add netgroup_response_header and innetgroup_response_header
45454 * nscd/nscd.conf: Add entries for netgroup cache.
45455 * nscd/nscd.h (dbtype): Add netgrdb.
45456 (_PATH_NSCD_NETGROUP_DB): Define.
45457 (netgroup_iov_disabled): Declare.
45458 (xmalloc, xcalloc, xrealloc): Move declarations here.
45459 (cache_search): Adjust prototype.
45460 Add netgroup-related prototypes.
45461 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45462 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45463 (__nscd_innetgr): Declare.
45464 * nscd/selinux.c (perms): Use access_vector_t as element type and
45465 add netgroup-related initializers.
45466 * nscd/netgroupcache.c: New file.
45467 * nscd/nscd_netgroup.c: New file.
45468 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45469 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45470 For four parameters use innetgr.
45471 * nss/nss_files/files-init.c: Add definition and callback for netgr.
45472 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45473 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45474 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45476 * nscd/connections.c (register_traced_file): Don't register file
45477 for disabled databases.
45479 2011-10-06 Ulrich Drepper <drepper@gmail.com>
45481 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45483 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45484 from tree and freeing node.
45486 2011-09-25 Jiri Olsa <jolsa@redhat.com>
45488 * nss/nsswitch.c (__nss_database_lookup): Handle
45489 nss_parse_service_list out of memory case.
45491 2011-09-15 Jiri Olsa <jolsa@redhat.com>
45493 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45494 out of memory case.
45496 2011-10-04 Andreas Schwab <schwab@redhat.com>
45498 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45499 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45501 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45502 elf_machine_rela, elf_machine_lazy_rel.
45503 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45504 (ELF_DYNAMIC_DO_REL): Likewise.
45505 (ELF_DYNAMIC_DO_RELA): Likewise.
45506 (ELF_DYNAMIC_RELOCATE): Likewise.
45507 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45508 to ELF_DYNAMIC_DO_REL.
45509 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45510 (dl_main): In trace mode always set __RTLD_NOIFUNC.
45511 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45513 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45514 skip_ifunc, don't call ifunc function if non-zero.
45515 (elf_machine_rela): Likewise.
45516 (elf_machine_lazy_rel): Likewise.
45517 (elf_machine_lazy_rela): Likewise.
45518 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45519 (elf_machine_lazy_rel): Likewise.
45520 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45522 (elf_machine_lazy_rel): Likewise.
45523 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45525 (elf_machine_lazy_rel): Likewise.
45526 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45527 (elf_machine_lazy_rel): Likewise.
45528 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45529 (elf_machine_lazy_rel): Likewise.
45530 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45531 (elf_machine_lazy_rel): Likewise.
45532 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45533 (elf_machine_lazy_rel): Likewise.
45534 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45535 (elf_machine_lazy_rel): Likewise.
45536 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45537 (elf_machine_lazy_rel): Likewise.
45539 2011-09-28 Ulrich Drepper <drepper@gmail.com>
45541 * nss/nss_files/files-init.c (_nss_files_init): Use static
45542 initialization for all the *_traced_file variables.
45544 2011-09-28 Andreas Schwab <schwab@redhat.com>
45546 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45548 2011-09-27 Roland McGrath <roland@hack.frob.com>
45551 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45553 2011-09-27 Andreas Schwab <schwab@redhat.com>
45555 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45556 Reread the line before reparsing it.
45558 2011-09-26 Andreas Schwab <schwab@redhat.com>
45560 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45562 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
45563 Maxim Kuvyrkov <maxim@codesourcery.com>
45564 Joseph Myers <joseph@codesourcery.com>
45566 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45567 if needed for __stack_chk_guard.
45569 2011-09-19 Roland McGrath <roland@hack.frob.com>
45571 * sysdeps/posix/spawni.c (script_execute): Always define it.
45572 It will be optimized away if unused.
45573 (maybe_script_execute): New function.
45574 (__spawni): Call it.
45576 * Makerules: Don't include tls.make.
45577 (config-tls): Always set to thread.
45578 * tls.make.c: File removed.
45580 2011-09-19 Mike Frysinger <vapier@gentoo.org>
45582 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45583 * config.make.in (CPPFLAGS-config): New substituted variable.
45585 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45587 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45590 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45591 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45593 2011-09-15 Roland McGrath <roland@hack.frob.com>
45595 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45596 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45597 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45598 (CALL_FAIL): Likewise.
45599 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45600 (CALL_FAIL): Macro removed.
45601 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45603 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45605 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45606 for __FINITE_MATH_ONLY__ == 1.
45608 2011-09-15 Andreas Schwab <schwab@redhat.com>
45610 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45611 __ieee754_sqrt instead of sqrt.
45612 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45613 __ieee754_sqrtf instead of sqrtf.
45614 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45615 __floorf instead of floorf.
45616 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45617 __floorf, __truncf instead of floorf, truncf.
45619 2011-09-14 Ulrich Drepper <drepper@gmail.com>
45621 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45623 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45624 __extern_always_inline.
45625 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45628 2011-09-14 Andreas Schwab <schwab@redhat.com>
45630 * elf/rtld.c (dl_main): Also relocate in dependency order when
45631 doing symbol dependency testing.
45633 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
45635 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45636 Always define `refsym'.
45638 2011-09-13 Andreas Schwab <schwab@redhat.com>
45640 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45641 (__FD_ELT): Renamed from __FDELT.
45642 * misc/bits/select2.h (__FD_ELT): Likewise.
45643 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45644 __FD_MASK instead of __FDELT, __FDMASK.
45645 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45647 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45650 * elf/Makefile (gen-ldd): Fix pattern.
45652 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45653 (init_tls): Likewise.
45655 2011-09-12 Ulrich Drepper <drepper@gmail.com>
45657 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45659 2011-09-12 Andreas Schwab <schwab@redhat.com>
45661 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45662 `struct cmsghdr *' instead of `void *'.
45663 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45666 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45668 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45670 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45671 ldd_rewrite_script.
45673 2011-09-11 Ulrich Drepper <drepper@gmail.com>
45675 * configure.in: Remove --with-tls option.
45676 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45677 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45678 out in case it is missing.
45679 * sysdeps/ia64/elf/configure.in: Likewise.
45680 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45681 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45682 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45683 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45684 * sysdeps/sh/elf/configure.in: Likewise.
45685 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45686 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45687 * sysdeps/x86_64/elf/configure.in: Likewise.
45688 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45689 * sysdeps/mach/hurd/tls.h: Likewise.
45692 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45695 * configure.in: Fix use of AC_INIT.
45697 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45699 2011-09-10 Ulrich Drepper <drepper@gmail.com>
45701 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45703 * malloc/hooks.c: Likewise.
45706 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
45707 variables statically.
45708 (narenas): Initialize.
45709 (list_lock): Initialize.
45710 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
45711 initializtion of main_arena and list_lock. Small cleanups.
45712 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45713 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
45714 Add initializers to main_arena and mp_.
45715 (malloc_state): Remove pagesize member. Change all users to use
45718 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45719 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
45720 is always initialized.
45722 * malloc/malloc.c: Removed unused configurations and dead code.
45723 * malloc/arena.c: Likewise.
45724 * malloc/hooks.c: Likewise.
45725 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45727 * include/tls.h: Removed. USE___THREAD must always be defined.
45728 * bits/libc-tsd.h: Don't handle !USE___THREAD.
45729 * elf/dl-libc.c: Likewise.
45730 * elf/dl-tsd.c: Likewise.
45731 * include/errno.h: Likewise.
45732 * include/netdb.h: Likewise.
45733 * include/resolv.h: Likewise.
45734 * inet/herrno-loc.c: Likewise.
45735 * inet/herrno.c: Likewise.
45736 * malloc/arena.c: Likewise.
45737 * malloc/hooks.c: Likewise.
45738 * malloc/malloc.c: Likewise.
45739 * resolv/res-state.c: Likewise.
45740 * resolv/res_libc.c: Likewise.
45741 * sysdeps/i386/dl-machine.h: Likewise.
45742 * sysdeps/ia64/dl-machine.h: Likewise.
45743 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45744 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45745 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45746 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45747 * sysdeps/sh/dl-machine.h: Likewise.
45748 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45749 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45750 * sysdeps/unix/i386/sysdep.S: Likewise.
45751 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45752 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45753 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45754 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45755 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45756 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45757 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45758 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45759 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45760 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45761 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45762 * sysdeps/x86_64/dl-machine.h: Likewise.
45763 * tls.make.c: Likewise.
45765 * configure.in: Remove --with-__thread option. Make tests for
45766 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45767 tls_model attribute fail if no support is available. Remove
45769 * Makeconfig: Adjust for dropped configure option. All features are
45771 * Makerules: Likewise.
45772 * Versions.def: Likewise.
45773 * argp/argp-fmtstream.c: Likewise.
45774 * argp/argp-fmtstream.h: Likewise.
45775 * argp/argp-help.c: Likewise.
45776 * assert/assert.c: Likewise.
45777 * config.h.in: Likewise.
45778 * config.make.in: Likewise.
45779 * configure: Likewise.
45780 * configure.in: Likewise.
45781 * csu/Versions: Likewise.
45782 * csu/init.c: Likewise.
45783 * elf/tst-audit2.c: Likewise.
45784 * elf/tst-tls10.c: Likewise.
45785 * elf/tst-tls10.h: Likewise.
45786 * elf/tst-tls11.c: Likewise.
45787 * elf/tst-tls12.c: Likewise.
45788 * elf/tst-tls14.c: Likewise.
45789 * elf/tst-tlsmod11.c: Likewise.
45790 * elf/tst-tlsmod12.c: Likewise.
45791 * elf/tst-tlsmod13.c: Likewise.
45792 * elf/tst-tlsmod13a.c: Likewise.
45793 * elf/tst-tlsmod14a.c: Likewise.
45794 * elf/tst-tlsmod15b.c: Likewise.
45795 * elf/tst-tlsmod16a.c: Likewise.
45796 * elf/tst-tlsmod16b.c: Likewise.
45797 * elf/tst-tlsmod7.c: Likewise.
45798 * elf/tst-tlsmod8.c: Likewise.
45799 * elf/tst-tlsmod9.c: Likewise.
45800 * gmon/gmon.c: Likewise.
45801 * grp/fgetgrent_r.c: Likewise.
45802 * grp/putgrent.c: Likewise.
45803 * hurd/fopenport.c: Likewise.
45804 * include/libc-symbols.h: Likewise.
45805 * include/tls.h: Likewise.
45806 * intl/gettextP.h: Likewise.
45807 * intl/loadinfo.h: Likewise.
45808 * locale/global-locale.c: Likewise.
45809 * locale/localeinfo.h: Likewise.
45810 * mach/devstream.c: Likewise.
45811 * malloc/arena.c: Likewise.
45812 * malloc/set-freeres.c: Likewise.
45813 * misc/err.c: Likewise.
45814 * misc/getttyent.c: Likewise.
45815 * misc/mntent_r.c: Likewise.
45816 * posix/getopt.c: Likewise.
45817 * posix/wordexp.c: Likewise.
45818 * pwd/fgetpwent_r.c: Likewise.
45819 * resolv/Versions: Likewise.
45820 * resolv/res_hconf.c: Likewise.
45821 * shadow/fgetspent_r.c: Likewise.
45822 * shadow/putspent.c: Likewise.
45823 * stdio-common/printf_fphex.c: Likewise.
45824 * stdio-common/tmpfile.c: Likewise.
45825 * stdlib/abort.c: Likewise.
45826 * stdlib/fmtmsg.c: Likewise.
45827 * sunrpc/auth_unix.c: Likewise.
45828 * sunrpc/clnt_perr.c: Likewise.
45829 * sunrpc/clnt_tcp.c: Likewise.
45830 * sunrpc/clnt_udp.c: Likewise.
45831 * sunrpc/clnt_unix.c: Likewise.
45832 * sunrpc/openchild.c: Likewise.
45833 * sunrpc/svc_simple.c: Likewise.
45834 * sunrpc/svc_tcp.c: Likewise.
45835 * sunrpc/svc_udp.c: Likewise.
45836 * sunrpc/svc_unix.c: Likewise.
45837 * sunrpc/xdr.c: Likewise.
45838 * sunrpc/xdr_array.c: Likewise.
45839 * sunrpc/xdr_rec.c: Likewise.
45840 * sunrpc/xdr_ref.c: Likewise.
45841 * sunrpc/xdr_stdio.c: Likewise.
45843 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45845 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45847 2011-07-03 Andreas Jaeger <aj@suse.de>
45849 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45850 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45851 regenerate with gen-libm-tests.pl.
45853 2010-05-12 Petr Baudis <pasky@suse.cz>
45856 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45857 around j0() zero points by switching to j1().
45858 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45859 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45860 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45861 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45863 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45865 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45867 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45869 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45870 Patch in part by Pavel Roskin <proski@gnu.org>.
45873 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45875 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45876 Free memory block if necessary.
45879 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45880 be NULL. Don't lock in this case.
45882 2011-09-09 Roland McGrath <roland@hack.frob.com>
45884 * elf/elf.h (ELFOSABI_GNU): New macro.
45885 (ELFOSABI_LINUX): Define to that.
45887 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45889 * string/strncat.c (strncat): Undef the symbol in case it has been
45890 defined in bits/string.h.
45892 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45894 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45896 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45899 2011-08-17 Andreas Jaeger <aj@suse.de>
45901 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45903 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45904 Ian Lance Taylor <iant@google.com>
45906 * math/libm-test.inc (lround_test): New testcase.
45907 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45909 2011-09-08 Ulrich Drepper <drepper@gmail.com>
45911 * Makefile: Remove support for automatic cvs check-ins.
45912 * Makerules: Likewise.
45913 * config.make.in: Likewise.
45914 * configure.in: Likewise.
45915 * intl/Makefile: Likewise.
45916 * locale/Makefile: Likewise.
45917 * po/Makefile: Likewise.
45918 * posix/Makefile: Likewise.
45919 * sysdeps/gnu/Makefile: Likewise.
45920 * sysdeps/mach/hurd/Makefile: Likewise.
45921 * sysdeps/sparc/sparc32/Makefile: Likewise.
45924 * posix/Makefile (bug-regex32-ENV): Define.
45925 Patch by John Stanley <jpsinthemix@verizon.net>.
45927 * misc/Makefile (headers): Add bits/select2.h.
45928 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45929 * misc/bits/select2.h: New file.
45930 * include/bits/select2.h: New file.
45931 * debug/Makefile (routines): Add fdelt_chk.
45932 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45933 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45935 * debug/fdelt_chk.c: New file.
45937 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45938 * wcsmbs/test-wmemcmp.c: Likewise.
45939 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45940 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45942 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45944 * string/Makefile (strop-tests): Add memcmp.
45945 * string/test-wmemcmp.c: New file.
45946 * string/test-memcmp.c: Add wmemcmp support.
45948 2011-09-08 Roland McGrath <roland@hack.frob.com>
45951 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45954 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45955 garbage value in a __mach_port_mod_refs call in the cases of the
45956 task-self and thread-self ports.
45958 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45960 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45962 2011-09-08 Andreas Schwab <schwab@redhat.com>
45964 * elf/dl-load.c (lose): Check for non-null L.
45966 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45968 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45970 * elf/dl-libc.c (dlerror_run): Pass back error code from
45974 * elf/dl-load.c (lose): Free l_origin if it is valid.
45976 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45978 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45979 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45980 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45981 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45982 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45983 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45985 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45987 * sysdeps/powerpc/fpu/e_hypot.c: New file.
45988 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45989 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45990 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45991 * sysdeps/powerpc/fpu/k_cosf.c: New file.
45992 * sysdeps/powerpc/fpu/k_sinf.c: New file.
45993 * sysdeps/powerpc/fpu/s_cosf.c: New file.
45994 * sysdeps/powerpc/fpu/s_sinf.c: New file.
45995 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45996 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45998 2011-08-15 Alan Modra <amodra@gmail.com>
46001 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46002 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46003 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
46004 ppc_mcount to static-only-routines.
46005 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46007 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46008 __mcount_internal with usual JUMPTARGET. Remove useless nop.
46010 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
46012 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46013 for finite and infinity parameters.
46015 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46017 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46018 and add nop instructions for throughput optimization.
46019 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46021 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
46023 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46024 aligned copy for power7 with vector-scalar instructions.
46025 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46027 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
46029 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46032 2011-09-07 Andreas Schwab <schwab@redhat.com>
46035 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46038 2011-09-07 Ulrich Drepper <drepper@gmail.com>
46040 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46041 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46042 syscall wrapper around clock_gettime in __vdso_clock_gettime.
46043 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46046 2011-09-06 Ulrich Drepper <drepper@gmail.com>
46048 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46049 Forgot to demangle the pointer.
46051 * sysdeps/i386/sysdep.h: Define atom_text_section.
46052 * sysdeps/x86_64/sysdep.h: Likewise.
46053 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46054 section with atom_text_section.
46055 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46056 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46057 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46058 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46059 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46061 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46062 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46063 already be defined. Change to take two parameters and don't assign
46064 result to variable. Adjust all users.
46065 Define INTERNAL_GETTIME if not already defined.
46066 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46068 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46069 HAVE_CLOCK_GETTIME_VSYSCALL.
46070 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46072 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46073 gettimeofday vsyscall, just use time.
46075 2011-09-06 Andreas Schwab <schwab@redhat.com>
46077 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46080 2011-09-06 Ulrich Drepper <drepper@gmail.com>
46082 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46084 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46086 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46087 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46088 syscall if possible.
46090 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46092 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46093 e_ident. Don't pass to find_mapsXX.
46094 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46096 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46098 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46099 strchr-sse2-no-bsf strrchr-sse2-no-bsf
46100 * sysdeps/x86_64/multiarch/strchr.S: Update.
46101 Check bit_slow_BSF bit.
46102 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46103 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46104 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46106 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46109 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46111 (tryshell): Define.
46112 (__spawni): Change last parameter to be flag. Test
46113 SPAWN_XFLAGS_USE_PATH flag to use path or not.
46114 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46115 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46116 * posix/spawni.c: Likewise.
46117 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46118 * posix/spawnp.c: Likewise. Change normal version to use
46119 SPAWN_XFLAGS_USE_PATH.
46120 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46121 SPAWN_XFLAGS_TRY_SHELL.
46124 * posix/glob.h: Remove gcc 1.x support.
46127 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46129 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46131 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46132 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46134 * sysdeps/i386/i686/multiarch/strchr.S: New file.
46135 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46136 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46137 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46138 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46139 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46141 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46143 * sysdeps/x86_64/wcscmp.S: New file.
46145 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46146 wcscmp-c wcscmp-sse2
46147 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46148 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46149 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46150 * wcsmbs/wcscmp.c: Allow renaming.
46152 2011-09-05 David S. Miller <davem@davemloft.net>
46154 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46155 stack slot, rather than the struct return pointer slot.
46156 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46157 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46159 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46161 2011-09-05 Ulrich Drepper <drepper@gmail.com>
46163 * po/ja.po: Update from translation team.
46166 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46167 kernel in 64-bit binaries.
46169 2011-09-01 David S. Miller <davem@davemloft.net>
46171 * elf/elf.h (HWCAP_SPARC_*): Move to..
46172 * sysdeps/sparc/sysdep.h: this new file and add new values.
46173 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46174 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46175 _DL_HWCAP_COUNT to 24.
46176 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46178 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46179 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46180 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46181 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46182 instead of magic constants.
46183 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46185 2011-08-31 David S. Miller <davem@davemloft.net>
46187 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46188 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46189 Reimplement to do errno handling inline.
46190 (SYSCALL_ERROR_HANDLER): New macro.
46191 (__SYSCALL_STRING): Do not do errno handling in asm.
46192 (__CLONE_SYSCALL_STRING): Delete.
46193 (__INTERNAL_SYSCALL_STRING): Delete.
46194 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46195 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46196 (PSEUDO): Reimplement to do errno handling inline.
46197 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46198 (SYSCALL_ERROR_HANDLER): New macro.
46199 (__SYSCALL_STRING): Do not do errno handling in asm.
46200 (__CLONE_SYSCALL_STRING): Delete.
46201 (__INTERNAL_SYSCALL_STRING): Delete.
46202 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46203 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46205 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46206 (inline_syscall*): Add 'err' argument.
46207 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46208 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46209 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46210 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46212 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46213 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46215 2011-08-30 Andreas Schwab <schwab@redhat.com>
46217 * elf/rtld.c (dl_main): Relocate objects in dependency order.
46219 2011-08-29 Jiri Olsa <jolsa@redhat.com>
46221 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46224 2011-08-24 David S. Miller <davem@davemloft.net>
46226 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46228 2011-08-24 Andreas Schwab <schwab@redhat.com>
46230 * elf/Makefile: Add rules to build and run unload8 test.
46231 * elf/unload8.c: New file.
46232 * elf/unload8mod1.c: New file.
46233 * elf/unload8mod1x.c: New file.
46234 * elf/unload8mod2.c: New file.
46235 * elf/unload8mod3.c: New file.
46237 * elf/dl-close.c (_dl_close_worker): Reset private search list if
46240 2011-08-23 David S. Miller <davem@davemloft.net>
46242 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46243 subtract stack bias.
46244 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46245 %sp not %fp in calculations.
46246 (_JMPBUF_UNWINDS_ADJ): Likewise.
46248 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46249 (aio_suspend): Call it to force an exception region around the
46250 AIO_MISC_WAIT() invocation.
46252 2011-08-23 Andreas Schwab <schwab@redhat.com>
46254 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46257 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
46259 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46261 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46262 and <dl-machine.h>.
46263 (Elf64_FuncDesc): Remove.
46265 2011-08-22 David S. Miller <davem@davemloft.net>
46267 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46268 sigaltstack check, add missing cfi directives.
46269 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46270 missing cfi directives, and sigaltstack handling.
46272 2011-08-16 Andreas Schwab <schwab@redhat.com>
46275 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46276 object is seen twice.
46277 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46279 * elf/Makefile (distribute): Add tst-initorder2.c.
46280 (tests): Add tst-initorder2.
46281 (modules-names): Add tst-initorder2a tst-initorder2b
46282 tst-initorder2c tst-initorder2d. Add rules to build them.
46283 ($(objpfx)tst-initorder2.out): New rule.
46284 * elf/tst-initorder2.c: New file.
46285 * elf/tst-initorder2.exp: New file.
46287 2011-08-22 Andreas Schwab <schwab@redhat.com>
46289 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46291 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46292 dependencies back to end of function.
46294 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46295 $(elfobjdir)/ld.so.
46297 2011-08-21 Ulrich Drepper <drepper@gmail.com>
46299 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46300 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46301 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46302 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46303 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46304 of __vdso_gettimeofday.
46305 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46306 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
46308 (_libc_vdso_platform_setup): Remove initialization of
46309 __vdso_gettimeofday and __vdso_time.
46311 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46313 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46314 and fgetc_unlocked.
46315 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46318 * elf/dl-open.c (add_to_global): Report additions to the global scope
46319 for LD_DEBUG=scopes.
46320 (dl_open_worker): Also print scope of newly loaded dependencies.
46321 (_dl_show_scope): Indicate if there is no scope.
46324 * stdio-common/Makefile (tests): Add bug24.
46325 * stdio-common/bug24.c: New file.
46327 2011-08-19 Andreas Jaeger <aj@suse.de>
46330 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46331 non-existant file when using close-on-exec mode.
46333 2011-08-20 Ulrich Drepper <drepper@gmail.com>
46335 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46336 the very first instruction.
46338 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46339 the CFI state in the end.
46340 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46341 inclusion of dl-trampoline.h.
46342 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46344 2011-08-19 Andreas Schwab <schwab@redhat.com>
46346 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46347 expectations for long double.
46349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46350 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46352 2011-08-14 David S. Miller <davem@davemloft.net>
46354 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46355 artificual limit depends upon the system page size.
46357 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46359 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46360 * resolv/Makefile: Define CFLAGS-libresolv.
46362 2011-08-17 Andreas Schwab <schwab@redhat.com>
46364 * nss/makedb.c (compute_tables): Make variables used in nested
46367 2011-08-17 Ulrich Drepper <drepper@gmail.com>
46369 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46370 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46371 if buffer was too small.
46373 * elf/pldd.c (main): Attach to all threads in the process.
46374 Rewrite /proc handling to use *at functions.
46376 2011-08-16 Ulrich Drepper <drepper@gmail.com>
46378 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46379 specifies first scope to show.
46380 (dl_open_worker): Update callers. Move printing scope of new
46381 object to before the relocation.
46382 * elf/rtld.c (dl_main): Update _dl_show_scope call.
46383 * sysdeps/generic/ldsodefs.h: Update declaration.
46385 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46386 string for the scope number.
46388 2011-08-14 Ulrich Drepper <drepper@gmail.com>
46390 * nscd/servicescache.c (cache_addserv): Make sure written is always
46393 2011-08-14 Roland McGrath <roland@hack.frob.com>
46395 * sysdeps/i386/i486/bits/atomic.h
46396 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46397 statement expression, so as to suppress "set but not used" warning.
46398 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46400 * string/strncat.c (STRNCAT): Use prototype definition.
46402 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46403 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46405 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46406 (localedef-modules): Add localedef.
46407 (locale-modules): Add locale.
46409 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46410 * elf/rtld.c (dl_main): Invert order of assignment in last change,
46411 to avoid a warning.
46413 2011-08-14 David S. Miller <davem@davemloft.net>
46415 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46416 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46418 2011-08-13 Ulrich Drepper <drepper@gmail.com>
46420 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46421 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46422 * elf/rtld.c (dl_main): Set l_name of vDSO.
46423 Call _dl_show_scope when DL_DEBUG_SCOPES.
46424 (process_dl_debug): Recognize scopes flag and also set it for all.
46425 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46426 Declare _dl_show_scope.
46428 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46429 (do_dlopen): Pass caller_dlopen to dl_open.
46430 (__libc_dlopen_mode): Initialize caller_dlopen.
46432 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46433 of libc. Make tolower call locale-independent. Optimize a bit by
46434 using isdigit instead of isalnum.
46435 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46437 2011-08-12 Ulrich Drepper <drepper@gmail.com>
46439 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46440 was a dependency or dynamically loaded.
46442 2011-08-11 Ulrich Drepper <drepper@gmail.com>
46444 * intl/l10nflist.c: Allow architecture-specific pop function.
46445 * sysdeps/x86_64/l10nflist.c: New file.
46447 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46450 2011-08-10 Andreas Schwab <schwab@redhat.com>
46452 * include/dirent.h: Add libc_hidden_proto for scandirat and
46453 scandirat64. Don't declare __scandirat64.
46454 * dirent/scandirat.c: Add libc_hidden_def.
46455 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46456 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46458 2011-08-10 David S. Miller <davem@davemloft.net>
46460 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46462 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46463 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46464 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46466 2011-08-09 Ulrich Drepper <drepper@gmail.com>
46468 * Versions.def [libc]: Add GLIBC_2.15.
46469 * dirent/Makefile (routines): Add scandirat and scandirat64.
46470 * dirent/Versions [libc]: Export scandirat and scandirat64 for
46472 * dirent/dirent.h: Declare scandirat and scandirat64.
46473 * dirent/scandirat.c: New file.
46474 * dirent/scandirat64.c: New file.
46475 * sysdeps/wordsize-64/scandirat.c: New file.
46476 * sysdeps/wordsize-64/scandirat64.c: New file.
46477 * dirent/opendir.c: Define opendirat.
46478 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
46480 * dirent/scandir64.c: Adjust for scandir.c change.
46481 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
46482 __scandirat64, and __scandir_cancel_handler.
46483 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
46484 additional parameter and use openat instead of open (outside of ld.so).
46485 Add new __opendir as wrapper around __opendirat.
46486 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46487 here without requiring old scandirat implementation.
46489 2011-08-08 Ulrich Drepper <drepper@gmail.com>
46491 * dirent/scandir.c (cancel_handler): Renamed to
46492 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
46493 defined. Adjust users.
46494 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46495 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46497 2011-08-04 Ulrich Drepper <drepper@gmail.com>
46499 * string/test-string.h (IMPL): Use __STRING to expand name and then
46502 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
46505 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46507 * string/Makefile: Update.
46508 (strop-tests): Append strncat.
46509 * string/test-wcscmp.c: New file.
46510 New comprehensive test for wcscmp.
46511 * string/test-strcmp.c: Update.
46512 (WIDE): New define.
46514 2011-07-22 Andreas Schwab <schwab@redhat.com>
46516 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46519 2011-07-26 Andreas Schwab <schwab@redhat.com>
46521 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46522 encoding to ACE if AI_IDN.
46524 2011-08-01 Jakub Jelinek <jakub@redhat.com>
46526 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46527 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46529 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46531 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46532 Fix overflow bug in strncat.
46533 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46535 * string/test-strncat.c: Update.
46536 Add new tests for checking overflow bugs.
46538 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46540 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46541 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46542 * sysdeps/i386/i686/multiarch/strcat.S: New file.
46543 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46544 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46545 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46546 * sysdeps/i386/i686/multiarch/strncat.S: New file.
46547 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46548 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46550 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46551 (USE_AS_STRCAT): Define.
46552 Add strcat and strncat support.
46553 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46555 2011-07-25 Andreas Schwab <schwab@redhat.com>
46557 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46558 __n bigger than INT_MAX+1.
46559 (__strncmp_g): Likewise.
46561 2011-07-23 Ulrich Drepper <drepper@gmail.com>
46563 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46564 * libio/stido.h: Likewise.
46566 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46568 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46571 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46572 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46573 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46574 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46575 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46578 * scripts/test-installation.pl: Don't expect libnss_test1 to be
46581 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46583 (_dl_x86_64_save_sse): Likewise.
46585 2011-07-22 Ulrich Drepper <drepper@gmail.com>
46587 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46589 (_dl_x86_64_save_sse): Likewise.
46591 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46593 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46595 2011-07-21 Andreas Schwab <schwab@redhat.com>
46597 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46599 (_dl_x86_64_save_sse): Use correct AVX check.
46601 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46603 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46604 bug in strncpy/strncat.
46605 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46607 2011-07-21 Ulrich Drepper <drepper@gmail.com>
46609 * string/tester.c (test_strcat): Add tests for different alignments
46610 of source and destination.
46611 (test_strncat): Likewise.
46613 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46616 * posix/glob.c (glob): Check passed in values before using them in
46617 expressions to avoid some overflows.
46618 (glob_in_dir): Likewise.
46621 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46622 check for AVX enablement so that we don't crash with old kernels and
46624 * elf/tst-audit4.c: Add same checks here.
46625 * elf/tst-audit6.c: Likewise.
46627 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46629 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
46631 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46633 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46635 * po/cs.po: Update from translation team.
46636 * po/bg.po: Likewise.
46638 2011-07-12 Marek Polacek <mpolacek@redhat.com>
46640 * misc/sys/cdefs.h: Add support for const attribute.
46641 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46642 to gnu_dev_{major,minor,makedev} functions.
46644 2011-07-20 Marek Polacek <mpolacek@redhat.com>
46646 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46648 2011-07-20 Andreas Schwab <schwab@redhat.com>
46650 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46653 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46655 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46656 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46657 register in order to avoid conflicts with the soft frame pointer
46658 being held in r11 when necessary.
46659 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46660 (INTERNAL_VSYSCALL_NCS): Likewise.
46662 2011-07-14 Marek Polacek <mpolacek@redhat.com>
46664 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46665 * elf/dl-fini.c (_dl_fini): Adjust caller.
46666 * elf/dl-close.c (_dl_close_worker): Likewise.
46667 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46669 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46671 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46672 "aux_cache->nlibs < 0".
46674 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46675 in the reload-count case.
46677 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46679 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46680 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46681 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46682 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46683 * sysdeps/x86_64/multiarch/strcat.S: New file.
46684 * sysdeps/x86_64/multiarch/strncat.S: New file.
46685 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46686 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46687 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46688 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46689 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46690 (USE_AS_STRCAT): Define.
46691 Add strcat and strncat support.
46692 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46693 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46694 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46695 * string/strncat.c: Update.
46696 (USE_AS_STRNCAT): Define.
46697 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46698 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46700 * sysdeps/x86_64/multiarch/init-arch.h
46701 (bit_Prefer_PMINUB_for_stringop): New.
46702 (index_Prefer_PMINUB_for_stringop): Likewise.
46703 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46704 bit_Prefer_PMINUB_for_stringop.
46706 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46708 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46710 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46711 of casting of buffer.
46712 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46713 buffer32 and buffer64.
46714 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46715 writes instead of casting of buffer.
46716 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46718 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46721 2011-07-19 Andreas Schwab <schwab@redhat.com>
46723 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46725 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46727 * nscd/nscd.c (termination_handler): Don't do anything for a database
46728 if it has not yet been initialized.
46730 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46732 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46734 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46736 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46738 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46740 * po/nl.po: Update from translation team.
46741 * po/sv.po: Likewise.
46743 2011-07-16 Roland McGrath <roland@hack.frob.com>
46745 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46746 now disallowed by GCC.
46748 * configure.in (use-default-link): Default to yes if a test -shared
46749 link meets our qualifications.
46750 * configure: Regenerated.
46752 * config.make.in (output-format): New variable.
46753 * configure.in: Check for ld --print-output-format support.
46754 * configure: Regenerated.
46755 * Makerules ($(common-objpfx)format.lds)
46756 [$(output-format) != unknown]: Just use $(output-format),
46757 instead of the linker-script munging.
46759 2011-07-14 Roland McGrath <roland@hack.frob.com>
46761 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46762 of $(common-objpfx)shlib.lds.
46763 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46765 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46766 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46768 * configure.in (-z relro check): Adjust test code to add a large
46769 writable data section after it.
46770 * configure: Regenerated.
46772 2011-07-11 Roland McGrath <roland@hack.frob.com>
46774 * configure.in (-z relro check): Fix test code to make the variable
46776 * configure: Regenerated.
46778 2011-07-11 Ulrich Drepper <drepper@gmail.com>
46780 * nscd/nscd.h (struct traced_file): Define.
46781 (struct database_dyn): Remove inotify_descr, reset_res, and filename
46782 elements. Add traced_files.
46783 (inotify_fd): Declare.
46784 (register_traced_file): Declare.
46785 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46786 (inotify_fd): Export.
46787 (resolv_conf_descr): Remove.
46788 (nscd_init): Move inotify descriptor creation to main.
46789 Don't register files for notification here.
46790 (register_traced_file): New function.
46791 (invalidate_cache): Don't use reset_res to determine whether to call
46792 res_init, go through the list of registered files.
46793 (main_loop_poll): The inotify descriptors are now stored in the
46794 structures for the traced files.
46795 (main_loop_epoll): Likewise
46796 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
46797 to __nss_disable_nscd.
46798 * nscd/cache.c (prune_cache): There is no single inotify descriptor
46799 for a database anymore. Check the records for all the registered
46801 * nss/Makefile (libnss_files-routines): Add files-init.
46802 (libnss_db-routines): Add db-init.
46803 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46804 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46805 * nss/nss_db/db-init.c: New file.
46806 * nss/nss_files/files-init.c: New file.
46807 * nss/nsswitch.c (nss_load_library): New function. Broken out of
46808 __nss_lookup_function.
46809 (__nss_lookup_function): Call nss_load_library.
46810 (nss_load_all_libraries): New function.
46811 (__nss_disable_nscd): Take parameter with callback function for files
46812 to register. Set is_nscd. Load all the DSOs for the NSS modules
46813 used for the cached services.
46814 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46815 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46816 options for features to all the files in nscd.
46818 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46820 2011-07-10 Roland McGrath <roland@hack.frob.com>
46822 * csu/elf-init.c (__libc_csu_init): Comment typo.
46824 2011-07-09 Ulrich Drepper <drepper@gmail.com>
46826 * po/pl.po: Update from translation team.
46827 * po/ja.po: Likewise.
46828 * po/ru.po: Likewise.
46829 * po/ko.po: Likewise.
46830 * po/fr.po: Likewise.
46832 2011-07-09 Roland McGrath <roland@hack.frob.com>
46834 * configure.in (.ctors/.dtors header and trailer check):
46835 Use an empirical test on a built program.
46836 * configure: Regenerated.
46838 * configure.in (-z relro check): Use an empirical test on a built DSO.
46839 Detect, but do not require, on ia64.
46840 * configure: Regenerated.
46842 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46843 Update tests that use readelf to use $READELF instead.
46844 * configure: Regenerated.
46846 2011-07-08 Ulrich Drepper <drepper@gmail.com>
46848 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46849 if the result is not used.
46851 2011-07-05 Andreas Jaeger <aj@suse.de>
46854 * stdlib/tst-strtod.c: Add testcase.
46856 2011-07-07 Ulrich Drepper <drepper@gmail.com>
46858 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46859 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46860 The latter has a higher limit. Take additional parameter to pass to
46862 (__pathconf): Pass file to __statfs_link_max.
46863 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46865 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46869 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46870 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46872 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46873 (__statfs_filesize_max): Likewise.
46874 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46876 2011-07-05 Andreas Jaeger <aj@suse.de>
46878 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46880 2011-07-06 Marek Polacek <mpolacek@redhat.com>
46882 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46884 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46887 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46889 * Makefile (strop-tests): Add strncat.
46890 * string/test-strncat.c: New file.
46892 2011-06-30 Marek Polacek <mpolacek@redhat.com>
46894 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46896 2011-06-21 Andreas Jaeger <aj@suse.de>
46898 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46899 Copy rule from iconvdata/Makefile.
46901 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46904 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46905 but no long options are defined, just return 'W'.
46907 2011-06-22 Marek Polacek <mpolacek@redhat.com>
46910 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46912 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46914 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46916 (innetgr): Likewise.
46918 2011-07-05 Roland McGrath <roland@hack.frob.com>
46920 * config.make.in (install_root): Default to $(DESTDIR).
46922 2011-07-05 Ulrich Drepper <drepper@gmail.com>
46924 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46926 2011-07-02 Roland McGrath <roland@hack.frob.com>
46928 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46930 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46931 containing directory rather than embedding absolute directory names.
46933 * scripts/check-local-headers.sh: Rewritten using awk.
46934 Match by word, not by line. Print error messages for matches.
46935 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46937 * Makerules [shlib-lds-flags empty]:
46938 ($(common-objpfx)libc_pic.opts): New target.
46939 ($(common-objpfx)libc_pic.os.clean): New target.
46940 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46942 * config.make.in (OBJCOPY): New variable.
46943 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46944 * configure: Regenerated.
46946 * config.make.in (use-default-link): New variable.
46947 * configure.in (use_default_link): Grok --with-default-link to set it.
46948 * configure: Regenerated.
46949 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46950 (shlib-lds, shlib-lds-flags): Define to empty.
46952 * Makerules (shlib-lds): New variable.
46953 (shlib-lds-flags): New variable.
46954 (build-shlib, build-moduile, build-module-asneeded): Use it.
46955 ($(common-objpfx)libc.so): Use $(shlib-lds).
46956 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46957 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46959 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46960 DT_FLAGS/DT_FLAGS_1 with zero flags.
46962 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46963 linker script munging.
46965 2011-07-02 Ulrich Drepper <drepper@gmail.com>
46967 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46969 * crypt/sha512.c (sha512_process_block): Perform total addition using
46970 128-bit if possible.
46971 (__sha512_finish_ctx): Likewise.
46972 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46974 * crypt/sha256.c (SWAP64): Define.
46975 (sha256_process_block): Perform total addition using 64-bit if
46977 (__sha256_finish_ctx): Likewise.
46979 2011-07-01 Ulrich Drepper <drepper@gmail.com>
46981 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
46982 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46983 * nscd/hstcache.c (cache_addhst): Likewise.
46984 * nscd/grpcache.c (cache_addgr): Likewise.
46985 * nscd/aicache.c (addhstaiX): Likewise
46986 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46988 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
46990 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46991 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46992 * nscd/hstcache.c (cache_addhst): Likewise.
46993 * nscd/grpcache.c (cache_addgr): Likewise.
46994 * nscd/aicache.c (addhstaiX): Likewise
46996 2011-07-01 Andreas Schwab <schwab@redhat.com>
46998 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46999 domain only when needed.
47001 2011-06-30 Andreas Schwab <schwab@redhat.com>
47003 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47004 is always restored.
47006 2011-06-29 Ulrich Drepper <drepper@gmail.com>
47008 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47009 are re-adding the entry.
47010 * nscd/servicescache.c (cache_addserv): Likewise.
47012 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
47014 * sysdeps/generic/dl-irel.h: fix protection against multiple
47016 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47018 2011-06-28 Ulrich Drepper <drepper@gmail.com>
47021 * malloc/memusage.sh: Fix quoting in message.
47022 * debug/xtrace.sh: Likewise.
47024 * configure.in: Remove support for --experimental-malloc option, make
47026 * config.make.in: Likewise.
47027 * malloc/Makefile: Likewise.
47029 2011-06-27 Andreas Schwab <schwab@redhat.com>
47031 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47032 two-byte characters.
47034 2011-06-27 Roland McGrath <roland@hack.frob.com>
47036 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47037 AC_CACHE_CHECK invocation.
47038 * configure: Regenerated.
47040 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47042 2011-06-27 Ulrich Drepper <drepper@gmail.com>
47045 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
47046 bit from old_res_options.
47048 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47050 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47051 value type for setfct.
47053 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
47055 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47056 __gettimeofday instead of gettimeofday.
47058 2011-06-26 Ulrich Drepper <drepper@gmail.com>
47060 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47062 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
47064 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47066 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47069 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47071 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47072 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47073 strcpy-sse2-unaligned strncpy-sse2-unaligned
47074 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47075 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47076 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47077 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47078 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47079 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47080 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47081 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47082 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47083 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47084 (STRCPY): Support SSE2 and SSSE3 versions.
47086 2011-06-24 Ulrich Drepper <drepper@gmail.com>
47089 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47090 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47091 kernels which artificially limit size of requests.
47093 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
47095 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47096 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47097 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47098 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47099 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47100 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47101 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47102 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47103 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47104 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47105 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47106 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47107 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47108 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47109 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47110 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47111 Enable unaligned load optimization for Intel Core i3, i5 and i7
47113 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47115 (index_Fast_Unaligned_Load): Define.
47116 (HAS_FAST_UNALIGNED_LOAD): Define.
47118 2011-06-23 Marek Polacek <mpolacek@redhat.com>
47120 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47122 2011-06-22 Ulrich Drepper <drepper@gmail.com>
47125 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47126 until it is clear that the information is realy needed.
47127 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47129 2011-06-22 Andreas Schwab <schwab@redhat.com>
47131 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47133 2011-06-22 Ulrich Drepper <drepper@gmail.com>
47135 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47136 /sys/devices/system/cpu/online if it is usable.
47138 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47139 reading the information from the /proc filesystem to once a second.
47141 2011-06-21 Andreas Jaeger <aj@suse.de>
47143 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47144 NULL after inclusion of kernel headers.
47146 2011-06-21 Ulrich Drepper <drepper@gmail.com>
47148 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47149 calls to internal_setent.
47152 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47153 addresses using gethostbyname4_r ignore IPv4 addresses.
47155 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47156 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
47158 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47160 2011-06-20 David S. Miller <davem@davemloft.net>
47162 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47164 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47166 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47167 (elf_irel): Use it.
47168 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47169 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47170 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47171 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47172 * sysdeps/x86_64/dl-irel.h: Likewise.
47174 * elf/dl-runtime.c: Use elf_ifunc_invoke.
47175 * elf/dl-sym.c: Likewise.
47177 2011-06-15 Ulrich Drepper <drepper@gmail.com>
47179 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
47180 need to dereference resplen2.
47182 2011-06-14 Andreas Schwab <schwab@redhat.com>
47184 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47186 2011-06-15 Ulrich Drepper <drepper@gmail.com>
47188 * Makeconfig: Define vardbdir and inst_vardbdir.
47189 * nss/Makefile: Add rules to install db-Makefile.
47191 * nss/nss_db/db-XXX.c: Cleanup.
47193 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47194 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47196 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47197 * nss/makedb.c: Implement -g option to specify that value strings
47198 are generated and should not be added to table iterated over for
47200 * nss/nss_db/db-initgroups.c: New file.
47202 * nss/getent.c: Add support for initgroups lookups through getgrouplist
47205 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47206 (internal_getgrouplist): Adjust to name change.
47207 Update use_initgroups_entry if this is not the first call.
47208 * nss/databases.def: Add initgroups entry.
47210 * nss/makedb.c (compute_tables): Check result of multiple hash table
47211 sizes to minimize maximum chain length.
47213 2011-06-14 Ulrich Drepper <drepper@gmail.com>
47215 * Versions.def: Add entry for libnss_db.
47216 * shlib-versions: Likewise.
47217 * nss/Makefile: Add rules to build libnss_db.
47218 * nss/Versions: Add libnss_db information. Organize libnss_files
47220 * nss/db-Makefile: Add gshadow support. Change rules for the new
47221 makedb progra. Some minor improvements to generate smaller files.
47222 * nss/nss_db/nss_db.h: Move NSS database header data structures to
47224 * nss/makedb.c: ...here.
47225 Improve database format to be smaller and require less memory at
47227 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
47229 * nss/nss_db/db-netgrp.c: Likewise.
47230 * nss/nss_db/db-open.c: Likewise.
47231 * nss/nss_files/flies-XXX.x: Adjust comments.
47232 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47233 * nss/nss_files/files-grp.c: Likewise.
47234 * nss/nss_files/files-hosts.c: Likewise.
47235 * nss/nss_files/files-network.c: Likewise.
47236 * nss/nss_files/files-proto.c: Likewise.
47237 * nss/nss_files/files-pwd.c: Likewise.
47238 * nss/nss_files/files-rpc.c: Likewise.
47239 * nss/nss_files/files-service.c: Likewise.
47240 * nss/nss_files/files-sgrp.c: Likewise.
47241 * nss/nss_files/files-spwd.c: Likewise.
47242 * nss/nss_db/db-alias.c: Removed.
47243 * nss/nss_db/dummy-db.h: Removed.
47245 2011-06-02 Ulrich Drepper <drepper@gmail.com>
47247 * nss/makedb.c: Rewritten to not use database library.
47248 * nss/Makefile: Update to build new makedb program.
47250 2011-06-14 Andreas Jaeger <aj@suse.de>
47252 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47253 memset declaration.
47255 2011-06-10 Andreas Schwab <schwab@redhat.com>
47257 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47260 2011-06-10 Roland McGrath <roland@hack.frob.com>
47262 * Makerules (shlib.lds): Fail if the linker script comes out empty.
47263 * elf/Makefile ($(objpfx)ld.so): Likewise.
47265 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47266 Don't list ld.so twice in dependencies.
47268 * posix/bug-regex31.c: Include <stdlib.h>.
47270 * nscd/hstcache.c (cache_addhst): Remove unused variable.
47272 * nis/nss_compat/compat-spwd.c
47273 (getspent_next_nss_netgr): Remove unused variable.
47274 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47276 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47277 nonmembers" output to use the right array.
47279 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47281 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47283 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47284 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47285 * catgets/gencat.c (read_input_file): Likewise.
47286 * locale/programs/locarchive.c (enlarge_archive): Likewise.
47288 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47289 variable definition inside #if's controlling its use.
47291 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47293 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47295 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47297 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47300 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47302 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47303 * configure: Regenerated.
47305 * Makerules: Revert last change.
47306 * elf/Makefile: Likewise.
47308 2011-06-09 Roland McGrath <roland@hack.frob.com>
47310 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47311 * elf/Makefile ($(objpfx)librtld.os): Likewise.
47312 (reloc-link): Likewise.
47314 2011-06-09 Ulrich Drepper <drepper@gmail.com>
47316 * elf/Makefile: Add rules to build pldd.
47317 * elf/pldd.c: New file.
47318 * elf/pldd-xx.c: New file.
47320 2011-06-07 Ulrich Drepper <drepper@gmail.com>
47322 * version.h: Update for 2.15 development version.
47324 2011-06-07 David S. Miller <davem@davemloft.net>
47326 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47328 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47329 elf_machine_lazy_rel): Likewise.
47330 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47331 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47332 elf_machine_lazy_rel): Likewise.
47333 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47334 dl_hwcap via passed in argument.
47335 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47338 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47340 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
47342 2011-06-06 Roland McGrath <roland@hack.frob.com>
47345 * manual/fdl-1.1.texi: New file, verbatim from:
47346 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47347 * manual/lgpl-2.1.texi: New file, verbatim from:
47348 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47349 * manual/Makefile (licenses): New variable, list those new file names.
47351 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47353 * manual/fdl.texi: File removed.
47354 * manual/lesser.texi: File removed.
47355 * manual/libc.texinfo (Copying, Documentation License):
47356 Use new @include file names, put @appendix directive before @include.
47358 2011-06-04 Jakub Jelinek <jakub@redhat.com>
47361 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47362 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47363 (mq_open): Add __NTH.
47365 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
47367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47368 Assume Intel Core i3/i5/i7 processor if AVX is available.
47370 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47372 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47375 2011-05-31 Andreas Schwab <schwab@redhat.com>
47377 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47378 memory. Use alloca_account. Fix memory leak when retrying.
47380 2011-05-31 Ulrich Drepper <drepper@gmail.com>
47382 * version.h (RELEASE): Bump for 2.14 release.
47383 * include/features.h (__GLIBC_MINOR__): Bump to 14.
47385 * config.make.in (RANLIB): Remove entry.
47387 2011-05-30 Ulrich Drepper <drepper@gmail.com>
47389 * po/Makefile (po-sed-cmd): Add ksh to extensions.
47390 (libc.pot): Work around missing support for .ksh extension in xgettext.
47393 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47394 if both request failed.
47395 (send_dg): In case of server errors clear resplen or *resplen2.
47398 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47399 when there are multiple maps.
47400 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47401 (_dl_fini): Remove test here.
47403 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47405 2011-05-29 Ulrich Drepper <drepper@gmail.com>
47408 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47409 bit from old_res_options.
47410 (gaih_inet): Likewise.
47413 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47416 * resolv/res_init.c (res_setoptions): Make the code more compact.
47419 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47423 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47425 * malloc/malloc.h: Mark malloc hook variables as deprecated.
47428 * malloc/malloc.h: Declare malloc hook variables as volatile.
47430 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47434 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47435 raise in the comment.
47436 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47437 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47438 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47440 2011-05-28 Ulrich Drepper <drepper@gmail.com>
47443 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47444 grow the buffers more if it already has to be sufficient.
47445 (build_wcs_upper_buffer): Likewise.
47446 * posix/regexec.c (check_matching): Likewise.
47447 (clean_state_log_if_needed): Likewise.
47448 (extend_buffers): Don't enlarge buffers beyond size of the input
47450 Patches mostly by Emil Wojak <emil@wojak.eu>.
47451 * posix/bug-regex32.c: New file.
47452 * posix/Makefile (tests): Add bug-regex32.
47454 * locale/findlocale.c (_nl_find_locale): Return right away if
47455 _nl_explode_name failed.
47456 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47458 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47460 * debug/xtrace.sh: Unify messages.
47461 * malloc/memusage.sh: Likewise.
47464 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47465 time symbol from vDSO. Substitute with vsyscall if not available.
47466 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47469 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47470 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47471 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47472 Add sendmmsg and internal_sendmmsg.
47473 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47474 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47475 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47477 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47478 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47479 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47481 2011-05-27 Ulrich Drepper <drepper@gmail.com>
47484 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47485 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
47487 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47491 * iconvdata/Makefile (tests): Add bug-iconv9.
47492 * iconvdata/bug-iconv9.c: New file.
47494 2011-05-27 Andreas Schwab <schwab@redhat.com>
47497 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47499 2011-05-25 Jakub Jelinek <jakub@redhat.com>
47501 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47502 (struct user_regs_struct): Change intcs field back to cs.
47504 2011-05-25 Ulrich Drepper <drepper@gmail.com>
47506 * po/ja.po: Update from translation team.
47508 2011-05-23 Ulrich Drepper <drepper@gmail.com>
47511 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47512 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47514 2011-05-20 Andreas Schwab <schwab@redhat.com>
47516 * stdlib/longlong.h: Update from GCC.
47518 2011-05-23 Andreas Schwab <schwab@redhat.com>
47520 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47522 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47523 Add parameter name.
47524 (__sysconf): Pass it down.
47526 2011-05-22 Ulrich Drepper <drepper@gmail.com>
47529 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47531 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47532 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47533 add in in __libc_use_alloca calls. Adjust callers.
47534 (glob): Use malloc in some situations.
47536 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47537 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47540 2011-05-21 Ulrich Drepper <drepper@gmail.com>
47542 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47543 and CLOCK_BOOTTIME_ALARM.
47546 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47549 * string/_strerror.c (__strerror_r): Print negative errors as signed
47553 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47554 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47555 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47557 * configure.in: Fix typo in redirection and correct removal of test
47558 files in two cases.
47561 * locale/setlocale.c (new_composite_name): Fix test to check for
47562 identical name of all categories.
47565 * libio/filedoalloc.c (local_isatty): New function.
47566 (_IO_file_doallocate): Use local_isatty.
47567 * stdio-common/perror.c (perror): In case a new stream is used
47568 forward the stream error.
47569 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47572 2011-05-20 Ulrich Drepper <drepper@gmail.com>
47575 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47577 * include/alloca.h (extend_alloca_account): Define.
47580 * posix/regex.h: Fix comments with documentation of user-accessible
47581 fields after compilation and describe correct free'ing of pattern
47582 after re_compile_pattern.
47583 Patch by Reuben Thomas <rrt@sc3d.org>.
47585 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
47587 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47588 and -mno-altivec to prevent the compiler from using Altivec and/or
47589 VSX instructions when the corresponding registers are not available.
47591 2011-05-19 Andreas Schwab <schwab@redhat.com>
47593 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47595 2011-05-19 Ulrich Drepper <drepper@gmail.com>
47597 * libio/freopen.c (freopen): Use __dup2, not dup2.
47598 * libio/freopen64.c (freopen64): Likewise.
47600 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
47603 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47604 * math/Makefile (tests): Add test-powl.
47605 (CFLAGS-test-powl.c): Define.
47606 * math/test-powl.c: New file.
47608 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
47610 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47612 2011-05-17 Ulrich Drepper <drepper@gmail.com>
47615 * iconvdata/gb18030.c: Update to GB18020-2005.
47617 2011-05-16 Ulrich Drepper <drepper@gmail.com>
47619 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47620 RE_SYNTAX_POSIX_AWK): Update to match recent development.
47621 Patch by Aharon Robbins <arnold@skeeve.com>.
47624 * stdlib/putenv.c (putenv): Don't always create copy of the variable
47628 * misc/pselect.c (__pselect): Handle timeout value errors hidden
47629 through underflows.
47632 * misc/error.c (error_at_line): Ensure file_name and old_file_name
47633 point to strings before performing equality test for error_one_per_line
47637 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47640 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47641 (struct user_fpregs_struct): Avoid __uint*_t types.
47644 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47645 symbol info. Use it instead of calling _dl_addr locally.
47646 (lock_and_info): New function.
47647 (tr_freehook): Call lock_and_info and pass symbol info as additional
47648 parameter to tr_where.
47649 (tr_mallochook): Likewise.
47650 (tr_reallochook): Likewise.
47651 (tr_memalignhook): Likewise.
47653 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47654 used and couldn't be at all thread-safe.
47656 2011-05-15 Ulrich Drepper <drepper@gmail.com>
47658 * libio/freopen.c (freopen): Don't close old file descriptor
47659 before the new one is opened. Instead dup the new file descriptor
47660 to the old one after the new stream is created.
47661 * libio/freopen64.c (freopen64): Likewise.
47662 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47663 * libio/fileops.c (_IO_new_file_close_it): Handle new
47664 _IO_FLAGS2_NOCLOSE flag.
47665 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47666 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47667 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47668 _IO_FLAGS2_NOCLOSE flag.
47669 * include/unistd.h: Add hidden_proto for dup3.
47670 Define __have_dup3.
47671 * io/dup3.c: Define hidden symbol.
47672 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47675 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47676 when an incomplete long option is used.
47677 * posix/tst-getopt_long1.c: New file.
47678 * posix/Makefile (tests): Add tst-getopt_long1.
47681 * scripts/config.guess: Update from autoconf-2.68.
47682 * scripts/config.sub: Likewise.
47685 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47687 (has_cpuclock): ...this. New function.
47688 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47689 macro here based on has_cpuclock code.
47692 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47693 First byte (not low byte) is now always NUL.
47694 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47696 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47697 Use non-cancelable interfaces.
47700 * locale/iso-639.def: Add entry for Sorani.
47703 * include/stdlib.h: Move include protection to the right place.
47704 Define abort_msg_s. Declare __abort_msg with it.
47705 * stdlib/abort.c (__abort_msg): Adjust type.
47706 * assert/assert.c (__assert_fail_base): New function. Majority
47707 of code from __assert_fail. Allocate memory for __abort_msg with
47709 (__assert_fail): Now call __assert_fail_base.
47710 * assert/assert-perr.c: Remove bulk of implementation. Use
47711 __assert_fail_base.
47712 * include/assert.hL Declare __assert_fail_base.
47713 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47715 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47717 2011-05-14 Ulrich Drepper <drepper@gmail.com>
47721 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47722 until all modules are registered in the DTV.
47723 * elf/Makefile: Add rules to build and run tst-tls19.
47724 * elf/tst-tls19.c: New file.
47725 * elf/tst-tls19mod1.c: New file.
47726 * elf/tst-tls19mod2.c: New file.
47727 * elf/tst-tls19mod3.c: New file.
47728 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47731 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47735 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47736 two-byte sequence errors.
47737 * iconvdata/Makefile (tests): Add bug-iconv8.
47738 * iconvdata/bug-iconv8.c: New file.
47741 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47744 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47747 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47748 (dummy_getcfa): New function.
47749 (init): Get _Unwind_GetCFA address, use dummy if not found.
47750 (backtrace_helper): In recursion check, also check whether CFA changes.
47751 (__backtrace): Completely initialize arg.
47753 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47754 storing incomplete byte sequence in state object. Avoid testing for
47755 guaranteed too small input if we know there is enough data available.
47757 2011-05-11 Andreas Schwab <schwab@redhat.com>
47759 * Makeconfig (+link-pie): Indent.
47760 * Rules (binaries-pie): Define if $(have-fpie) and
47762 (binaries-shared): Also filter out $(binaries-pie).
47763 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47764 * nscd/Makefile (others-pie): Add nscd.
47765 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47766 ($(objpfx)nscd): Remove command override.
47767 * login/Makefile (others-pie): Add pt_chown.
47768 ($(objpfx)pt_chown): Remove command override.
47769 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47770 remove command overrides.
47772 2011-05-13 Ulrich Drepper <drepper@gmail.com>
47774 * libio/tst_putwc.c: Fix error messages.
47777 * libio/fileops.c (_IO_new_file_close_it): Always flush when
47778 currently writing and seek to current position when not.
47779 * libio/Makefile (tests): Add bug-fclose1.
47780 * libio/bug-fclose1.c: New file.
47782 2011-05-12 Ulrich Drepper <drepper@gmail.com>
47785 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47786 don't set DF_1_NODELETE here.
47787 (do_lookup_x): When entering new entry test for copy relocation
47788 and if necessary set DF_1_NODELETE flag.
47789 * elf/tst-unique4.cc: New file.
47790 * elf/tst-unique4.h: New file.
47791 * elf/tst-unique4lib.cc: New file.
47792 * elf/Makefile: Add rules to build and run tst-unique4.
47793 Patch by Piotr Bury <pbury@goahead.com>.
47795 2011-05-11 Ulrich Drepper <drepper@gmail.com>
47798 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47801 * misc/mntent_r.c (addmntent): Flush the stream after the output
47804 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47805 (is_trusted_path_normalize): Skip initial colon. Append slash
47806 to empty buffer. Duplicate is_trusted_path code but allow
47807 constructed patch to be prefix.
47808 (is_dst): Allow $ORIGIN followed by /.
47809 (_dl_dst_substitute): Correct clearing of check_for_trusted.
47810 Correct testing of result of is_trusted_path_normalize
47811 (decompose_rpath): Fix warning.
47813 2011-05-10 Ulrich Drepper <drepper@gmail.com>
47816 * grp/initgroups.c (internal_getgrouplist): When we found the service
47817 list through the initgroups entry in nsswitch.conf do not always
47818 continue on a successful lookup. Don't always use the
47819 __nss_group_database value if it is set.
47820 * nss/nsswitch.conf (initgroups): Change action for successful db
47821 lookup to continue for compatibility.
47823 2011-05-09 Ulrich Drepper <drepper@gmail.com>
47826 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47828 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47830 * iconvdata/tst-tables.sh: Likewise.
47831 * iconvdata/cp770.c: New file.
47832 * iconvdata/cp771.c: New file.
47833 * iconvdata/cp772.c: New file.
47834 * iconvdata/cp773.c: New file.
47835 * iconvdata/cp774.c: New file.
47836 * iconvdata/testdata/CP770: New file.
47837 * iconvdata/testdata/CP770..UTF8: New file.
47838 * iconvdata/testdata/CP771: New file.
47839 * iconvdata/testdata/CP771..UTF8: New file.
47840 * iconvdata/testdata/CP772: New file.
47841 * iconvdata/testdata/CP772..UTF8: New file.
47842 * iconvdata/testdata/CP773: New file.
47843 * iconvdata/testdata/CP773..UTF8: New file.
47844 * iconvdata/testdata/CP774: New file.
47845 * iconvdata/testdata/CP774..UTF8: New file.
47847 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47849 * iconvdata/gen-8bit-gap.sh: Likewise.
47850 * iconvdata/gen-8bit.sh: Likewise.
47852 * locale/iso-639.def: Add ary entry.
47855 * locale/C-translit.h.in: Add U20A1 transliteration.
47858 * locale/iso-639.def: Add wae entry.
47859 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47862 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47866 * locale/C-translit.h.in: Add entry for U20B9.
47867 Patch by pravin.d.s@gmail.com.
47869 2011-05-08 Ulrich Drepper <drepper@gmail.com>
47872 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47873 ENAMETOOLONG use generic getcwd.
47874 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
47875 in rtld. Use *stat64.
47876 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47877 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47878 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47879 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47880 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47881 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47882 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47883 __fstatat64 macros.
47884 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47885 * dirent/rewinddir.c: Add libc_hidden_def.
47886 * sysdeps/mach/hurd/rewinddir.c: Likewise.
47887 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
47889 * include/dirent.h (__alloc_dir): Add flags parameter.
47890 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47891 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47893 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47894 from fdopendir if O_CLOEXEC is already set.
47896 2011-03-15 Alan Modra <amodra@gmail.com>
47898 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47899 l_tls_firstbyte_offset non-zero. Save padding offset in
47900 l_tls_firstbyte_offset for later use.
47901 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47902 freeing static tls block.
47904 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47906 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47907 where #ifdef was intended. The intent is to prevent ARG_MAX from
47908 being defined by the kernel headers.
47910 2011-05-07 Ulrich Drepper <drepper@gmail.com>
47913 * resolv/resolv.h: Define RES_NOTLDQUERY.
47914 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47915 no-tld-query and set RES_NOTLDQUERY.
47916 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47917 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47918 modern BIND to search name as TLD unless forbidden.
47920 2011-05-07 Petr Baudis <pasky@suse.cz>
47921 Ulrich Drepper <drepper@gmail.com>
47924 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47925 (is_trusted_path): ...to here.
47926 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47927 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47928 using is_trusted_path_normalize() in setuid scripts.
47930 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47932 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47933 __BEGIN/__END_DECLS.
47935 2011-05-06 Ulrich Drepper <drepper@gmail.com>
47937 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47938 NSS_STATUS_NOTFOUND if no record was found.
47940 2011-05-05 Andreas Schwab <schwab@redhat.com>
47942 * sunrpc/Makefile (headers): Add rpc/netdb.h.
47943 (headers-not-in-tirpc): Remove rpc/netdb.h
47944 * resolv/netdb.h: Revert last change.
47946 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47948 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47949 circular dependency between libgcc.a and libc.a.
47951 2011-05-05 Andreas Schwab <schwab@redhat.com>
47953 * resolv/netdb.h: Don't include <rpc/netdb.h>.
47954 * nis/Makefile: Don't install rpcsvc/*.
47955 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47956 instead of <rpc/types.h>.
47957 (MAXHOSTNAMELEN): Define.
47959 2011-05-03 Andreas Schwab <schwab@redhat.com>
47961 * elf/ldconfig.c (add_dir): Don't crash on empty path.
47963 2011-04-28 Maciej Babinski <mbabinski@google.com>
47966 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47967 gethostbyname4_r when IPv6 results are possible.
47969 2011-05-02 Ulrich Drepper <drepper@gmail.com>
47972 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47973 _PC_PIPE_BUF handling.
47975 2011-04-30 Bruno Haible <bruno@clisp.org>
47978 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47979 * resolv/netdb.h (getnameinfo): Change type of flags parameter
47981 * inet/getnameinfo.c (getnameinfo): Likewise.
47983 2011-04-29 Ulrich Drepper <drepper@gmail.com>
47985 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47986 to groups setting in database lookup.
47987 * nss/nsswitch.conf: Add initgroups entry.
47989 2011-04-22 Ulrich Drepper <drepper@gmail.com>
47992 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47994 Patch by Eric Blake <eblake@redhat.com>.
47996 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
47998 * sunrpc/Makefile (need-export-routines): Add svc_run.
47999 (routines): Remove svc_run.
48000 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48001 * sunrpc/clnt_perr.c (clnt_perrno): Export.
48002 * sunrpc/svc_run.c (svc_run): Likewise.
48003 * sunrpc/svc_udp.c (svcudp_create): Likewise.
48005 2011-04-21 Ulrich Drepper <drepper@gmail.com>
48007 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48008 problem in reallocation in last patch.
48010 2011-04-20 Ulrich Drepper <drepper@gmail.com>
48012 * sunrpc/Makefile: Move inclusion of Rules.
48014 2011-04-19 Ulrich Drepper <drepper@gmail.com>
48016 * nss/nss_files/files-initgroups.c: New file.
48017 * nss/Makefile (libnss_files-routines): Add files-initgroups.
48018 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48019 _nss_files_initgroups_dyn.
48021 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
48023 * elf/elf.h (R_ARM_IRELATIVE): Define.
48025 2011-04-19 Ulrich Drepper <drepper@gmail.com>
48027 * po/ru.po: Update from translation team.
48029 2011-04-17 Ulrich Drepper <drepper@gmail.com>
48031 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48034 2011-02-06 Mike Frysinger <vapier@gentoo.org>
48037 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48038 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48039 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48040 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48041 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48043 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
48045 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48047 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48048 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48049 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48051 2011-04-17 Ulrich Drepper <drepper@gmail.com>
48054 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48056 * stdlib/bug-getcontext.c: New file.
48057 * stdlib/Makefile: Add rules to build and run bug-getcontext.
48059 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48061 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48062 instructions into .machine "z9-109".
48063 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48064 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48066 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48068 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48069 between environment variables and auxiliary vector.
48071 2011-04-16 Ulrich Drepper <drepper@gmail.com>
48073 * Makefile: Add rules to build linkobj/libc.so.
48074 * include/libc-symbols.h: Define libc_hidden_nolink.
48075 * include/rpc/auth.h: Mark functions which are to be hidden.
48076 * include/rpc/auth_des.h: Likewise.
48077 * include/rpc/auth_unix.h: Likewise.
48078 * include/rpc/clnt.h: Likewise.
48079 * include/rpc/des_crypt.h: Likewise.
48080 * include/rpc/key_prot.h: Likewise.
48081 * include/rpc/pmap_clnt.h: Likewise.
48082 * include/rpc/pmap_prot.h: Likewise.
48083 * include/rpc/pmap_rmt.h: Likewise.
48084 * include/rpc/rpc_msg.h: Likewise.
48085 * include/rpc/svc.h: Likewise.
48086 * include/rpc/svc_auth.h: Likewise.
48087 * include/rpc/xdr.h: Likewise.
48088 * nis/Makefile: Link all DSOs against linkobj/libc.so.
48089 * nss/Makefile: Likewise.
48090 * sunrpc/Makefile: Don't install headers. Build library with normal
48091 entry points. Don't build rpcinfo. Link RPC tests appropriately.
48092 * sunrpc/auth_des.c: Hide exported symbols by default, export some
48093 for the compat linking library. Remove use of INTDEF/INTUSE.
48094 * sunrpc/auth_none.c: Likewise.
48095 * sunrpc/auth_unix.c: Likewise.
48096 * sunrpc/authdes_prot.c: Likewise.
48097 * sunrpc/authuxprot.c: Likewise.
48098 * sunrpc/clnt_gen.c: Likewise.
48099 * sunrpc/clnt_perr.c: Likewise.
48100 * sunrpc/clnt_raw.c: Likewise.
48101 * sunrpc/clnt_simp.c: Likewise.
48102 * sunrpc/clnt_tcp.c: Likewise.
48103 * sunrpc/clnt_udp.c: Likewise.
48104 * sunrpc/clnt_unix.c: Likewise.
48105 * sunrpc/des_crypt.c: Likewise.
48106 * sunrpc/des_soft.c: Likewise.
48107 * sunrpc/get_myaddr.c: Likewise.
48108 * sunrpc/key_call.c: Likewise.
48109 * sunrpc/key_prot.c: Likewise.
48110 * sunrpc/netname.c: Likewise.
48111 * sunrpc/pm_getmaps.c: Likewise.
48112 * sunrpc/pm_getport.c: Likewise.
48113 * sunrpc/pmap_clnt.c: Likewise.
48114 * sunrpc/pmap_prot.c: Likewise.
48115 * sunrpc/pmap_prot2.c: Likewise.
48116 * sunrpc/pmap_rmt.c: Likewise.
48117 * sunrpc/publickey.c: Likewise.
48118 * sunrpc/rpc_cmsg.c: Likewise.
48119 * sunrpc/rpc_common.c: Likewise.
48120 * sunrpc/rpc_dtable.c: Likewise.
48121 * sunrpc/rpc_prot.c: Likewise.
48122 * sunrpc/rpc_thread.c: Likewise.
48123 * sunrpc/rtime.c: Likewise.
48124 * sunrpc/svc.c: Likewise.
48125 * sunrpc/svc_auth.c: Likewise.
48126 * sunrpc/svc_authux.c: Likewise.
48127 * sunrpc/svc_raw.c: Likewise.
48128 * sunrpc/svc_run.c: Likewise.
48129 * sunrpc/svc_simple.c: Likewise.
48130 * sunrpc/svc_tcp.c: Likewise.
48131 * sunrpc/svc_udp.c: Likewise.
48132 * sunrpc/svc_unix.c: Likewise.
48133 * sunrpc/svcauth_des.c: Likewise.
48134 * sunrpc/xcrypt.c: Likewise.
48135 * sunrpc/xdr.c: Likewise.
48136 * sunrpc/xdr_array.c: Likewise.
48137 * sunrpc/xdr_float.c: Likewise.
48138 * sunrpc/xdr_intXX_t.c: Likewise.
48139 * sunrpc/xdr_mem.c: Likewise.
48140 * sunrpc/xdr_rec.c: Likewise.
48141 * sunrpc/xdr_ref.c: Likewise.
48142 * sunrpc/xdr_sizeof.c: Likewise.
48143 * sunrpc/xdr_stdio.c: Likewise.
48145 2011-04-10 Ulrich Drepper <drepper@gmail.com>
48148 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48149 * sysdeps/ia64/dl-tls.h: Likewise.
48150 * sysdeps/powerpc/dl-tls.h: Likewise.
48151 * sysdeps/s390/dl-tls.h: Likewise.
48152 * sysdeps/sh/dl-tls.h: Likewise.
48153 * sysdeps/sparc/dl-tls.h: Likewise.
48154 * sysdeps/x86_64/dl-tls.h: Likewise.
48155 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48157 2011-03-14 Andreas Schwab <schwab@redhat.com>
48159 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48160 rpath element also skip the following colon.
48161 (expand_dynamic_string_token): Add is_path parameter and pass
48162 down to DL_DST_REQUIRED and _dl_dst_substitute.
48163 (decompose_rpath): Call expand_dynamic_string_token with
48164 non-zero is_path. Ignore empty rpaths.
48165 (_dl_map_object_from_fd): Call expand_dynamic_string_token
48168 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
48170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48173 2011-04-09 Ulrich Drepper <drepper@gmail.com>
48176 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48177 Patch by Filipe David Manana <fdmanana@apache.org>.
48179 2011-04-07 Andreas Schwab <schwab@redhat.com>
48181 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48182 Maintain aligned stack.
48183 (CHECK_RSP): Remove unused macro.
48185 2011-04-03 Ulrich Drepper <drepper@gmail.com>
48187 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48188 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48190 2011-04-02 Ulrich Drepper <drepper@gmail.com>
48192 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48194 * include/features.h: Mention __USE_XOPEN2K8 in comment.
48196 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
48199 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48200 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48201 * sysdeps/x86_64/memmove.c: New file.
48202 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48203 (memcpy): Renamed to ...
48204 (__new_memcpy): This.
48205 (memcpy): Provide GLIBC_2_14 memcpy.
48206 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48207 (memcpy): Provide GLIBC_2_2_5 memcpy.
48209 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48212 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48214 2011-03-30 Andreas Schwab <schwab@redhat.com>
48216 * misc/syncfs.c: New file.
48217 * misc/Makefile (routines): Add syncfs.
48218 * posix/unistd.h: Declare syncfs.
48219 * sysdeps/unix/syscalls.list: Add syncfs.
48221 2011-04-01 Andreas Schwab <schwab@redhat.com>
48223 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48225 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48226 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48227 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48228 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48229 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48230 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48231 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48233 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48235 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48236 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48237 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48238 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48239 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48240 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48241 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48243 * io/Makefile: Compile fallocate.c, fallocate64.c, and
48244 sync_file_range.c with -fexceptions.
48245 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48246 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48247 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48248 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48249 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48250 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48251 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48252 sync_file_range as cancellation point
48253 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
48254 now a wrapper around __call_sync_file_range with cancellation handling.
48255 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48256 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
48257 function name to __call_sync_file_range.
48258 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48259 Add call_sync_file_range.
48261 2011-04-01 Andreas Schwab <schwab@redhat.com>
48263 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48266 2011-04-01 Ulrich Drepper <drepper@gmail.com>
48268 * iconv/iconv.h: Fix typo in comment.
48269 * io/fcntl.h: Likewise.
48270 * libio/stdio.h: Likewise.
48271 * posix/spawn.h: Likewise.
48272 * posix/unistd.h: Likewise.
48273 * stdlib/stdlib.h: Likewise.
48274 * time/time.h: Likewise.
48275 * wcsmbs/wchar.h: Likewise.
48277 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48278 open_by_handle): Add.
48279 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48280 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
48281 Augment a few comments.
48282 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48283 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48284 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48285 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48286 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48287 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48290 * io/fcntl.h (AT_EMPTY_PATH): Define.
48292 2011-03-30 Ulrich Drepper <drepper@gmail.com>
48294 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48295 * sysdeps/unix/sysv/linux/bits/time.h: New file.
48296 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48298 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
48299 * Versions.def: Add GLIBC_2.14.
48300 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48303 2011-03-22 Ulrich Drepper <drepper@gmail.com>
48305 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48307 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48309 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
48312 * string/test-strncmp.c (do_page_test): New function.
48313 (check2): Likewise.
48314 (test_main): Call check2.
48315 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48317 2011-03-20 Ulrich Drepper <drepper@gmail.com>
48320 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48321 Handle cache information in CPU leaf 4.
48322 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48324 2011-03-18 Ulrich Drepper <drepper@gmail.com>
48327 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48328 character representation.
48329 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48331 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
48333 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48334 END(__isnan) to END(__isnanf) to match function entry point/label
48335 EALIGN(__isnanf,...).
48337 2011-03-10 Jakub Jelinek <jakub@redhat.com>
48339 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48341 2011-03-10 Ulrich Drepper <drepper@gmail.com>
48344 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48345 copy from the symbol referenced in the relocation to initialize the
48347 Patch by Piotr Bury <pbury@goahead.com>.
48348 * elf/Makefile: Add rules to build and tst-unique3.
48349 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48350 * elf/tst-unique3.cc: New file.
48351 * elf/tst-unique3.h: New file.
48352 * elf/tst-unique3lib.cc: New file.
48353 * elf/tst-unique3lib2.cc: New file.
48355 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48357 2011-03-10 Mike Frysinger <vapier@gentoo.org>
48359 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48360 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
48363 2011-03-06 Ulrich Drepper <drepper@gmail.com>
48365 * elf/dl-load.c (_dl_map_object): If we are looking for the first
48366 to-be-loaded object along a path to loader is ld.so.
48368 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48369 Ulrich Drepper <drepper@gmail.com>
48371 * sysdeps/x86_64/memset.S: After aligning destination, code
48372 branches to different locations depending on the value of
48373 misalignment, when multiarch is enabled. Fix this.
48375 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48377 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48378 Set _x86_64_preferred_memory_instruction for AMD processsors.
48379 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48380 Set bit_Prefer_SSE_for_memop for AMD processors.
48382 2011-03-04 Ulrich Drepper <drepper@gmail.com>
48384 * libio/fmemopen.c (fmemopen): Optimize a bit.
48386 2011-03-03 Andreas Schwab <schwab@redhat.com>
48388 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48390 2011-03-03 Roland McGrath <roland@redhat.com>
48392 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48394 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
48396 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48397 __bzero_ultra1 instead of __memset_ultra1.
48399 2011-02-23 Andreas Schwab <schwab@redhat.com>
48400 Ulrich Drepper <drepper@gmail.com>
48403 * include/link.h (struct link_map): Add l_orig_initfini.
48404 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48405 returning unsuccessfully.
48406 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48407 close of a file loaded at startup, restore the original l_initfini
48409 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48410 list, store the pointer.
48411 * elf/Makefile ($(objpfx)noload-mem): New rule.
48412 (noload-ENV): Define.
48413 (tests): Add $(objpfx)noload-mem.
48414 * elf/noload.c: Include <memcheck.h>.
48415 (main): Call mtrace. Close all opened handles.
48417 2011-02-17 Andreas Schwab <schwab@redhat.com>
48420 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48421 dependencies are missing.
48423 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
48425 Fix __if_freereq crash: Unlike the generic version which uses free,
48427 * sysdeps/mach/hurd/ifreq.h: New file.
48429 2011-01-27 Petr Baudis <pasky@suse.cz>
48430 Ulrich Drepper <drepper@gmail.com>
48433 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48434 to extend_alloca().
48435 * stdio-common/bug23.c: New file.
48436 * stdio-common/Makefile (tests): Add bug23.
48438 2010-09-28 Andreas Schwab <schwab@redhat.com>
48439 Ulrich Drepper <drepper@gmail.com>
48442 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48443 before performing relro protection. At old place add assertion
48444 to make sure nothing changed.
48446 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
48447 Glauber de Oliveira Costa <glommer@gmail.com>
48449 * elf/elf.h: Add new ARM TLS relocs.
48451 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
48453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48454 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48456 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
48458 * sysdeps/wordsize-64/tst-writev.c: New file.
48460 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
48462 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48463 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48464 insns in _dl_start to prevent a TOC reference before relocs are
48467 2011-02-15 Ulrich Drepper <drepper@gmail.com>
48470 * Makeconfig: Remove RANLIB definition.
48471 * Makerules: Don't use RANLIB.
48472 * aclocal.m4: Remove ranlib test.
48473 * configure.in: No need to check for ranlib.
48474 * elf/rtld-Rules: Don't use RANLIB.
48476 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
48478 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48480 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48481 inclusion protection macro.
48483 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48484 SIGRTMIN and SIGRTMAX and print information in that case only when
48485 SIGRTMIN is defined.
48487 2011-02-11 Jakub Jelinek <jakub@redhat.com>
48489 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48490 arginfo fn returning -1.
48492 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48493 and thousands string is zero terminated.
48495 2011-02-03 Andreas Schwab <schwab@redhat.com>
48497 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48498 sysdeps/unix/sysv/linux/bits/socket.h.
48500 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
48502 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48503 (__CPU_COUNT): Remove old macros.
48504 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48505 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48506 (__CPU_ALLOC, __CPU_FREE): Add macros.
48507 (__sched_cpualloc, __sched_cpufree): Add declarations.
48509 2011-02-05 Ulrich Drepper <drepper@gmail.com>
48511 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48512 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48513 * nscd/aicache.c (addhstaiX): Return timeout of added value.
48514 (readdhstai): Return value of addhstaiX call.
48515 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48516 (addgrbyX): Return value returned by cache_addgr.
48517 (readdgrbyname): Return value returned by addgrbyX.
48518 (readdgrbygid): Likewise.
48519 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48520 (addpwbyX): Return value returned by cache_addpw.
48521 (readdpwbyname): Return value returned by addhstbyX.
48522 (readdpwbyuid): Likewise.
48523 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48524 (addservbyX): Return value returned by cache_addserv.
48525 (readdservbyname): Return value returned by addservbyX:
48526 (readdservbyport): Likewise.
48527 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48528 (addhstbyX): Return value returned by cache_addhst.
48529 (readdhstbyname): Return value returned by addhstbyX.
48530 (readdhstbyaddr): Likewise.
48531 (readdhstbynamev6): Likewise.
48532 (readdhstbyaddrv6): Likewise.
48533 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48534 (readdinitgroups): Return value returned by addinitgroupsX.
48535 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48536 (prune_cache): Keep track of timeout value of re-added entries.
48537 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48538 * nscd/nscd.h: Adjust prototypes of readd* functions.
48540 2011-02-04 Roland McGrath <roland@redhat.com>
48542 * nis/nis_server.c (nis_servstate): Use the right name for 0.
48543 (nis_stats): Likewise.
48544 * nis/nis_modify.c (nis_modify): Likewise.
48545 * nis/nis_remove.c (nis_remove): Likewise.
48546 * nis/nis_add.c (nis_add): Likewise.
48548 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48550 * posix/fnmatch_loop.c: Add some consts.
48552 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48554 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
48557 * config.make.in (config-cflags-novzeroupper): Define.
48558 * configure.in: Substitute libc_cv_cc_novzeroupper.
48559 * elf/Makefile (AVX-CFLAGS): Define.
48560 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48561 (CFLAGS-tst-auditmod4a.c): Likewise.
48562 (CFLAGS-tst-auditmod4b.c): Likewise.
48563 (CFLAGS-tst-auditmod6b.c): Likewise.
48564 (CFLAGS-tst-auditmod6c.c): Likewise.
48565 (CFLAGS-tst-auditmod7b.c): Likewise.
48566 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48568 2011-02-02 Ulrich Drepper <drepper@gmail.com>
48570 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48571 function to the callback.
48572 Patch partly by Jiri Olsa <jolsa@redhat.com>.
48574 2011-02-02 Andreas Schwab <schwab@redhat.com>
48576 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48579 2011-01-19 Ulrich Drepper <drepper@gmail.com>
48582 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48584 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48586 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48589 * elf/Makefile: Add rules to build and run new test.
48590 * elf/tst-initorder.c: New file.
48591 * elf/tst-initorder.exp: New file.
48592 * elf/tst-initordera1.c: New file.
48593 * elf/tst-initordera2.c: New file.
48594 * elf/tst-initordera3.c: New file.
48595 * elf/tst-initordera4.c: New file.
48596 * elf/tst-initorderb1.c: New file.
48597 * elf/tst-initorderb2.c: New file.
48598 * elf/tst-order-a1.c: New file.
48599 * elf/tst-order-a2.c: New file.
48600 * elf/tst-order-a3.c: New file.
48601 * elf/tst-order-a4.c: New file.
48602 * elf/tst-order-b1.c: New file.
48603 * elf/tst-order-b2.c: New file.
48604 * elf/tst-order-main.c: New file.
48605 New test case by George Gensure <werkt0@gmail.com>.
48607 2010-10-01 Andreas Schwab <schwab@redhat.com>
48609 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48610 decoding ACE if AI_CANONIDN.
48612 2011-01-18 Ulrich Drepper <drepper@gmail.com>
48614 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48616 2011-01-17 Ulrich Drepper <drepper@gmail.com>
48618 * version.h (RELEASE): Bump for 2.13 release.
48619 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48621 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48623 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48625 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48626 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48627 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48628 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48629 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48630 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48632 * posix/getconf.c: Update copyright year.
48633 * catgets/gencat.c: Likewise.
48634 * csu/version.c: Likewise.
48635 * debug/catchsegv.sh: Likewise.
48636 * debug/xtrace.sh: Likewise.
48637 * elf/ldconfig.c: Likewise.
48638 * elf/ldd.bash.in: Likewise.
48639 * elf/sprof.c (print_version): Likewise.
48640 * iconv/iconv_prog.c: Likewise.
48641 * iconv/iconvconfig.c: Likewise.
48642 * locale/programs/locale.c: Likewise.
48643 * locale/programs/localedef.c: Likewise.
48644 * malloc/memusage.sh: Likewise.
48645 * malloc/mtrace.pl: Likewise.
48646 * nscd/nscd.c (print_version): Likewise.
48647 * nss/getent.c: Likewise.
48649 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48650 PF_CAIF, and PF_ALG.
48651 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48653 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48655 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48656 (modules-names): Use them.
48657 (ifunc-test-modules, ifunc-pie-tests): Define.
48658 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48659 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48660 (test-extras): Likewise.
48661 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48662 $(compile-command.c).
48663 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48664 (all-built-dso): Define.
48665 (check-textrel.out, check-execstack.out): Depend on it.
48667 * configure.in: Don't override --enable-multi-arch.
48669 2011-01-15 Ulrich Drepper <drepper@gmail.com>
48672 * nscd/hstcache.c (tryagain): Define.
48673 (cache_addhst): Return tryagain not notfound for temporary errors.
48674 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48677 2011-01-14 Ulrich Drepper <drepper@gmail.com>
48680 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48681 to make the syscall.
48682 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48685 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48686 and fall back to matching as normal character if the string ends before
48687 the matching ']' is found. This is what POSIX requires.
48688 * posix/testfnm.c: Adjust test result.
48689 * posix/globtest.sh: Adjust test result. Add new test.
48690 * posix/tst-fnmatch.input: Likewise.
48691 * posix/tst-fnmatch2.c: Add new test.
48693 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
48695 * elf/Makefile (check-execstack): Revert last change. Depend on
48697 (check-execstack.h): New target.
48698 (generated): Add check-execstack.h.
48699 * elf/check-execstack.c: Include "check-execstack.h".
48700 (main): Revert last change.
48701 (handle_file): Return zero if GNU_STACK is absent and
48702 DEFAULT_STACK_PERMS doesn't include PF_X.
48704 2011-01-13 Ulrich Drepper <drepper@gmail.com>
48706 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48707 in child fails because the descriptor is already closed.
48708 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48709 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48710 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48713 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48717 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48718 temporary buffer used to handle multi lookups locally.
48719 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48721 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48723 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48726 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
48728 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48729 alignment for SSE2.
48731 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48734 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48735 characters. When rounding increased number of integer digits recompute
48737 * stdio-common/tst-grouping.c: New file.
48738 * stdio-common/Makefile: Add rules to build and run tst-grouping.
48740 2011-01-09 Ulrich Drepper <drepper@gmail.com>
48742 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48743 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
48745 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48747 * bits/select.h: Likewise.
48749 2011-01-08 Ulrich Drepper <drepper@gmail.com>
48751 * po/ja.po: Update from translation team.
48753 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
48756 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48757 implementation just like for lxstat, fxstatat, et al.
48759 2010-12-27 Jim Meyering <meyering@redhat.com>
48762 * posix/regexec.c (build_trtable): Return failure indication upon
48763 calloc failure. Otherwise, re_search_internal could infloop on OOM.
48765 2010-12-25 Ulrich Drepper <drepper@gmail.com>
48768 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48769 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48770 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48771 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48774 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48777 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48778 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48780 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
48782 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48783 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48784 script has SORT_BY_INIT_PRIORITY.
48785 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48786 NO_CTORS_DTORS_SECTIONS is defined.
48787 * elf/soinit.c: Likewise.
48788 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48789 NO_CTORS_DTORS_SECTIONS is defined.
48790 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48791 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48792 * sysdeps/sh/init-first.c: Likewise.
48793 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48795 2010-12-24 Ulrich Drepper <drepper@gmail.com>
48797 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48798 always use the slow path.
48800 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
48802 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48803 similar rule which adds the sysdep directories to the header search in
48804 order to pick up the correct platform stackinfo.h.
48805 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48806 perform test if it is, otherwise return successfully without testing.
48807 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48808 DEFAULT_STACK_PERMS define in stackinfo.h.
48809 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48810 defined in stackinfo.h.
48811 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48812 DEFAULT_STACK_PERMS defined in stackinfo.h.
48813 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48814 * sysdeps/ia64/stackinfo.h: Likewise.
48815 * sysdeps/s390/stackinfo.h: Likewise.
48816 * sysdeps/sh/stackinfo.h: Likewise.
48817 * sysdeps/sparc/stackinfo.h: Likewise.
48818 * sysdeps/x86_64/stackinfo.h: Likewise.
48819 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48820 PF_X for powerpc64. Retain PF_X for powerpc32.
48822 2010-12-19 Ulrich Drepper <drepper@gmail.com>
48824 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48826 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48827 GETDENTS_64BIT_ALIGNED.
48829 2010-12-14 Ulrich Drepper <dreper@gmail.com>
48831 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48833 2010-12-10 Andreas Schwab <schwab@redhat.com>
48835 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48838 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48839 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48841 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48842 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48844 2010-12-09 Ulrich Drepper <drepper@gmail.com>
48847 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48850 2010-12-09 Jakub Jelinek <jakub@redhat.com>
48852 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48854 2010-12-03 Ulrich Drepper <drepper@gmail.com>
48856 * po/it.po: Update from translation team.
48858 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48860 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48863 2010-11-30 Ulrich Drepper <drepper@gmail.com>
48865 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48867 2010-11-24 Andreas Schwab <schwab@redhat.com>
48869 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48871 (gaih_getanswer_slice): Likewise.
48873 2010-10-20 Jakub Jelinek <jakub@redhat.com>
48875 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48877 2010-05-31 Petr Baudis <pasky@suse.cz>
48880 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48881 silently even in the chroot mode.
48883 2010-11-22 Ulrich Drepper <drepper@gmail.com>
48885 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48886 last patch a bit. Pretty printing
48888 2010-05-31 Petr Baudis <pasky@suse.cz>
48891 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48892 initialization of skip_initgroups_dyn.
48894 2010-11-19 Ulrich Drepper <drepper@gmail.com>
48896 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48897 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48899 2010-11-16 Ulrich Drepper <drepper@gmail.com>
48901 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48903 2010-11-11 Andreas Schwab <schwab@redhat.com>
48905 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48906 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48907 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48908 ($(objpfx)tst-fnmatch-mem): New rule.
48909 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48910 * posix/tst-fnmatch.c (main): Call mtrace.
48912 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48914 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48915 Support Intel processor model 6 and model 0x2c.
48917 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
48919 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48922 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48925 * string/test-strncasecmp.c (check_result): New function.
48926 (do_one_test): Use it.
48927 (check1): New function.
48928 (test_main): Use it.
48929 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48930 Support strcasecmp and strncasecmp.
48932 2010-11-08 Ulrich Drepper <drepper@gmail.com>
48935 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48936 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48938 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
48940 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48942 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48944 * sysdeps/x86_64/multiarch/bzero.S: New file.
48945 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48946 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48947 * sysdeps/x86_64/multiarch/memset.S: New file.
48948 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48949 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48950 Set bit_Prefer_SSE_for_memop for Intel processors.
48951 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48953 (index_Prefer_SSE_for_memop): Define.
48954 (HAS_PREFER_SSE_FOR_MEMOP): Define.
48956 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
48958 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48959 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48961 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
48964 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48965 (__x86_64_raw_data_cache_size_half): Likewise.
48966 (__x86_64_raw_shared_cache_size): Likewise.
48967 (__x86_64_raw_shared_cache_size_half): Likewise.
48969 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48970 (__x86_64_raw_data_cache_size_half): Likewise.
48971 (__x86_64_raw_shared_cache_size): Likewise.
48972 (__x86_64_raw_shared_cache_size_half): Likewise.
48973 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48974 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48975 and __x86_64_raw_shared_cache_size_half. Round
48976 __x86_64_data_cache_size_half, __x86_64_data_cache_size
48977 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48978 to multiple of 256 bytes.
48980 2010-11-03 Ulrich Drepper <drepper@gmail.com>
48983 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48984 of inacessible symlinks. Verify result of symlink before returning it.
48985 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48986 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48988 2010-10-28 Erich Ritz <erichritz@gmail.com>
48990 * math/math.h (isinf): Fix typo in comment.
48992 2010-11-01 Ulrich Drepper <drepper@gmail.com>
48994 * po/da.po: Update from translation team.
48996 2010-10-26 Ulrich Drepper <drepper@gmail.com>
48998 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48999 is added to the list.
49001 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49002 Ulrich Drepper <drepper@gmail.com>
49004 * elf/dl-object.c (_dl_new_object): Don't append the new object to
49005 the global list here. Move code to...
49006 (_dl_add_to_namespace_list): ...here. New function.
49007 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49008 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49009 * elf/dl-load.c (lose): Don't remove the element from the list.
49010 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49011 (_dl_map_object): Likewise.
49013 2010-10-25 Ulrich Drepper <drepper@gmail.com>
49016 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49017 into all bytes of SSE register.
49018 Patch by Richard Li <richardpku@gmail.com>.
49020 2010-10-24 Ulrich Drepper <drepper@gmail.com>
49023 * malloc/malloc.c (_int_free): Fill correct number of bytes when
49026 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
49028 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49029 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49030 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49031 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49036 2010-10-22 Andreas Schwab <schwab@redhat.com>
49038 * include/dlfcn.h (__RTLD_SECURE): Define.
49039 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
49040 mode & __RTLD_SECURE instead.
49041 (open_path): Rename preloaded parameter to secure.
49042 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49043 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49044 * elf/dl-deps.c (openaux): Likewise.
49045 * elf/rtld.c (struct map_args): Remove is_preloaded.
49046 (map_doit): Don't use it.
49047 (dl_main): Likewise.
49048 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49049 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49051 2010-09-09 Andreas Schwab <schwab@redhat.com>
49053 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49054 (sysd-rules-targets): Remove duplicates.
49055 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49056 rtld-%.$o dependency.
49058 2010-10-18 Andreas Schwab <schwab@redhat.com>
49060 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49061 _dl_map_object do it.
49063 2010-10-19 Ulrich Drepper <drepper@gmail.com>
49065 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49066 fast fma builtins, define the macros in the C99 standard.
49067 (FP_FAST_FMAF): Likewise.
49068 (FP_FAST_FMAL): Likewise.
49069 * sysdeps/x86_64/bits/mathdef.h: Likewise.
49071 * bits/mathdef.h: Update copyright year.
49072 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49074 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
49076 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49077 builtins, define the macros in the C99 standard.
49078 (FP_FAST_FMAF): Likewise.
49079 (FP_FAST_FMAL): Likewise.
49080 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49082 (FP_FAST_FMAF): Likewise.
49084 2010-10-15 Jakub Jelinek <jakub@redhat.com>
49087 * math/libm-test.inc (fma_test): Some new testcases.
49088 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49089 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49090 y and infinite z. Do multiplication by C already in long double.
49091 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49092 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49093 y and infinite z. Do bitwise or of inexact bit into u.d.
49094 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49095 * sysdeps/i386/fpu/s_fmaf.S: Removed.
49096 * sysdeps/i386/fpu/s_fma.S: Removed.
49097 * sysdeps/i386/fpu/s_fmal.S: Removed.
49099 2010-10-16 Jakub Jelinek <jakub@redhat.com>
49102 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49103 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49104 computation is not scheduled after fetestexcept. Fix value
49105 of minimum denormal long double.
49107 2010-10-14 Jakub Jelinek <jakub@redhat.com>
49110 * math/libm-test.inc (fma_test): Add some more tests.
49111 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49114 2010-10-15 Andreas Schwab <schwab@redhat.com>
49116 * scripts/data/localplt-s390-linux-gnu.data: New file.
49117 * scripts/data/localplt-s390x-linux-gnu.data: New file.
49119 2010-10-13 Jakub Jelinek <jakub@redhat.com>
49122 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49123 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49125 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49127 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49128 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49129 if one of x and y is very large and the other is subnormal.
49130 * sysdeps/s390/fpu/s_fmaf.c: New file.
49131 * sysdeps/s390/fpu/s_fma.c: New file.
49132 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49133 * sysdeps/powerpc/fpu/s_fma.S: New file.
49134 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49135 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49136 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49138 2010-10-12 Jakub Jelinek <jakub@redhat.com>
49141 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49143 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49144 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49145 * sysdeps/i386/i686/multiarch/s_fma.c: Include
49146 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49147 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49148 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49149 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49151 2010-10-12 Ulrich Drepper <drepper@redhat.com>
49154 * posix/regcomp.c (parse_branch): One more memory leak plugged.
49155 * posix/bug-regex31.input: Add test case.
49157 2010-10-11 Ulrich Drepper <drepper@gmail.com>
49159 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49160 * posix/bug-regex31.input: New file.
49163 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49164 (parse_sub_exp): Fix last change, use postorder.
49166 * posix/bug-regex31.c: New file.
49167 * posix/Makefile: Add rules to build and run bug-regex31.
49169 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49172 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49175 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49176 to have entries in sys_siglist.
49179 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49182 2010-10-07 Jakub Jelinek <jakub@redhat.com>
49185 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49186 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49187 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49188 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49189 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49190 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49191 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49192 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49193 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49194 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49195 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49196 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49197 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49198 * math/ftestexcept.c (fetestexcept): Likewise.
49199 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49200 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49201 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49202 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49203 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49204 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49205 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49207 2010-10-11 Ulrich Drepper <drepper@gmail.com>
49210 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49213 2010-10-06 Ulrich Drepper <drepper@gmail.com>
49215 * string/bug-strstr1.c: New file.
49216 * string/Makefile: Add rules to build and run bug-strstr1.
49218 2010-10-05 Eric Blake <eblake@redhat.com>
49221 * string/str-two-way.h (two_way_long_needle): Always clear memory
49222 when skipping input due to the shift table.
49224 2010-10-03 Ulrich Drepper <drepper@gmail.com>
49227 * malloc/mcheck.c: Handle large requests.
49230 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49231 for strncmp and strncasecmp.
49232 * string/stratcliff.c: Add tests for strcmp and strncmp.
49233 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49235 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49237 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49240 2010-09-30 Andreas Jaeger <aj@suse.de>
49242 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49243 (CGROUP_SUPER_MAGIC): Define.
49244 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49245 Handle btrfs and cgroup file systems.
49246 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49249 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
49251 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49252 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49254 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49257 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49258 trying to locate the ELF header.
49260 2010-09-27 Andreas Schwab <schwab@redhat.com>
49263 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49264 Mask out sign-bit copies when constructing f_fsid.
49266 2010-09-24 Petr Baudis <pasky@suse.cz>
49268 * debug/stack_chk_fail_local.c: Add missing licence exception.
49269 * debug/warning-nop.c: Likewise.
49271 2010-09-15 Joseph Myers <joseph@codesourcery.com>
49273 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49274 implementing getdents64 using getdents syscall, set d_type if
49275 __ASSUME_GETDENTS32_D_TYPE.
49277 2010-09-16 Andreas Schwab <schwab@redhat.com>
49279 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49280 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49282 2010-09-21 Ulrich Drepper <drepper@redhat.com>
49285 * posix/unistd.h: Undo change of feature selection for ftruncate from
49288 2010-09-20 Ulrich Drepper <drepper@redhat.com>
49290 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49293 2010-09-20 Andreas Schwab <schwab@redhat.com>
49295 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49297 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49299 2010-09-14 Andreas Schwab <schwab@redhat.com>
49301 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49302 variables after CHECK_SP call.
49303 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49305 2010-09-13 Andreas Schwab <schwab@redhat.com>
49306 Ulrich Drepper <drepper@redhat.com>
49308 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49309 re-relocationg ld.so.
49310 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49311 _dl_init_paths call.
49312 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
49315 2010-09-14 Ulrich Drepper <drepper@redhat.com>
49317 * resolv/res_init.c (__res_vinit): Count the default server we added.
49319 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
49320 Ulrich Drepper <drepper@redhat.com>
49323 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49324 (____longjmp_chk): Use %ebx for saving value across system call.
49327 2010-09-06 Andreas Schwab <schwab@redhat.com>
49329 * manual/Makefile: Don't mix pattern rules with normal rules.
49331 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
49333 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49335 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49336 * libio/iofopncook.c (_IO_cookie_init): Likewise.
49337 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49338 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49339 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49342 2010-09-04 Ulrich Drepper <drepper@redhat.com>
49345 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49346 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49348 2010-09-02 Ulrich Drepper <drepper@redhat.com>
49350 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49351 * sysdeps/x86_64/addmul_1.S: Likewise.
49352 * sysdeps/x86_64/lshift.S: Likewise.
49353 * sysdeps/x86_64/mul_1.S: Likewise.
49354 * sysdeps/x86_64/rshift.S: Likewise.
49355 * sysdeps/x86_64/sub_n.S: Likewise.
49356 * sysdeps/x86_64/submul_1.S: Likewise.
49358 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
49360 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49361 Define __sched_param instead of SCHED_* and sched_param when
49362 <bits/sched.h> is included with __need_schedparam defined.
49363 * bits/sched.h [__need_schedparam]
49364 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49365 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49366 (__defined_schedparam): Define to 1.
49367 (__sched_param): New structure, identical to sched_param.
49368 (__need_schedparam): Undefine.
49370 2010-08-31 Mike Frysinger <vapier@gentoo.org>
49372 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49373 (epoll_create1): Declare.
49375 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49377 2010-08-31 Andreas Schwab <schwab@redhat.com>
49380 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49381 shifting retval into place.
49383 2010-09-01 Ulrich Drepper <drepper@redhat.com>
49385 * nis/rpcsvc/nis.h: Update copyright notice.
49386 * nis/rpcsvc/nis.x: Likewise.
49387 * nis/rpcsvc/nis_callback.h: Likewise.
49388 * nis/rpcsvc/nis_callback.x: Likewise.
49389 * nis/rpcsvc/nis_object.x: Likewise.
49390 * nis/rpcsvc/nis_tags.h: Likewise.
49391 * nis/rpcsvc/yp.h: Likewise.
49392 * nis/rpcsvc/yp.x: Likewise.
49393 * nis/rpcsvc/ypupd.h: Likewise.
49394 * nis/yp_xdr.c: Likewise.
49395 * nis/ypupdate_xdr.c: Likewise.
49397 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
49398 mainly the body of pmap_getport. Add parameters to specify timeouts.
49399 (pmap_getport): Use __libc_rpc_getport.
49400 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49401 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49402 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49404 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
49406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49409 2010-08-27 Roland McGrath <roland@redhat.com>
49411 * sysdeps/i386/i686/multiarch/Makefile
49412 (CFLAGS-varshift.c): New variable.
49414 2010-08-27 Ulrich Drepper <drepper@redhat.com>
49416 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49417 * sysdeps/i386/i686/multiarch/varshift.c: New file.
49419 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49421 * sysdeps/x86_64/strlen.S: Minimal code improvement.
49423 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
49425 * sysdeps/x86_64/strlen.S: Unroll the loop.
49426 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49427 strlen-sse2 strlen-sse2-bsf.
49428 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49429 __strlen_no_bsf if bit_Slow_BSF is set.
49430 (__strlen_sse42): Removed.
49431 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49432 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49434 2010-08-25 Roland McGrath <roland@redhat.com>
49436 * sysdeps/x86_64/multiarch/varshift.S: File removed.
49437 * sysdeps/x86_64/multiarch/varshift.c: New file.
49438 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49439 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49440 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49441 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49443 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
49445 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49446 strlen-sse2 strlen-sse2-bsf.
49447 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49448 __strlen_sse2_bsf if bit_Slow_BSF is unset.
49449 (__strlen_sse2): Removed.
49450 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49451 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49452 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49453 bit_Slow_BSF for Atom.
49454 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49455 (index_Slow_BSF): Define.
49456 (HAS_SLOW_BSF): Define.
49458 2010-08-25 Ulrich Drepper <drepper@redhat.com>
49461 * resolv/res_init.c (__res_vinit): When no server address at all
49462 is given default to loopback.
49464 2010-08-24 Roland McGrath <roland@redhat.com>
49466 * configure.in: Remove config-name.h generation.
49467 * configure: Regenerated.
49468 * config-name.in: File removed.
49469 * scripts/config-uname.sh: New file.
49470 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49471 ($(objdir)config-name.h): New target.
49473 * sunrpc/rpc_parse.h: Avoid nested comment.
49475 2010-08-24 Richard Henderson <rth@redhat.com>
49476 Ulrich Drepper <drepper@redhat.com>
49477 H.J. Lu <hongjiu.lu@intel.com>
49479 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49480 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49481 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49482 Replace _mm_srli_si128 with __m128i_shift_right. Replace
49483 _mm_alignr_epi8 with _mm_loadu_si128.
49484 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49485 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49486 (__m128i_shift_right): Removed.
49487 * sysdeps/i386/i686/multiarch/varshift.h: New file.
49488 * sysdeps/i386/i686/multiarch/varshift.S: New file.
49489 * sysdeps/x86_64/multiarch/varshift.h: New file.
49490 * sysdeps/x86_64/multiarch/varshift.S: New file.
49492 2010-08-21 Mike Frysinger <vapier@gentoo.org>
49494 * configure.in: Move assembler checks to before sysdep dir checking.
49496 2010-08-20 Petr Baudis <pasky@suse.cz>
49498 * LICENSES: Sync the sunrpc license.
49500 2010-08-19 Ulrich Drepper <drepper@redhat.com>
49502 * sunrpc/auth_des.c: Update copyright notice once again.
49503 * sunrpc/auth_none.c: Likewise.
49504 * sunrpc/auth_unix.c: Likewise.
49505 * sunrpc/authdes_prot.c: Likewise.
49506 * sunrpc/authuxprot.c: Likewise.
49507 * sunrpc/bindrsvprt.c: Likewise.
49508 * sunrpc/clnt_gen.c: Likewise.
49509 * sunrpc/clnt_perr.c: Likewise.
49510 * sunrpc/clnt_raw.c: Likewise.
49511 * sunrpc/clnt_simp.c: Likewise.
49512 * sunrpc/clnt_tcp.c: Likewise.
49513 * sunrpc/clnt_udp.c: Likewise.
49514 * sunrpc/clnt_unix.c: Likewise.
49515 * sunrpc/des_crypt.c: Likewise.
49516 * sunrpc/des_soft.c: Likewise.
49517 * sunrpc/get_myaddr.c: Likewise.
49518 * sunrpc/getrpcport.c: Likewise.
49519 * sunrpc/key_call.c: Likewise.
49520 * sunrpc/key_prot.c: Likewise.
49521 * sunrpc/openchild.c: Likewise.
49522 * sunrpc/pm_getmaps.c: Likewise.
49523 * sunrpc/pm_getport.c: Likewise.
49524 * sunrpc/pmap_clnt.c: Likewise.
49525 * sunrpc/pmap_prot.c: Likewise.
49526 * sunrpc/pmap_prot2.c: Likewise.
49527 * sunrpc/pmap_rmt.c: Likewise.
49528 * sunrpc/rpc/auth.h: Likewise.
49529 * sunrpc/rpc/auth_unix.h: Likewise.
49530 * sunrpc/rpc/clnt.h: Likewise.
49531 * sunrpc/rpc/des_crypt.h: Likewise.
49532 * sunrpc/rpc/key_prot.h: Likewise.
49533 * sunrpc/rpc/netdb.h: Likewise.
49534 * sunrpc/rpc/pmap_clnt.h: Likewise.
49535 * sunrpc/rpc/pmap_prot.h: Likewise.
49536 * sunrpc/rpc/pmap_rmt.h: Likewise.
49537 * sunrpc/rpc/rpc.h: Likewise.
49538 * sunrpc/rpc/rpc_des.h: Likewise.
49539 * sunrpc/rpc/rpc_msg.h: Likewise.
49540 * sunrpc/rpc/svc.h: Likewise.
49541 * sunrpc/rpc/svc_auth.h: Likewise.
49542 * sunrpc/rpc/types.h: Likewise.
49543 * sunrpc/rpc/xdr.h: Likewise.
49544 * sunrpc/rpc_clntout.c: Likewise.
49545 * sunrpc/rpc_cmsg.c: Likewise.
49546 * sunrpc/rpc_common.c: Likewise.
49547 * sunrpc/rpc_cout.c: Likewise.
49548 * sunrpc/rpc_dtable.c: Likewise.
49549 * sunrpc/rpc_hout.c: Likewise.
49550 * sunrpc/rpc_main.c: Likewise.
49551 * sunrpc/rpc_parse.c: Likewise.
49552 * sunrpc/rpc_parse.h: Likewise.
49553 * sunrpc/rpc_prot.c: Likewise.
49554 * sunrpc/rpc_sample.c: Likewise.
49555 * sunrpc/rpc_scan.c: Likewise.
49556 * sunrpc/rpc_scan.h: Likewise.
49557 * sunrpc/rpc_svcout.c: Likewise.
49558 * sunrpc/rpc_tblout.c: Likewise.
49559 * sunrpc/rpc_util.c: Likewise.
49560 * sunrpc/rpc_util.h: Likewise.
49561 * sunrpc/rpcinfo.c: Likewise.
49562 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49563 * sunrpc/rpcsvc/key_prot.x: Likewise.
49564 * sunrpc/rpcsvc/klm_prot.x: Likewise.
49565 * sunrpc/rpcsvc/mount.x: Likewise.
49566 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49567 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49568 * sunrpc/rpcsvc/rex.x: Likewise.
49569 * sunrpc/rpcsvc/rstat.x: Likewise.
49570 * sunrpc/rpcsvc/rusers.x: Likewise.
49571 * sunrpc/rpcsvc/sm_inter.x: Likewise.
49572 * sunrpc/rpcsvc/spray.x: Likewise.
49573 * sunrpc/rpcsvc/yppasswd.x: Likewise.
49574 * sunrpc/rtime.c: Likewise.
49575 * sunrpc/svc.c: Likewise.
49576 * sunrpc/svc_auth.c: Likewise.
49577 * sunrpc/svc_authux.c: Likewise.
49578 * sunrpc/svc_raw.c: Likewise.
49579 * sunrpc/svc_run.c: Likewise.
49580 * sunrpc/svc_simple.c: Likewise.
49581 * sunrpc/svc_tcp.c: Likewise.
49582 * sunrpc/svc_udp.c: Likewise.
49583 * sunrpc/svc_unix.c: Likewise.
49584 * sunrpc/svcauth_des.c: Likewise.
49585 * sunrpc/xcrypt.c: Likewise.
49586 * sunrpc/xdr.c: Likewise.
49587 * sunrpc/xdr_array.c: Likewise.
49588 * sunrpc/xdr_float.c: Likewise.
49589 * sunrpc/xdr_mem.c: Likewise.
49590 * sunrpc/xdr_rec.c: Likewise.
49591 * sunrpc/xdr_ref.c: Likewise.
49592 * sunrpc/xdr_sizeof.c: Likewise.
49593 * sunrpc/xdr_stdio.c: Likewise.
49595 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49598 2010-08-19 Andreas Schwab <schwab@redhat.com>
49600 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49602 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
49604 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49605 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49606 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49607 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49608 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49609 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49610 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49611 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49612 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49613 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49614 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49615 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49616 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49617 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49619 2010-07-26 Anton Blanchard <anton@samba.org>
49621 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49622 * malloc/arena.c (heap_trim): Likewise.
49624 2010-08-16 Ulrich Drepper <drepper@redhat.com>
49626 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49628 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49629 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49631 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
49633 * sysdeps/i386/elf/Makefile: New file.
49635 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49637 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49638 from fanotify_init.
49639 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49640 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49642 2010-08-15 Ulrich Drepper <drepper@redhat.com>
49644 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49646 * sysdeps/multiarch/strcmp.S: Likewise.
49648 2010-08-14 Ulrich Drepper <drepper@redhat.com>
49650 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49651 strncase_l-nonascii.
49652 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49653 Add strncase_l-ssse3.
49654 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49655 * sysdeps/x86_64/strcmp.S: Likewise.
49656 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49657 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49658 * sysdeps/x86_64/strncase.S: New file.
49659 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49660 * sysdeps/x86_64/strncase_l.S: New file.
49661 * string/Makefile (strop-tests): Add strncasecmp.
49662 * string/test-strncasecmp.c: New file.
49664 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49667 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49668 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49670 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49672 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49674 2010-08-12 Ulrich Drepper <drepper@redhat.com>
49676 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49677 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49678 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49680 2010-05-01 Alan Modra <amodra@gmail.com>
49682 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49683 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49684 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49685 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49686 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49687 tidying. Don't tail-call __sigjmp_save for static lib.
49688 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49690 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49691 (CALL_MCOUNT): Add eh info, and nop after bl.
49692 (TAIL_CALL_SYSCALL_ERROR): New macro.
49693 (PSEUDO_RET): Use it.
49694 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49695 Correct save location of integer regs and cr.
49696 (_dl_profile_resolve): Correct cr save location. Delete nops
49697 after bl when SHARED. Reduce cfi size a little by better
49698 placement of cfi directives.
49699 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49700 make a stack frame. Instead use parm save area as a temp.
49701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49702 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
49703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49704 Don't make a stack frame for parent, use parm save area.
49705 Increase child stack frame to 112 bytes. Don't save unused reg,
49706 and adjust reg usage. Set up cfi on error recovery and
49707 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49709 (__makecontext): Add dummy nop after jump to exit.
49710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49711 Use correct parm save area and cr save, reduce stack frame.
49712 Correct cfi for possible PSEUDO_RET frame setup.
49713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49714 Branch to local label emitted by PSEUDO_RET rather than
49717 2010-08-12 Andreas Schwab <schwab@redhat.com>
49720 * locale/programs/locale.c (print_assignment): New function.
49721 (show_locale_vars): Use it.
49723 2010-08-11 Ulrich Drepper <drepper@redhat.com>
49725 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49727 (struct statfs64): Likewise.
49728 (_STATFS_F_FLAGS): Define.
49729 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49730 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49731 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49732 (ST_VALID): Define locally.
49733 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49734 __statvfs_getflags, use the provided value.
49735 * sysdeps/unix/sysv/linux/kernel-features.h: Define
49736 __ASSUME_STATFS_F_FLAGS.
49738 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49740 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49741 Add sys/fanotify.h.
49742 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49743 fanotify_mask for GLIBC_2.13.
49744 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49745 fanotify_init and fanotify_mark.
49746 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49747 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49749 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49751 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49752 prlimit64 for GLIBC_2.13.
49753 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49755 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49758 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49759 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49760 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49761 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
49763 * sysdeps/unix/sysv/linux/prlimit.c: New file.
49766 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49767 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49769 * nss/Makefile: Add rules to build and run tst-nss-test1.
49770 * shlib-versions: Add entry for libnss_test1.
49771 * nss/nss_test1.c: New file.
49772 * nss/tst-nss-test1.c: New file.
49774 * nss/nsswitch.c (__nss_database_custom): Define new variable.
49775 (__nss_configure_lookup): Set appropriate entry in
49776 __nss_configure_lookup to true.
49777 * nss/nsswitch.h: Define enum with indeces of databases in
49778 databases and __nss_database_custom arrays. Declare
49779 __nss_database_custom.
49780 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49781 to avoid using nscd when custom rules are installed.
49782 * nss/getXXbyYY_r.c: Likewise.
49783 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49785 * nss/nss_files/files-parse.c: Whitespace fixes.
49787 2010-08-09 Ulrich Drepper <drepper@redhat.com>
49790 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49791 * posix/fnmatch_loop.c: Likewise.
49793 2010-07-17 Andi Kleen <ak@linux.intel.com>
49795 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49796 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49797 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49798 * Versions.def [GLIBC_2.13]: Add.
49800 2010-08-06 Ulrich Drepper <drepper@redhat.com>
49802 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49803 Also fail if tpwd after pwuid call is NULL.
49805 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
49807 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49808 when converting to ms.
49810 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49812 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49813 EOPNOTSUPP errors with ENOTTY.
49814 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49815 EOPNOTSUPP errors with ENOTTY.
49817 2010-07-31 Ulrich Drepper <drepper@redhat.com>
49819 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49820 Add strcasecmp_l-ssse3.
49821 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49823 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49824 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49825 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49827 2010-07-30 Ulrich Drepper <drepper@redhat.com>
49829 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49831 * string/Makefile (strop-tests): Add strcasecmp.
49832 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49833 strcasecmp_l-nonascii.
49834 (gen-as-const-headers): Add locale-defines.sym.
49835 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49836 * sysdeps/x86_64/strcasecmp.S: New file.
49837 * sysdeps/x86_64/strcasecmp_l.S: New file.
49838 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49839 * sysdeps/x86_64/locale-defines.sym: New file.
49840 * string/test-strcasecmp.c: New file.
49842 * string/test-strcasestr.c: Test both ends of the range of characters.
49843 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49845 2010-07-29 Roland McGrath <roland@redhat.com>
49848 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49850 2010-07-27 Ulrich Drepper <drepper@redhat.com>
49852 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49855 2010-07-27 Andreas Schwab <schwab@redhat.com>
49857 * manual/memory.texi (Malloc Tunable Parameters): Document
49860 2010-07-26 Roland McGrath <roland@redhat.com>
49863 * configure.in (-fgnu89-inline check): Set and substitute
49864 gnu89_inline, not libc_cv_gnu89_inline.
49865 * configure: Regenerated.
49866 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49868 2010-07-26 Ulrich Drepper <drepper@redhat.com>
49870 * string/test-strnlen.c: New file.
49871 * string/Makefile (strop-tests): Add strnlen.
49872 * string/tester.c (test_strnlen): Add a few more test cases.
49873 * string/tst-strlen.c: Better error reporting.
49875 * sysdeps/x86_64/strnlen.S: New file.
49877 2010-07-24 Ulrich Drepper <drepper@redhat.com>
49879 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49880 lower-latency instructions.
49882 2010-07-23 Ulrich Drepper <drepper@redhat.com>
49884 * string/test-strcasestr.c: New file.
49885 * string/test-strstr.c: New file.
49886 * string/Makefile (strop-tests): Add strstr and strcasestr.
49887 * string/str-two-way.h: Don't undefine MAX.
49888 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49890 2010-07-21 Andreas Schwab <schwab@redhat.com>
49892 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49893 strcasestr-nonascii.
49894 (CFLAGS-strcasestr-nonascii.c): Define.
49895 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49896 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49897 Remove unused attribute.
49899 2010-07-20 Roland McGrath <roland@redhat.com>
49901 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49902 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49903 ld.so.cache was broken. With it, there is no way to disable dsocaps
49904 like LD_HWCAP_MASK can disable hwcaps.
49906 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49908 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49910 2010-07-16 Ulrich Drepper <drepper@redhat.com>
49912 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49913 call in strcasestr.
49914 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49915 __strcasestr_sse42_nonascii.
49916 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49917 strcasestr-nonascii.c.
49918 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49920 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
49922 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49923 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49924 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49925 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49927 2010-07-09 Ulrich Drepper <drepper@redhat.com>
49929 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49932 2010-07-06 Andreas Schwab <schwab@redhat.com>
49935 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49938 2010-07-06 Ulrich Drepper <drepper@redhat.com>
49940 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49941 _PC_PIPE_BUF using F_GETPIPE_SZ.
49943 2010-07-05 Roland McGrath <roland@redhat.com>
49945 * manual/arith.texi (Rounding Functions): Fix rint description
49946 implicit in round description.
49948 2010-07-02 Ulrich Drepper <drepper@redhat.com>
49950 * elf/Makefile: Fix linking for a few tests to make recent linker
49953 2010-06-30 Andreas Schwab <schwab@redhat.com>
49955 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49956 $(common-objpfx)libc_nonshared.a.
49958 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
49960 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49961 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49962 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49963 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49964 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49965 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49966 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49967 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49982 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49983 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49984 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49985 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49986 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49987 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49988 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49989 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49990 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49991 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49992 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49993 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50009 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
50011 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50012 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
50013 * string/memmove.c (memmove): Renamed to ...
50014 (MEMMOVE): ...this. Default to memmove.
50015 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50016 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50018 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50019 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50020 mempcpy-ssse3-back memmove-ssse3-back.
50021 * sysdeps/x86_64/multiarch/bcopy.S: New file .
50022 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50023 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50024 * sysdeps/x86_64/multiarch/memcpy.S: New file.
50025 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50026 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50027 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50028 * sysdeps/x86_64/multiarch/memmove.c: New file.
50029 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50030 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50031 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50032 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50033 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50034 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50036 (index_Fast_Copy_Backward): Define.
50037 (HAS_ARCH_FEATURE): Define.
50038 (HAS_FAST_REP_STRING): Define.
50039 (HAS_FAST_COPY_BACKWARD): Define.
50041 2010-06-21 Andreas Schwab <schwab@redhat.com>
50043 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50044 Restore proper fallback handling.
50046 2010-06-19 Ulrich Drepper <drepper@redhat.com>
50049 * posix/group_member.c (__group_member): Correct checking loop.
50051 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50052 OOM in getpwuid_r correctly. Return error number when the caller
50053 should return, otherwise -1.
50054 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50055 call returning > 0 value.
50056 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50058 2010-06-07 Andreas Schwab <schwab@redhat.com>
50060 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50061 libc_nonshared.a from targets in modules-names.
50063 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
50065 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50068 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
50070 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50071 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50072 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50073 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50075 2010-06-02 Andreas Schwab <schwab@redhat.com>
50077 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50079 2010-06-14 Ulrich Drepper <drepper@redhat.com>
50081 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50083 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50084 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50085 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50086 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50087 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50088 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50090 2010-06-14 Roland McGrath <roland@redhat.com>
50092 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50094 2010-06-07 Jakub Jelinek <jakub@redhat.com>
50096 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50097 __REDIRECT followed by __THROW.
50098 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50099 * posix/getopt.h (getopt): Likewise.
50101 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
50103 * hurd/lookup-at.c (__file_name_lookup_at): Accept
50104 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
50105 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50107 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50108 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50110 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
50112 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50114 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
50117 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50118 Properly check family and model.
50120 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
50122 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50124 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
50126 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50128 2010-05-21 Ulrich Drepper <drepper@redhat.com>
50130 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50133 2010-05-19 Andreas Schwab <schwab@redhat.com>
50135 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50138 2010-05-21 Andreas Schwab <schwab@redhat.com>
50140 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50141 and internal_recvmmsg.
50142 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50143 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50144 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50145 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50147 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50148 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50149 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50151 2010-05-20 Andreas Schwab <schwab@redhat.com>
50153 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50155 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
50157 POWER7 optimizations.
50158 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50159 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50161 2010-05-19 Ulrich Drepper <drepper@redhat.com>
50163 * version.h: Update for 2.13 development version.
50165 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
50167 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50168 exceptions. Return 0.
50170 2010-05-07 Roland McGrath <roland@redhat.com>
50172 * elf/ldconfig.c (main): Add a const.
50174 2010-05-06 Ulrich Drepper <drepper@redhat.com>
50176 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50177 (args_options): Add no-idn option.
50178 (ahosts_keys_int): Add idn_flags to ai_flags.
50179 (parse_option): Handle 'i' option to clear idn_flags.
50181 * malloc/malloc.c (_int_free): Possible race in the most recently
50182 added check. Only act on the data if no current modification
50185 See ChangeLog.17 for earlier changes.