1 2014-11-04 Joseph Myers <joseph@codesourcery.com>
3 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
4 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
7 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
9 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
10 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
12 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
13 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
15 2014-11-04 Andreas Schwab <schwab@suse.de>
17 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
19 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
22 mtvsrd instruction in binary form.
24 2014-11-03 Andreas Schwab <schwab@suse.de>
27 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
28 for less than MB_LEN_MAX use a local buffer of that size.
29 * libio/tst-fputws.c: New file.
30 * libio/Makefile (tests): Add tst-fputws.
32 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
34 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
35 the size of the fpu_fr.fpu_dregs[] array.
37 2014-11-01 Joseph Myers <joseph@codesourcery.com>
39 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
40 (__nanosleep): Do not define as alias.
41 (nanosleep): Define as alias of __nanosleep.
42 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
43 __libc_nanosleep name.
45 2014-10-31 Joseph Myers <joseph@codesourcery.com>
47 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
48 install.texi in comment.
50 2014-10-31 Torvald Riegel <triegel@redhat.com>
52 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
53 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
54 ... add here and use lwsync or sync ...
55 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
56 ... and add here using lwsync.
58 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
60 * elf/dl-machine-reject-phdr.h: New file.
61 * elf/dl-load.c: #include that.
62 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
63 if that returned true.
65 2014-10-31 Roland McGrath <roland@hack.frob.com>
68 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
69 gen-as-const-headers chunk. Add a big scare comment after the last
70 safe place to touch before-compile.
72 2014-10-31 Joseph Myers <joseph@codesourcery.com>
74 * manual/install.texi (Tools for Compilation): Update autoconf
76 * INSTALL: Regenerated.
78 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
79 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
80 (__libc_pselect): Likewise.
83 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
84 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
85 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
86 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
88 2014-10-31 Torvald Riegel <triegel@redhat.com>
90 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
91 correct barrier instruction.
92 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
94 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
97 2014-10-30 Roland McGrath <roland@hack.frob.com>
99 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
100 after defining inlines. Instead, just use parens to defeat macro
101 expansion of __isctype in its declaration.
103 2014-10-30 Joseph Myers <joseph@codesourcery.com>
105 * include/sys/uio.h (__libc_readv): Remove declaration.
106 (__libc_writev): Likewise.
107 * misc/readv.c (__libc_readv): Rename to __readv.
108 (__readv): Do not define as alias.
109 (readv): Define as alias of __readv.
110 * misc/writev.c (__libc_writev): Rename to __writev.
111 (__writev): Do not define as alias.
112 (writev): Define as alias of __writev.
113 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
114 (__readv): Do not define as alias.
115 (readv): Define unconditionally as alias of __readv.
116 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
117 (__writev): Do not define as alias.
118 (writev): Define unconditionally as alias of __writev.
119 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
121 (writev): Do not define __libc_writev name.
123 2014-10-30 Roland McGrath <roland@hack.frob.com>
125 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
126 (convert_charseq): New function, broken out of ...
127 (use_from_charmap): ... here. Call it.
128 (use_to_charmap): Use convert_charseq and free instead of duplicating
129 its code with a variable-length stack struct.
131 2014-10-30 Joseph Myers <joseph@codesourcery.com>
133 * include/fcntl.h (__libc_creat): Remove declaration.
134 * io/creat.c (__libc_creat): Rename to creat.
135 (creat): Do not define as alias.
136 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
137 of creat instead of __libc_creat.
138 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
140 (creat): Do not define as alias.
141 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
143 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
145 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
148 2014-10-29 Carlos O'Donell <carlos@redhat.com>
150 * manual/llio.texi: Add comments discussing why write() may be
151 considered MT-unsafe on Linux.
153 2014-10-28 Carlos O'Donell <carlos@redhat.com>
155 * dl-load.c (local_strdup): Remove.
156 (expand_dynamic_string_token): Use __strdup.
157 (decompose_rpath): Likewise.
158 (_dl_map_object): Likewise.
160 2014-10-28 Joseph Myers <joseph@codesourcery.com>
163 * sysdeps/generic/unwind-dw2-fde.c
164 (__register_frame_info_bases_internal): Do not declare.
165 (__register_frame_info_table_bases_internal): Likewise.
166 (__deregister_frame_info_bases_internal): Likewise.
167 (__register_frame_info_bases): Declare and use hidden_proto before
168 definition. Use hidden_def instead of INTDEF.
169 (__register_frame_info_table_bases): Likewise.
170 (__deregister_frame_info_bases): Likewise.
171 (__register_frame_info): Do not use INTUSE.
172 (__register_frame): Likewise.
173 (__register_frame_info_table): Likewise.
174 (__register_frame_table): Likewise.
175 (__deregister_frame_info): Likewise.
176 (__deregister_frame): Likewise.
178 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
180 * sysdeps/unix/sysv/linux/arm/kernel-features.h
181 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
183 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
185 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
188 2014-10-27 Joseph Myers <joseph@codesourcery.com>
191 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
192 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
193 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
194 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
195 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
196 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
197 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
198 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
199 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
200 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
201 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
202 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
203 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
205 (setfsuid): Likewise.
206 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
207 (setfsuid): Likewise.
208 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
209 (setfsuid): Likewise.
210 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
212 (setfsuid): Likewise.
213 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
214 (setfsuid): Likewise.
215 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
217 (setfsuid): Likewise.
219 2014-10-27 Andreas Schwab <schwab@suse.de>
222 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
223 check for Slow_SSE4_2 feature bit.
224 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
225 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
226 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
227 Likewise. Fix check for Fast_Unaligned_Load feature bit.
229 2014-10-24 Roland McGrath <roland@hack.frob.com>
231 * configure.ac: Validate compiler version with a empirical test of
232 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
234 * configure: Regenerated.
236 * inet/htons.c (htons): Prototypify.
237 * inet/htonl.c (htonl): Likewise.
239 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
241 * string/strncat.c (strncat): Improve performance by using strlen.
243 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
245 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
247 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
249 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
250 Call libc_fetestexcept_aarch64.
252 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
254 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
255 Call libc_feholdexcept_aarch64.
257 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
259 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
260 Call get_rounding_mode.
262 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
264 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
267 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
269 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
272 2014-10-24 Joseph Myers <joseph@codesourcery.com>
275 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
276 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
277 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
278 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
279 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
280 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
281 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
282 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
283 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
284 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
285 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
286 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
287 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
288 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
289 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
290 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
291 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
292 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
293 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
294 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
295 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
296 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
297 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
298 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
299 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
300 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
301 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
302 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
303 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
304 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
305 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
306 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
307 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
308 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
309 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
310 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
311 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
312 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
313 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
314 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
315 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
320 (getresgid): Likewise.
321 (getresuid): Likewise.
322 (getgroups): Likewise.
323 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
327 (getresgid): Likewise.
328 (getresuid): Likewise.
329 (getgroups): Likewise.
330 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
334 (getresgid): Likewise.
335 (getresuid): Likewise.
336 (getgroups): Likewise.
337 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
342 (getresgid): Likewise.
343 (getresuid): Likewise.
344 (getgroups): Likewise.
345 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
349 (getresgid): Likewise.
350 (getresuid): Likewise.
351 (getgroups): Likewise.
352 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
357 (getgroups): Likewise.
360 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
361 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
362 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
363 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
364 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
365 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
366 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
367 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
368 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
369 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
370 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
371 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
372 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
374 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
377 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
381 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
384 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
389 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
391 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
394 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
396 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
399 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
401 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
402 Remove unused include.
404 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
406 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
407 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
408 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
409 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
411 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
412 Helge Deller <deller@gmx.de>
415 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
416 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
417 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
419 2014-10-23 Joseph Myers <joseph@codesourcery.com>
422 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
423 Remove macro definition.
424 (__ashrdi3_v_glibc20): Likewise.
425 (__lshrdi3_v_glibc20): Likewise.
426 (__cmpdi2_v_glibc20): Likewise.
427 (__ucmpdi2_v_glibc20): Likewise.
428 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
429 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
430 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
431 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
432 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
433 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
435 2014-10-22 Roland McGrath <roland@hack.frob.com>
437 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
438 old GNU extension [0] syntax.
439 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
440 alloca rather than an array member with variable length.
441 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
442 * nscd/nscd.c (invalidate_db): New function, broken out of ...
443 (parse_opt): ... here. Likewise use alloca there.
444 Validate the -i argument before checking for rootness.
445 (send_shutdown): New function, broken out of ...
446 (parse_opt): ... here.
448 2014-10-22 Roland McGrath <roland@hack.frob.com>
450 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
451 macro to get at the _rt_local_ro field.
452 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
453 ([PIC] case) or _dl_hwcap ([!PIC] case).
454 * sysdeps/arm/setjmp.S: Likewise.
456 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
457 * sysdeps/arm/configure.ac: New check to define it.
458 * sysdeps/arm/configure: Regenerated.
459 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
460 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
461 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
462 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
463 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
464 Use move/movt pair instead of a load.
465 (LDST_GLOBAL): Macro removed.
466 (LDR_GLOBAL): New macro replaces it.
467 (LDR_HIDDEN): New macro.
468 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
469 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
471 * setjmp/tst-setjmp-static.c: New file.
472 * setjmp/Makefile (tests): Add it.
473 (tests-static): New variable.
475 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
478 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
480 2014-10-21 Joseph Myers <joseph@codesourcery.com>
483 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
485 2014-10-21 Roland McGrath <roland@hack.frob.com>
487 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
489 2014-10-20 Roland McGrath <roland@hack.frob.com>
491 * io/fts.c (dirent_not_directory): New function.
492 (fts_build): Call it.
494 2014-10-20 Roland McGrath <roland@hack.frob.com>
496 * nptl/version.c (__nptl_main): Use normal __write rather than
498 (banner): Update copyright years.
500 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
502 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
503 * nptl/pthread_cond_timedwait.c: Likewise.
504 * nptl/pthread_mutex_timedlock.c: Likewise.
505 * nptl/sem_timedwait.c: Likewise.
507 * sysdeps/nptl/bits/libc-lock.h
508 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
509 (__libc_lock_init_recursive): Return void, not 0.
510 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
511 (__libc_rwlock_init): Likewise.
512 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
514 2014-10-20 Torvald Riegel <triegel@redhat.com>
517 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
518 (__pthread_once_slow): ... here.
519 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
520 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
522 2014-10-20 Torvald Riegel <triegel@redhat.com>
525 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
526 __PTHREAD_ONCE_FORK_GEN_INCR): New.
527 * sysdeps/nptl/fork.c (__libc_fork): Use them.
528 * nptl/pthread_once.c (__pthread_once): Likewise.
531 2014-10-20 Joseph Myers <joseph@codesourcery.com>
534 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
536 (writev): Use __libc_writev as strong name.
537 * sysdeps/unix/sysv/linux/readv.c: Remove file.
538 * sysdeps/unix/sysv/linux/writev.c: Likewise.
540 2014-10-17 Roland McGrath <roland@hack.frob.com>
542 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
544 * sysdeps/i386/nptl/tls.h
545 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
546 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
548 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
549 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
550 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
551 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
552 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
553 Call CHECK_THREAD_SYSINFO instead of doing an assert.
555 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
556 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
558 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
560 (__pthread_mutex_init): ... here. Call it.
561 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
562 Conditionalize PI cases on [__NR_futex].
563 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
564 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
565 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
567 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
568 conditional on [SIGSETXID].
569 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
570 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
571 is defined. Likewise for SIGSETXID.
572 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
573 Conditionalize definitions on [SIGSETXID].
574 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
575 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
576 unblocking on [SIGCANCEL].
578 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
579 [__NR_set_robust_list].
581 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
583 * string/strcoll_l.c (get_next_seq): Fix up formatting.
584 (do_compare): Likewise.
586 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
589 * string/strcoll_l.c: Don't include stdio.h.
590 (coll_seq): Remove members idxarr and rulearr.
591 (get_next_seq_cached): Remove function.
592 (get_next_seq): Likewise.
593 (get_next_seq_nocache): Rename to get_next_seq.
594 (do_compare): Remove function.
595 (do_compare_nocache): Rename to do_compare.
596 (STRCOLL): Remove weight and rules cache.
598 2014-10-16 Roland McGrath <roland@hack.frob.com>
600 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
601 * sysdeps/arm/sfp-machine.h: ... to here.
602 * sysdeps/arm/Implies: Remove arm/soft-fp.
604 2014-10-14 Joseph Myers <joseph@codesourcery.com>
606 * conform/data/sys/utsname.h-data (*_t): Allow.
607 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
608 [POSIX] (WEXITED): Do not expect constant.
609 [POSIX] (WSTOPPED): Likewise.
610 [POSIX] (WNOHANG): Likewise.
611 [POSIX] (WNOWAIT): Likewise.
612 [POSIX] (siginfo_t): Do not expect type or elements.
613 [POSIX] (pid_t): Do not expect type.
614 [POSIX] (signal.h): Do not allow header.
615 [POSIX] (sys/resource.h): Likewise.
616 [POSIX] (si_*): Do not allow pattern.
617 [POSIX] (W*): Likewise.
618 [POSIX] (P_*): Likewise.
619 [POSIX] (BUS_*): Likewise.
620 [POSIX] (CLD_*): Likewise.
621 [POSIX] (FPE_*): Likewise.
622 [POSIX] (ILL_*): Likewise.
623 [POSIX] (POLL_*): Likewise.
624 [POSIX] (SEGV_*): Likewise.
625 [POSIX] (SI_*): Likewise.
626 [POSIX] (TRAP_*): Likewise.
627 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
630 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
633 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
634 infinite loop when __recvmsg returns 0.
636 2014-10-10 Joseph Myers <joseph@codesourcery.com>
638 * CANCEL-FCT-WAIVE: Remove file.
639 * CANCEL-FILE-WAIVE: Likewise.
642 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
643 instead of INTVARDEF.
644 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
645 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
646 rtld_hidden_data_def instead of INTVARDEF.
647 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
648 * elf/dl-deps.c (expand_dst): Likewise.
649 * elf/dl-load.c (_dl_dst_count): Likewise.
650 (_dl_dst_substitute): Likewise.
651 (decompose_rpath): Likewise.
652 (_dl_init_paths): Likewise.
653 (open_path): Likewise.
654 (_dl_map_object): Likewise.
655 * elf/rtld.c (dl_main): Likewise.
656 (process_dl_audit): Likewise.
657 (process_envvars): Likewise.
658 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
660 (__libc_enable_secure): Use rtld_hidden_proto.
662 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
665 (add_path): New function broken out of _dl_rtld_di_serinfo.
666 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
668 2014-10-09 Joseph Myers <joseph@codesourcery.com>
670 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
671 parentheses around macro arguments.
672 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
673 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
674 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
675 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
676 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
677 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
678 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
679 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
680 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
681 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
682 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
683 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
684 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
685 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
686 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
687 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
688 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
689 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
690 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
691 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
692 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
693 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
694 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
695 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
696 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
697 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
698 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
699 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
700 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
701 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
702 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
703 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
704 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
705 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
706 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
707 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
709 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
710 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
711 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
712 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
713 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
714 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
715 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
716 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
717 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
718 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
719 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
720 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
721 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
722 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
723 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
724 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
725 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
726 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
727 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
728 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
729 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
730 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
731 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
732 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
733 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
734 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
735 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
736 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
737 (_FP_FRAC_SRS_1): Likewise.
738 (_FP_FRAC_CLZ_1): Likewise.
739 (_FP_MUL_MEAT_1_imm): Likewise.
740 (_FP_MUL_MEAT_1_wide): Likewise.
741 (_FP_MUL_MEAT_1_hard): Likewise.
742 (_FP_SQRT_MEAT_1): Likewise.
743 (_FP_FRAC_ASSEMBLE_1): Likewise.
744 (_FP_FRAC_DISASSEMBLE_1): Likewise.
745 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
746 (__FP_CLZ_2): Likewise.
747 (_FP_MUL_MEAT_2_wide): Likewise.
748 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
749 (_FP_MUL_MEAT_2_gmp): Likewise.
750 (_FP_MUL_MEAT_2_120_240_double): Likewise.
751 (_FP_SQRT_MEAT_2): Likewise.
752 (_FP_FRAC_ASSEMBLE_2): Likewise.
753 (_FP_FRAC_DISASSEMBLE_2): Likewise.
754 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
755 (_FP_FRAC_CLZ_4): Likewise.
756 (_FP_MUL_MEAT_4_wide): Likewise.
757 (_FP_MUL_MEAT_4_gmp): Likewise.
758 (_FP_SQRT_MEAT_4): Likewise.
759 (_FP_FRAC_ASSEMBLE_4): Likewise.
760 (_FP_FRAC_DISASSEMBLE_4): Likewise.
761 * soft-fp/op-common.h (_FP_CMP): Likewise.
762 (_FP_CMP_EQ): Likewise.
763 (_FP_CMP_UNORD): Likewise.
764 (_FP_TO_INT): Likewise.
765 (_FP_FROM_INT): Likewise.
766 [!__FP_CLZ] (__FP_CLZ): Likewise.
767 (_FP_DIV_HELP_imm): Likewise.
768 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
770 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
771 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
772 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
773 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
774 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
775 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
776 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
777 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
778 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
779 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
780 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
781 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
782 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
783 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
784 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
785 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
786 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
787 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
788 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
789 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
790 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
791 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
792 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
793 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
794 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
795 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
796 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
797 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
798 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
799 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
800 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
801 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
802 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
803 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
804 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
805 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
806 (FP_UNPACK_RAW_SP): Likewise.
807 (FP_PACK_RAW_S): Likewise.
808 (FP_PACK_RAW_SP): Likewise.
809 (FP_UNPACK_S): Likewise.
810 (FP_UNPACK_SP): Likewise.
811 (FP_UNPACK_SEMIRAW_S): Likewise.
812 (FP_UNPACK_SEMIRAW_SP): Likewise.
813 (FP_PACK_S): Likewise.
814 (FP_PACK_SP): Likewise.
815 (FP_PACK_SEMIRAW_S): Likewise.
816 (FP_PACK_SEMIRAW_SP): Likewise.
817 (_FP_SQRT_MEAT_S): Likewise.
818 (FP_CMP_S): Likewise.
819 (FP_CMP_EQ_S): Likewise.
820 (FP_CMP_UNORD_S): Likewise.
821 (FP_TO_INT_S): Likewise.
822 (FP_FROM_INT_S): Likewise.
824 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
826 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
827 (FP_EX_INVALID_IMZ): Likewise.
828 (FP_EX_INVALID_IMZ_FMA): Likewise.
829 (FP_EX_INVALID_ISI): Likewise.
830 (FP_EX_INVALID_ZDZ): Likewise.
831 (FP_EX_INVALID_IDI): Likewise.
832 (FP_EX_INVALID_SQRT): Likewise.
833 (FP_EX_INVALID_CVI): Likewise.
834 (FP_EX_INVALID_VC): Likewise.
835 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
836 "invalid" exceptions.
837 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
838 (_FP_ADD_INTERNAL): Likewise.
842 (_FP_CMP_CHECK_NAN): Likewise.
843 (_FP_SQRT): Likewise.
844 (_FP_TO_INT): Likewise.
845 (FP_EXTEND): Likewise.
847 2014-10-09 Allan McRae <allan@archlinux.org>
849 * po/fr.po: Update French translation from translation project.
851 2014-10-09 Joseph Myers <joseph@codesourcery.com>
854 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
856 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
857 (__cxa_atexit): Use libc_hidden_proto.
858 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
861 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
863 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
864 [!_ISOMAC] (__iswspace_l_internal): Likewise.
865 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
866 [!_ISOMAC] (__iswctype_internal): Likewise.
867 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
868 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
870 (fcntl): Remove __fcntl_internal alias.
871 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
872 __connect_internal alias.
873 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
876 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
877 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
879 (_FP_CHECK_FLUSH_ZERO): New macro.
880 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
882 (_FP_CMP_EQ): Likewise.
883 (_FP_TO_INT): Do not set inexact for subnormal arguments if
885 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
886 (FP_TRUNC): Likewise.
888 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
889 treated as invalid conversion, not as normal exponent.
891 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
892 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
893 (_FP_CMP_EQ): Likewise.
894 (_FP_CMP_UNORD): Likewise.
895 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
896 (FP_CMP_EQ_D): Likewise.
897 (FP_CMP_UNORD_D): Likewise.
898 * soft-fp/extended.h (FP_CMP_E): Likewise.
899 (FP_CMP_EQ_E): Likewise.
900 (FP_CMP_UNORD_E): Likewise.
901 * soft-fp/quad.h (FP_CMP_Q): Likewise.
902 (FP_CMP_EQ_Q): Likewise.
903 (FP_CMP_UNORD_Q): Likewise.
904 * soft-fp/single.h (FP_CMP_S): Likewise.
905 (FP_CMP_EQ_S): Likewise.
906 (FP_CMP_UNORD_S): Likewise.
907 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
908 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
909 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
910 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
911 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
912 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
913 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
914 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
915 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
916 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
917 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
918 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
919 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
921 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
923 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
924 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
926 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
928 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
929 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
930 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
931 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
933 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
935 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
936 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
938 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
940 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
941 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
942 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
943 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
946 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
947 a subnormal result, set the underflow exception if trapping on
948 underflow is enabled.
949 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
950 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
951 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
953 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
954 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
955 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
956 * soft-fp/extendxftf2.c (__extendxftf2): Use
957 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
959 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
960 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
961 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
962 FP_HANDLE_EXCEPTIONS.
963 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
964 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
965 FP_HANDLE_EXCEPTIONS.
966 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
967 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
968 FP_HANDLE_EXCEPTIONS.
969 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
970 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
971 FP_HANDLE_EXCEPTIONS.
973 2014-10-08 Joseph Myers <joseph@codesourcery.com>
976 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
977 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
979 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
980 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
982 (__adjtimex): Define using libc_hidden_ver.
983 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
985 (ntp_gettime): Call __adjtimex directly.
986 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
988 (ntp_gettimex): Call __adjtimex directly.
989 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
990 __adjtimex_internal alias.
992 2014-10-08 Roland McGrath <roland@hack.frob.com>
995 * nscd/nscd.c (more_help): Rewrite list of tables collection
996 using xstrdup and asprintf.
998 * nscd/nscd_conf.c: Remove local xstrdup declaration.
1000 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1001 Roland McGrath <roland@hack.frob.com>
1003 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
1004 (do_lookup_unique): ... local function 'enter' here; update callers.
1006 2014-10-06 Joseph Myers <joseph@codesourcery.com>
1008 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
1009 compat_symbol calls on [SHARED].
1010 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
1011 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
1013 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1014 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
1015 (oldsetrlimit): Remove.
1016 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1018 (lchown): New syscall entry.
1019 (oldsetrlimit): Remove.
1020 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1021 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
1022 (oldsetrlimit): Remove.
1023 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1026 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
1027 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
1028 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
1029 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
1030 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1031 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1033 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
1038 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1040 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
1041 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
1042 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
1043 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
1044 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
1046 (__old_sem_post): Likewise.
1048 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1050 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
1051 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
1052 HAVE_CLOCK_GETTIME_VSYSCALL macros.
1053 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
1054 Use INLINE_VSYSCALL macro.
1055 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
1056 __vdso_clock_gettime.
1057 * sysdeps/unix/sysv/linux/tile/init-first.c
1058 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
1059 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
1060 __vdso_clock_gettime.
1062 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
1063 to set up frame more cleanly.
1065 * sysdeps/tile/memcmp.c: New file.
1067 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
1069 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
1070 * sysdeps/tile/tilegx/strcasestr.c: New file.
1071 * sysdeps/tile/tilegx/strnlen.c: New file.
1072 * sysdeps/tile/tilegx/strstr.c: New file.
1074 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
1076 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
1078 * nptl/tst-setuid3.c: Write errors to stdout.
1080 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1083 (preload): New functions broken out of _dl_map_object_deps.
1084 (_dl_map_object_deps): Remove a nested function. Update call sites.
1086 2014-10-01 Joseph Myers <joseph@codesourcery.com>
1089 * sysdeps/unix/sysv/linux/execve.c: Remove file.
1090 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
1092 2014-10-01 Steve Ellcey <sellcey@mips.com>
1094 * sysdeps/mips/strcmp.S: New.
1096 2014-09-30 Joseph Myers <joseph@codesourcery.com>
1099 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
1101 (mkdirat): Likewise.
1102 (readlinkat): Likewise.
1103 (renameat): Likewise.
1104 (symlinkat): Likewise.
1105 (unlinkat): Likewise.
1106 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
1107 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
1108 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
1109 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
1110 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
1111 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
1112 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
1114 2014-09-30 Will Newton <will.newton@linaro.org>
1116 * math/math.h: Define long double math functions if
1117 _LIBC_TEST is defined.
1118 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
1120 * localedata/Makefile: Move assignment to tests-special
1121 into an ifdef testing run-built-tests.
1122 * timezone/Makefile: Likewise.
1124 2014-09-29 Joseph Myers <joseph@codesourcery.com>
1126 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
1127 with $(BASH) not $(SHELL).
1129 2014-09-29 Carlos O'Donell <carlos@redhat.com>
1130 Matthew LeGendre <legendre1@llnl.gov>
1133 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
1136 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1138 * stdio-common/printf_fp.c
1139 (hack_digit): New function, broken out of ...
1140 (__printf_fp): ... local function here. Update call sites.
1141 hack_digit now takes an additional parameter that is a pointer
1142 to a struct of the referenced locals. Those locals moved inside
1143 the struct and references updated.
1145 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
1147 * aclocal.m4: Require autoconf 2.69.
1148 * configure: Regenerated.
1149 * sysdeps/aarch64/configure: Likewise.
1150 * sysdeps/alpha/configure: Likewise.
1151 * sysdeps/arm/armv7/configure: Likewise.
1152 * sysdeps/arm/configure: Likewise.
1153 * sysdeps/ia64/configure: Likewise.
1154 * sysdeps/mach/configure: Likewise.
1155 * sysdeps/mips/configure: Likewise.
1156 * sysdeps/s390/configure: Likewise.
1157 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
1158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
1160 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
1162 * sysdeps/ia64/configure.ac: Likewise.
1164 2014-09-26 Joseph Myers <joseph@codesourcery.com>
1166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
1167 specify symbol version for ld.so. Do not include entry for
1169 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1170 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1171 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1174 * Makeconfig [$(build-shared) = yes]
1175 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
1177 [$(build-shared) = yes && $(soversions.mk-done) = t]
1178 ($(common-objpfx)gnu/lib-names.h): Remove rule.
1179 [$(build-shared) = yes && $(soversions.mk-done) = t]
1180 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
1182 [$(build-shared) = yes && $(soversions.mk-done) = t]
1183 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
1185 [$(build-shared) = yes && $(soversions.mk-done) = t]
1186 (common-generated): Don't append gnu/lib-names.h and
1187 gnu/lib-names.stmp here.
1188 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
1189 (lib-names-h-abi): New variable.
1190 [$(build-shared) = yes && $(soversions.mk-done) = t]
1191 (lib-names-stmp-abi): Likewise.
1192 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1193 abi-variants] (before-compile): Append
1194 $(common-objpfx)$(lib-names-h-abi).
1195 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1196 abi-variants] (common-generated): Append gnu/lib-names.h.
1197 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1198 abi-variants] (install-others-nosubdir): Depend on
1199 $(inst_includedir)/$(lib-names-h-abi).
1200 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1201 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
1202 [$(build-shared) = yes && $(soversions.mk-done) = t]
1203 ($(common-objpfx)$(lib-names-h-abi)): New rule.
1204 [$(build-shared) = yes && $(soversions.mk-done) = t]
1205 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
1206 [$(build-shared) = yes && $(soversions.mk-done) = t]
1207 (common-generated): Append $(lib-names-h-abi) and
1208 $(lib-names-stmp-abi).
1209 * scripts/lib-names.awk: Do not handle multi being set.
1210 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
1212 (abi-lp64_be-ld-soname): Likewise.
1213 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
1215 (abi-hard-ld-soname): Likewise.
1216 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
1217 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
1219 (abi-o32_hard-ld-soname): Likewise.
1220 (abi-o32_soft_2008-ld-soname): Likewise.
1221 (abi-o32_hard_2008-ld-soname): Likewise.
1222 (abi-n32_soft-ld-soname): Likewise.
1223 (abi-n32_hard-ld-soname): Likewise.
1224 (abi-n32_soft_2008-ld-soname): Likewise.
1225 (abi-n32_hard_2008-ld-soname): Likewise.
1226 (abi-n64_soft-ld-soname): Likewise.
1227 (abi-n64_hard-ld-soname): Likewise.
1228 (abi-n64_soft_2008-ld-soname): Likewise.
1229 (abi-n64_hard_2008-ld-soname): Likewise.
1230 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
1232 (abi-64-v2-ld-soname): Likewise.
1233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
1235 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
1237 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
1239 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
1241 (abi-64-ld-soname): Likewise.
1242 (abi-x32-ld-soname): Likewise.
1243 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
1245 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1247 2014-09-23 Joseph Myers <joseph@codesourcery.com>
1250 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
1251 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1252 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
1253 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
1254 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
1255 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
1256 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
1257 syscall entry for GLIBC_2.2 symbol version.
1258 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
1260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1261 (setrlimit): Likewise.
1262 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
1265 2014-09-23 Will Newton <will.newton@linaro.org>
1267 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
1268 _LINUX_ARM_SYSDEP_H include guard too.
1269 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
1272 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1274 * sysdeps/unix/sysv/linux/eventfd.c:
1275 Make first argument unsigned.
1276 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
1277 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
1279 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
1281 * socket/recvmmsg.c (recvmmsg): Drop const argument.
1282 * socket/sys/socket.h: Likewise
1283 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
1285 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1287 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
1289 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
1291 * time/tst-ftime.c: New test.
1292 * time/Makefile (tests): Add tst-ftime.
1294 2014-09-17 Joseph Myers <joseph@codesourcery.com>
1296 * soft-fp/extended.h: Fix comment formatting.
1297 * soft-fp/op-1.h: Likewise.
1298 * soft-fp/op-2.h: Likewise.
1299 * soft-fp/op-4.h: Likewise.
1300 * soft-fp/op-8.h: Likewise.
1301 * soft-fp/op-common.h: Likewise.
1302 * soft-fp/soft-fp.h: Likewise.
1304 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
1306 2014-09-16 Joseph Myers <joseph@codesourcery.com>
1309 * Makeconfig (soversions-default-setname): Remove variable.
1310 ($(common-objpfx)soversions.i): Don't pass default_setname to
1312 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
1313 oldest_abi to abi-versions.awk.
1314 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
1315 * config.make.in (oldest-abi): Remove variable.
1316 * configure.ac (--enable-oldest-abi): Remove configure option.
1317 * configure: Regenerated.
1318 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
1320 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
1321 * scripts/soversions.awk: Do not handle default_setname variable.
1322 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
1324 * sysdeps/mach/hurd/configure: Regenerated.
1325 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
1327 * sysdeps/unix/sysv/linux/configure: Regenerated.
1329 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1331 * elf/Makefile (CFLAGS-interp.c): Remove.
1332 ($(elf-objpfx)runtime-linker.h): Generate header with linker
1334 * elf/interp.c: Include generated runtime-linker.h
1336 * Makerules (lib%.so): Don't include $(+interp) in
1338 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
1339 * dlfcn/eval.c: Remove file.
1341 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
1345 * misc/sys/cdefs.h: Define __extern_always_inline for clang
1349 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
1351 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1352 Jakub Jelinek <jakub@redhat.com>
1355 * libio/stdio.h: Check definition of __fortify_function
1356 instead of __extern_always_inline to include bits/stdio2.h.
1357 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
1358 check if __extern_always_inline is defined.
1359 [__USE_MISC || __USE_XOPEN]: Likewise.
1360 [__USE_ISOC99] Likewise.
1361 * misc/sys/cdefs.h (__fortify_function): Define only if
1362 __extern_always_inline is defined.
1363 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
1364 __extern_always_inline and __extern_inline only for g++-4.3
1365 and newer or a compatible gcc.
1367 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
1370 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1371 last change to handle zero prefix length.
1373 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1375 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
1378 * posix/getconf.c (vars): Add _POSIX_IPV6 and
1381 2014-09-13 Allan McRae <allan@archlinux.org>
1383 * po/ru.po: Update Russian translation from translation project.
1385 2014-09-12 Roland McGrath <roland@hack.frob.com>
1387 * locale/programs/locale.c (show_locale_vars): Inline local function
1388 into its sole call site. Clean up some style nits.
1389 (print_item): New function, broken out of ...
1390 (show_info): ... local function here. Clean up style nits.
1392 * locale/programs/ld-ctype.c (set_one_default): New function, broken
1394 (set_class_defaults): ... local function set_default here.
1395 Define set_default as a macro locally to pass constant parameters.
1396 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
1397 rather than a shared local.
1399 * stdlib/rpmatch.c (try): New function, broken out of ...
1400 (rpmatch): ... local function here. Also, prototypify definition.
1402 2014-09-12 Joseph Myers <joseph@codesourcery.com>
1404 * scripts/soversions.awk: Do not handle configuration names.
1405 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
1406 vendor and os variables to soversions.awk.
1407 * configure.ac: Do not modify gnu-* host_os.
1408 * configure: Regenerated
1409 * shlib-versions: Remove first column with configuration names.
1410 * nptl/shlib-versions: Likewise.
1411 * nptl_db/shlib-versions: Likewise.
1412 * sysdeps/hppa/shlib-versions: Likewise.
1413 * sysdeps/m68k/shlib-versions: Likewise.
1414 * sysdeps/mach/hurd/shlib-versions: Likewise.
1415 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
1416 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
1417 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
1418 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
1419 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
1420 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
1421 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
1422 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
1423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1425 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1426 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1427 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1428 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1429 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1430 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
1431 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1432 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1435 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
1436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1438 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
1439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1440 Condition symbol version definitions on [HAVE_ELFV2_ABI].
1442 * shlib-versions: Remove OS-specific entries. Moved to files in
1444 * sysdeps/mach/hurd/shlib-versions: New file.
1445 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1447 * nptl/shlib-versions: Remove architecture-specific entries.
1448 Moved to files in sysdeps.
1449 * shlib-versions: Likewise.
1450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
1452 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1453 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1454 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1455 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1457 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
1458 (UDP_NO_CHECK6_RX): Likewise.
1460 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1462 * sysdeps/posix/sysconf.c (__sysconf): Spell
1463 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
1465 2014-08-12 Florian Weimer <fweimer@redhat.com>
1467 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
1469 * iconv/Versions (__gconv_transliterate): Export for use from
1471 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
1472 (struct __gconv_trans_data, __gconv_trans_fct,
1473 __gconv_trans_context_fct, __gconv_trans_query_fct,
1474 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
1476 (struct __gconv_step_data): Remove __trans member.
1477 (__gconv_transliterate): Declaration moved from gconv_int.h. No
1478 longer hidden. Remove unused trans_data argument.
1479 * iconv/gconv_int.h (struct trans_struct): Remove definition.
1480 (__gconv_translit_find): Remove declaration.
1481 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
1483 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
1484 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
1485 trans_data argument. Add hidden definition.
1486 (__gconv_translit_find): Remove.
1487 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
1488 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
1489 * iconv/skeleton.c: Remove transliteration initialization.
1490 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
1491 __gconv_step_data initialization.
1492 * libio/iofwide.c (__libio_translit_): Remove.
1493 (_IO_fwide): Adjust struct __gconv_step_data initialization.
1494 * wcsmbs/btowc.c (__btowc): Likewise.
1495 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1496 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1497 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1498 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1499 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
1500 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1501 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1502 * wcsmbs/wctob.c (wctob): Likewise.
1504 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1507 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
1508 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
1510 * sysdeps/x86/Makefile: Adjust.
1512 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1513 Roland McGrath <roland@hack.frob.com>
1515 * locale/weight.h: Add include guard.
1516 (findidx): Make static rather than auto; take new parameters
1517 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
1518 * locale/weightwc.h: Likewise.
1519 * posix/fnmatch_loop.c
1520 (FCT): Change type of EXTRA from int32_t to wint_t.
1521 Don't include either header inside the function.
1522 Call FINDIDX rather than findidx, and pass new arguments.
1523 #undef FINDIDX at the end of the file.
1524 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
1525 FINDIDX before including fnmatch_loop.c for the non-wide version.
1526 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
1527 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
1528 for the wide version.
1529 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
1530 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
1531 Pass new arguments to findidx.
1532 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
1533 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
1534 Don't #include it inside the function. Pass new arguments to findidx.
1535 * posix/regex_internal.h
1536 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
1537 (re_string_elem_size_at): Don't #include it inside the function.
1538 Pass new arguments to findidx.
1539 * string/strcoll_l.c: #include WEIGHT_H at top level.
1540 (get_next_seq): Don't #include it inside the function.
1541 Pass new arguments to findidx.
1542 (get_next_seq_nocache): Likewise.
1543 * string/strxfrm_l.c: #include WEIGHT_H at top level.
1544 (STRXFRM): Don't #include it inside the function.
1545 Pass new arguments to findidx.
1547 2014-09-11 Florian Weimer <fweimer@redhat.com>
1550 * malloc/malloc.c (unlink): Turn asserts into a call to
1553 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
1556 * libio/wfileops (do_ftell_wide): Free OUT.
1558 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
1560 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
1562 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1565 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
1566 group if the current group is empty.
1568 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1570 * benchtests/bench-memset.c (test_main): Add more test from size
1571 from 32 to 512 bytes.
1572 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1573 Add POWER8 memset object.
1574 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1575 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
1576 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
1578 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
1580 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
1581 multiarch POWER8 memset optimization.
1582 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
1583 POWER8 memset optimization.
1585 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1586 Remove bzero multiarch objects.
1587 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
1588 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
1589 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
1590 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
1592 [__bzero]: Redefine to specific name.
1593 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1594 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1595 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
1597 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1598 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1600 2014-09-10 Florian Weimer <fweimer@redhat.com>
1602 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
1603 warnings into errors.
1605 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
1606 __cxa_thread_atexit_impl prototype.
1608 2014-09-09 Steve Ellcey <sellcey@mips.com>
1610 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
1611 Fix capitalization of error message.
1613 2014-09-09 Steve Ellcey <sellcey@mips.com>
1615 * sysdeps/mips/preconfigure: Modify ABI tests.
1617 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
1619 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
1621 2014-09-07 Roland McGrath <roland@hack.frob.com>
1622 Carlos O'Donell <carlos@systemhalted.org>
1624 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
1625 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
1626 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
1627 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
1628 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
1629 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
1630 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
1631 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
1632 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
1633 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
1634 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
1635 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
1636 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
1637 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
1638 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
1639 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
1640 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
1641 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
1642 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
1643 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
1644 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
1645 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
1646 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
1647 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
1648 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
1649 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
1650 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
1651 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
1652 Deconditionalize the code that was previously under [RESET_PID].
1653 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
1654 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
1655 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
1656 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
1659 2014-09-08 Allan McRae <allan@archlinux.org>
1661 * version.h (RELEASE): Set to "development".
1662 (VERSION): Set to "2.20.90"
1664 2014-09-07 Allan McRae <allan@archlinux.org
1666 * version.h (RELEASE): Set to "stable".
1667 (VERSION): Set to "2.20"
1668 * include/features.h (__GLIBC_MINOR__): Set to 20.
1670 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
1673 * po/ko.po: Update Korean translation from translation project.
1675 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
1678 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
1679 macro for handling signed relocations.
1681 2014-09-03 Florian Weimer <fweimer@redhat.com>
1684 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
1685 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
1687 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
1688 * iconvdata/ibm935.c (BODY): Likewise.
1689 * iconvdata/ibm937.c (BODY): Likewise.
1690 * iconvdata/ibm939.c (BODY): Likewise.
1691 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
1693 * iconvdata/Makefile (iconv-test.out): Pass module list to test
1695 * iconvdata/run-iconv-test.sh: New test loop for checking for
1698 2014-09-02 Khem Raj <raj.khem@gmail.com>
1700 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
1703 2014-09-01 Allan McRae <allan@archlinux.org>
1705 * po/eo.po: Update Esperanto translation from translation project.
1707 * po/ca.po: Update Catalan translation from translation project.
1709 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
1711 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
1714 2014-08-27 Mark Wielaard <mjw@redhat.com>
1717 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
1718 to call set_thread_area instead of hand written asm.
1719 (__NR_set_thread_area): Removed define.
1720 (TLS_FLAG_WRITABLE): Likewise.
1721 (__ASSUME_SET_THREAD_AREA): Remove check.
1722 (TLS_EBX_ARG): Remove define.
1723 (TLS_LOAD_EBX): Likewise.
1725 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1727 Simplify atomicity of socket creation in bind.
1729 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
1730 looking up the name after linking the file.
1732 2014-08-27 Allan McRae <allan@archlinux.org>
1734 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1736 2014-08-26 Florian Weimer <fweimer@redhat.com>
1739 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
1740 trans_compare, open_translit, __gconv_translit_find):
1741 Remove module loading code.
1743 2014-08-26 Allan McRae <allan@archlinux.org>
1745 * po/vi.po: Update Vietnamese translation from translation project.
1747 * po/uk.po: Update Ukrainian translation from translation project.
1749 * po/fr.po: Update French translation from translation project.
1751 * po/ru.po: Update Russian translation from translation project.
1753 * po/pl.po: Update Polish translation from translation project.
1755 * po/cs.po: Update Czech translation from translation project.
1757 * po/de.po: Update German translation from translation project.
1759 * po/bg.po: Update Bulgarian translation from translation project.
1761 * po/sv.po: Update Sweedish translation from translation project.
1763 * po/nl.po: Update Dutch translation from translation project.
1765 * po/es.po: Update Spanish translation from translation project.
1767 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1769 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
1771 * catgets/Makefile (CPPFLAGS-gencat): Remove.
1772 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
1773 (CPPFLAGS-iconvconfig): Likewise.
1774 * timezone/Makefile (CPPFLAGS-zic): Likewise.
1776 * include/libc-symbols.h: Remove unnecessary check for
1778 * nptl/pthreadP.h: Likewise.
1779 * sysdeps/aarch64/setjmp.S: Likewise.
1780 * sysdeps/alpha/setjmp.S: Likewise.
1781 * sysdeps/arm/sysdep.h: Likewise.
1782 * sysdeps/i386/setjmp.S: Likewise.
1783 * sysdeps/m68k/setjmp.c: Likewise.
1784 * sysdeps/posix/getcwd.c: Likewise.
1785 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1786 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1787 * sysdeps/s390/s390-32/setjmp.S: Likewise.
1788 * sysdeps/s390/s390-64/setjmp.S: Likewise.
1789 * sysdeps/sh/sh3/setjmp.S: Likewise.
1790 * sysdeps/sh/sh4/setjmp.S: Likewise.
1791 * sysdeps/unix/alpha/sysdep.h: Likewise.
1792 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1793 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1794 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1795 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1798 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1799 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1800 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1801 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1802 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1803 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1804 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1805 * sysdeps/x86_64/setjmp.S: Likewise.
1807 2014-08-13 Joseph Myers <joseph@codesourcery.com>
1810 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
1812 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
1813 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
1815 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1817 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
1820 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
1821 and __x86_64__ when disabling x87 inline functions.
1823 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
1826 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
1827 asm statement with __cpuid_count.
1829 2014-08-12 Mike Frysinger <vapier@gentoo.org>
1831 * configure.ac: Change __ehdr_start code to dereference the struct.
1832 Run readelf on the output to look for relocations.
1833 * configure: Regenerated.
1835 2014-08-12 Joseph Myers <joseph@codesourcery.com>
1838 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
1840 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
1842 2014-08-12 Roland McGrath <roland@hack.frob.com>
1844 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
1846 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
1849 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
1850 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
1852 2014-08-12 Sean Anderson <seanga2@gmail.com>
1854 * malloc/malloc.c: Fix typo in comment.
1856 2014-08-09 Allan McRae <allan@archlinux.org>
1858 * Regenerate libc.po.
1860 2014-08-08 Mike Frysinger <vapier@gentoo.org>
1862 * intl/tst-gettext2.sh: Check every lang file for creation.
1864 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
1866 * sysdeps/aarch64/fpu/math_private.h
1867 (libc_feholdsetround_noex_aarch64_ctx): New function.
1869 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
1871 * sysdeps/arm/armv6/strcpy.S (strcpy):
1872 Fix performance issue in misaligned cases.
1874 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1876 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
1877 Move definition from termios.h.
1878 (struct termio): Likewise.
1879 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1880 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1881 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1882 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1884 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
1885 Move definition to ioctl-types.h
1886 (struct termio): Likewise.
1887 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1888 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1889 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1890 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1893 2014-08-05 Richard Henderson <rth@redhat.com>
1895 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
1897 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
1899 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
1900 Use __feraiseexcept.
1901 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
1902 Protect libm symbols with IS_IN_libm.
1904 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
1906 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
1908 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
1910 2014-08-04 Will Newton <will.newton@linaro.org>
1912 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
1915 2014-08-04 Mike Frysinger <vapier@gentoo.org>
1917 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
1918 variants for each function.
1920 2014-08-04 Roland McGrath <roland@hack.frob.com>
1922 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
1924 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
1925 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
1927 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
1928 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
1929 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
1930 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
1931 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
1932 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
1933 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
1934 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
1935 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
1936 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
1937 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
1938 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
1939 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
1940 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
1941 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
1942 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
1943 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
1944 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
1945 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
1946 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
1947 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
1948 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
1949 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
1950 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
1951 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
1952 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
1953 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
1954 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
1955 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
1956 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
1957 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
1958 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
1959 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
1960 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
1961 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
1962 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
1963 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
1964 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
1965 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
1966 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
1967 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
1968 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
1969 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
1970 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
1971 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
1972 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
1973 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
1974 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
1975 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
1976 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
1977 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
1978 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
1979 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
1981 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
1982 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
1984 2014-08-04 Roland McGrath <roland@hack.frob.com>
1986 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
1987 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
1988 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
1989 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
1990 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
1991 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
1993 2014-08-04 Roland McGrath <roland@hack.frob.com>
1995 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
1996 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
1997 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1998 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
2000 2014-08-04 Roland McGrath <roland@hack.frob.com>
2002 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
2003 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
2004 (__libc_vfork): Define function under this name.
2005 (__vfork): Define as an alias.
2006 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
2007 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
2009 2014-08-04 Roland McGrath <roland@hack.frob.com>
2011 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
2012 that was previously under [RESET_PID].
2013 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
2015 2014-08-04 Andreas Schwab <schwab@suse.de>
2017 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
2019 2014-08-03 Mike Frysinger <vapier@gentoo.org>
2021 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
2024 2014-08-01 Roland McGrath <roland@hack.frob.com>
2026 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
2028 2014-08-01 Richard Henderon <rth@redhat.com>
2030 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2031 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2032 typo in exact zero test.
2033 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2034 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2035 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2037 2014-08-01 Roland McGrath <roland@hack.frob.com>
2039 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
2040 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
2041 * sysdeps/arm/sysdep.h: ... here.
2042 [!__ASSEMBLER__]: Include <stdint.h>.
2044 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2046 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
2047 (HAVE_WCTYPE_H): Likewise.
2048 (HAVE_ISWCTYPE): Likewise.
2049 (ENABLE_NLS): Likewise.
2050 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
2051 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
2053 * posix/regex_internal.c: Check if DEBUG is defined and is
2056 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
2057 (HAVE_MBSRTOWCS): Likewise.
2058 * posix/fnmatch.c: Include string.h unconditionally.
2060 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2062 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
2065 2014-07-31 Roland McGrath <roland@hack.frob.com>
2067 * sysdeps/generic/safe-fatal.h: New file.
2068 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
2069 * nptl/forward.c: Include it.
2070 (__pthread_unwind): Use __safe_fatal as default action, rather
2071 than a bogus use of INTERNAL_SYSCALL that could never work.
2073 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
2074 * configure.ac (libc_cv_builtin_trap): New test.
2075 * configure: Regenerated.
2076 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
2077 (ABORT_INSTRUCTION): Define using __builtin_trap.
2079 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
2080 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
2081 * sysdeps/nptl/nptl-signals.h: New file.
2082 * nptl/pthreadP.h: Include <nptl-signals.h>.
2084 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2086 * sysdeps/s390/s390-64/utf16-utf32-z9.c
2087 (ONE_DIRECTION): Define.
2088 * sysdeps/s390/s390-64/utf8-utf16-z9.c
2089 (ONE_DIRECTION): Define.
2090 * sysdeps/s390/s390-64/utf8-utf32-z9.c
2091 (ONE_DIRECTION): Define.
2093 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2095 * sysdeps/s390/Makefile: Delete file.
2096 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
2097 * sysdeps/s390/__longjmp.c: Delete file.
2098 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
2099 Remove fields __flags and __reserved.
2100 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
2102 * sysdeps/s390/rtld-__longjmp.c: Delete file.
2103 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
2104 * sysdeps/s390/rtld-setjmp.S: Likewise.
2105 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
2106 * sysdeps/s390/s390-32/__longjmp.c: ... here.
2107 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
2108 * sysdeps/s390/s390-32/setjmp.S: ... here.
2110 (__sigsetjmp): Remove setting __flags field.
2111 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
2112 * sysdeps/s390/s390-64/__longjmp.c: ... here.
2113 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
2114 * sysdeps/s390/s390-64/setjmp.S: ... here.
2116 (__sigsetjmp): Remove setting __flags field.
2117 * sysdeps/s390/setjmp.S: Delete file.
2118 * sysdeps/s390/sigjmp.c: Likewise.
2119 * sysdeps/s390/v1-longjmp.c: Likewise.
2120 * sysdeps/s390/v1-setjmp.h: Likewise.
2121 * sysdeps/s390/v1-sigjmp.c: Likewise.
2122 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
2123 Remove v1-longjmp_chk.
2124 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
2125 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
2126 Include debug/longjmp_chk.c and add versioning.
2127 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
2128 Include nptl/pt-longjmp.c and add versioning.
2129 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
2130 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
2131 Include __longjmp.c.
2132 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2134 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
2135 (__getcontext): Remove setting __flags field.
2137 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2138 Don't restore upper high grps.
2139 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
2141 (__swapcontext): Remove setting uc_flags field.
2142 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
2144 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2145 Include __longjmp.c.
2146 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2148 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
2149 (__getcontext): Remove setting __flags field.
2151 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
2152 (__swapcontext): Remove setting uc_flags field.
2153 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
2154 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
2155 Remove fields uc_high_gprs and __reserved.
2156 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
2157 New file with reverted content.
2158 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
2159 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
2161 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
2164 2014-07-31 Andreas Schwab <schwab@suse.de>
2166 * config.h.in (HAVE_IFUNC): Define to 0.
2167 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
2170 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
2172 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2173 memmove-avx-unaligned, memcpy-avx-unaligned and
2174 mempcpy-avx-unaligned.
2175 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2176 Add tests for AVX memcpy functions.
2177 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
2178 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
2180 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
2181 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
2183 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
2184 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
2186 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
2187 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
2188 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
2190 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2193 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
2196 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
2199 * manual/llio.texi: Add section about open file description locks.
2200 * manual/examples/ofdlocks.c: Example of open file description
2202 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
2203 F_OFD_SETLK, and F_OFD_SETLKW.
2205 2014-07-23 Allan McRae <allan@archlinux.org>
2207 * po/es.po: Update Spanish translation from translation project.
2209 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
2211 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
2213 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
2216 * sysdeps/arm/dl-machine.h (elf_machine_rela)
2217 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
2218 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
2220 2014-07-17 Joseph Myers <joseph@codesourcery.com>
2223 * math/fesetenv.c (__fesetenv)
2224 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
2225 * math/feupdateenv.c (__feupdateenv)
2226 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
2228 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
2229 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2230 (__ASSUME_SOCKETCALL): Do not define.
2232 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
2233 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
2234 (__ASSUME_SOCKETCALL): Do not define.
2235 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
2236 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2237 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2238 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2239 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2240 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
2241 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2242 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2244 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
2245 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
2246 (__ASSUME_SOCKETCALL): Do not define.
2247 (__ASSUME_IPC64): Define unconditionally.
2248 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2249 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2250 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2251 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2252 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
2253 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2254 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
2257 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
2258 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
2259 (__ASSUME_SOCKETCALL): Do not define.
2260 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
2261 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2262 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2263 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2264 (__ASSUME_REQUEUE_PI): Define unconditionally.
2265 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
2266 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2267 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2268 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
2269 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2270 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2272 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
2273 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
2274 (__ASSUME_SOCKETCALL): Do not define.
2275 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
2276 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2277 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2278 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
2279 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2280 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2282 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
2283 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
2284 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2285 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
2286 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2287 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
2288 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2289 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
2290 (__ASSUME_GETCPU_SYSCALL): Likewise.
2292 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
2293 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
2294 cases for individual architectures.
2295 * sysdeps/gnu/configure: Regenerated.
2296 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
2297 LIBC_SLIBDIR_RTLDDIR.
2298 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
2299 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
2300 LIBC_SLIBDIR_RTLDDIR.
2301 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
2303 LIBC_SLIBDIR_RTLDDIR.
2304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2306 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
2307 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
2309 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
2310 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
2312 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
2313 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
2314 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
2315 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
2317 * sysdeps/aarch64/shlib-versions: Move to ...
2318 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
2319 * sysdeps/alpha/shlib-versions: Move to ...
2320 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
2321 * sysdeps/arm/shlib-versions: Move to ...
2322 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
2323 * sysdeps/hppa/shlib-versions: Move all contents except for
2324 libgcc_s entry to ...
2325 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
2327 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
2328 * sysdeps/ia64/shlib-versions: Move to ...
2329 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
2331 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
2332 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
2333 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
2334 * sysdeps/microblaze/shlib-versions: Move to ...
2335 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
2336 * sysdeps/mips/shlib-versions: Move to ...
2337 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
2339 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
2340 * sysdeps/tile/shlib-versions: Move to ...
2341 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
2342 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
2344 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
2345 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
2347 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
2349 2014-07-17 Will Newton <will.newton@linaro.org>
2351 * sysdeps/arm/bits/atomic.h
2352 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
2353 (__arch_compare_and_exchange_bool_16_int): Likewise.
2354 (__arch_compare_and_exchange_bool_64_int): Likewise.
2356 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
2357 into an #else block.
2359 2014-07-16 Roland McGrath <roland@hack.frob.com>
2361 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
2362 just Linux configurations. Test empirically that the compiler sets
2363 __ARM_EABI__, rather than using the tuple to decide.
2364 * sysdeps/arm/preconfigure: Regenerated.
2365 * sysdeps/unix/sysv/linux/arm/configure: File removed.
2366 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
2367 contents appended ...
2368 * sysdeps/arm/configure.ac: ... here.
2369 * sysdeps/arm/configure: Regenerated.
2371 2014-07-15 Roland McGrath <roland@hack.frob.com>
2373 * nptl/pthread_kill.c: New file.
2374 * nptl/pthread_sigmask.c: New file.
2375 * nptl/pthread_sigqueue.c: New file.
2377 * sysdeps/nptl/lowlevellock.h: New file.
2378 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
2379 * sysdeps/nptl/lowlevellock-futex.h: New file.
2381 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
2382 Remove dead declarations.
2384 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
2386 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
2387 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
2389 * sysdeps/x86_64/configure.ac: Likewise.
2390 * sysdeps/i386/configure: Regenerated.
2391 * sysdeps/x86_64/configure: Likewise.
2392 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2393 memset-avx2 only if config-cflags-avx2 is yes.
2394 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2395 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
2397 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
2398 only if HAVE_AVX2_SUPPORT is defined.
2399 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2401 2014-07-14 Alan Modra <amodra@gmail.com>
2404 * elf/elf.h (DT_PPC64_NUM): Correct value.
2405 * NEWS: Add to fixed bug list.
2407 2014-07-13 Jim Meyering <meyering@fb.com>
2410 regex: don't deref NULL upon heap allocation failure
2411 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
2412 failure in one more place.
2413 To trigger the segfault, configure grep -with-included-regex,
2414 build it, and run these commands:
2415 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
2417 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
2419 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2421 2014-07-11 Richard Henderson <rth@redhat.com>
2423 * sysdeps/aarch64/libm-test-ulps: Update.
2425 2014-07-10 Florian Weimer <fweimer@redhat.com>
2428 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
2429 * nptl/allocatestack.c (__nptl_setxid_error): New function.
2430 (__nptl_setxid): Initialize error member. Call
2431 __nptl_setxid_error.
2432 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
2433 * nptl/descr.h (struct xid_command): Add error member.
2434 * nptl/tst-setuid3.c: New file.
2435 * nptl/Makefile (tests): Add it.
2437 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2439 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
2441 (__lll_trylock): Use __lll_base_trylock.
2442 (__lll_cond_trylock): Likewise.
2444 2014-07-10 Roland McGrath <roland@hack.frob.com>
2446 * nptl/pthread_create.c (start_thread): Use atomic_or and
2447 lll_futex_wake directly rather than lll_robust_dead.
2448 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2449 (lll_robust_dead): Macro removed.
2450 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
2451 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2452 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2453 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2454 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2455 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2456 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2457 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2458 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2459 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2460 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2461 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2462 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2463 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2464 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2466 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2467 Use atomic_compare_and_exchange_val_acq directly rather than
2469 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2470 (__lll_robust_trylock, lll_robust_trylock): Removed.
2471 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2472 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2473 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2474 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2475 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2476 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2477 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2478 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2479 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2480 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2481 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2482 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2483 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2484 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2486 2014-07-02 Florian Weimer <fweimer@redhat.com>
2488 * manual/locale.texi (Locale Names): New section documenting
2489 locale name syntax. Adjust menu and node chaining accordingly.
2490 (Choosing Locale): Reference Locale Names, Locale Categories.
2491 Mention setting LC_ALL=C. Reflect that name syntax is now
2493 (Locale Categories): New section title. Reference Locale Names.
2494 LC_ALL is an environment variable, but not a category.
2495 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
2496 description, now in Locale Name. Reference that section. Locale
2497 name syntax is now documented.
2499 2014-07-02 Florian Weimer <fweimer@redhat.com>
2502 * locale/findlocale.c (name_present, valid_locale_name): New
2504 (_nl_find_locale): Use the loc_name variable to store name
2505 candidates. Call name_present and valid_locale_name to check and
2506 validate locale names. Return an error if the locale is invalid.
2508 2014-07-02 Florian Weimer <fweimer@redhat.com>
2510 * locale/setlocale.c (setlocale): Use strdup for allocating
2511 composite name copy.
2513 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2515 Sync up with gnulib.
2516 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
2517 [!_LIBC && ENABLE_NLS]: Include gettext.h.
2518 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
2519 and _GL_ARG_NONNULL.
2520 [USE_UNLOCKED_IO]: Include unlocked-io.h.
2521 [!_LIBC]: Include code for Windows and Cygwin.
2522 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
2523 Include prototype for int strerror_r.
2524 [!_LIBC] (is_open): New function.
2525 (flush_stdout): New function.
2526 (print_errno_message): Use it.
2528 (error_at_line): Likewise.
2529 (error_tail) Add function attribute macros. Use
2532 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
2534 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
2536 * io/ftw.c: Include sys/param.h unconditionally.
2538 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
2541 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
2543 (freecache): New function to free CACHE on exit.
2545 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
2548 2014-07-09 David S. Miller <davem@davemloft.net>
2550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2552 * sysdeps/sparc/nptl/internaltypes.h: Delete.
2553 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
2554 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
2555 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
2556 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
2557 * sysdeps/sparc/nptl/sem_init.c: Likewise.
2558 * sysdeps/sparc/nptl/sem_post.c: Likewise.
2559 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
2560 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
2561 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
2562 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
2563 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
2564 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
2566 2014-07-09 Andreas Schwab <schwab@suse.de>
2568 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
2570 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
2571 (do_test): Likewise.
2573 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2575 2014-07-09 Will Newton <will.newton@linaro.org>
2577 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
2578 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
2579 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
2580 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
2581 * sysdeps/hppa/start.S (_start): Likewise.
2583 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2585 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
2587 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
2590 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2592 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
2593 after checking that it is non-NULL.
2595 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
2597 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2599 * sysdeps/powerpc/memmove.c: Remove file.
2600 * sysdeps/powerpc/powerpc32/power4/memcopy.h
2601 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
2602 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2603 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
2604 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
2605 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
2606 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
2607 string memmove instead of removed powerpc one.
2609 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2610 [weak_alias]: Fix compiler warning due trailing data.
2611 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
2612 [weak_alias]: Likewise.
2613 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
2614 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
2616 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2617 (__libc_ifunc_impl_list): Add memmove functions.
2619 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2621 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
2623 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
2625 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
2627 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
2629 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
2631 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
2633 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
2635 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
2637 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
2639 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
2641 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
2643 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
2645 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
2647 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
2649 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
2651 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
2653 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
2656 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2658 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
2659 to avoid alignment traps in non-cacheable memory.
2660 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2662 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
2664 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
2665 file: multiarch power7 memmove.
2666 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
2667 multiarch default memmove.
2668 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
2669 multiarch memove for powerpc32/power4.
2671 * string/bcopy.c: Use full path to include memmove.c.
2672 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
2674 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
2675 bcopy for powerpc64.
2676 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
2677 bcopy for powerpc64.
2678 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
2679 and memmove implementations.
2680 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
2681 optimized multiarch memmove for POWER7/powerpc64.
2682 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
2683 default multiarch memmove for powerpc64.
2684 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
2685 multiarch for powerpc64.
2686 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
2687 for POWER7/powerpc64.
2688 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
2689 memmove for POWER7/powerpc64.
2691 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
2694 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
2695 __ELF_NATIVE_CLASS equal to 64.
2697 2014-07-07 Roland McGrath <roland@hack.frob.com>
2699 * sysdeps/nptl/lowlevellock.h: File removed.
2701 * NEWS: NPTL is no longer an add-on!
2702 * nptl/internaltypes.h: Moved ...
2703 * sysdeps/nptl/internaltypes.h: ... here.
2704 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
2705 * sysdeps/nptl/fork.c: Likewise.
2706 * sysdeps/nptl/gai_misc.h: Likewise.
2707 * sysdeps/nptl/librt-cancellation.c: Likewise.
2708 * sysdeps/nptl/jmp-unwind.c: Likewise.
2709 * sysdeps/nptl/setxid.h: Likewise.
2710 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
2711 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
2712 * sysdeps/unix/sysv/linux/arm/Implies: New file.
2713 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
2714 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
2715 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
2716 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
2717 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
2718 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
2719 * sysdeps/unix/sysv/linux/mips/Implies: New file.
2720 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
2721 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
2722 * sysdeps/unix/sysv/linux/sh/Implies: New file.
2723 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
2724 * sysdeps/unix/sysv/linux/tile/Implies: New file.
2725 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
2726 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
2727 * nptl/Makeconfig: Moved ...
2728 * sysdeps/nptl/Makeconfig: ... here.
2729 * nptl/configure: File removed.
2730 * nptl/ANNOUNCE: File removed.
2731 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
2732 * sysdeps/unix/sysv/linux/configure: Regenerated.
2734 * nptl/Makefile (routines): Add libc_pthread_init,
2735 libc_multiple_threads, register-atfork and unregister-atfork.
2736 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
2737 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
2738 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
2739 pthread-pi-defines.sym, structsem.sym.
2740 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
2741 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
2742 [$(subdir) = nptl] (tests): Add tst-setgetname.
2743 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
2744 * sysdeps/unix/sysv/linux/sigaction.c: Just include
2745 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
2746 [!LIBC_SIGACTION]: Remove aliases.
2747 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2748 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2749 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2750 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2751 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2752 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
2753 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2754 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2755 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2756 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
2757 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
2758 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
2759 __libc_allocate_rtsig_private.
2760 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
2761 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
2762 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
2763 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2764 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
2765 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
2766 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
2767 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
2768 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
2769 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
2770 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
2771 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
2772 * nptl/internaltypes.h: ... here.
2773 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
2774 * sysdeps/nptl/jmp-unwind.c: ... here.
2775 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
2776 * nptl/libc-lowlevellock.c: ... here.
2777 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
2778 * nptl/libc_multiple_threads.c: ... here.
2779 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
2780 * nptl/libc_pthread_init.c: ... here.
2781 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
2782 * nptl/lowlevelbarrier.sym: ... here.
2783 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
2784 * nptl/lowlevelcond.sym: ... here.
2785 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
2786 * nptl/lowlevellock.c: ... here.
2787 * nptl/lowlevellock.h: Moved ...
2788 * sysdeps/nptl/lowlevellock.h: ... here.
2789 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
2790 * nptl/lowlevelrobustlock.c: ... here.
2791 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
2792 * nptl/lowlevelrobustlock.sym: ... here.
2793 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
2794 * nptl/lowlevelrwlock.sym: ... here.
2795 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
2796 * nptl/pt-fork.c: ... here.
2797 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
2798 * nptl/pthread-pi-defines.sym: ... here.
2799 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
2800 * nptl/pthread_attr_getaffinity.c: ... here.
2801 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
2802 * nptl/pthread_attr_setaffinity.c: ... here.
2803 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
2804 * nptl/pthread_mutex_cond_lock.c: ... here.
2805 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2807 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
2808 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
2809 * nptl/pthread_once.c: ... here, replacing old file.
2810 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
2811 * nptl/pthread_yield.c: ... here.
2812 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
2813 * nptl/register-atfork.c: ... here.
2814 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
2815 * nptl/sem_post.c: ... here.
2816 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
2817 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
2818 * nptl/sem_timedwait.c: ... here.
2819 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
2820 * nptl/sem_trywait.c: ... here.
2821 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
2822 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
2823 * nptl/sem_wait.c: ... here.
2824 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
2825 * nptl/structsem.sym: ... here.
2826 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
2827 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
2828 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
2829 * nptl/unregister-atfork.c: ... here.
2830 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
2831 * nptl/unwindbuf.sym: ... here.
2832 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
2833 * sysdeps/nptl/fork.c: ... here.
2834 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
2835 * sysdeps/nptl/fork.h: ... here.
2836 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
2837 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
2838 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
2839 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
2840 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
2841 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
2842 * sysdeps/unix/sysv/linux/getpid.c: ... here.
2843 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
2844 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
2845 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
2846 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
2847 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
2848 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
2849 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
2850 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
2851 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
2852 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
2853 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
2854 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
2855 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
2856 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
2857 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
2858 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
2859 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
2860 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
2861 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
2862 * sysdeps/unix/sysv/linux/raise.c: ... here.
2863 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
2864 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
2865 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
2866 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
2867 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
2868 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
2869 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
2870 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
2871 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
2872 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
2873 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
2874 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
2875 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
2876 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
2877 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
2879 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2881 * sysdeps/generic/memcopy.h: Add comment for
2882 MEMCPY_OK_FOR_FWD_MEMMOVE.
2884 2014-07-04 Will Newton <will.newton@linaro.org>
2886 * string/memchr.c: Merge from gnulib.
2887 [_LIBC]: Remove conditionals.
2888 (__ptr_t): Remove define.
2889 (LONG_MAX_32_BITS): Likewise.
2890 (LONG_MAX): Likewise.
2891 (MEMCHR): Use ANSI prototype and optimize algorithm.
2893 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
2895 2014-07-03 Roland McGrath <roland@hack.frob.com>
2897 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
2898 (lll_futex_timed_wait_bitset): Fix syscall argument count.
2900 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
2901 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
2902 in a bare environment with no <stdlib.h> installed.
2903 * sysdeps/nptl/configure: Regenerated.
2905 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
2907 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
2908 AC_EGREP_CPP for kernel header checks, so they only succeed if
2909 including <linux/version.h> actually works right.
2910 * sysdeps/unix/sysv/linux/configure: Regenerated.
2912 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
2913 value so it's not diagnosed as unused.
2915 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
2916 thing) with "ifeq ($(subdir),rt)".
2918 2014-07-03 Richard Henderson <rth@redhat.com>
2920 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
2921 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
2922 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
2924 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
2925 (math_force_eval): New.
2927 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
2928 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
2930 * sysdeps/alpha/fpu/s_round.c: Remove file.
2931 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
2933 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
2934 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
2935 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
2936 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
2937 (_dl_start, print_statistics): Likewise.
2938 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
2939 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
2941 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2942 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2943 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2944 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2945 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2946 (HP_SMALL_TIMING_AVAIL): Define.
2947 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2948 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2949 (HP_SMALL_TIMING_AVAIL): Define.
2950 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2951 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2953 * sysdeps/aarch64/hp-timing.h: New file.
2955 * sysdeps/generic/hp-timing.h: Remove dead comment.
2956 * sysdeps/generic/hp-timing-common.h: New file.
2957 * sysdeps/alpha/hp-timing.h: Include it.
2958 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
2959 * sysdeps/i386/i686/hp-timing.h: Likewise.
2960 * sysdeps/ia64/hp-timing.h: Likewise.
2961 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2962 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2963 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2964 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2965 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
2966 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
2969 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
2970 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
2971 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
2972 * elf/rtld.c (_dl_start_final): Likewise.
2973 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
2974 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2975 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2976 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2977 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2978 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2979 (HP_TIMING_DIFF_INIT): Remove.
2980 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2981 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2982 (HP_TIMING_DIFF_INIT): Remove.
2983 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2984 * sysdeps/i386/i686/hp-timing.c: Remove file.
2985 * sysdeps/x86_64/hp-timing.c: Remove file.
2986 * sysdeps/ia64/hp-timing.c: Remove file.
2987 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
2988 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
2989 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
2990 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
2992 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
2993 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
2994 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
2995 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2996 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2997 (HP_TIMING_ACCUM): Remove.
2998 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2999 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
3000 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3002 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
3003 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
3004 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
3005 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
3006 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
3007 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3008 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
3009 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3011 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
3013 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
3015 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
3017 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3019 Sync up with gettext.
3020 * intl/loadmsgcat.c: Define O_BINARY if not defined.
3021 [_MSC_VER]: Include malloc.h
3022 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
3023 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
3024 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
3025 TEMP_FAILURE_RETRY. Cast return of alloca.
3026 [!_LIBC] Call gl_rwlock_init.
3027 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
3029 2014-07-02 Roland McGrath <roland@hack.frob.com>
3031 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3032 before checking its value.
3034 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3036 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
3038 * debug/memcpy_chk.c: Don't include pagecopy.h.
3039 * debug/mempcpy_chk.c: Likewise.
3040 * string/memcpy.c: Likewise.
3041 * string/memmove.c: Likewise.
3042 * sysdeps/powerpc/memmove.c: Likewise.
3043 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
3044 definition of PAGE_COPY_FWD_MAYBE here...
3045 * sysdeps/generic/pagecopy.h: ... from here.
3046 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
3048 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3049 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3051 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
3052 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
3054 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3055 (__libc_ifunc_impl_list): Likewise.
3056 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
3057 multiarch strcat for PPC64.
3058 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
3059 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
3061 2014-07-02 Roland McGrath <roland@hack.frob.com>
3063 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
3065 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3067 * intl/loadmsgcat.c: Remove declaration of
3068 get_sysdep_segment_value.
3069 (get_sysdep_segment_value): Use ISO C style.
3070 (_nl_load_domain): Use ISO C style. Get rid of redundant
3071 semicolon. Fix typo and formatting in comment.
3072 (_nl_unload_domain): Use ISO C style.
3074 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
3076 2014-07-02 Will Newton <will.newton@linaro.org>
3078 * malloc/obstack.c: Merge from gnulib master.
3079 [HAVE_CONFIG_H]: Remove conditional code.
3080 [!_LIBC]: Include config.h.
3081 [!ELIDE_CODE]: Don't include inttypes.h, include
3082 stdint.h unconditionally.
3083 (print_and_abort): Mark as _Noreturn.
3084 (_obstack_allocated_p): Mark as __attribute_pure__.
3085 (obstack_free): Rename to __obstack_free.
3086 [!__attribute__]: Remove conditional code.
3087 * malloc/obstack.h: Merge from gnulib master.
3088 [__cplusplus]: Move conditional down.
3089 [!__attribute_pure__]: Define __attribute_pure__ here
3090 if it is not already defined.
3091 (_obstack_memory_used): Mark as __attribute_pure__.
3092 [!__obstack_free]: Define as obstack_free.
3093 [__GNUC__]: Remove check for ancient NeXT gcc.
3095 2014-07-02 Will Newton <will.newton@linaro.org>
3096 Paul Eggert <eggert@cs.ucla.edu>
3098 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
3100 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3102 * resolv/gethnamaddr.c: Add comment warning that the file is
3105 2014-07-01 Carlos O'Donell <carlos@redhat.com>
3107 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
3110 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
3111 entry for aio_cancel and aio_cancel64.
3112 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
3113 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
3114 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
3115 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
3116 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
3117 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
3118 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
3119 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
3120 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
3121 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
3122 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
3123 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
3124 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
3126 2014-07-01 Roland McGrath <roland@hack.frob.com>
3128 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
3129 * nptl/pthread_mutex_lock.c: Likewise.
3130 * nptl/pthread_mutex_timedlock.c: Likewise.
3131 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
3133 2014-07-01 Richard henderson <rth@redhat.com>
3135 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
3136 (__isnan, __isnanl): Remove.
3137 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
3139 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3141 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3143 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3145 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3147 * resolv/nss_dns/dns-host.c (getanswer_r)
3148 [MULTI_PTRS_ARE_ALIASES]: Remove code.
3150 2014-07-01 Joseph Myers <joseph@codesourcery.com>
3152 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3153 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
3155 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
3156 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
3158 2014-07-01 Roland McGrath <roland@hack.frob.com>
3160 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
3161 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
3163 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
3164 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
3166 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
3167 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
3169 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
3170 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
3172 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
3173 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
3174 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
3175 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
3177 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
3178 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
3179 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
3180 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
3181 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
3183 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
3185 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
3186 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
3187 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
3188 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
3189 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
3190 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
3191 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
3192 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
3193 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
3194 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
3195 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
3196 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
3197 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
3198 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
3199 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
3200 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
3201 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
3202 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
3203 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
3204 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
3206 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
3207 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
3208 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
3209 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
3210 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
3211 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
3212 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
3213 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
3215 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
3217 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
3218 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
3219 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
3222 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3226 2014-06-30 Joseph Myers <joseph@codesourcery.com>
3228 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3229 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3231 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3233 * sysdeps/arm/libm-test-ulps: Regenerated.
3235 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3236 Roland McGrath <roland@hack.frob.com>
3238 * test-skeleton.c (signal_handler): Kill the whole process group
3239 before killing the child individually.
3240 (main): Report any failure on `setpgid'.
3242 2014-06-30 Roland McGrath <roland@hack.frob.com>
3244 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
3245 from _TLS_H to _ARM_NPTL_TLS_H.
3246 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
3247 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
3249 2014-06-30 Joseph Myers <joseph@codesourcery.com>
3252 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
3253 (__expm1l): Return argument unchanged when small but not
3256 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
3258 (_FP_UNPACK_RAW_1_P): Likewise.
3259 (_FP_PACK_RAW_1): Likewise.
3260 (_FP_PACK_RAW_1_P): Likewise.
3261 (_FP_MUL_MEAT_1_wide): Likewise.
3262 (_FP_MUL_MEAT_DW_1_hard): Likewise.
3263 (_FP_MUL_MEAT_1_hard): Likewise.
3264 (_FP_DIV_MEAT_1_imm): Likewise.
3265 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
3266 (_FP_DIV_MEAT_1_udiv): Likewise.
3267 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
3268 (_FP_UNPACK_RAW_2): Likewise.
3269 (_FP_UNPACK_RAW_2_P): Likewise.
3270 (_FP_PACK_RAW_2): Likewise.
3271 (_FP_PACK_RAW_2_P): Likewise.
3272 (_FP_MUL_MEAT_DW_2_wide): Likewise.
3273 (_FP_MUL_MEAT_2_wide): Likewise.
3274 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
3275 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3276 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
3277 (_FP_MUL_MEAT_2_gmp): Likewise.
3278 (_FP_DIV_MEAT_2_udiv): Likewise.
3279 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
3280 (_FP_FRAC_SRL_4): Likewise.
3281 (_FP_FRAC_SRST_4): Likewise.
3282 (_FP_FRAC_SRS_4): Likewise.
3283 (_FP_UNPACK_RAW_4): Likewise.
3284 (_FP_UNPACK_RAW_4_P): Likewise.
3285 (_FP_PACK_RAW_4): Likewise.
3286 (_FP_PACK_RAW_4_P): Likewise.
3287 (_FP_MUL_MEAT_DW_4_wide): Likewise.
3288 (_FP_MUL_MEAT_4_wide): Likewise.
3289 (_FP_MUL_MEAT_4_gmp): Likewise.
3290 (umul_ppppmnnn): Likewise.
3291 (_FP_DIV_MEAT_4_udiv): Likewise.
3292 (__FP_FRAC_ADD_4): Likewise.
3293 (__FP_FRAC_SUB_3): Likewise.
3294 (__FP_FRAC_SUB_4): Likewise.
3295 (__FP_FRAC_DEC_3): Likewise.
3296 (__FP_FRAC_DEC_4): Likewise.
3297 (__FP_FRAC_ADDI_4): Likewise.
3298 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
3299 (_FP_FRAC_SRL_8): Likewise.
3300 (_FP_FRAC_SRS_8): Likewise.
3302 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
3304 (FP_UNPACK_RAW_EP): Likewise.
3305 (FP_PACK_RAW_E): Likewise.
3306 (FP_PACK_RAW_EP): Likewise.
3307 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
3308 (_FP_ISSIGNAN): Likewise.
3309 (_FP_ADD_INTERNAL): Likewise.
3310 (_FP_FMA): Likewise.
3311 (_FP_CMP): Likewise.
3312 (_FP_SQRT): Likewise.
3313 (_FP_TO_INT): Likewise.
3314 (_FP_FROM_INT): Likewise.
3315 (FP_EXTEND): Likewise.
3316 (_FP_DIV_MEAT_N_loop): Likewise.
3318 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3320 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
3323 2014-06-29 Joseph Myers <joseph@codesourcery.com>
3326 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
3327 result with correct sign in case of exponents that produce
3328 overflow except for X very close to 1.
3330 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
3332 mktime: merge #if/#ifdef usage from glibc
3333 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
3334 as that works with both Glibc's and Gnulib's style.
3335 See thread starting at Siddhesh Poyarekar's bug report at:
3336 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
3338 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3340 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
3341 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
3342 * sysdeps/tile/tilegx/memmove.c: Remove file.
3344 2014-06-27 Joseph Myers <joseph@codesourcery.com>
3346 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
3347 abi-name definition.
3348 * scripts/soversions.awk: Do not handle or generate ABI lines.
3349 * shlib-versions: Remove ABI entries.
3350 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
3351 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
3353 2014-06-27 Roland McGrath <roland@hack.frob.com>
3355 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
3356 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
3357 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
3358 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
3359 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
3360 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
3361 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
3363 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
3365 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
3366 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
3367 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
3368 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
3369 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
3370 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
3371 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
3372 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
3373 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
3374 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
3375 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
3376 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
3377 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
3379 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
3380 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
3381 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
3382 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
3383 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
3384 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
3386 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
3387 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
3389 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
3390 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
3391 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
3392 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
3394 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
3395 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
3396 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
3397 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
3398 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
3399 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
3400 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
3401 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
3403 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
3404 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
3405 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
3406 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
3408 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
3409 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
3411 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
3412 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
3413 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
3414 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
3416 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
3418 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
3419 Identical file removed.
3420 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
3422 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
3423 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
3424 Identical file removed.
3425 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
3426 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
3427 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
3429 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
3430 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
3431 Identical file removed.
3432 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
3433 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
3434 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
3435 Identical file removed.
3436 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
3437 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
3438 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
3439 Identical file removed.
3440 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
3441 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
3442 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
3443 Identical file removed.
3444 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
3446 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
3447 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
3448 Identical file removed.
3449 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
3451 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
3452 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
3453 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
3454 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
3455 Identical file removed.
3456 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
3458 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
3460 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
3461 Identical file removed.
3462 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
3464 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
3465 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
3466 Identical file removed.
3467 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
3469 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
3470 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
3471 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
3472 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
3473 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
3474 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
3476 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
3477 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
3478 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
3480 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
3481 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
3482 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
3483 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
3484 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
3486 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
3489 * nscd/nscd.c (monitor_child): Return exit status of child
3490 instead of return value from wait syscall.
3492 2014-06-27 Joseph Myers <joseph@codesourcery.com>
3494 * configure.ac (libc_commonpagesize): Remove variable.
3495 (libc_relro_required): Likewise.
3496 (libc_cv_z_relro): Remove configure test.
3497 * configure: Regenerated.
3498 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
3500 (libc_relro_required): Likewise.
3501 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
3502 (libc_relro_required): Likewise.
3503 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
3504 (libc_relro_required): Likewise.
3505 * sysdeps/arm/preconfigure: Regenerated.
3506 * sysdeps/ia64/preconfigure: Remove file.
3507 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
3509 (libc_relro_required): Likewise.
3513 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
3514 (__ieee754_yn): Set FE_TONEAREST mode internally and then
3515 recompute overflowing results in original rounding mode.
3516 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
3517 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
3518 recompute overflowing results in original rounding mode.
3519 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
3520 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3521 recompute overflowing results in original rounding mode.
3522 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
3523 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3524 recompute overflowing results in original rounding mode.
3525 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
3526 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3527 recompute overflowing results in original rounding mode.
3528 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
3529 (libc_feholdsetround_ctx): New macro.
3530 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
3531 * sysdeps/i386/fpu/libm-test-ulps: Update.
3532 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
3534 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3536 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
3537 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
3538 corresponding .cpsetup call.
3540 2014-06-26 Roland McGrath <roland@hack.frob.com>
3542 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
3543 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
3544 * sysdeps/arm/Makefile [$(subdir) = csu]
3545 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
3546 (static-only-routines): Add aeabi_read_tp here.
3547 (shared-only-routines): Add libc-aeabi_read_tp here.
3548 (CFLAGS-libc-start.c): Add -fexceptions here.
3549 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
3550 (sysdep_routines, static-only-routines, shared-only-routines):
3551 Don't add to these here.
3552 (CFLAGS-libc-start.c): Likewise.
3554 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
3555 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3556 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
3557 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3558 * sysdeps/arm/Makefile [$(subdir) = rt]
3559 (librt-sysdep_routines, librt-shared-only-routines):
3560 Append rt-aeabi_unwind_cpp_pr1 here.
3561 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
3562 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
3563 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
3564 (libpthread-sysdep_routines, libpthread-shared-only-routines):
3565 Append nptl-aeabi_unwind_cpp_pr1 here.
3566 (tests): Filter out tst-cleanupx4 here.
3567 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
3568 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
3569 Don't do those here.
3571 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3573 * scripts/list-sources.sh: Do not handle ports specially.
3575 2014-06-26 Roland McGrath <roland@hack.frob.com>
3577 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
3578 * sysdeps/arm/feupdateenv.c: Likewise.
3580 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
3582 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3584 * manual/texinfo.tex: Update to version 2014-05-05.10 with
3585 trailing whitespace removed.
3586 * scripts/config.guess: Update to version 2014-03-23.
3587 * scripts/config.sub: Update to version 2014-05-01
3588 * scripts/install-sh: Update to version 2013-12-25.23.
3589 * scripts/move-if-change: Update from gnulib.
3591 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3593 * debug/memmove_chk.c: Remove pagecopy.h include.
3595 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
3597 * time/mktime.c (leapyear): Remove inline keyword. The code is now
3598 identical to gnulib mktime.
3600 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3602 * configure.ac: Do not test for machine being rs6000. Do not test
3604 * configure: Regenerated.
3606 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
3608 * configure: Regenerated.
3609 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
3610 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
3611 Remove configure test.
3612 * sysdeps/arm/configure: Regenerated.
3613 * sysdeps/nptl/configure.ac: Do not check
3614 libc_cv_asm_cfi_directives.
3615 * sysdeps/nptl/configure: Regenerated.
3616 * sysdeps/x86_64/nptl/configure.ac: Remove file.
3617 * sysdeps/x86_64/nptl/configure: Remove generated file.
3618 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
3620 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
3622 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3624 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
3625 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
3626 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
3629 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
3630 instead of whether it is defined.
3631 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
3632 * sysdeps/hppa/dl-machine.h: Likewise.
3633 * sysdeps/ia64/dl-machine.h: Likewise.
3634 * sysdeps/m68k/dl-machine.h: Likewise.
3635 * sysdeps/microblaze/dl-machine.h: Likewise.
3636 * sysdeps/mips/dl-machine.: Likewise.
3637 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
3638 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3639 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3640 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3641 * sysdeps/sh/dl-machine.h: Likewise.
3642 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3643 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3644 * sysdeps/tile/dl-machine.h: Likewise.
3645 * sysdeps/x86_64/dl-machine.h: Likewise.
3647 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
3649 (verify_persistent_db): Likewise.
3651 2014-06-26 Roland McGrath <roland@hack.frob.com>
3653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
3654 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
3655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
3656 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
3657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3659 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
3661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
3662 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
3663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
3664 Identical file removed.
3665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
3666 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
3667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
3668 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
3669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
3670 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
3671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
3672 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
3673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
3674 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
3675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3677 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
3678 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
3679 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
3680 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
3681 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
3682 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3684 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
3685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
3686 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
3687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
3688 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
3689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3690 Identical file removed.
3691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
3692 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
3693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
3694 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
3695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3697 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
3699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
3700 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
3701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
3702 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
3703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
3704 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
3705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
3706 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
3707 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
3708 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
3709 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3711 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
3712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
3714 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
3715 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
3716 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
3717 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3719 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
3720 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
3721 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
3723 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
3725 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
3726 * sysdeps/unix/sysv/linux/s390/Versions
3727 (libpthread: GLIBC_2.19): New version set.
3728 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
3729 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
3730 (librt: GLIBC_2.3.3): New version set.
3731 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
3732 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
3733 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
3734 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
3735 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
3736 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
3737 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
3738 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
3739 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
3740 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
3741 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
3742 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
3743 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
3744 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
3745 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
3746 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
3747 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
3748 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
3749 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
3750 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
3751 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
3752 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
3753 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
3754 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
3755 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
3756 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
3757 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
3758 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
3759 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
3760 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
3761 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
3762 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
3763 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
3764 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
3765 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
3766 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
3767 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
3768 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
3769 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
3770 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
3771 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
3772 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
3773 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
3774 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
3775 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
3777 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
3778 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
3779 (__libc_vfork): Define the function under this name.
3780 [!NOT_IN_libc] (__vfork): Make this an alias.
3781 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3782 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
3783 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
3784 (__libc_vfork): Define the function under this name.
3785 [!NOT_IN_libc] (__vfork): Make this an alias.
3786 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3787 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
3788 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
3789 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
3790 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
3791 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3793 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
3794 code that was previously under [RESET_PID].
3795 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
3796 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
3797 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
3799 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
3800 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
3801 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
3802 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
3803 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
3804 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
3805 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
3806 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
3807 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
3808 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
3809 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
3811 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
3812 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
3813 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
3814 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
3815 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
3816 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
3817 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
3818 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
3819 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
3820 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
3821 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
3822 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
3823 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
3824 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
3825 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
3826 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
3827 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
3828 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
3829 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
3830 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
3831 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
3832 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
3833 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
3834 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
3835 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
3836 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
3837 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
3838 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
3839 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
3841 2014-06-25 Roland McGrath <roland@hack.frob.com>
3843 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
3844 that was previously under [RESET_PID].
3845 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
3847 2014-06-25 Joseph Myers <joseph@codesourcery.com>
3849 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
3850 not undefine and redefine.
3851 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
3852 [O_CLOEXEC]: Make code unconditional.
3853 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
3854 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
3855 <kernel-features.h>.
3856 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
3857 conditional variable definition.
3858 (shm_open) [O_CLOEXEC]: Make code unconditional.
3859 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
3862 * configure.ac (USE_REGPARMS): Don't define here.
3863 * configure: Regenerated.
3864 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
3865 * sysdeps/i386/configure: Regenerated.
3867 * nptl/createthread.c: Don't include kernel-features.h.
3868 * nptl/pthread_cancel.c: Likewise.
3869 * nptl/pthread_condattr_setclock.c: Likewise.
3870 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
3871 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
3872 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
3873 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
3874 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
3875 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
3876 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3877 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
3878 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3879 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
3880 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
3881 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
3882 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
3883 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
3884 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
3885 * nscd/gai.c: Likewise.
3886 * nss/nss_db/db-open.c: Likewise.
3887 * sysdeps/generic/ldsodefs.h: Likewise.
3888 * sysdeps/sh/nptl/tls.h: Likewise.
3889 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3890 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
3891 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
3892 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
3893 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
3894 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3895 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3896 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3897 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3898 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3899 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3900 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3901 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
3902 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
3903 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3904 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
3905 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
3906 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
3907 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
3908 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3909 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3910 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3911 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
3912 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3913 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3914 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3915 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
3916 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3917 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3918 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
3919 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
3920 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3921 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3922 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3923 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3924 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3925 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3926 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3927 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
3928 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
3929 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3930 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
3931 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
3932 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3933 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3934 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
3935 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
3936 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3937 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3938 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3939 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3940 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3941 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3942 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3943 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
3944 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3945 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3946 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
3947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
3949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
3950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
3951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
3952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
3959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
3960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
3961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
3967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3969 * sysdeps/unix/sysv/linux/pread.c: Likewise.
3970 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3971 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
3972 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3973 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3974 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
3975 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
3976 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3977 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
3978 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3979 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
3980 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3981 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3982 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3983 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3984 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3985 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3986 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3987 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
3988 * sysdeps/unix/sysv/linux/system.c: Likewise.
3989 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
3990 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3991 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3992 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3993 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3994 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3995 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3997 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
3998 * configure: Regenerated.
3999 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
4001 * configure.ac (base_machine): Do not set specially for particular
4003 * configure: Regenerated.
4004 * sysdeps/powerpc/preconfigure: Move machine and base_machine
4005 settings from configure.ac.
4006 * sysdeps/i386/preconfigure: New file.
4007 * sysdeps/s390/preconfigure: Likewise.
4008 * sysdeps/sh/preconfigure: Likewise.
4009 * sysdeps/sparc/preconfigure: Likewise.
4011 2014-06-25 Roland McGrath <roland@hack.frob.com>
4013 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
4014 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
4015 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
4016 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
4017 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
4018 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
4019 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
4020 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
4021 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
4022 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
4023 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
4024 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
4025 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
4026 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
4027 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
4028 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
4029 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
4030 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4031 * sysdeps/sparc/sparc64/Makefile: ... appended here.
4033 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4034 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4035 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
4036 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
4037 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
4038 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
4039 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
4040 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
4041 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
4042 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
4043 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
4044 * sysdeps/sparc/sparc32/sem_post.c: ... here.
4045 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
4046 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
4047 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
4048 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
4049 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
4050 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
4051 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
4052 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
4053 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
4054 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
4055 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
4056 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
4057 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
4058 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
4059 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
4060 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
4061 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
4062 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
4063 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
4064 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
4065 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
4066 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
4067 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
4068 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
4069 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
4070 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
4072 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
4073 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
4074 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
4075 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
4076 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4078 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
4080 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
4081 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
4082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
4083 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
4084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
4086 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
4087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
4088 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
4089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
4090 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
4091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
4092 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
4093 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4095 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
4096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4098 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
4099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
4100 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
4101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4103 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
4104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
4105 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
4106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
4107 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
4108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
4109 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
4110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
4111 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
4112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4114 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
4116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
4117 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
4118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
4119 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
4120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
4122 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
4123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
4124 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
4125 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
4126 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
4127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
4128 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
4129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4131 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
4132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4134 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
4135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
4136 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
4137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4139 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
4140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
4141 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
4142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
4143 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
4145 2014-06-25 Joseph Myers <joseph@codesourcery.com>
4147 * timezone/checktab.awk: Update from tzcode 2014e.
4148 * timezone/private.h: Likewise.
4149 * timezone/tzfile.h: Likewise.
4150 * timezone/zdump.c: Likewise.
4151 * timezone/zic.c: Likewise.
4153 * sysdeps/unix/sysv/linux/kernel-features.h
4154 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
4155 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
4156 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
4157 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4158 Remove conditional code.
4160 2014-06-25 Will Newton <will.newton@linaro.org>
4162 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4163 (_dl_arm_cap_flags): Add HWCAP2 values.
4164 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
4165 (_DL_HWCAP_COUNT): Increase to 37.
4166 (_DL_HWCAP_LAST): New define.
4167 (_DL_HWCAP2_LAST): New define.
4168 (_dl_procinfo): Add support for printing
4170 (_dl_string_hwcap): Use _dl_hwcap_string.
4172 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4176 2014-06-25 Joseph Myers <joseph@codesourcery.com>
4178 * README: Do not mention ports directory.
4180 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
4182 * sysdeps/unix/sysv/linux/futimes.c: Do not include
4183 <kernel-features.h>.
4184 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
4185 conditional variable definition.
4186 (__futimes): Update comment.
4187 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
4188 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
4191 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
4192 arguments close to 0.
4193 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
4195 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
4197 * math/auto-libm-test-in: Add more tests of exp10.
4198 * math/auto-libm-test-out: Regenerated.
4199 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4201 * sysdeps/unix/sysv/linux/kernel-features.h
4202 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
4203 * sysdeps/unix/sysv/linux/readv.c: Do not include
4204 <kernel-features.h>.
4205 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4206 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4207 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4209 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4211 * sysdeps/unix/sysv/linux/writev.c: Do not include
4212 <kernel-features.h>.
4213 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4214 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4215 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4217 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4220 2014-06-25 Will Newton <will.newton@linaro.org>
4222 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
4223 comment changes throughout the file. Remove checks
4224 for HAVE_*_H definitions that are not required.
4225 (__gen_tempname): Call abort if an unknown kind value is
4228 2014-06-25 Andreas Schwab <schwab@suse.de>
4231 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
4232 scalbln, scalblnf, scalblnl in libc.
4234 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4237 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
4238 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4239 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4241 2014-06-24 Roland McGrath <roland@hack.frob.com>
4243 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
4244 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
4245 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
4246 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
4248 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
4249 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
4251 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
4252 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
4253 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
4254 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
4255 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
4256 * sysdeps/x86/bits/pthreadtypes.h: ... here.
4257 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
4258 * sysdeps/x86/bits/semaphore.h: ... here.
4259 * sysdeps/x86/nptl/elide.h: Moved ...
4260 * sysdeps/x86/elide.h: ... here.
4261 * sysdeps/x86_64/nptl/Implies: File removed.
4262 * sysdeps/i386/nptl/Implies: File removed.
4264 2014-06-24 Joseph Myers <joseph@codesourcery.com>
4267 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
4268 return the argument for normal arguments with exponent below -64.
4269 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4271 * math/auto-libm-test-in: Add another test of expm1.
4272 * math/auto-libm-test-out: Regenerated.
4275 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
4276 calling __erfcl for arguments at least 16.
4277 * math/auto-libm-test-in: Add more tests of erf.
4278 * math/auto-libm-test-out: Regenerated.
4280 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
4281 individual architectures.
4282 * sysdeps/unix/sysv/linux/configure: Regenerated.
4283 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
4284 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
4285 * sysdeps/unix/sysv/linux/powerpc/configure.ac
4286 (ldd_rewrite_script): Define variable.
4287 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
4290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
4292 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
4293 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
4294 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
4295 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
4296 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
4297 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
4298 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
4299 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
4301 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4304 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
4305 Rename member __data.d to __data.__elision_data.
4307 2014-06-24 Wilco <wdijkstr@arm.com>
4309 * NEWS: Add 16918 to fixed bug list.
4311 2014-06-24 Wilco <wdijkstr@arm.com>
4313 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
4315 2014-06-24 Wilco <wdijkstr@arm.com>
4317 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
4318 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
4319 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
4320 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
4321 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
4322 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
4323 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
4326 2014-06-24 Wilco <wdijkstr@arm.com>
4328 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
4330 2014-06-24 Wilco <wdijkstr@arm.com>
4332 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
4333 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
4334 * sysdeps/arm/fesetround.c (fesetround): Remove space.
4335 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
4337 2014-06-24 Wilco <wdijkstr@arm.com>
4340 * sysdeps/arm/feupdateenv.c (feupdateenv):
4341 Rewrite to reduce FPSCR accesses and fix return value.
4343 2014-06-24 Wilco <wdijkstr@arm.com>
4345 * sysdeps/arm/fclrexcpt.c (feclearexcept):
4346 Optimize to avoid unnecessary FPSCR writes.
4347 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
4348 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
4349 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
4350 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
4352 2014-06-24 Wilco <wdijkstr@arm.com>
4354 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
4355 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
4356 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
4357 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
4358 Call libc_fetestexcept_vfp.
4359 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
4360 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
4361 __SOFTFP__ ifdef so that they can be built for softfp.
4363 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4365 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
4366 argument type signed char.
4368 * Makerules (check-abi): Dump diff of symlist if the test
4371 2014-06-23 Roland McGrath <roland@hack.frob.com>
4373 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
4376 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4377 Remove unused variable ST.
4379 2014-06-23 Joseph Myers <joseph@codesourcery.com>
4383 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
4384 small arguments before calling __expm1.
4385 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
4386 small arguments before calling __expm1f.
4387 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
4388 small arguments before calling __expm1l.
4389 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4391 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
4392 * math/auto-libm-test-in: Add more cosh tests. Do not allow
4393 spurious underflow for some cosh tests.
4394 * math/auto-libm-test-out: Regenerated.
4395 * sysdeps/i386/fpu/libm-test-ulps: Update.
4398 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
4399 (__ieee754_y1): Set errno if return value overflows.
4400 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
4401 (__ieee754_y1f): Set errno if return value overflows.
4402 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
4403 (__ieee754_y1l): Set errno if return value overflows.
4404 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
4405 (__ieee754_y1l): Set errno if return value overflows.
4406 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
4407 * math/auto-libm-test-out: Regenerated.
4409 * math/gen-auto-libm-tests.c: Document use of
4410 ignore-zero-inf-sign.
4411 (input_flag_type): Add value flag_ignore_zero_inf_sign.
4412 (input_flags): Add ignore-zero-inf-sign.
4413 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
4414 * math/gen-libm-test.pl (generate_testfile): Handle
4415 ignore-zero-inf-sign.
4416 * math/auto-libm-test-in: Mark some cpow tests with
4417 ignore-zero-inf-sign and some with xfail-rounding.
4418 * math/auto-libm-test-out: Regenerated.
4419 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
4420 * sysdeps/i386/fpu/libm-test-ulps: Update.
4421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4424 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
4425 overflowing or underflowing operations take place with sign of
4427 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4428 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4429 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
4430 (__ieee754_pow): Recompute overflowing and underflowing results in
4431 original rounding mode.
4432 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
4433 (__powl_helper): Allow negative argument X and scale negated value
4434 as needed. Avoid passing value outside [-1, 1] to f2xm1.
4435 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
4436 overflowing or underflowing operations take place with sign of
4438 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
4440 * math/auto-libm-test-in: Add more tests of pow.
4441 * math/auto-libm-test-out: Regenerated.
4442 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
4443 (pow_tonearest_test_data): Remove.
4444 (pow_test_tonearest): Likewise.
4445 (pow_towardzero_test_data): Likewise.
4446 (pow_test_towardzero): Likewise.
4447 (pow_downward_test_data): Likewise.
4448 (pow_test_downward): Likewise.
4449 (pow_upward_test_data): Likewise.
4450 (pow_test_upward): Likewise.
4451 (main): Don't call removed functions.
4452 * sysdeps/i386/fpu/libm-test-ulps: Update.
4453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4455 2014-06-23 Roland McGrath <roland@hack.frob.com>
4457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
4459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
4460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
4463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
4466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
4469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
4475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
4477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
4479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
4481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
4483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
4487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
4491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
4493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
4495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
4496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
4498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
4500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
4502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
4503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
4505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
4506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
4508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
4509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
4511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
4512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
4514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
4515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
4517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
4518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
4520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
4521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
4522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
4524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
4526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
4527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
4533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
4542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
4545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
4546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
4547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
4551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
4555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
4558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
4561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
4564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
4567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
4571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
4574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
4577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
4580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
4583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
4584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
4585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
4588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
4591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
4595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
4599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
4603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
4606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
4609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
4612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
4616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
4620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
4624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
4627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
4631 2014-06-23 Will Newton <will.newton@linaro.org>
4632 Wilco <wdijkstr@arm.com>
4634 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
4635 implementation. Include get-rounding-mode.h.
4636 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
4637 [!libc_feholdsetround_noex_ctx]: Define
4638 libc_feholdsetround_noex_ctx.
4639 [!libc_feholdsetround_noexf_ctx]: Define
4640 libc_feholdsetround_noexf_ctx.
4641 [!libc_feholdsetround_noexl_ctx]: Define
4642 libc_feholdsetround_noexl_ctx.
4643 (libc_feholdsetround_ctx): New function.
4644 (libc_feresetround_ctx): New function.
4645 (libc_feholdsetround_noex_ctx): New function.
4646 (libc_feresetround_noex_ctx): New function.
4648 2014-06-23 Roland McGrath <roland@hack.frob.com>
4650 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
4651 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
4652 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
4653 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
4654 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
4655 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
4657 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
4658 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
4659 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
4660 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
4661 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
4662 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
4663 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
4664 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
4665 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
4666 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
4667 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
4669 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
4671 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
4672 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
4673 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
4674 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
4675 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
4677 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
4678 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
4679 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
4680 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
4681 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
4682 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
4683 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
4684 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
4686 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
4687 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
4689 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
4690 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
4691 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
4692 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
4694 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
4695 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
4696 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
4697 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
4698 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
4699 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
4700 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
4701 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
4702 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
4703 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
4705 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
4707 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
4708 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
4709 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
4710 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
4711 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
4712 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
4713 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
4714 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
4715 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
4716 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
4717 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
4718 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
4719 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
4721 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
4722 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
4723 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
4724 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
4725 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
4726 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
4728 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
4729 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
4730 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
4731 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
4732 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
4734 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
4735 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
4736 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
4737 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
4738 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
4739 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
4740 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
4741 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
4742 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
4743 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
4744 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
4745 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
4746 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
4747 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
4748 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
4749 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
4750 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
4751 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
4752 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
4753 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
4754 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
4755 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
4756 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
4757 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
4758 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
4759 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
4760 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
4761 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
4763 2014-06-23 Joseph Myers <joseph@codesourcery.com>
4765 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4766 (FALLOC_FL_COLLAPSE_RANGE): New macro.
4767 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
4768 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
4769 (IPV6_PMTUDISC_INTERFACE): Likewise.
4770 (IPV6_PMTUDISC_OMIT): Likewise.
4772 2014-06-23 Andreas Schwab <schwab@suse.de>
4774 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
4775 Remove unused errout label.
4777 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4779 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
4780 macro: hardware supports Vector Crypto instructions.
4782 2014-06-23 Will Newton <will.newton@linaro.org>
4784 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
4785 rather than __builtin_expect.
4787 * elf/dl-lookup.c (undefined_msg): Remove variable.
4788 (_dl_lookup_symbol_x): Replace undefined_msg with string
4791 * elf/dl-lookup.c (do_lookup_unique): New function.
4792 (do_lookup_x): Move STB_GNU_UNIQUE handling code
4793 to a separate function.
4795 2014-06-23 Andreas Schwab <schwab@suse.de>
4798 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
4799 before reading the next line.
4801 2014-06-23 Will Newton <will.newton@linaro.org>
4803 * test-skeleton.c (signal_handler): Use printf and %m
4804 rather than perror. Use printf rather than fprintf to
4805 stderr. Use puts rather than fputs to stderr.
4808 2014-06-22 Ludovic Courtès <ludo@gnu.org>
4810 * nscd/nscd.c (thread_info_t): Remove typedef.
4811 (thread_info): Remove variable.
4813 2014-06-21 Allan McRae <allan@archlinux.org>
4815 * NEWS: Mention CVE-2014-4043.
4817 2014-06-20 Roland McGrath <roland@hack.frob.com>
4819 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
4820 * nptl/smp.h: ... here.
4822 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
4824 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
4825 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
4826 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
4827 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
4829 * nptl/allocatestack.c: Include <stack-aliasing.h>.
4830 * nptl/stack-aliasing.h: New file.
4831 * sysdeps/i386/i686/stack-aliasing.h: New file.
4832 * sysdeps/i386/i686/nptl/Makefile: File removed.
4833 * sysdeps/x86_64/stack-aliasing.h: New file.
4834 * sysdeps/x86_64/nptl/Makefile
4835 (CFLAGS-pthread_create.c): Variable removed.
4837 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
4838 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
4840 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
4841 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
4844 2014-06-21 Joseph Myers <joseph@codesourcery.com>
4846 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4847 (__ASSUME_SIGFRAME_V2): Remove macro.
4848 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
4849 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
4850 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
4851 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
4852 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
4853 Declare as function. Remove conditional macro definitions.
4854 (__default_rt_sa_restorer): Likewise.
4855 (__default_sa_restorer_v1): Remove declaration.
4856 (__default_sa_restorer_v2): Likewise.
4857 (__default_rt_sa_restorer_v1): Likewise.
4858 (__default_rt_sa_restorer_v2): Likewise.
4859 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
4860 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
4861 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
4863 2014-06-20 Roland McGrath <roland@hack.frob.com>
4865 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
4866 (libpthread-routines): Add sysdep.
4867 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
4868 * sysdeps/unix/sysv/linux/sparc/Versions
4869 (libpthread: GLIBC_2.3.3): New version set.
4870 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
4871 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
4872 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
4873 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
4874 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
4875 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
4877 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
4878 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
4879 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
4880 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
4881 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
4882 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
4883 * sysdeps/sparc/nptl/sem_init.c: ... here.
4884 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
4885 * sysdeps/sparc/nptl/sem_post.c: ... here.
4886 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
4887 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
4888 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
4889 * sysdeps/sparc/nptl/sem_wait.c: ... here.
4890 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
4891 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
4892 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
4893 (libpthread-routines): Add cpu_relax.
4894 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
4896 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
4897 (librt: GLIBC_2.3.3): New version set.
4898 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
4899 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
4900 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
4901 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
4902 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
4903 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
4904 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
4905 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
4907 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
4908 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
4909 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
4910 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
4911 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
4912 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
4913 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
4914 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
4915 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
4916 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
4918 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
4920 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
4922 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
4924 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
4926 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
4928 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
4930 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
4932 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
4934 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
4936 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
4938 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
4940 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
4941 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
4942 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
4943 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
4944 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
4945 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
4946 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
4947 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
4948 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
4949 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
4950 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4952 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
4953 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
4954 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
4955 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
4956 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
4958 2014-06-20 Joseph Myers <joseph@codesourcery.com>
4960 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
4961 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
4962 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4963 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
4964 * nscd/nscd.c: Likewise.
4965 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
4966 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
4967 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
4968 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
4970 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
4971 <kernel-features.h>.
4972 (init_mq_netlink): Remove conditional have_sock_cloexec
4973 definitions. Remove code conditional on have_sock_cloexec < 0.
4974 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
4975 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
4976 * sysdeps/unix/sysv/linux/opensock.c: Do not include
4977 <kernel-features.h>.
4978 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
4979 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
4981 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
4983 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4984 Add tests for memset_chk and memset.
4986 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
4989 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
4992 * elf/tst-dl-iter-static.c: New file.
4993 * elf/Makefile (tests-static): Add tst-dl-iter-static.
4995 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
4998 2014-06-20 Joseph Myers <joseph@codesourcery.com>
5000 * sysdeps/unix/sysv/linux/kernel-features.h
5001 (__ASSUME_F_GETOWN_EX): Remove macro.
5002 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
5003 <kernel-features.h>.
5004 (miss_F_GETOWN_EX): Remove variable or macro.
5005 (do_fcntl): Do not check miss_F_GETOWN_EX.
5006 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
5008 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
5010 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
5011 [!__ASSUME_AT_RANDOM]: Remove conditional code.
5012 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
5014 * sysdeps/unix/sysv/linux/kernel-features.h
5015 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
5016 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
5017 [ADJ_OFFSET_SS_READ]: Make code unconditional.
5018 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
5020 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5023 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
5024 Fix calculation of the symbol's value.
5025 * sysdeps/arm/tst-armtlsdescloc.c: New file.
5026 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
5027 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
5028 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
5029 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
5030 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5031 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5032 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5033 (modules-names): Add `tst-armtlsdescmod',
5034 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5035 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
5036 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5037 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
5038 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
5039 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5040 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
5041 ($(objpfx)tst-armtlsdescloc): New dependency.
5042 ($(objpfx)tst-armtlsdescextnow): Likewise.
5043 ($(objpfx)tst-armtlsdescextlazy): Likewise.
5044 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
5046 * sysdeps/arm/configure: Regenerate.
5048 2014-06-20 Joseph Myers <joseph@codesourcery.com>
5050 * include/fcntl.h (__atfct_seterrno): Remove prototype.
5051 (__atfct_seterrno_2): Likewise.
5052 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
5053 <kernel-features.h>.
5054 (__ASSUME_ATFCTS): Do not undefine and redefine.
5055 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
5056 (__have_atfcts): Remove conditional definition.
5057 (__fxstatat([__NR_fstatat64]: Make code unconditional.
5058 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
5059 unreachable if [__ASSUME_ATFCTS].
5060 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
5061 not undefine and redefine.
5062 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
5063 <kernel-features.h>.
5064 (faccessat) [__NR_faccessat]: Make code unconditional.
5065 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
5066 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
5067 <kernel-features.h>.
5068 (fchmodat) [__NR_fchmodat]: Make code unconditional.
5069 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5070 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
5071 <kernel-features.h>.
5072 (fchownat) [__NR_fchownat]: Make code unconditional.
5073 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
5074 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
5075 <kernel-features.h>.
5076 (futimesat) [__NR_futimesat]: Make code unconditional.
5077 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
5078 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5079 <kernel-features.h>.
5080 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5081 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5082 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5083 <kernel-features.h>.
5084 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
5085 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5086 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
5087 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5088 <kernel-features.h>.
5089 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
5090 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5091 * sysdeps/unix/sysv/linux/linkat.c: Do not include
5092 <kernel-features.h>.
5093 (linkat) [__NR_linkat]: Make code unconditional.
5094 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5095 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
5096 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
5097 <kernel-features.h>.
5098 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
5099 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5100 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
5101 <kernel-features.h>.
5102 (mkdirat) [__NR_mkdirat]: Make code unconditional.
5103 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
5104 * sysdeps/unix/sysv/linux/openat.c: Do not include
5105 <kernel-features.h>.
5106 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
5107 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
5108 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
5109 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
5110 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
5111 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
5112 <kernel-features.h>.
5113 (readlinkat) [__NR_readlinkat]: Make code unconditional.
5114 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
5115 result of INLINE_SYSCALL directly, not via int variable.
5116 * sysdeps/unix/sysv/linux/renameat.c: Do not include
5117 <kernel-features.h>.
5118 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
5119 (renameat) [__NR_renameat]: Make code unconditional.
5120 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
5121 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
5122 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
5123 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
5124 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
5125 (__ASSUME_ATFCTS): Do not undefine and redefine.
5126 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
5127 <kernel-features.h>.
5128 (symlinkat) [__NR_symlinkat]: Make code unconditional.
5129 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5130 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
5131 <kernel-features.h>.
5132 (unlinkat) [__NR_unlinkat]: Make code unconditional.
5133 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5134 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
5135 (__ASSUME_ATFCTS): Do not undefine and redefine.
5136 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5137 <kernel-features.h>.
5138 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5139 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5140 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5141 <kernel-features.h>.
5142 (__xmknodat) [__NR_mknodat]: Make code unconditional.
5143 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5145 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5147 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
5149 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
5152 * posix/regcomp.c (parse_reg_exp): Deallocate partially
5153 constructed tree before returning error.
5154 * posix/bug-regexp36.c: Expand test case.
5156 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5159 * math/libm-test.inc (scalbln_test_date):
5160 Add errno expectations.
5161 * math/w_scalblnf.c: New File.
5162 Add wrapper which checks for setting errno to ERANGE.
5163 Add weak_alias for corresponding scalbln function.
5164 * math/w_scalbln.c: Likewise.
5165 * math/w_scalblnl.c: Likewise.
5166 * math/Makefile (libm-calls): Add w_scalbln.
5167 * sysdeps/ieee754/flt-32/s_scalblnf.c:
5168 Remove weak_alias for corresponding scalbln function.
5169 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5170 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5171 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5172 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5173 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
5174 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5175 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
5176 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5177 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
5178 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
5179 Remove long_double_symbol for scalblnl function in libm, libc.
5180 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
5181 Add wrapper which checks for setting errno to ERANGE.
5182 Add long_double_symbol for scalblnl function in libm, libc.
5183 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
5184 Remove long_double_symbol for scalblnl in libm.
5185 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
5186 Add wrapper which checks for setting errno to ERANGE.
5187 Add long_double_symbol for scalblnl function in libm.
5188 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
5189 Do not use wrapper because of own implementation.
5191 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
5193 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
5194 3 bytes for __pad1 for x32.
5195 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
5197 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
5198 H.J. Lu <hongjiu.lu@intel.com>
5200 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
5201 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
5202 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5203 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5204 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5206 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
5209 * posix/regcomp.c (parse_expression): Deallocate partially
5210 constructed tree before returning error.
5211 * posix/Makefile.c (tests): Add bug-regex36.
5212 (generated): Add bug-regex36.mtrace.
5213 (tests-special): Add $(objpfx)bug-regex36-mem.out
5214 (bug-regex36-ENV): New variable.
5215 ($(objpfx)bug-regex36-mem.out): New rule.
5216 * posix/bug-regex36.c: New file.
5218 2014-06-19 Will Newton <will.newton@linaro.org>
5220 * malloc/malloc.c (systrim): If extra is zero then return
5223 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5225 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
5227 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
5229 * sysdeps/aarch64/strchr.S: New file.
5231 2014-06-18 Joseph Myers <joseph@codesourcery.com>
5234 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
5235 from arguments -2 or below.
5236 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5237 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5239 2014-06-18 Andreas Schwab <schwab@suse.de>
5242 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
5243 of a bracket expr not to run off the end of the string.
5244 * posix/Makefile (tests): Add tst-fnmatch3.
5245 * posix/tst-fnmatch3.c: New file.
5247 2014-06-18 Joseph Myers <joseph@codesourcery.com>
5249 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
5250 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5251 [$(cross-compiling) = no]: Likewise.
5252 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5253 [$(cross-compiling) = no]: Likewise.
5255 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5258 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
5259 double, adjusted for any remainder from the high double.
5260 * math/libm-test.inc (nearbyint): Add tests.
5263 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5265 * nptl/sysdeps/powerpc/Makefile: Moved ...
5266 * sysdeps/powerpc/nptl/Makefile: ... here.
5267 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
5268 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
5269 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
5270 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
5271 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
5272 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
5273 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
5274 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
5275 * nptl/sysdeps/powerpc/tls.h: Moved ...
5276 * sysdeps/powerpc/nptl/tls.h: ... here.
5278 2014-06-16 Joseph Myers <joseph@codesourcery.com>
5281 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
5282 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5283 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
5284 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
5285 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5286 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
5287 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
5288 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5289 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
5291 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
5293 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5295 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
5297 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
5300 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
5303 2014-06-16 Florian Weimer <fweimer@redhat.com>
5306 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
5307 non-executed part of the test.
5309 2014-06-16 Andreas Schwab <schwab@suse.de>
5311 * string/bits/string2.h (strdup, strndup): Update feature guard.
5313 2014-06-14 David S. Miller <davem@davemloft.net>
5315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5317 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
5319 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
5320 that was previously under [RESET_PID].
5321 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
5323 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
5324 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
5325 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
5326 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5327 (__libc_vfork): New strong alias.
5328 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
5330 2014-06-14 Andi Kleen <ak@linux.intel.com>
5332 * sysdeps/generic/elide.h: New file.
5334 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5336 * Makefile (installed-headers): Adjust path of pthread.h header.
5338 2014-06-13 Roland McGrath <roland@hack.frob.com>
5340 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
5341 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
5342 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
5343 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
5345 * nptl/sysdeps/s390/Makefile: Moved ...
5346 * sysdeps/s390/nptl/Makefile: ... here.
5347 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
5348 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
5349 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
5350 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
5351 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
5352 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
5353 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
5354 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
5355 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
5356 * sysdeps/s390/nptl/pthreaddef.h: ... here.
5357 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
5358 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
5359 * nptl/sysdeps/s390/tls.h: Moved ...
5360 * sysdeps/s390/nptl/tls.h: ... here.
5362 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
5363 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
5365 2014-06-13 David S. Miller <davem@davemloft.net>
5367 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
5368 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
5369 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
5370 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
5371 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
5372 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
5373 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
5374 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
5375 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
5376 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
5377 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
5378 Remove RESET_PID cpp guards.
5379 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
5380 Remove RESET_PID cpp guards.
5381 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
5383 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
5385 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
5388 2014-06-13 Andi Kleen <ak@linux.intel.com>
5390 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
5391 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
5392 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
5393 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
5394 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
5395 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
5396 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
5397 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
5398 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
5399 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
5400 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
5401 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
5402 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
5403 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
5404 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
5405 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
5406 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
5407 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
5408 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
5409 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
5411 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
5412 (pthread_rwlock_rdlock): Add elision.
5413 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
5414 (pthread_rwlock_wrlock): Add elision.
5415 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
5416 (pthread_rwlock_trywrlock): Add elision.
5417 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
5418 (pthread_rwlock_tryrdlock): Add elision.
5419 * nptl/pthread_rwlock_unlock.c: Include elide.h.
5420 (pthread_rwlock_tryrdlock): Add elision unlock.
5421 * nptl/sysdeps/pthread/pthread.h:
5422 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
5423 (PTHREAD_RWLOCK_INITIALIZER,
5424 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
5425 Handle new elision field.
5426 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
5427 * sysdeps/arm/nptl/bits/pthreadtypes.h
5428 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5429 * sysdeps/sh/nptl/bits/pthreadtypes.h
5430 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5431 * sysdeps/tile/nptl/bits/pthreadtypes.h
5432 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5433 * sysdeps/a/nptl/bits/pthreadtypes.h
5434 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5435 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5436 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5437 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5438 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5439 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
5440 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5441 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5442 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5443 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5444 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5445 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5446 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5447 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5448 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5449 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
5450 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5451 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
5452 (elision_init): Set try_xbegin to zero when no RTM.
5453 * sysdeps/x86/nptl/bits/pthreadtypes.h
5454 (pthread_rwlock_t): Change __pad1 to __rwelision.
5455 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5457 2014-06-13 Andi Kleen <ak@linux.intel.com>
5459 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
5460 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
5461 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
5462 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
5464 2014-06-13 Meador Inge <meadori@codesourcery.com>
5467 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
5468 that the cached result has been set before returning it.
5470 2014-06-12 Roland McGrath <roland@hack.frob.com>
5472 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
5473 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
5474 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
5475 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
5476 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
5477 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
5479 * nptl/sysdeps/sparc/Makefile: Moved ...
5480 * sysdeps/sparc/nptl/Makefile: ... here.
5481 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
5482 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
5483 * nptl/sysdeps/sparc/tls.h: Moved ...
5484 * sysdeps/sparc/nptl/tls.h: ... here.
5485 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
5486 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
5487 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
5488 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
5489 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
5490 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
5491 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
5492 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
5493 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
5494 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
5495 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
5496 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
5497 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
5498 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
5499 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
5500 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
5501 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
5502 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
5504 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
5505 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
5507 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
5508 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
5510 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
5511 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
5514 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5516 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
5517 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
5519 * sysdeps/pthread/posix-timer.h: Include <list.h>.
5520 (struct list_links): Type removed.
5521 (struct thread_node, struct timer_node): Replace struct list_links
5522 with struct list_head.
5523 (list_unlink_ip): Likewise.
5524 * sysdeps/pthread/timer_routines.c
5525 (timer_free_list, thread_free_list, thread_active_list): Likewise.
5526 (list_append, list_insbefore): Likewise.
5527 (list_init): Function removed.
5528 (thread_init, init_module): Use INIT_LIST_HEAD instead.
5529 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
5530 * sysdeps/pthread/Makefile: ... here, new file.
5532 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
5533 * sysdeps/nptl/Implies: ... here.
5534 * sysdeps/unix/sysv/linux/Implies: Add nptl.
5535 * nptl/sysdeps/pthread/list.h: Moved ...
5536 * include/list.h: ... here.
5537 * nptl/sysdeps/pthread/createthread.c: Moved ...
5538 * nptl/createthread.c: ... here.
5539 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
5540 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
5541 * nptl/pt-longjmp.c: ... here.
5542 * nptl/sysdeps/pthread/Makefile: Moved ...
5543 * sysdeps/nptl/Makefile: ... here.
5544 * nptl/sysdeps/pthread/Subdirs: Moved ...
5545 * sysdeps/nptl/Subdirs: ... here.
5546 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
5547 * sysdeps/nptl/aio_misc.h: ... here.
5548 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
5549 * sysdeps/nptl/bits/libc-lock.h: ... here.
5550 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
5551 * sysdeps/nptl/bits/libc-lockP.h: ... here.
5552 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
5553 * sysdeps/nptl/bits/stdio-lock.h: ... here.
5554 * nptl/sysdeps/pthread/configure: Moved ...
5555 * sysdeps/nptl/configure: ... here.
5556 * nptl/sysdeps/pthread/configure.ac: Moved ...
5557 * sysdeps/nptl/configure.ac: ... here.
5558 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
5559 * sysdeps/nptl/gai_misc.h: ... here.
5560 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
5561 * sysdeps/nptl/librt-cancellation.c: ... here.
5562 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
5563 * sysdeps/nptl/malloc-machine.h: ... here.
5564 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
5565 * sysdeps/nptl/pthread-functions.h: ... here.
5566 * nptl/sysdeps/pthread/pthread.h: Moved ...
5567 * sysdeps/nptl/pthread.h: ... here.
5568 * nptl/sysdeps/pthread/setxid.h: Moved ...
5569 * sysdeps/nptl/setxid.h: ... here.
5570 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
5571 * sysdeps/nptl/sigfillset.c: ... here.
5572 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
5573 * sysdeps/nptl/tcb-offsets.h: ... here.
5574 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
5575 * sysdeps/nptl/tst-mqueue8x.c: ... here.
5576 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
5577 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
5578 * nptl/sysdeps/pthread/allocalim.h: Moved ...
5579 * sysdeps/pthread/allocalim.h: ... here.
5580 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
5581 * sysdeps/pthread/bits/sigthread.h: ... here.
5582 * nptl/sysdeps/pthread/flockfile.c: Moved ...
5583 * sysdeps/pthread/flockfile.c: ... here.
5584 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
5585 * sysdeps/pthread/ftrylockfile.c: ... here.
5586 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
5587 * sysdeps/pthread/funlockfile.c: ... here.
5588 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
5589 * sysdeps/pthread/posix-timer.h: ... here.
5590 * nptl/sysdeps/pthread/timer_create.c: Moved ...
5591 * sysdeps/pthread/timer_create.c: ... here.
5592 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
5593 * sysdeps/pthread/timer_delete.c: ... here.
5594 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
5595 * sysdeps/pthread/timer_getoverr.c: ... here.
5596 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
5597 * sysdeps/pthread/timer_gettime.c: ... here.
5598 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
5599 * sysdeps/pthread/timer_routines.c: ... here.
5600 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
5601 * sysdeps/pthread/timer_settime.c: ... here.
5602 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
5603 * sysdeps/pthread/tst-timer.c: ... here.
5604 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
5605 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
5607 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
5608 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
5610 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
5611 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
5612 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
5613 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
5614 Update #include target.
5615 * nptl/sysdeps/i386/i686/Makefile: Moved ...
5616 * sysdeps/i386/i686/nptl/Makefile: ... here.
5617 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
5618 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
5619 Update #include target.
5620 * nptl/sysdeps/i386/i686/tls.h: Moved ...
5621 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
5622 * nptl/sysdeps/i386/Makefile: Moved ...
5623 * sysdeps/i386/nptl/Makefile: ... here.
5624 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
5625 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
5626 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
5627 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
5628 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
5629 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
5630 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
5631 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
5632 * sysdeps/i386/nptl/pthreaddef.h: ... here.
5633 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
5634 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
5635 * nptl/sysdeps/i386/tls.h: Moved ...
5636 * sysdeps/i386/nptl/tls.h: ... here.
5638 * sysdeps/sh/Makefile [$(subdir) = csu]
5639 (gen-as-const-headers): Add tcb-offsets.sym.
5640 * nptl/sysdeps/sh/Makefile: File removed.
5641 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
5642 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
5643 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
5644 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
5645 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
5646 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
5647 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
5648 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
5649 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
5650 * sysdeps/sh/nptl/pthreaddef.h: ... here.
5651 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
5652 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
5653 * nptl/sysdeps/sh/tls.h: Moved ...
5654 * sysdeps/sh/nptl/tls.h: ... here.
5655 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
5656 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
5657 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
5658 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
5659 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
5660 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
5661 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
5662 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
5663 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
5664 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
5665 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
5666 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
5667 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
5668 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
5669 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
5670 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
5671 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
5672 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
5673 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
5674 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
5675 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
5676 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
5677 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
5678 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
5679 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
5681 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
5682 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
5684 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
5685 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
5686 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
5687 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
5688 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
5689 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
5690 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
5691 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
5692 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
5693 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
5694 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
5695 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
5696 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
5697 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
5698 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
5699 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
5700 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
5701 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
5702 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
5704 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5706 * posix/spawn_faction_addopen.c: Include string.h.
5708 2014-06-11 Roland McGrath <roland@hack.frob.com>
5710 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
5711 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
5712 * nptl/sysdeps/x86_64/Makefile: Moved ...
5713 * sysdeps/x86_64/nptl/Makefile: ... here.
5714 * nptl/sysdeps/x86_64/configure: Moved ...
5715 * sysdeps/x86_64/nptl/configure: ... here.
5716 * nptl/sysdeps/x86_64/configure.ac: Moved ...
5717 * sysdeps/x86_64/nptl/configure.ac: ... here.
5718 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
5719 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
5720 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
5721 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
5722 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
5723 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
5724 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
5725 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
5726 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
5727 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
5728 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
5729 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
5730 * nptl/sysdeps/x86_64/tls.h: Moved ...
5731 * sysdeps/x86_64/nptl/tls.h: ... here.
5732 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
5733 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
5734 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
5735 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
5737 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
5739 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5743 2014-06-11 Joseph Myers <joseph@codesourcery.com>
5745 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
5747 [POSIX] (off_t): Likewise.
5748 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
5749 [POSIX] (S_ISBLK): Require macro.
5750 [POSIX] (S_ISCHR): Likewise.
5751 [POSIX] (S_ISDIR): Likewise.
5752 [POSIX] (S_ISFIFO): Likewise.
5753 [POSIX] (S_ISREG): Likewise.
5754 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
5756 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
5758 [POSIX] (time_t): Likewise.
5759 [POSIX] (timer_t): Likewise.
5761 2014-06-11 Florian Weimer <fweimer@redhat.com>
5764 * posix/spawn_int.h (struct __spawn_action): Make the path string
5765 non-const to support deallocation.
5766 * posix/spawn_faction_addopen.c
5767 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
5768 * posix/spawn_faction_destroy.c
5769 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
5770 path in all spawn_do_open actions.
5771 * posix/tst-spawn.c (do_test): Exercise the copy operation in
5772 posix_spawn_file_actions_addopen.
5774 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
5776 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
5777 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
5778 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
5779 conditional code always true.
5780 (__libc_vfork): New alias.
5782 2014-06-11 Roland McGrath <roland@hack.frob.com>
5784 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5785 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
5787 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
5789 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5790 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
5792 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5793 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
5795 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5796 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
5798 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5800 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
5801 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
5802 multiarch strcmp for PPC64.
5803 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
5804 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
5805 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
5806 multiarch optimizations.
5807 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5808 (__libc_ifunc_impl_list): Likewise.
5810 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5812 * benchtests/scripts/validate_benchout.py: New script.
5813 * benchtests/Makefile (bench-func): Call it.
5814 * benchtests/scripts/benchout.schema.json: New file.
5816 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
5818 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
5819 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
5820 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
5821 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
5822 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
5823 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
5824 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
5825 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
5826 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
5827 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
5828 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
5829 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
5830 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
5831 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
5832 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
5833 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
5834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
5836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
5838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
5840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
5841 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
5843 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
5845 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
5847 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
5849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
5851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
5852 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
5854 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
5856 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
5858 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
5860 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
5862 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
5863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
5865 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
5867 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
5869 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
5871 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
5873 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
5875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
5877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
5878 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
5880 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
5882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
5884 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
5886 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
5888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
5890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
5892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
5893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
5895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
5897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
5899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
5901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
5903 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
5904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
5906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
5908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
5910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
5911 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
5913 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
5914 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
5916 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
5918 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
5920 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
5922 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
5924 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
5926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
5928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
5929 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
5931 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
5933 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
5935 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
5937 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
5938 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
5939 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
5940 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
5941 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
5943 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
5945 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
5946 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
5947 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
5948 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
5949 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
5950 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
5951 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
5952 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
5953 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
5954 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
5955 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
5956 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
5957 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
5959 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
5960 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
5962 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
5963 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
5964 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
5965 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
5967 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
5968 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
5969 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
5970 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
5971 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
5972 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
5973 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
5975 2014-06-10 Wilco <wdijkstr@arm.com>
5977 * math/test-fenv-return.c: New file.
5978 * math/Makefile: Add new test test-fenv-return.
5980 2014-06-10 Joseph Myers <joseph@codesourcery.com>
5983 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
5985 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
5986 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5987 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
5988 0.0L for an argument of 1.0L.
5989 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
5991 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
5992 value when x - 1 is zero.
5993 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
5994 * sysdeps/i386/fpu/libm-test-ulps: Update.
5995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5997 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
6000 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
6002 2014-06-09 Roland McGrath <roland@hack.frob.com>
6004 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
6005 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
6007 2014-06-09 Roland McGrath <roland@hack.frob.com>
6009 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6010 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
6012 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6013 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
6015 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6016 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
6018 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6019 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
6021 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
6022 if not already defined.
6023 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
6024 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
6025 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
6026 (TLS_INIT_TP): Use it.
6027 (TLS_DEFINE_INIT_TP): New macro.
6028 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
6030 2014-06-09 Joseph Myers <joseph@codesourcery.com>
6032 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6034 [POSIX] (IXANY): Likewise.
6035 [POSIX] (OLCUC): Likewise.
6036 [POSIX || POSIX2008] (CBAUD): Do not allow.
6037 [POSIX || POSIX2008] (DEFECHO): Likewise.
6038 [POSIX || POSIX2008] (ECHOCTL): Likewise.
6039 [POSIX || POSIX2008] (ECHOKE): Likewise.
6040 [POSIX || POSIX2008] (ECHOPRT): Likewise.
6041 [POSIX || POSIX2008] (EXTA): Likewise.
6042 [POSIX || POSIX2008] (EXTB): Likewise.
6043 [POSIX || POSIX2008] (FLUSHO): Likewise.
6044 [POSIX || POSIX2008] (LOBLK): Likewise.
6045 [POSIX || POSIX2008] (PENDIN): Likewise.
6046 [POSIX || POSIX2008] (SWTCH): Likewise.
6047 [POSIX || POSIX2008] (VDISCARD): Likewise.
6048 [POSIX || POSIX2008] (VDSUSP): Likewise.
6049 [POSIX || POSIX2008] (VLNEXT): Likewise.
6050 [POSIX || POSIX2008] (VREPRINT): Likewise.
6051 [POSIX || POSIX2008] (VSTATUS): Likewise.
6052 [POSIX || POSIX2008] (VWERASE): Likewise.
6053 (B*): Change to B[0123456789]*.
6054 * conform/data/time.h-data [POSIX || UNIX98]
6055 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
6056 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6057 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
6058 [POSIX] (tm_*): Do not allow.
6060 2014-06-07 Joseph Myers <joseph@codesourcery.com>
6062 * Makefile (install): Don't set LANGUAGE.
6063 * Makefile.in (install): Likewise.
6064 * assert/Makefile (test-assert-ENV): Remove variable.
6065 (test-assert-perr-ENV): Likewise.
6066 * elf/Makefile (neededtest4-ENV): Likewise.
6067 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6068 [$(cross-compiling) = no]: Don't set LANGUAGE.
6069 * io/ftwtest-sh (LANG): Remove variable.
6070 * libio/Makefile (tst-widetext-ENV): Likewise.
6071 * manual/install.texi (Running make install): Don't refer to
6072 environment settings for make install.
6073 * INSTALL: Regenerated.
6074 * nptl/tst-tls6.sh: Don't set LANG.
6075 * posix/globtest.sh (LANG): Remove variable.
6076 * string/Makefile (tester-ENV): Likewise.
6077 (inl-tester-ENV): Likewise.
6078 (noinl-tester-ENV): Likewise.
6079 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6080 [$(cross-compiling) = no]: Don't set LANGUAGE.
6081 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
6082 without explicit environment settings.
6084 2014-06-06 Roland McGrath <roland@hack.frob.com>
6086 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
6087 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
6088 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
6089 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
6091 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
6093 * crypt/crypt-private.h [DOS]: Add some includes taken from the
6094 other files in the crypt directory.
6095 * crypt/crypt.c: Remove duplicate includes.
6096 * crypt/crypt-entry.c: Likewise.
6097 * crypt/crypt_util.c: Likewise.
6099 2014-06-06 Joseph Myers <joseph@codesourcery.com>
6101 * Makeconfig (run-program-env): New variable.
6102 (run-program-prefix-before-env): Likewise.
6103 (run-program-prefix-after-env): Likewise.
6104 (run-program-prefix): Define in terms of new variables.
6105 (built-program-cmd-before-env): New variable.
6106 (built-program-cmd-after-env): Likewise.
6107 (built-program-cmd): Define in terms of new variables.
6108 (test-program-prefix-before-env): New variable.
6109 (test-program-prefix-after-env): Likewise.
6110 (test-program-prefix): Define in terms of new variables.
6111 (test-program-cmd-before-env): New variable.
6112 (test-program-cmd-after-env): Likewise.
6113 (test-program-cmd): Define in terms of new variables.
6114 * Rules (make-test-out): Use $(run-program-env).
6115 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
6116 (help): Do not mention environment variables. Mention
6117 --timeoutfactor option.
6118 (timeoutfactor): New variable.
6119 (blacklist_exports): Remove function.
6120 (exports): Remove variable.
6121 (command): Do not include ${exports}.
6122 * manual/install.texi (Configuring and compiling): Do not mention
6123 test wrappers preserving environment variables. Mention that last
6124 assignment to a variable must take precedence.
6125 * INSTALL: Regenerated.
6126 * benchtests/Makefile (run-bench): Use $(run-program-env).
6127 * catgets/Makefile ($(objpfx)test1.cat): Use
6128 $(built-program-cmd-before-env), $(run-program-env) and
6129 $(built-program-cmd-after-env).
6130 ($(objpfx)test2.cat): Do not specify environment variables
6132 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
6133 $(run-program-env) and $(built-program-cmd-after-env).
6134 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
6135 $(run-program-env) and $(test-program-cmd-after-env).
6136 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
6138 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
6139 run_program_env and test_program_cmd_after_env arguments.
6140 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
6141 * elf/tst-pathopt.sh: Use run_program_env argument.
6142 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
6143 $(test-wrapper-env) and $(run-program-env).
6144 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
6145 run_program_env arguments.
6146 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
6147 * intl/Makefile ($(objpfx)tst-gettext.out): Use
6148 $(test-program-prefix-before-env), $(run-program-env) and
6149 $(test-program-prefix-after-env).
6150 ($(objpfx)tst-gettext2.out): Likewise.
6151 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
6152 run_program_env and test_program_prefix_after_env arguments.
6153 * intl/tst-gettext2.sh: Likewise.
6154 * intl/tst-gettext4.sh: Do not set environment variables
6156 * intl/tst-gettext6.sh: Likewise.
6157 * intl/tst-translit.sh: Likewise.
6158 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
6159 $(test-program-prefix-before-env), $(run-program-env) and
6160 $(test-program-prefix-after-env).
6161 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
6162 run_program_env and test_program_prefix_after_env arguments.
6163 * math/Makefile (run-regen-ulps): Use $(run-program-env).
6164 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
6165 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
6166 explicitly with each use of ${test_wrapper_env}.
6167 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
6168 $(test-program-prefix-before-env), $(run-program-env) and
6169 $(test-program-prefix-after-env).
6170 * posix/tst-getconf.sh: Do not set environment variables
6172 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
6173 run_program_env and test_program_prefix_after_env arguments.
6174 * stdio-common/tst-printf.sh: Do not set environment variables
6176 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
6177 $(test-program-prefix-before-env), $(run-program-env) and
6178 $(test-program-prefix-after-env).
6179 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
6180 run_program_env and test_program_prefix_after_env arguments.
6181 Split $test calls into $test_pre and $test.
6182 * timezone/Makefile (build-testdata): Use
6183 $(built-program-cmd-before-env), $(run-program-env) and
6184 $(built-program-cmd-after-env).
6186 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6188 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
6189 strlen for non SHARED builds.
6191 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6193 * nptl/allocatestack.c (check_list): Inlined function...
6194 (__reclaim_stacks): ... here.
6196 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
6199 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6202 2014-06-05 Joseph Myers <joseph@codesourcery.com>
6204 * Rules (make-test-out): Include
6205 LOCPATH=$(common-objpfx)localedata in default environment.
6206 * debug/Makefile (tst-chk1-ENV): Remove variable.
6207 (tst-chk2-ENV): Likewise.
6208 (tst-chk3-ENV): Likewise.
6209 (tst-chk4-ENV): Likewise.
6210 (tst-chk5-ENV): Likewise.
6211 (tst-chk6-ENV): Likewise.
6212 (tst-lfschk1-ENV): Likewise.
6213 (tst-lfschk2-ENV): Likewise.
6214 (tst-lfschk3-ENV): Likewise.
6215 (tst-lfschk4-ENV): Likewise.
6216 (tst-lfschk5-ENV): Likewise.
6217 (tst-lfschk6-ENV): Likewise.
6218 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
6219 (tst-iconv7-ENV): Likewise.
6220 * intl/Makefile (LOCPATH-ENV): Likewise.
6221 (tst-codeset-ENV): Likewise.
6222 (tst-gettext3-ENV): Likewise.
6223 (tst-gettext5-ENV): Likewise.
6224 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
6225 (tst-fopenloc-ENV): Likewise.
6226 (tst-fgetws-ENV): Remove variable.
6227 (tst-ungetwc1-ENV): Likewise.
6228 (tst-ungetwc2-ENV): Likewise.
6229 (bug-ungetwc2-ENV): Likewise.
6230 (tst-swscanf-ENV): Likewise.
6231 (bug-ftell-ENV): Likewise.
6232 (tst-fgetwc-ENV): Likewise.
6233 (tst-fseek-ENV): Likewise.
6234 (tst-ftell-partial-wide-ENV): Likewise.
6235 (tst-ftell-active-handler-ENV): Likewise.
6236 (tst-ftell-append-ENV): Likewise.
6237 * posix/Makefile (tst-fnmatch-ENV): Likewise.
6238 (tst-regexloc-ENV): Likewise.
6239 (bug-regex1-ENV): Likewise.
6240 (tst-regex-ENV): Likewise.
6241 (tst-regex2-ENV): Likewise.
6242 (bug-regex5-ENV): Likewise.
6243 (bug-regex6-ENV): Likewise.
6244 (bug-regex17-ENV): Likewise.
6245 (bug-regex18-ENV): Likewise.
6246 (bug-regex19-ENV): Likewise.
6247 (bug-regex20-ENV): Likewise.
6248 (bug-regex22-ENV): Likewise.
6249 (bug-regex23-ENV): Likewise.
6250 (bug-regex25-ENV): Likewise.
6251 (bug-regex26-ENV): Likewise.
6252 (bug-regex30-ENV): Likewise.
6253 (bug-regex32-ENV): Likewise.
6254 (bug-regex33-ENV): Likewise.
6255 (bug-regex34-ENV): Likewise.
6256 (bug-regex35-ENV): Likewise.
6257 (tst-rxspencer-ENV): Likewise.
6258 (tst-rxspencer-no-utf8-ENV): Likewise.
6259 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
6260 (tst-sscanf-ENV): Likewise.
6261 (tst-swprintf-ENV): Likewise.
6262 (tst-swscanf-ENV): Likewise.
6263 (test-vfprintf-ENV): Likewise.
6264 (scanf13-ENV): Likewise.
6265 (bug14-ENV): Likewise.
6266 (tst-grouping-ENV): Likewise.
6267 * stdlib/Makefile (tst-strtod-ENV): Likewise.
6268 (tst-strtod3-ENV): Likewise.
6269 (tst-strtod4-ENV): Likewise.
6270 (tst-strtod5-ENV): Likewise.
6271 (testmb2-ENV): Likewise./
6272 * string/Makefile (tst-strxfrm-ENV): Likewise.
6273 (tst-strxfrm2-ENV): Likewise.
6274 (bug-strcoll1-ENV): Likewise.
6275 (test-strcasecmp-ENV): Likewise.
6276 (test-strncasecmp-ENV): Likewise.
6277 * time/Makefile (tst-strptime-ENV): Likewise.
6278 (tst-ftime_l-ENV): Likewise.
6279 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
6280 (tst-mbrtowc-ENV): Likewise.
6281 (tst-wcrtomb-ENV): Likewise.
6282 (tst-mbrtowc2-ENV): Likewise.
6283 (tst-c16c32-1-ENV): Likewise.
6284 (tst-mbsnrtowcs-ENV): Likewise.
6286 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
6288 * manual/resource.texi (How to get information about the memory
6289 subsystem?): Fix typo.
6290 Reported by Peon de la Parra Ivan <peon@keba.com>
6292 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
6295 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
6296 (pthread_spin_lock): Branch out of spin loop to proper location.
6297 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
6298 (pthread_spin_lock): Likewise.
6300 * nptl/tst-spin4.c: New test.
6301 * nptl/Makefile (tests): Add tst-spin4.
6303 2014-06-03 Andreas Schwab <schwab@suse.de>
6306 * resolv/res_send.c (send_dg): Reload file descriptor after
6309 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
6311 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6313 2014-06-03 Richard Henderson <rth@redhat.com>
6315 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
6316 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
6317 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
6318 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
6319 in the SAVE_PID block.
6320 (__libc_vfork): New alias.
6321 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
6323 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
6324 child in registers, not on the stack. Remove RESET_PID conditionals.
6325 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
6327 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
6329 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6331 2014-06-03 Wilco <wdijkstr@arm.com>
6333 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
6334 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
6335 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6336 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
6337 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
6340 2014-06-03 Wilco <wdijkstr@arm.com>
6342 * sysdeps/aarch64/fpu/math_private.h
6343 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
6344 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
6345 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
6346 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6349 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6351 * crypt/crypt-private.h: Include ufc-crypt.h.
6352 (__b64_from_24bit): Declare extern.
6353 * crypt/crypt_util.c(__b64_from_24bit): New function.
6354 (b64t): New static const variable.
6355 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
6356 (b64t): Remove variable.
6357 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
6358 * crypt/sha256-crypt.c: Include crypt-private.h.
6359 (b64t): Remove variable.
6360 (__sha256_crypt_r): Remove b64_from_24bit and replace
6361 with __b64_from_24bit.
6362 * crypt/sha512-crypt.c: Likewise.
6364 2014-06-02 Roland McGrath <roland@hack.frob.com>
6366 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
6367 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
6368 Label the code __libc_vfork rather than __vfork.
6369 [!NOT_IN_libc] (vfork): Define as weak alias.
6370 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
6371 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
6372 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
6374 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6376 * malloc/malloc.c (malloc_info): Fix format specifier for
6379 2014-06-02 Wilco <wdijkstr@arm.com>
6381 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
6384 2014-06-02 Wilco <wdijkstr@arm.com>
6387 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
6388 Rewrite to reduce FPCR/FPSR accesses.
6390 2014-06-01 David S. Miller <davem@davemloft.net>
6392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6394 2014-05-31 David S. Miller <davem@davemloft.net>
6396 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
6397 to occur in round to nearest mode when |x| >= 2.0
6399 2014-05-30 Richard Henderson <rth@twiddle.net>
6401 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
6402 (PSEUDO_RET_NOERRNO): Remove.
6403 (ret): Don't redefine.
6404 (ret_NOERRNO): Define in terms of ret.
6405 (ret_ERRVAL): Likewise.
6407 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
6408 use of PSEUDO_RET; perform the error check directly.
6410 2014-05-30 Marko Myllynen <myllynen@redhat.com>
6412 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
6415 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6417 * malloc/malloc (malloc_info): Fix formatting.
6419 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6420 Roland McGrath <roland@hack.frob.com>
6422 * malloc/malloc (malloc_info): Also print mmapped statistics.
6424 2014-05-30 Roland McGrath <roland@hack.frob.com>
6426 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
6427 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
6429 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
6431 * malloc/malloc.c (malloc_info): Inline mi_arena.
6433 2014-05-29 Richard Henderson <rth@twiddle.net>
6435 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
6436 Remove comma before expanding ASM_ARGS_##nr.
6437 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
6438 Make _x0 a strict output; make _x8 a strict input; adjust expansion
6440 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
6441 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
6442 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
6443 (ASM_ARGS_1): Add leading comma.
6445 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
6446 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
6447 to __errno_location.
6448 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
6449 Remove the expected plt for __errno_location.
6451 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6452 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
6455 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6456 Always allocate 64 bytes of stack frame. Use ldp/stp to create
6457 it and break it down.
6458 (DOCARGS_0, DOCARGS_1): Do nothing.
6459 (DOCARGS_2): Update to store into the new stack frame.
6460 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
6461 (UNDOCARGS_1): Update to restore from the new stack frame.
6462 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
6463 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
6465 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6466 (SINGLE_THREAD_P): New parameter for result regno.
6467 (PSEUDO): Update to match; use cbz instead of beq.
6469 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6470 Use ENTRY to define the _nocancel entry point. Share the syscall
6471 and syscall error check paths with the cancel path.
6474 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
6475 whitespace; tabs before and after asm mnemonics.
6477 2014-05-29 Eric Wong <normalperson@yhbt.net>
6480 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6481 Call fstat64 or stat64 internally, depending on arguments passed.
6482 Replace stat buffer argument with file descriptor argument.
6483 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
6484 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6485 Pass fd to __internal_statvfs instead of calling fstat64.
6486 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
6487 Pass fd to __internal_statvfs64 instead of calling fstat64.
6488 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
6489 Pass -1 to __internal_statvfs instead of calling stat64.
6490 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
6491 Pass -1 to __internal_statvfs64 instead of calling stat64.
6493 2014-05-28 Roland McGrath <roland@hack.frob.com>
6495 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
6496 that was previously under [RESET_PID].
6497 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
6499 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
6500 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
6502 2014-05-27 Roland McGrath <roland@hack.frob.com>
6504 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
6506 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
6507 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
6509 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
6511 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
6513 2014-05-27 Andreas Schwab <schwab@suse.de>
6515 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
6517 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6518 * elf/rtld.c (init_tls, dl_main): Likewise.
6519 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
6520 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
6521 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
6522 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
6523 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
6524 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
6525 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
6526 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
6527 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
6528 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
6529 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
6530 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
6531 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
6532 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
6533 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
6534 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
6535 * sysdeps/generic/tls.h: Update description.
6537 2014-05-27 Will Newton <will.newton@linaro.org>
6540 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
6541 and restore r2 rather than just restoring.
6543 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6546 * libio/tst-ftell-append.c: New test case.
6547 * libio/Makefile (tests): Add test case.
6548 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
6550 * libio/wfileops.c (do_ftell_wide): Likewise.
6552 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6556 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
6558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
6559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6560 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
6561 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
6562 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
6563 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
6564 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
6565 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
6566 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
6569 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
6572 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
6573 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
6574 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
6575 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
6576 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
6578 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
6579 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
6581 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
6583 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
6585 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
6586 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
6587 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
6589 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
6590 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
6591 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
6592 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
6594 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
6596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
6597 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
6599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
6600 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
6602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
6603 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
6607 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
6610 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
6614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
6615 conditional [RESET_PID].
6616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6617 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
6619 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
6622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
6624 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6625 (__libc_vfork): New strong alias.
6626 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
6628 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
6631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
6633 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
6634 (__libc_vfork): New strong alias.
6635 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
6637 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
6640 2014-05-26 Carlos O'Donell <carlos@redhat.com>
6642 * malloc/malloc.c (mi_arena): New function.
6643 (malloc_info): Remove nested function mi_arena. Call non-nosted
6646 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6648 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
6650 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
6651 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
6652 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
6653 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
6654 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
6655 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
6656 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
6658 2014-05-26 Andreas Schwab <schwab@suse.de>
6661 * locale/programs/repertoire.c (repertoire_read): Add slash
6662 between I18NPATH element and file name.
6663 * locale/programs/locfile.c (locfile_read): Likewise.
6665 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6667 * nptl/pthread_mutexattr_settype.c
6668 (__pthread_mutexattr_settype):
6669 Disable lock elision for PTHREAD_MUTEX_NORMAL.
6671 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6673 * nptl/tst-mutex5 (do_test):
6674 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
6676 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6678 * benchtests/README: Document 'init' directive.
6679 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
6681 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
6682 (parse_file): Recognize 'init' directive.
6684 2014-05-26 Kyle McMartin <kyle@redhat.com>
6687 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
6688 alignment of struct pthread.
6690 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6693 * nscd/netgroupcache.c (addgetnetgrentX): Look for
6694 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6695 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
6696 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6698 2014-05-25 Richard Henderson <rth@twiddle.net>
6700 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6701 (SINGLE_THREAD_P_PIC): Remove.
6702 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
6703 (SINGLE_THREAD_P_PIC): Remove.
6705 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
6706 branch to syscall error ...
6708 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
6709 from __local_syscall_error to .Lsyscall_error.
6710 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
6711 (SYSCALL_ERROR): Update label name.
6713 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6714 Do not use DOARGS/UNDOARGS.
6715 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
6716 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
6717 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
6718 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
6719 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
6721 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
6724 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
6725 define if !NOT_IN_libc.
6726 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
6727 define with non-default symbol versions.
6729 2014-05-23 Richard Henderson <rth@twiddle.net>
6731 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
6732 (vfork, __vfork): Define via compat_symbol.
6734 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
6735 [!HAVE_IFUNC] (vfork_compat): Remove.
6736 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
6738 2014-05-23 Joseph Myers <joseph@codesourcery.com>
6741 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
6742 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
6745 2014-05-23 Richard Henderson <rth@twiddle.net>
6747 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
6748 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
6749 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
6750 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
6752 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
6753 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
6754 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
6755 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
6756 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
6757 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
6758 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
6759 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
6760 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
6761 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
6762 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
6763 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
6764 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
6765 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
6766 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
6767 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
6768 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
6769 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
6770 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
6771 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
6772 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
6773 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
6774 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
6775 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
6776 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
6777 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
6778 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
6779 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
6780 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
6781 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
6782 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
6783 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
6784 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
6785 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
6786 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
6787 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
6788 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
6789 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
6790 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
6791 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
6792 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
6793 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
6794 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
6795 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
6796 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
6797 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
6798 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
6799 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
6800 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
6801 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
6802 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
6803 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
6804 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
6805 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
6806 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
6807 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
6809 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
6810 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
6811 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
6812 before exiting on error.
6813 (__libc_vfork): New strong alias.
6814 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
6815 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
6817 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
6818 that was previously under [RESET_PID].
6819 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
6821 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
6823 2014-05-23 Joseph Myers <joseph@codesourcery.com>
6826 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
6827 value when x - 1 is zero.
6828 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
6829 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
6830 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
6831 0.0L for an argument of 1.0L.
6832 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
6834 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
6835 value when x - 1 is zero.
6836 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
6837 * sysdeps/i386/fpu/libm-test-ulps: Update.
6838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6840 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6842 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
6843 alphasort and versionsort.
6845 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6847 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
6849 [copysignf]: Likewise.
6851 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6853 * crypt/md5-crypt.c: Fix formatting.
6855 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6857 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
6858 (b64_from_24bit): New function.
6860 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6862 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
6863 libc_hidden_builtin_def to ifunc.
6864 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6865 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
6867 2014-05-21 Roland McGrath <roland@hack.frob.com>
6869 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
6870 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
6872 2014-05-21 Joseph Myers <joseph@codesourcery.com>
6874 * nscd/Depend (linuxthreads): Remove.
6876 * resolv/Depend (linuxthreads): Remove.
6877 * rt/Depend (linuxthreads): Remove.
6879 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
6880 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
6881 $(common-objpfx)elf/.
6882 (link-libc-before-gnulib): Likewise.
6883 (elfobjdir): Remove variable.
6884 * Makefile (install): Use $(elf-objpfx) instead of
6885 $(common-objpfx)elf/.
6886 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
6888 (link-libc-deps): Likewise.
6889 ($(common-objpfx)libc.so): Likewise.
6890 ($(common-objpfx)linkobj/libc.so): Likewise.
6891 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
6892 instead of $(common-objpfx)elf/.
6893 (symbolic-link-list): Likewise.
6894 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6895 [$(cross-compiling) = no]: Likewise.
6896 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
6898 (static-gnulib-arch): Likewise.
6899 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6900 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
6901 $(common-objpfx)elf/.
6903 2014-05-21 Richard Henderson <rth@redhat.com>
6905 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6906 (SINGLE_THREAD_P): Use the correct width load. Fold
6907 into the ldr offset.
6909 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
6910 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
6912 2014-05-20 Joseph Myers <joseph@codesourcery.com>
6914 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
6915 (libgcc_s_resume): Use __attribute_used__.
6916 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
6919 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6921 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
6922 optimization when used with float constants.
6924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6926 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
6929 * locale/nl_langinfo_l.c: Make direct reference to every
6930 _nl_current_CATEGORY symbol.
6931 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
6932 (tests-static): Add tst-langinfo-static.
6933 (tests-special): Add tst-langinfo-static.out.
6934 ($(objpfx)tst-langinfo.out): Redirect output.
6935 ($(objpfx)tst-langinfo-static.out): New.
6936 * localedata/tst-langinfo.sh: Send output to stdout.
6937 * localedata/tst-langinfo-static.c: New file.
6940 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
6941 when the shift amount is modulo the limb size.
6943 2014-05-20 Richard Henderson <rth@redhat.com>
6946 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
6947 Change type of sa_flags from unsigned int to int.
6950 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
6952 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
6954 2014-05-20 Will Newton <will.newton@linaro.org>
6956 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6957 Test the return value of the system call in the nocancel case.
6959 2014-05-20 Will Newton <will.newton@linaro.org>
6960 Yvan Roux <yvan.roux@linaro.org>
6962 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
6963 #include of asm/ptrace.h.
6964 (PTRACE_GET_THREAD_AREA): Remove #undef.
6965 (PTRACE_GETHBPREGS): Likewise.
6966 (PTRACE_SETHBPREGS): Likewise.
6967 (struct user_regs_struct): New structure.
6968 (struct user_fpsimd_struct): New structure.
6969 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
6970 #include of asm/ptrace.h and second #include of sys/user.h.
6971 (PTRACE_GET_THREAD_AREA): Remove #undef.
6972 (PTRACE_GETHBPREGS): Likewise.
6973 (PTRACE_SETHBPREGS): Likewise.
6974 (ELF_NGREG): Use new struct user_regs_struct.
6975 (elf_fpregset_t): Use new struct user_fpsimd_struct.
6977 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6979 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
6980 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
6982 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
6985 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
6986 membar to avoid block loads/stores to overlap previous stores.
6988 2014-05-17 Richard Henderson <rth@redhat.com>
6990 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
6991 Create the __##syscall_name##_nocancel entry point.
6992 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
6993 Remove; let the sysdep-cancel.h code create it.
6995 2014-05-17 David S. Miller <davem@davemloft.net>
6997 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
6998 Protect with __USE_GNU.
6999 (TIOCSET_TEMPT): Likewise.
7000 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7001 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
7002 these are already provided in bits/ioctl-types.h
7004 2014-05-16 Roland McGrath <roland@hack.frob.com>
7006 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
7007 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
7009 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
7010 Use wait4 regardless of [__NR_waitpid].
7012 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7015 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7016 (_FP_NANSIGN_Q): Set the quiet bit.
7018 2014-05-16 Joseph Myers <joseph@codesourcery.com>
7020 * benchtests/Makefile
7021 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
7022 not $(common-objpfx)math/libm.so.
7023 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
7024 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
7025 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
7026 $(common-objpfx)dlfcn/libdl.so.
7027 ($(objpfx)tst-audit8): Depend on $(libm), not
7028 $(common-objpfx)math/libm.so.
7029 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
7030 not $(common-objpfx)dlfcn/libdl.so.
7032 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7033 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
7034 [$(build-shared) = yes].
7035 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
7036 $(common-objpfx)nptl/libpthread.so.
7037 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
7038 $(common-objpfx)math/libm.so$(libm.so-version) or
7039 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
7040 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
7041 $(common-objpfx)dlfcn/libdl.so.
7042 * setjmp/Makefile (link-libm): Remove variable.
7043 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
7044 * stdio-common/Makefile (link-libm): Remove variable.
7045 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
7046 * stdlib/Makefile (link-libm): Remove variable.
7047 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
7048 ($(objpfx)tst-strtod-round): Likewise.
7049 ($(objpfx)tst-tininess): Likewise.
7050 ($(objpfx)tst-strtod-underflow): Likewise.
7051 ($(objpfx)tst-strtod6): Likewise.
7052 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
7053 $(libdl), not $(common-objpfx)nptl/libpthread.so and
7054 $(common-objpfx)dlfcn/libdl.so.
7056 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7058 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
7059 BSD terminal modes definitions.
7061 2014-05-16 Roland McGrath <roland@hack.frob.com>
7063 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
7064 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
7066 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
7067 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
7068 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
7069 Don't do #include_next.
7070 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
7071 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
7072 Don't do #include_next.
7073 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
7074 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
7075 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
7076 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
7078 2014-05-16 Allan McRae <allan@archlinux.org>
7080 * po/sv.po: Update Swedish translation from translation project.
7082 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
7085 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
7088 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
7089 errno if the TIOCGPTN ioctl fails with an error different than
7091 * login/tst-ptsname.c: New file.
7092 * login/Makefile (tests): Add tst-ptsname.
7095 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
7098 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7101 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
7102 herrno to return EAI_AGAIN.
7104 2014-05-14 Roland McGrath <roland@hack.frob.com>
7106 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
7107 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
7108 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
7109 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
7110 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
7111 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
7112 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
7113 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
7114 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
7115 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
7116 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
7117 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
7118 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
7119 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
7120 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
7121 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
7122 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
7123 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
7124 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
7125 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
7126 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
7127 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
7128 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
7129 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
7130 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
7131 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
7132 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
7133 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
7134 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
7135 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
7136 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
7137 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
7138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
7139 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
7140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7142 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
7143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
7144 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
7145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
7146 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
7147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
7148 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
7149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
7150 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
7151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
7152 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
7153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
7154 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
7155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
7156 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
7157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
7158 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
7159 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
7160 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
7161 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
7162 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
7163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
7164 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
7165 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
7166 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
7167 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
7168 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
7169 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7171 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
7172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
7173 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
7174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
7175 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
7176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
7177 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
7178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
7179 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
7180 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
7181 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
7182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
7183 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
7184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
7185 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
7186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
7187 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
7188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
7189 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
7190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7192 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
7193 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
7194 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
7196 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
7197 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
7198 (libpthread-sysdep_routines): Add elision-related stuff here instead.
7199 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
7200 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
7201 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
7202 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
7203 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
7204 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
7205 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
7206 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
7207 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
7208 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
7209 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
7210 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
7211 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
7212 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
7213 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
7214 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
7215 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
7216 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
7217 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
7218 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
7219 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
7220 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
7221 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
7222 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
7223 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
7224 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
7225 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
7226 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
7228 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
7229 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
7231 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
7232 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
7233 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
7234 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
7235 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
7236 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
7238 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
7239 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7241 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
7242 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7244 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
7245 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
7247 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
7248 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
7249 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
7250 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7252 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
7253 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
7254 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
7255 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
7256 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
7257 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
7258 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
7259 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7261 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
7262 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7264 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7266 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
7267 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
7268 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
7269 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
7270 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7272 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7274 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
7276 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
7277 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
7278 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
7279 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
7280 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
7281 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
7283 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
7284 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7286 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
7287 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7289 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
7290 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
7292 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
7293 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
7294 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
7295 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
7297 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
7298 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
7299 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
7300 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
7301 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
7302 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
7303 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
7304 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7306 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
7307 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7309 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7311 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
7312 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
7313 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
7314 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
7315 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7317 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7319 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
7321 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
7322 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
7323 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
7324 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
7325 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
7326 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
7327 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
7328 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
7329 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
7330 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
7332 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
7333 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7335 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
7336 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7338 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
7339 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
7341 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
7342 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
7343 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
7344 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
7345 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
7346 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7348 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
7349 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
7350 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
7351 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
7352 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
7353 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
7354 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
7355 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7357 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
7358 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7360 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7362 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
7363 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
7364 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
7365 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
7366 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7368 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7370 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
7372 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
7373 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
7374 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
7375 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
7376 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
7377 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
7378 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
7379 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
7380 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
7381 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
7382 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
7384 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
7385 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
7387 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
7388 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
7390 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
7391 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
7392 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
7393 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
7394 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
7395 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
7396 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
7397 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
7398 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
7399 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
7400 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
7401 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
7402 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
7403 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
7404 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
7405 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
7406 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
7407 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
7409 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
7410 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
7411 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
7412 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
7414 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
7415 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
7416 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
7417 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
7418 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
7419 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
7420 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
7421 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
7423 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
7424 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
7426 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
7427 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
7428 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
7429 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
7430 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
7431 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
7432 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
7433 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
7434 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
7435 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
7436 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
7437 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
7438 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
7439 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
7440 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
7441 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
7442 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
7444 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
7445 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
7446 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
7447 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
7448 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
7450 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
7451 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
7452 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
7453 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
7454 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
7455 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
7456 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
7457 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
7458 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
7459 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
7461 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
7462 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
7464 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
7465 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
7466 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
7467 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
7468 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
7469 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
7470 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
7471 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
7472 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
7473 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
7474 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
7475 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
7476 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
7477 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
7478 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
7480 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
7482 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7484 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7486 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7488 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
7490 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
7492 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7494 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
7496 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
7498 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
7499 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
7500 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
7501 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
7502 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
7503 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
7504 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
7505 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
7506 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
7507 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
7508 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
7509 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
7510 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
7511 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
7512 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
7514 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
7515 that was previously under [RESET_PID].
7516 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7517 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
7518 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
7520 * sysdeps/i386/nptl/Implies: New file.
7521 * sysdeps/x86_64/nptl/Implies: New file.
7522 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
7523 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
7524 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
7525 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
7527 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
7528 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7529 (__libc_vfork): New strong alias.
7530 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
7531 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
7533 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
7534 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7535 (__libc_vfork): New strong alias.
7536 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
7537 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
7539 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
7540 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7541 (__libc_vfork): New strong alias.
7542 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
7543 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
7544 * nptl/pt-vfork.c: New file.
7545 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
7546 (libpthread: GLIBC_2.20): New version set (empty).
7548 2014-05-14 Will Newton <will.newton@linaro.org>
7550 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
7553 2014-05-14 Joseph Myers <joseph@codesourcery.com>
7556 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
7557 arguments with exponent 65 or above.
7558 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
7559 arguments 0x1p113L or above.
7560 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
7561 to arguments 0x1p107L or above.
7562 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
7563 positive arguments with exponent 65 or above.
7564 * math/auto-libm-test-in: Add more tests of log1p.
7565 * math/auto-libm-test-out: Regenerated.
7568 * math/s_cacos.c (__cacos): Ensure zero real part of result from
7569 non-finite arguments is +0.
7570 * math/s_cacosf.c (__cacosf): Likewise.
7571 * math/s_cacosl.c (__cacosl): Likewise.
7572 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
7573 * sysdeps/i386/fpu/libm-test-ulps: Update.
7574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7577 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
7579 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7580 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
7581 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
7582 for explicit high bit of mantissa when testing for argument equal
7584 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
7585 * sysdeps/i386/fpu/libm-test-ulps: Update.
7586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7589 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
7590 (__erf): Scale by 16 instead of 8 in potentially underflowing
7591 case. Ensure exception if result actually underflows.
7592 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
7593 (__erff): Scale by 16 instead of 8 in potentially underflowing
7594 case. Ensure exception if result actually underflows.
7595 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
7596 (efx8): Remove variable.
7597 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7598 case. Ensure exception if result actually underflows.
7599 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
7600 (efx8): Remove variable.
7601 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7602 case. Ensure exception if result actually underflows.
7603 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
7604 (efx8): Remove variable.
7605 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7606 case. Ensure exception if result actually underflows.
7607 * math/auto-libm-test-in: Add more tests of erf.
7608 * math/auto-libm-test-out: Regenerated.
7610 2014-05-14 Andreas Schwab <schwab@suse.de>
7612 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
7613 Remove code conditionalized on USE___THREAD.
7615 * config.h.in (HAVE_PT_CHOWN): Define as 0.
7616 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
7619 2014-05-14 Joseph Myers <joseph@codesourcery.com>
7621 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
7622 Define unconditionally.
7623 (__ASSUME_O_CLOEXEC): Likewise.
7624 (__ASSUME_SOCK_CLOEXEC): Likewise.
7625 (__ASSUME_IN_NONBLOCK): Likewise.
7626 (__ASSUME_PIPE2): Likewise.
7627 (__ASSUME_EVENTFD2): Likewise.
7628 (__ASSUME_SIGNALFD4): Likewise.
7629 (__ASSUME_DUP3): Likewise.
7630 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7631 (__ASSUME_DUP3): Do not define.
7632 (__ASSUME_EVENTFD2): Likewise.
7633 (__ASSUME_IN_NONBLOCK): Likewise.
7634 (__ASSUME_O_CLOEXEC): Likewise.
7635 (__ASSUME_PIPE2): Likewise.
7636 (__ASSUME_SIGNALFD4): Likewise.
7637 (__ASSUME_SOCK_CLOEXEC): Likewise.
7638 (__ASSUME_UTIMES): Undefine.
7639 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7640 (__ASSUME_UTIMES): Do not define.
7641 (__ASSUME_O_CLOEXEC): Likewise.
7642 (__ASSUME_SOCK_CLOEXEC): Likewise.
7643 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
7644 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
7646 (__ASSUME_PIPE2): Likewise.
7647 (__ASSUME_EVENTFD2): Likewise.
7648 (__ASSUME_SIGNALFD4): Likewise.
7649 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
7650 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
7652 (__ASSUME_EVENTFD2): Likewise.
7653 (__ASSUME_SIGNALFD4): Likewise.
7654 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7655 (__ASSUME_32BITUIDS): Likewise.
7656 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7657 (__ASSUME_IPC64): Likewise.
7658 (__ASSUME_ST_INO_64_BIT): Likewise.
7659 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
7660 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
7661 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7662 (__ASSUME_UTIMES): Do not define.
7663 (__ASSUME_PSELECT): Likewise.
7664 (__ASSUME_PPOLL): Likewise.
7665 (__ASSUME_O_CLOEXEC): Likewise.
7666 (__ASSUME_SOCK_CLOEXEC): Likewise.
7667 (__ASSUME_IN_NONBLOCK): Likewise.
7668 (__ASSUME_PIPE2): Likewise.
7669 (__ASSUME_EVENTFD2): Likewise.
7670 (__ASSUME_SIGNALFD4): Likewise.
7671 (__ASSUME_DUP3): Likewise.
7672 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7673 (__ASSUME_UTIMES): Likewise.
7674 (__ASSUME_O_CLOEXEC): Likewise.
7675 (__ASSUME_SOCK_CLOEXEC): Likewise.
7676 (__ASSUME_IN_NONBLOCK): Likewise.
7677 (__ASSUME_PIPE2): Likewise.
7678 (__ASSUME_EVENTFD2): Likewise.
7679 (__ASSUME_SIGNALFD4): Likewise.
7680 (__ASSUME_DUP3): Likewise.
7681 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7682 (__ASSUME_UTIMES): Likewise.
7683 (__ASSUME_O_CLOEXEC): Likewise.
7684 (__ASSUME_SOCK_CLOEXEC): Likewise.
7685 (__ASSUME_IN_NONBLOCK): Likewise.
7686 (__ASSUME_PIPE2): Likewise.
7687 (__ASSUME_EVENTFD2): Likewise.
7688 (__ASSUME_SIGNALFD4): Likewise.
7689 (__ASSUME_DUP3): Likewise.
7690 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
7692 (__ASSUME_UTIMES): Likewise.
7693 (__ASSUME_EVENTFD2): Likewise.
7694 (__ASSUME_SIGNALFD4): Likewise.
7695 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7696 (__ASSUME_O_CLOEXEC): Likewise.
7697 (__ASSUME_SOCK_CLOEXEC): Likewise.
7698 (__ASSUME_IN_NONBLOCK): Likewise.
7699 (__ASSUME_PIPE2): Likewise.
7700 (__ASSUME_EVENTFD2): Likewise.
7701 (__ASSUME_SIGNALFD4): Likewise.
7702 (__ASSUME_DUP3): Likewise.
7703 (__ASSUME_UTIMES): Undefine.
7705 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
7706 feclearexcept. Remove symbol versioning code.
7707 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
7708 symbol versioning code.
7709 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
7710 symbol versioning code.
7711 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
7712 feupdateenv. Remove symbol versioning code.
7713 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
7714 fegetexceptflag. Remove symbol versioning code.
7715 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
7716 fesetexceptflag. Remove symbol versioning code.
7717 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
7718 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
7719 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
7720 (__posix_fadvise64_l32): Remove prototype.
7721 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
7724 2014-05-13 Roland McGrath <roland@hack.frob.com>
7726 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
7727 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
7728 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
7729 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
7731 2014-05-13 Sami Kerola <kerolasa@iki.fi>
7733 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
7734 current working directory
7736 2014-05-13 Roland McGrath <roland@hack.frob.com>
7738 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
7739 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
7740 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
7741 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
7742 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
7743 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
7744 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
7745 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
7746 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
7747 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
7748 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
7749 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
7750 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
7751 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
7752 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
7753 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
7754 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
7755 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
7756 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
7757 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
7758 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
7759 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
7760 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
7761 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
7762 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
7763 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
7764 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
7765 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
7766 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
7767 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
7768 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
7769 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
7770 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
7771 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
7772 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
7773 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
7774 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
7775 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
7776 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
7777 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
7778 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
7779 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
7781 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
7782 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
7784 * sysdeps/unix/sysv/linux/arm/Makefile
7785 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7786 Add rt-aeabi_unwind_cpp_pr1.
7787 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
7788 Add nptl-aeabi_unwind_cpp_pr1.
7789 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
7790 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
7791 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
7792 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7793 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
7794 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7796 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
7797 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
7798 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
7799 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
7801 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
7802 Deconditionalize the code that was previously under [RESET_PID].
7803 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
7805 * sysdeps/generic/exit-thread.h: New file.
7806 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
7807 * include/unistd.h (__exit_thread): Remove declaration.
7808 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
7809 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
7810 * csu/libc-start.c: Include <exit-thread.h>.
7811 (LIBC_START_MAIN): Pass no argument to __exit_thread.
7812 * nptl/pthread_create.c: Include <exit-thread.h>.
7813 (start_thread): Call __exit_thread in place of __exit_thread_inline.
7814 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
7815 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
7816 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
7817 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
7818 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
7819 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
7820 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
7821 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
7822 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
7823 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
7824 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
7825 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
7826 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
7827 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
7828 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
7829 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
7831 2014-05-13 Andreas Schwab <schwab@suse.de>
7833 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
7835 2014-05-12 Joseph Myers <joseph@codesourcery.com>
7837 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7838 (__ASSUME_UTIMES): Do not condition on kernel version.
7839 (__ASSUME_PSELECT): Define unconditionally.
7840 (__ASSUME_PPOLL): Likewise.
7841 (__ASSUME_ATFCTS): Likewise.
7842 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
7843 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
7844 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
7845 (__ASSUME_UTIMENSAT): Define unconditionally.
7846 (__ASSUME_PRIVATE_FUTEX): Likewise.
7847 (__ASSUME_FALLOCATE): Likewise.
7848 (__ASSUME_O_CLOEXEC): Likewise.
7849 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
7850 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
7851 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
7852 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
7853 (__ASSUME_IN_NONBLOCK): Likewise.
7854 (__ASSUME_PIPE2): Likewise.
7855 (__ASSUME_EVENTFD2): Likewise.
7856 (__ASSUME_SIGNALFD4): Likewise.
7857 (__ASSUME_DUP3): Likewise.
7858 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7859 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
7860 (__ASSUME_AT_RANDOM): Likewise.
7861 (__ASSUME_PREADV): Likewise.
7862 (__ASSUME_PWRITEV): Likewise.
7863 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
7864 (__ASSUME_F_GETOWN_EX): Define unconditionally.
7865 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
7866 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7867 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
7868 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7869 (__ASSUME_O_CLOEXEC): Define unconditionally.
7870 (__ASSUME_PSELECT): Do not undefine conditionally.
7871 (__ASSUME_PPOLL): Likewise.
7872 (__ASSUME_ATFCTS): Likewise.
7873 (__ASSUME_SET_ROBUST_LIST): Likewise.
7874 (__ASSUME_UTIMENSAT): Likewise.
7875 (__ASSUME_FDATASYNC): Define unconditionally.
7876 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7877 (__ASSUME_SIGFRAME_V2): Likewise.
7878 )__ASSUME_EVENTFD2): Likewise.
7879 (__ASSUME_SIGNALFD4): Likewise.
7880 (__ASSUME_PSELECT): Do not undefine conditionally.
7881 (__ASSUME_PPOLL): Likewise.
7882 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7883 (__ASSUME_PSELECT): Define unconditionally.
7884 (__ASSUME_PPOLL): Likewise.
7885 (__ASSUME_O_CLOEXEC): Likewise.
7886 (__ASSUME_SOCK_CLOEXEC): Likewise.
7887 (__ASSUME_IN_NONBLOCK): Likewise.
7888 (__ASSUME_PIPE2): Likewise.
7889 (__ASSUME_EVENTFD2): Likewise.
7890 (__ASSUME_SIGNALFD4): Likewise.
7891 (__ASSUME_DUP3): Likewise.
7892 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7893 (__ASSUME_O_CLOEXEC): Likewise.
7894 (__ASSUME_SOCK_CLOEXEC): Likewise.
7895 (__ASSUME_IN_NONBLOCK): Likewise.
7896 (__ASSUME_PIPE2): Likewise.
7897 (__ASSUME_EVENTFD2): Likewise.
7898 (__ASSUME_SIGNALFD4): Likewise.
7899 (__ASSUME_DUP3): Likewise.
7900 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7901 (__ASSUME_EVENTFD2): Likewise.
7902 (__ASSUME_SIGNALFD4): Likewise.
7903 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7905 2014-05-12 Andreas Schwab <schwab@suse.de>
7908 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
7909 (_nss_nis_gethostbyname4_r): Return error if item length is larger
7910 than maximum RPC packet size.
7911 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
7912 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
7913 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
7914 (_nss_nis_getservbyport_r): Likewise.
7916 2014-05-12 Will Newton <will.newton@linaro.org>
7918 * malloc/Makefile (tests): Add tst-mallopt.
7919 * malloc/tst-mallopt.c: New file.
7921 2014-05-09 Roland McGrath <roland@hack.frob.com>
7923 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
7924 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
7926 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7928 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
7929 (tst-tlsmod6.so): Likewise.
7931 2014-05-09 Roland McGrath <roland@hack.frob.com>
7933 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
7935 2014-05-09 Joseph Myers <joseph@codesourcery.com>
7938 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
7939 and <dl-procinfo.h>.
7940 (__fegetenv): Save SSE state in envp->__eip if supported.
7941 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
7942 envp->__eip if supported.
7943 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
7944 and <dl-procinfo.h>.
7945 (__fesetenv): Always set __eip, __cs_selector, __opcode,
7946 __data_offset and __data_selector in environment to 0. Set SSE
7948 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7950 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
7952 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
7954 2014-05-09 Will Newton <will.newton@linaro.org>
7956 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
7957 and libc_relro_required for ARM.
7958 * sysdeps/arm/preconfigure: Regenerate.
7960 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
7961 Stefan Liebler <stli@linux.vnet.ibm.com>
7963 * config.make.in (enable-lock-elision): New Makefile variable.
7964 * configure.ac: Likewise.
7965 * configure: Regenerate.
7966 * sysdeps/s390/configure.ac:
7967 Add check for gcc transactions support.
7968 * sysdeps/s390/configure: Regenerate.
7969 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
7970 Build elision files if enabled.
7971 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
7972 Add lock elision support for s390.
7973 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
7974 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
7975 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
7976 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7977 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7978 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
7979 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7981 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
7983 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
7985 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
7987 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
7988 (__lll_timedlock_elision, __lll_lock_elision)
7989 (__lll_unlock_elision, __lll_trylock_elision)
7990 (lll_timedlock_elision, lll_lock_elision)
7991 (lll_unlock_elision, lll_trylock_elision): Add.
7992 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7993 (pthread_mutex_t): Add lock elision support for s390.
7995 2014-05-14 Wilco <wdijkstr@arm.com>
7997 * sysdeps/arm/fclrexcpt.c: Cleanup.
7998 * sysdeps/arm/fedisblxcpt.c: Cleanup.
7999 * sysdeps/arm/feenablxcpt.c: Cleanup.
8000 * sysdeps/arm/fegetenv.c: Cleanup.
8001 * sysdeps/arm/fegetexcept.c: Cleanup.
8002 * sysdeps/arm/fegetround.c: Cleanup.
8003 * sysdeps/arm/feholdexcpt.c: Cleanup.
8004 * sysdeps/arm/fesetenv.c: Cleanup.
8005 * sysdeps/arm/fesetround.c: Cleanup.
8006 * sysdeps/arm/feupdateenv.c: Cleanup.
8007 * sysdeps/arm/fgetexcptflg.c: Cleanup.
8008 * sysdeps/arm/fraiseexcpt.c: Cleanup.
8009 * sysdeps/arm/fsetexcptflg.c: Cleanup.
8010 * sysdeps/arm/ftestexcept.c: Cleanup.
8011 * sysdeps/arm/get-rounding-mode.h: Cleanup.
8012 * sysdeps/arm/setfpucw.c: Cleanup.
8014 2014-05-09 Will Newton <will.newton@linaro.org>
8016 * sysdeps/arm/armv7/strcmp.S: New file.
8017 * NEWS: Mention addition of ARMv7 optimized strcmp.
8019 2014-05-08 Roland McGrath <roland@hack.frob.com>
8021 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
8022 look for %.ac rather than %.in.
8024 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
8025 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8026 * sysdeps/mach/hurd/configure: Regenerated.
8027 * sysdeps/unix/sysv/linux/configure: Regenerated.
8029 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
8031 2014-05-07 Steve Ellcey <sellcey@mips.com>
8034 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8038 2014-05-07 Andreas Schwab <schwab@suse.de>
8040 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
8041 when skipping over non-matching result from nscd.
8043 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
8046 * nptl/sockperf.c (client): Check socket return value.
8049 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
8050 nscd security class.
8052 2014-05-06 Roland McGrath <roland@hack.frob.com>
8054 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
8055 * sysdeps/arm/unwind.h: ... here.
8057 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
8060 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
8063 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8065 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
8066 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
8067 multiarch strncpy for PPC64.
8068 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
8069 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
8070 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
8071 multiarch optimizations.
8072 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8073 (__libc_ifunc_impl_list): Likewise.
8074 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
8075 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
8076 multiarch stpncpy for PPC64.
8077 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
8078 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
8080 2014-05-06 Andreas Schwab <schwab@suse.de>
8083 * gmon/mcount.c (_MCOUNT_DECL): Use
8084 atomic_compare_and_exchange_bool_acq instead of
8085 catomic_compare_and_exchange_bool_acq.
8087 2014-05-05 Roland McGrath <roland@hack.frob.com>
8089 * elf/Makefile (others, install-bin): Remove pldd.
8090 (pldd-modules): Variable removed.
8091 ($(objpfx)pldd): Target removed.
8092 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
8093 (others, install-bin): Append pldd here.
8094 ($(objpfx)pldd): New target.
8096 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
8097 to 0, so the first #if test emitted later doesn't see it undefined.
8098 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
8099 * sysdeps/gnu/errlist.c: Regenerated.
8101 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8103 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8104 [libc_hidden_builtin_def]: Define to empty value.
8105 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
8106 [libc_hidden_builtin_def]: Likewise.
8107 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
8108 [libc_hidden_builtin_def]: Likewise.
8109 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
8110 [libc_hidden_builtin_def]: Likewise.
8111 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
8112 __redirect_memcpy and define ifunc as default hidden symbol.
8113 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
8114 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
8116 2014-05-04 Adam Conrad <adconrad@0c3.net>
8118 * locale/iso-4217.def: Reintroduce XDR currency.
8120 2014-05-04 Allan McRae <allan@archlinux.org>
8122 * po/eo.po: Update Esperanto translation from translation project.
8124 2014-05-02 Carlos O'Donell <carlos@redhat.com>
8126 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
8127 and FEATURE_INDEX_MAX to 1.
8128 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
8130 2014-05-01 Steve Ellcey <sellcey@mips.com>
8132 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
8133 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
8134 * iconvdata/big5.c (ONE_DIRECTION): Define.
8135 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
8136 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
8137 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
8138 * iconvdata/cp932.c (ONE_DIRECTION): Define.
8139 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
8140 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
8141 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
8142 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
8143 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
8144 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
8145 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
8146 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
8147 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
8148 * iconvdata/gbk.c (ONE_DIRECTION): Define.
8149 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
8150 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
8151 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
8152 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
8153 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
8154 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
8155 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
8156 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
8157 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
8158 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
8159 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
8160 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
8161 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
8162 * iconvdata/iso646.c (ONE_DIRECTION): Define.
8163 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
8164 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
8165 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
8166 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
8167 * iconvdata/johab.c (ONE_DIRECTION): Define.
8168 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
8169 * iconvdata/sjis.c (ONE_DIRECTION): Define.
8170 * iconvdata/t.61.c (ONE_DIRECTION): Define.
8171 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
8172 * iconvdata/tscii.c (ONE_DIRECTION): Define.
8173 * iconvdata/uhc.c (ONE_DIRECTION): Define.
8174 * iconvdata/unicode.c (ONE_DIRECTION): Define.
8175 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
8176 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
8177 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
8179 2014-05-01 Roland McGrath <roland@hack.frob.com>
8181 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
8182 (_IO_JUMPS_OFFSET): Define to 0.
8184 * nptl/sysdeps/pthread/bits/libc-lock.h
8185 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8186 (__libc_lock_define_initialized_recursive): Always define using
8187 initializer. Modern compilers treat uninitialized (implicit zero) and
8188 explicit zero initializers the same (i.e. put the datum in bss).
8190 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8192 * nscd/nscd-client.h: Include <string.h>.
8194 2014-05-01 David S. Miller <davem@davemloft.net>
8197 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
8198 multiple zero bytes exist at the end of a string.
8199 Reported by Aurelien Jarno <aurelien@aurel32.net>
8201 * string/test-strcmp.c (check): Add explicit test for situations where
8202 there are multiple zero bytes after the first.
8204 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8207 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
8208 when compiling wprintf.
8209 * stdio-common/tstdiomisc.c (t3): New function.
8212 2014-05-01 Steve Ellcey <sellcey@mips.com>
8214 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
8215 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
8216 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
8217 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
8219 2014-05-01 Steve Ellcey <sellcey@mips.com>
8221 * stdlib/longlong.h: Updated from GCC.
8223 2014-05-01 Will Newton <will.newton@linaro.org>
8224 Bernard Ogden <bernie.ogden@linaro.org>
8226 * NEWS: Update fixed bug list.
8229 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
8231 2014-04-30 David S. Miller <davem@davemloft.net>
8233 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
8234 (libc_feholdexcept_setround_sparc_ctx): New function.
8235 (libc_fesetenv_sparc_ctx): Likewise.
8236 (libc_feupdateenv_sparc_ctx): Likewise.
8237 (libc_feholdsetround_sparc_ctx): Likewise.
8238 (libc_feholdexcept_setround_ctx): Define.
8239 (libc_feholdexcept_setroundf_ctx): Likewise.
8240 (libc_feholdexcept_setroundl_ctx): Likewise.
8241 (libc_fesetenv_ctx): Likewise.
8242 (libc_fesetenvf_ctx): Likewise.
8243 (libc_fesetenvl_ctx): Likewise.
8244 (libc_feupdateenv_ctx): Likewise.
8245 (libc_feupdateenvf_ctx): Likewise.
8246 (libc_feupdateenvl_ctx): Likewise.
8247 (libc_feresetround_ctx): Likewise.
8248 (libc_feresetroundf_ctx): Likewise.
8249 (libc_feresetroundl_ctx): Likewise.
8250 (libc_feholdsetround_ctx): Likewise.
8251 (libc_feholdsetroundf_ctx): Likewise.
8252 (libc_feholdsetroundl_ctx): Likewise.
8254 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8255 with __USE_GNU instead of XOPEN cpp guards.
8257 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
8260 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8261 with XOPEN cpp guards.
8263 2014-04-30 Julian Brown <julian@codesourcery.com>
8266 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
8269 2014-04-30 Joseph Myers <joseph@codesourcery.com>
8272 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8274 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
8275 * sysdeps/unix/sysv/linux/configure: Regenerated.
8276 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
8277 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
8278 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
8279 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
8280 * README: Update reference to required Linux kernel version.
8281 * manual/install.texi (Linux): Update reference to required Linux
8282 kernel headers version.
8283 * INSTALL: Regenerated.
8285 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
8287 [POSIX] (limits.h): Likewise.
8288 [POSIX] (math.h): Likewise.
8289 [POSIX] (sys/wait.h): Likewise.
8290 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
8292 [POSIX] (stddef.h): Do not allow header inclusion.
8294 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8296 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
8298 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
8300 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8301 Return immediately after lll_futex_wake.
8303 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8306 * nscd/nscd-client.h (datahead_init_common): Initialize entire
8308 (datahead_init_pos): Call datahead_init_common early.
8309 (datahead_init_neg): Likewise.
8311 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
8312 datahead_init_neg): New functions.
8313 * nscd/aicache.c (addhstaiX): Use them.
8314 * nscd/grpcache.c (cache_addgr): Likewise.
8315 * nscd/hstcache.c (cache_addhst): Likewise.
8316 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8317 * nscd/netgroupcache.c (do_notfound): Likewise.
8318 (addgetnetgrentX): Likewise.
8319 (addinnetgrX): Likewise.
8320 * nscd/pwdcache.c (cache_addpw): Likewise.
8321 * nscd/servicescache.c (cache_addserv): Likewise.
8323 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8324 Atsushi Onoe <atsushi@onoe.org>
8329 * resolv/res_query.c (__libc_res_nsearch): Return if at least
8330 one response is valid.
8331 * resolv/res_send.c (send_dg): Check for validity of other
8332 response if the current response is a referral.
8334 2014-04-29 Steve Ellcey <sellcey@mips.com>
8336 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
8338 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
8341 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
8342 Always divide by positive zero when computing -Inf result.
8343 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8344 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
8346 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8348 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
8349 FPSCR if value do not change.
8350 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8351 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
8352 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8353 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8354 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
8355 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
8358 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
8360 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
8361 * sysdeps/unix/sysv/linux/hppa: Move directory from
8362 ports/systeps/unix/sysv/linux/hppa.
8363 * README: Update listing for hppa-*-linux-gnu.
8365 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
8368 * manual/stdio.texi (Hook functions): Fix types of stream hook
8371 * socket/sys/socket.h: Fix typo in comment.
8373 2014-04-28 Wilco <wdijkstr@arm.com>
8375 * sysdeps/arm/fenv_private.h: New file.
8376 * sysdeps/arm/math_private.h: New file.
8377 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
8379 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
8381 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
8383 (La_x86_64_retval): Likewise.
8385 2014-04-24 Ian Bolton <ian.bolton@arm.com>
8387 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
8388 fpsr if value didn't change.
8389 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
8390 to fpcr if value didn't change.
8391 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
8392 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
8393 fpsr or fpcr if value didn't change.
8394 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8395 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
8396 fpcr if value didn't change.
8397 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
8398 to fpsr if value didn't change.
8400 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8402 * nptl/tst-sem3.c: Use test-skeleton.c
8403 (main): Rename to do_test. Use return instead of
8405 * nptl/tst-sem4.c: Use test-skeleton.c
8406 (main): Rename to do_test.
8408 2014-04-22 David S. Miller <davem@davemloft.net>
8410 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
8411 (struct sigaction): New struct member __glibc_reserved0, change
8412 type of sa_flags to int.
8414 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
8416 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
8417 (COUNT_LEADING_ZEROS_0): Define for AArch64.
8419 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8421 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
8422 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
8424 2014-04-22 Will Newton <will.newton@linaro.org>
8425 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
8427 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
8428 (__longjmp): Add longjmp and longjmp_target SystemTap
8430 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
8431 (__sigsetjmp): Add setjmp SystemTap probe.
8433 2014-04-17 Carlos O'Donell <carlos@redhat.com>
8435 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
8438 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8440 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
8442 * sysdeps/powerpc/fpu/fenv_private.h
8443 (libc_feholdexcept_setroundl_ctx): Define to
8444 libc_feholdexcept_setround_ppc_ctx.
8445 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
8446 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
8447 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
8448 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
8450 2014-04-17 Ian Bolton <ian.bolton@arm.com>
8452 * sysdeps/aarch64/math-tests.h: New file.
8454 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
8456 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
8458 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8459 Check and set bit_AVX2_Usable.
8460 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
8462 (bit_AVX2): Likewise.
8463 (index_AVX2_Usable): Likewise.
8464 (CPUID_AVX2): Likewise.
8465 (HAS_AVX2): Likewise.
8467 2014-04-17 Will Newton <will.newton@linaro.org>
8469 * manual/setjmp.texi (System V contexts): Add note that
8470 calling setcontext on a context created by a call to a
8471 signal handler is undefined. Update text to note that
8472 setcontext from a signal handler is possible but not
8476 * stdlib/tst-setcontext.c: Include signal.h.
8477 (main): Check that the signal stack before and
8478 after swapcontext is the same.
8480 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
8481 Re-implement to restore registers in user code and avoid
8482 rt_sigreturn system call.
8484 2014-04-17 Wilco <wdijkstr@arm.com>
8486 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
8487 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
8488 * math/test-fenv.c: Skip exception trap tests on targets which only
8489 support non-stop mode.
8491 2014-04-17 Ian Bolton <ian.bolton@arm.com>
8492 Wilco Dijkstra <wilco.dijkstra@arm.com>
8494 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
8495 (libc_feholdsetround_aarch64_ctx)
8496 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
8497 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
8498 (libc_feresetround_ctx, libc_feresetroundf_ctx)
8499 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
8500 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
8501 (libc_feresetround_noexl_ctx): Define.
8503 2014-04-16 Richard Henderson <rth@redhat.com>
8505 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
8507 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
8510 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
8511 const from the non-libc, non-ldso copy.
8513 * sysdeps/alpha/libm-test-ulps: Regenerate.
8515 2014-04-16 Ian Bolton <ian.bolton@arm.com>
8516 Wilco Dijkstra <wilco.dijkstra@arm.com>
8518 * sysdeps/aarch64/fpu/math_private.h: New file.
8520 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
8522 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8524 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
8527 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
8528 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
8529 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
8530 Intel MPX bound registers before _dl_profile_fixup.
8531 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
8532 registers after _dl_profile_fixup. Save and restore bound
8533 registers bnd0/bnd1 when calling _dl_call_pltexit.
8534 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
8535 (LR_BND_OFFSET): Likewise.
8536 (LRV_BND0_OFFSET): Likewise.
8537 (LRV_BND1_OFFSET): Likewise.
8539 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8541 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
8543 * sysdeps/mach/hurd/i386/tls.h: ... here.
8544 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
8545 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
8548 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8550 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
8552 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8554 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8556 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8559 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
8560 * sysdeps/s390/configure: Regenerate.
8563 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
8564 Set round-to-nearest internally to reduce error accumulation.
8566 2014-04-16 Alan Modra <amodra@gmail.com>
8570 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
8571 * math/libm-test.inc (frexp_test_data): Add tests.
8572 * NEWS: Update fixed bug list.
8574 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8576 * benchtests/Makefile: Depend on libraries in build directory.
8577 (bench-math): Separate out math tests.
8578 (bench-pthread): Separate out pthread tests.
8579 (bench): Include math and pthread tests.
8581 2014-04-14 Carlos O'Donell <carlos@redhat.com>
8584 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
8585 _dl_debug_initialize.
8587 * configure.ac: Remove SELinux header check.
8588 * configure: Regenerate.
8589 * nscd/selinux.c (perms): Array of const char* to permission names.
8590 (nscd_request_avc_has_perm): Call security_deny_unknown to find
8591 default policy. Call string_to_security_class and string_to_av_perm to
8592 translate strings. Enforce default policy and call avs_has_perm with
8593 results of translated strings.
8595 2014-04-13 David S. Miller <davem@davemloft.net>
8597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8599 2014-04-12 Allan McRae <allan@archlinux.org>
8602 * manual/string.texi (Collation Functions): Fix qsort argument
8604 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8606 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
8608 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
8609 Make the test a no-op if there are no exceptions defined.
8611 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8613 * elf/Makefile (tests): make tst-dlopen-aout conditional on
8614 enable-hardcoded-path-in-tests
8616 2014-04-11 Will Newton <will.newton@linaro.org>
8618 * benchtests/Makefile (extra-objs): Add json-lib.o.
8619 (bench-func): Tidy up JSON output.
8620 * benchtests/bench-skeleton.c: Include json-lib.h.
8621 (main): Use JSON library functions to do output of
8623 * benchtests/bench-timing-type.c (main): Output the
8624 timing type simply, leaving formatting to the user.
8625 * benchtests/json-lib.c: New file.
8626 * benchtests/json-lib.h: Likewise.
8628 2014-04-11 Torvald Riegel <triegel@redhat.com>
8631 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
8632 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
8633 memory barriers. Add comments.
8634 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
8635 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
8636 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
8637 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
8638 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
8639 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
8641 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8643 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
8644 * sysdeps/s390/s390-64/configure.ac: ... this ...
8645 * sysdeps/s390/configure.ac: ... to here.
8646 * sysdeps/s390/s390-32/configure: Delete file.
8647 * sysdeps/s390/s390-64/configure: Delete file.
8648 * sysdeps/s390/configure: Regenerate.
8650 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
8652 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
8654 2014-04-11 Will Newton <will.newton@linaro.org>
8656 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
8657 to zero if it is not defined elsewhere. (mtrim): Test
8658 the value of MALLOC_DEBUG with #if rather than #ifdef.
8660 2014-04-10 Torvald Riegel <triegel@redhat.com>
8662 * benchtests/pthread_once-inputs: New file.
8663 * benchtests/pthread_once-source.c: New file.
8664 * benchtests/README: Update documentation.
8666 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
8667 H.J. Lu <hongjiu.lu@intel.com>
8670 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
8671 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
8672 * sysdeps/x86_64/configure: Regenerated.
8673 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
8675 (REGISTER_SAVE_RAX): Likewise.
8676 (REGISTER_SAVE_RCX): Likewise.
8677 (REGISTER_SAVE_RDX): Likewise.
8678 (REGISTER_SAVE_RSI): Likewise.
8679 (REGISTER_SAVE_RDI): Likewise.
8680 (REGISTER_SAVE_R8): Likewise.
8681 (REGISTER_SAVE_R9): Likewise.
8682 (REGISTER_SAVE_BND0): Likewise.
8683 (REGISTER_SAVE_BND1): Likewise.
8684 (REGISTER_SAVE_BND2): Likewise.
8685 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
8686 bound registers when calling _dl_fixup.
8688 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8690 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
8691 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
8693 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
8694 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
8695 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
8696 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
8697 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
8698 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
8699 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
8701 2014-04-09 Peter Brett <peter@peter-b.co.uk>
8704 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
8705 pathconf(_PC_NAME_MAX).
8707 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8709 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
8711 (__PTHREAD_SPINS): Move definition to ...
8712 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8713 (__PTHREAD_SPINS): ... here.
8714 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8715 (__PTHREAD_SPIN): Likewise.
8716 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
8717 (__PTHREAD_SPIN): Likewise.
8718 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
8719 (__PTHREAD_SPIN): Likewise.
8720 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
8721 (__PTHREAD_SPIN): Likewise.
8722 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8723 (__PTHREAD_SPIN): Likewise.
8724 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8725 (__PTHREAD_SPIN): Likewise.
8726 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
8727 (__PTHREAD_SPIN): Likewise.
8728 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8729 (__PTHREAD_SPIN): Likewise.
8730 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8731 (__PTHREAD_SPIN): Likewise.
8732 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8733 (__PTHREAD_SPIN): Likewise.
8734 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8735 (__PTHREAD_SPIN): Likewise.
8736 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
8737 (__PTHREAD_SPIN): Likewise.
8739 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
8740 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
8741 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
8742 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
8744 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
8745 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
8746 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
8747 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
8749 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
8750 strlen symbol for non multi-arch builds.
8751 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
8752 missing hidden_def and weak_alias.
8754 2014-04-08 Carlos O'Donell <carlos@redhat.com>
8756 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
8758 2014-04-07 Will Newton <will.newton@linaro.org>
8760 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
8761 and contents. [!_LIBC] Remove #ifndef and contents.
8762 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
8763 * string/memccpy.c (__memccpy): Use ANSI prototype.
8764 * string/memfrob.c (memfrob): Likewise.
8765 * string/strcoll.c (STRCOLL): Likewise.
8766 * string/strlen.c (strlen): Likewise.
8767 * string/strtok.c (STRTOK): Likewise.
8768 * string/strcat.c: Remove unused #include of memcopy.h.
8769 (strcat): Use ANSI prototype.
8770 * string/strchr.c: Remove unused #include of memcopy.h.
8771 (strchr): Use ANSI prototype.
8772 * string/strcmp.c: Remove unused #include of memcopy.h.
8773 (strcmp): Use ANSI prototype.
8774 * string/strcpy.c: Remove unused #include of memcopy.h.
8775 (strcpy): Use ANSI prototype.
8777 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8779 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
8780 * config.make.in (config-extra-cppflags): Set it from
8781 libc_extra_cppflags.
8782 * configure.ac (libc_extra_cflags): Make it accumulate over
8783 configure fragments.
8784 (libc_extra_cppflags): New flag.
8785 * configure. Regenerate.
8786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8787 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
8788 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
8789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8792 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
8793 result for FE_DOWNWARD rounding mode.
8794 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8798 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
8800 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
8801 in function argument name.
8803 2014-04-03 David Svoboda <svoboda@cert.org>
8806 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
8809 2014-04-03 Roland McGrath <roland@hack.frob.com>
8811 * elf/dl-unmap-segments.h: New file.
8812 * sysdeps/generic/ldsodefs.h
8813 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
8814 * elf/dl-close.c: Include <dl-unmap-segments.h>.
8815 * elf/dl-fptr.c: Likewise.
8816 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
8817 * sysdeps/aarch64/tlsdesc.c: Likewise.
8818 * sysdeps/arm/tlsdesc.c: Likewise.
8819 * sysdeps/i386/tlsdesc.c: Likewise.
8820 * sysdeps/tile/dl-runtime.c: Likewise.
8821 * sysdeps/x86_64/tlsdesc.c: Likewise.
8822 * elf/dl-load.h: New file.
8823 * elf/dl-load.c: Include it.
8824 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
8825 Macros moved to dl-load.h.
8826 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
8827 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
8828 Use _dl_unmap_segments in place of __munmap.
8829 Break out segment-mapping loop into ...
8830 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
8832 2014-04-03 Will Newton <will.newton@linaro.org>
8834 * elf/dl-lookup.c (do_lookup_x): Remove comment
8835 referring to nested function and move variable
8836 declarations down to before first use.
8838 2014-04-02 Joseph Myers <joseph@codesourcery.com>
8842 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
8844 * math/s_catanf.c (__catanf): Likewise.
8845 * math/s_catanh.c (__catanh): Likewise.
8846 * math/s_catanhf.c (__catanhf): Likewise.
8847 * math/s_catanhl.c (__catanhl): Likewise.
8848 * math/s_catanl.c (__catanl): Likewise.
8849 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
8850 by positive zero when computing -Inf result.
8851 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
8852 (catanh_test): Likewise.
8853 * sysdeps/i386/fpu/libm-test-ulps: Update.
8854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8857 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
8858 instead of using underflowing value in computing result.
8859 * math/s_clog10.c (__clog10): Likewise.
8860 * math/s_clog10f.c (__clog10f): Likewise.
8861 * math/s_clog10l.c (__clog10l): Likewise.
8862 * math/s_clogf.c (__clogf): Likewise.
8863 * math/s_clogl.c (__clogl): Likewise.
8864 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
8865 (clog10_test): Likewise.
8866 * sysdeps/i386/fpu/libm-test-ulps: Update.
8867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8869 2014-04-02 Alan Modra <amodra@gmail.com>
8872 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
8873 output when value is near a power of two. Use int64_t for lx and
8874 remove casts. Use decimal rather than hex exponent constants.
8875 Don't use long double multiplication when double will suffice.
8876 * math/libm-test.inc (nextafter_test_data): Add tests.
8877 * NEWS: Add 16739 and 16786 to bug list.
8879 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
8881 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
8883 2014-04-01 Will Newton <will.newton@linaro.org>
8885 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
8886 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
8888 2014-04-01 Florian Weimer <fweimer@redhat.com>
8891 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
8892 * nptl/tst-setuid2.c: New file.
8893 * nptl/Makefile (xtests): Add tst-setuid2.
8895 2014-04-01 Alan Modra <amodra@gmail.com>
8898 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
8900 2014-03-31 Joseph Myers <joseph@codesourcery.com>
8904 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
8905 set errno as appropriate.
8906 * math/w_scalbf.c (__scalbf): Likewise.
8907 * math/w_scalbl.c (__scalbl): Likewise.
8908 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
8909 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
8910 * math/libm-test.inc (scalb_test_data): Add errno expectations.
8914 * math/w_atan2.c: Include <errno.h>.
8915 (__atan2): Set errno for result underflowing to zero.
8916 * math/w_atan2f.c: Include <errno.h>.
8917 (__atan2f): Set errno for result underflowing to zero.
8918 * math/w_atan2l.c: Include <errno.h>.
8919 (__atan2l): Set errno for result underflowing to zero.
8920 * math/auto-libm-test-in: Don't allow missing errno for some atan2
8922 * math/auto-libm-test-out: Regenerated.
8924 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8926 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8927 Encode instruction correctly in little endian.
8928 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8930 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8932 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8934 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8937 2014-03-31 Joseph Myers <joseph@codesourcery.com>
8940 * sysdeps/unix/sysv/linux/kernel-features.h
8941 [__sparc__ && !__arch64__ && !__sparc_v9__]
8942 (__ASSUME_SET_ROBUST_LIST): Do not define.
8943 [__sparc__ && !__arch64__ && !__sparc_v9__]
8944 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8945 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
8947 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8948 (__ASSUME_FUTEX_LOCK_PI): Undefine.
8949 (__ASSUME_REQUEUE_PI): Likewise.
8950 (__ASSUME_SET_ROBUST_LIST): Likewise.
8951 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8952 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
8954 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8955 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
8957 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
8959 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
8961 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8962 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
8964 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
8965 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
8969 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8970 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
8971 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
8973 2014-03-31 Will Newton <will.newton@linaro.org>
8975 * benchtests/Makefile (bench): Add ffs and ffsll to list
8977 * benchtests/ffs-inputs: New file.
8978 * benchtests/ffsll-inputs: Likewise.
8980 2014-03-29 Joseph Myers <joseph@codesourcery.com>
8983 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
8984 too large before casting to int.
8985 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
8986 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
8987 * math/libm-test.inc (scalb_test_data): Add more tests.
8989 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8991 * benchtests/Makefile (DETAILED_OPT): New make option.
8992 (bench-func): Run benchmark program with -d if DETAILED_OPT is
8994 * benchtests/bench-skeleton.c: Include stdbool.h.
8995 (main): Store and print timings per input.
8996 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
8997 member to each argument value.
8998 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
8999 (_print_arg_data): Initialize per-input timing to 0.
9001 * benchtests/Makefile (timing-type): New binary.
9002 (bench-clean): Also remove bench-timing-type.
9003 (bench): New target for timing-type.
9004 (bench-func): Print output in JSON format.
9005 * benchtests/bench-skeleton.c (main): Print output in JSON
9007 * benchtests/bench-timing-type.c: New file.
9008 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
9009 (TIMING_PRINT_STATS): Remove.
9010 * benchtests/scripts/bench.py (_print_arg_data): Store variant
9013 * benchtests/bench-modf.c: Remove.
9014 * benchtests/modf-inputs: New inputs file.
9016 2014-03-28 Joseph Myers <joseph@codesourcery.com>
9019 * math/s_clog10.c (M_PI_LOG10E): New macro.
9020 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
9021 imaginary parts are 0.
9022 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
9023 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
9024 imaginary parts are 0.
9025 * math/s_clog10l.c (M_PI_LOG10El): New macro.
9026 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
9027 imaginary parts are 0.
9028 * math/libm-test.inc (clog10_test_data): Update expected results
9029 for when real and imaginary parts are 0.
9031 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
9033 * elf/dl-load.c: Finish conversion of __builtin_expect into
9036 2014-03-27 Joseph Myers <joseph@codesourcery.com>
9039 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
9040 1+x for argument with exponent below -67.
9041 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
9043 * math/auto-libm-test-in: Add more tests of exp.
9044 * math/auto-libm-test-out: Regenerated.
9046 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9049 * inet/getnetgrent_r.c (get_nonempty_val): New function.
9050 (nscd_getnetgrent): Use it.
9053 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
9056 2014-03-27 Andi Kleen <ak@linux.intel.com>
9058 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
9059 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9060 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9061 (lll_robust_unlock): Remove out of line section. Use cfi
9063 (LLL_STUB_UNWIND_INFO*): Remove.
9064 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
9065 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9066 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9067 (lll_robust_unlock): Remove out of line section. Use cfi
9069 (LLL_STUB_UNWIND_INFO*): Remove.
9071 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9074 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
9077 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
9079 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
9081 2014-03-26 Joseph Myers <joseph@codesourcery.com>
9084 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
9086 * math/test-fenv-preserve.c: New file.
9087 * math/Makefile (tests): Add test-fenv-preserve.
9089 2014-03-26 Will Newton <will.newton@linaro.org>
9091 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
9093 2014-03-25 Roland McGrath <roland@hack.frob.com>
9095 * scripts/versionlist.awk: Partition the version sets and emit all
9096 GLIBC_* (sorted) before all others (sorted).
9098 2014-03-25 Joseph Myers <joseph@codesourcery.com>
9100 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
9101 GLIBC_2.2.5 version.
9103 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9105 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
9108 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
9111 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9113 2014-03-25 Andreas Schwab <schwab@suse.de>
9115 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
9116 label to be used after in6ailist is initialized.
9118 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9120 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9121 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9123 2014-03-25 Joseph Myers <joseph@codesourcery.com>
9127 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
9129 (fp_formats): Update initializers.
9130 (init_fp_formats): Initialize new field.
9131 (output_for_one_input_case): Allow underflow for results up to
9133 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
9134 * math/auto-libm-test-in: Don't mark some underflows from asin and
9136 * math/auto-libm-test-out: Regenerated.
9137 * sysdeps/i386/fpu/libm-test-ulps: Update.
9138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9140 2014-03-25 Andreas Schwab <schwab@suse.de>
9142 * libio/Makefile (tst-ftell-partial-wide-ENV)
9143 (tst-ftell-active-handler-ENV): Define.
9145 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9147 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
9149 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9151 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
9153 2014-03-24 Joseph Myers <joseph@codesourcery.com>
9155 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
9156 * sysdeps/x86_64/fpu/multiarch/e_exp.c
9157 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9159 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9162 * elf/dl-load.c (open_verify): Add mode parameter.
9163 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
9164 (open_path): Change from boolean 'secure' to complete flag 'mode'
9165 (_dl_map_object): Adjust.
9166 * elf/Makefile (tests): Add tst-dlopen-aout.
9167 * elf/tst-dlopen-aout.c: New test.
9169 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9172 * sysdeps/unix/sysv/linux/s390/bits/stat.h
9173 (struct stat): Rename member pad0 to __glibc_reserved0.
9176 * sysdeps/s390/s390-32/bits/wordsize.h
9177 (__WORDSIZE32_SIZE_ULONG): New define.
9178 * sysdeps/s390/s390-64/bits/wordsize.h
9179 (__WORDSIZE32_SIZE_ULONG): Likewise.
9180 * sysdeps/generic/stdint.h (SIZE_MAX):
9181 Define as UL if __WORDSIZE32_SIZE_ULONG.
9184 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9185 (__glibc_reserved0): New variable.
9186 (sa_flags): Change type to int.
9188 * posix/Makefile (before-compile): Use += before-compile instead
9191 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9192 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9194 2014-03-20 Andreas Schwab <schwab@suse.de>
9197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
9198 non-matching result from nscd.
9200 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9202 * scripts/bench.py: Moved to ...
9203 * benchtests/scripts/bench.py: ... here.
9204 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
9206 2014-03-24 Andreas Schwab <schwab@suse.de>
9209 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
9210 alloca_account and account alloca use for struct in6ailist.
9212 2014-03-24 Joseph Myers <joseph@codesourcery.com>
9215 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
9216 rounding mode to recompute results that overflow to infinity or
9218 * math/auto-libm-test-in: Don't mark tests as expected to fail for
9220 * math/auto-libm-test-out: Regenerated.
9221 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
9222 (ccosh_test): Likewise.
9223 (csin_test_data): Use plus_oflow.
9224 (csin_test): Use ALL_RM_TEST.
9225 (csinh_test_data): Use plus_oflow.
9226 (csinh_test): Use ALL_RM_TEST.
9227 * sysdeps/i386/fpu/libm-test-ulps: Update.
9228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9230 2014-03-21 Joseph Myers <joseph@codesourcery.com>
9232 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
9233 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
9234 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
9237 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
9239 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
9240 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
9241 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9242 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
9244 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
9245 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
9247 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
9248 * sysdeps/i386/fpu/libm-test-ulps: Update.
9249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9251 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9253 * scripts/bench.pl: Remove file.
9254 * scripts/bench.py: New benchmark script.
9255 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
9256 * benchtests/README: Mention python dependency.
9257 * scripts/pylintrc: New file.
9258 * scripts/pylint: New file.
9260 * bits/mathdef.h: Use #ifdef instead of #if.
9261 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
9262 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9263 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
9264 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9265 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
9266 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9268 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9269 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9271 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
9272 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
9273 and strpbrk-ppc64 objects.
9274 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9275 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
9276 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
9277 multiarch strpbrk for POWER7.
9278 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
9279 multiarch strpbrk for PPC64.
9280 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
9282 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
9285 2014-03-20 Joseph Myers <joseph@codesourcery.com>
9287 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
9288 (atan_test): Likewise.
9289 (atanh_test_data): Use NO_TEST_INLINE for two tests.
9290 (atanh_test): Use ALL_RM_TEST.
9291 (atan2_test_data): Likewise.
9292 (cabs_test): Likewise.
9293 (cacosh_test): Likewise.
9294 (carg_test): Likewise.
9295 (casin_test): Likewise.
9296 (casinh_test): Likewise.
9297 (cbrt_test): Likewise.
9298 (csqrt_test): Likewise.
9299 (erf_test): Likewise.
9300 (erfc_test): Likewise.
9301 (pow10_test): Likewise.
9302 (exp2_test): Likewise.
9303 (hypot_test): Likewise.
9304 (j0_test): Likewise.
9305 (j1_test): Likewise.
9306 (lgamma_test): Likewise.
9307 (gamma_test): Likewise.
9308 (sincos_test): Likewise.
9309 (tanh_test): Likewise.
9310 (y0_test): Likewise.
9311 (y1_test): Likewise.
9312 * sysdeps/i386/fpu/libm-test-ulps: Update.
9313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9315 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9317 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
9318 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
9319 and strcspn-ppc64 objects.
9320 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9321 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
9322 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
9323 multiarch strcspn for POWER7.
9324 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
9325 multiarch strcspn for PPC64.
9326 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
9328 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
9331 2014-03-20 Joseph Myers <joseph@codesourcery.com>
9333 * math/gen-libm-test.pl (generate_testfile): Expect only function
9334 name as argument to AUTO_TESTS_* and pass results for all rounding
9335 modes to parse_args.
9336 (parse_auto_input): Separate inputs of automatic tests from
9337 outputs before storing in %auto_tests.
9338 * math/libm-test.inc (acos_test_data): Update call to
9340 (acos_test): Use ALL_RM_TEST.
9341 (acos_tonearest_test_data): Remove.
9342 (acos_test_tonearest): Likewise.
9343 (acos_towardzero_test_data): Likewise.
9344 (acos_test_towardzero): Likewise.
9345 (acos_downward_test_data): Likewise.
9346 (acos_test_downward): Likewise.
9347 (acos_upward_test_data): Likewise.
9348 (acos_test_upward): Likewise.
9349 (acosh_test_data): Update call to AUTO_TESTS_f_f.
9350 (asin_test_data): Likewise.
9351 (asin_test): Use ALL_RM_TEST.
9352 (asin_tonearest_test_data): Remove.
9353 (asin_test_tonearest): Likewise.
9354 (asin_towardzero_test_data): Likewise.
9355 (asin_test_towardzero): Likewise.
9356 (asin_downward_test_data): Likewise.
9357 (asin_test_downward): Likewise.
9358 (asin_upward_test_data): Likewise.
9359 (asin_test_upward): Likewise.
9360 (asinh_test_data): Update call to AUTO_TESTS_f_f.
9361 (atan_test_data): Likewise.
9362 (atanh_test_data): Likewise.
9363 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
9364 (cabs_test_data): Update call to AUTO_TESTS_c_f.
9365 (carg_test_data): Likewise.
9366 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
9367 (ccos_test_data): Update call to AUTO_TESTS_c_c.
9368 (ccosh_test_data): Likewise.
9369 (cexp_test_data): Likewise.
9370 (clog_test_data): Likewise.
9371 (clog10_test_data): Likewise.
9372 (cos_test_data): Update call to AUTO_TESTS_f_f.
9373 (cos_test): Use ALL_RM_TEST.
9374 (cos_tonearest_test_data): Remove.
9375 (cos_test_tonearest): Likewise.
9376 (cos_towardzero_test_data): Likewise.
9377 (cos_test_towardzero): Likewise.
9378 (cos_downward_test_data): Likewise.
9379 (cos_test_downward): Likewise.
9380 (cos_upward_test_data): Likewise.
9381 (cos_test_upward): Likewise.
9382 (cosh_test_data): Update call to AUTO_TESTS_f_f.
9383 (cosh_test): Use ALL_RM_TEST.
9384 (cosh_tonearest_test_data): Remove.
9385 (cosh_test_tonearest): Likewise.
9386 (cosh_towardzero_test_data): Likewise.
9387 (cosh_test_towardzero): Likewise.
9388 (cosh_downward_test_data): Likewise.
9389 (cosh_test_downward): Likewise.
9390 (cosh_upward_test_data): Likewise.
9391 (cosh_test_upward): Likewise.
9392 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
9393 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
9394 (ctan_test_data): Likewise.
9395 (ctan_test): Use ALL_RM_TEST.
9396 (ctan_tonearest_test_data): Remove.
9397 (ctan_test_tonearest): Likewise.
9398 (ctan_towardzero_test_data): Likewise.
9399 (ctan_test_towardzero): Likewise.
9400 (ctan_downward_test_data): Likewise.
9401 (ctan_test_downward): Likewise.
9402 (ctan_upward_test_data): Likewise.
9403 (ctan_test_upward): Likewise.
9404 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
9405 (ctanh_test): Use ALL_RM_TEST.
9406 (ctanh_tonearest_test_data): Remove.
9407 (ctanh_test_tonearest): Likewise.
9408 (ctanh_towardzero_test_data): Likewise.
9409 (ctanh_test_towardzero): Likewise.
9410 (ctanh_downward_test_data): Likewise.
9411 (ctanh_test_downward): Likewise.
9412 (ctanh_upward_test_data): Likewise.
9413 (ctanh_test_upward): Likewise.
9414 (erf_test_data): Update call to AUTO_TESTS_f_f.
9415 (erfc_test_data): Likewise.
9416 (exp_test_data): Likewise.
9417 (exp_test): Use ALL_RM_TEST.
9418 (exp_tonearest_test_data): Remove.
9419 (exp_test_tonearest): Likewise.
9420 (exp_towardzero_test_data): Likewise.
9421 (exp_test_towardzero): Likewise.
9422 (exp_downward_test_data): Likewise.
9423 (exp_test_downward): Likewise.
9424 (exp_upward_test_data): Likewise.
9425 (exp_test_upward): Likewise.
9426 (exp10_test_data): Update call to AUTO_TESTS_f_f.
9427 (exp10_test): Use ALL_RM_TEST.
9428 (exp10_tonearest_test_data): Remove.
9429 (exp10_test_tonearest): Likewise.
9430 (exp10_towardzero_test_data): Likewise.
9431 (exp10_test_towardzero): Likewise.
9432 (exp10_downward_test_data): Likewise.
9433 (exp10_test_downward): Likewise.
9434 (exp10_upward_test_data): Likewise.
9435 (exp10_test_upward): Likewise.
9436 (exp2_test_data): Update call to AUTO_TESTS_f_f.
9437 (expm1_test_data): Likewise.
9438 (expm1_test): Use ALL_RM_TEST.
9439 (expm1_tonearest_test_data): Remove.
9440 (expm1_test_tonearest): Likewise.
9441 (expm1_towardzero_test_data): Likewise.
9442 (expm1_test_towardzero): Likewise.
9443 (expm1_downward_test_data): Likewise.
9444 (expm1_test_downward): Likewise.
9445 (expm1_upward_test_data): Likewise.
9446 (expm1_test_upward): Likewise.
9447 (fma_test_data): Update call to AUTO_TESTS_fff_f.
9448 (fma_test): Use ALL_RM_TEST.
9449 (fma_towardzero_test_data): Remove.
9450 (fma_test_towardzero): Likewise.
9451 (fma_downward_test_data): Likewise.
9452 (fma_test_downward): Likewise.
9453 (fma_upward_test_data): Likewise.
9454 (fma_test_upward): Likewise.
9455 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
9456 (j0_test_data): Update call to AUTO_TESTS_f_f.
9457 (j1_test_data): Likewise.
9458 (jn_test_data): Update call to AUTO_TESTS_if_f.
9459 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
9460 (log_test_data): Update call to AUTO_TESTS_f_f.
9461 (log10_test_data): Likewise.
9462 (log1p_test_data): Likewise.
9463 (log2_test_data): Likewise.
9464 (pow_test_data): Update call to AUTO_TESTS_ff_f.
9465 (pow_tonearest_test_data): Likewise.
9466 (sin_test_data): Update call to AUTO_TESTS_f_f.
9467 (sin_test): Use ALL_RM_TEST.
9468 (sin_tonearest_test_data): Remove.
9469 (sin_test_tonearest): Likewise.
9470 (sin_towardzero_test_data): Likewise.
9471 (sin_test_towardzero): Likewise.
9472 (sin_downward_test_data): Likewise.
9473 (sin_test_downward): Likewise.
9474 (sin_upward_test_data): Likewise.
9475 (sin_test_upward): Likewise.
9476 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
9477 (sinh_test_data): Update call to AUTO_TESTS_f_f.
9478 (sinh_test): Use ALL_RM_TEST.
9479 (sinh_tonearest_test_data): Remove.
9480 (sinh_test_tonearest): Likewise.
9481 (sinh_towardzero_test_data): Likewise.
9482 (sinh_test_towardzero): Likewise.
9483 (sinh_downward_test_data): Likewise.
9484 (sinh_test_downward): Likewise.
9485 (sinh_upward_test_data): Likewise.
9486 (sinh_test_upward): Likewise.
9487 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
9488 (sqrt_test): Use ALL_RM_TEST.
9489 (sqrt_tonearest_test_data): Remove.
9490 (sqrt_test_tonearest): Likewise.
9491 (sqrt_towardzero_test_data): Likewise.
9492 (sqrt_test_towardzero): Likewise.
9493 (sqrt_downward_test_data): Likewise.
9494 (sqrt_test_downward): Likewise.
9495 (sqrt_upward_test_data): Likewise.
9496 (sqrt_test_upward): Likewise.
9497 (tan_test_data): Update call to AUTO_TESTS_f_f.
9498 (tan_test): Use ALL_RM_TEST.
9499 (tan_tonearest_test_data): Remove.
9500 (tan_test_tonearest): Likewise.
9501 (tan_towardzero_test_data): Likewise.
9502 (tan_test_towardzero): Likewise.
9503 (tan_downward_test_data): Likewise.
9504 (tan_test_downward): Likewise.
9505 (tan_upward_test_data): Likewise.
9506 (tan_test_upward): Likewise.
9507 (tanh_test_data): Update call to AUTO_TESTS_f_f.
9508 (tgamma_test_data): Likewise.
9509 (y0_test_data): Likewise.
9510 (y1_test_data): Likewise.
9511 (yn_test_data): Update call to AUTO_TESTS_if_f.
9512 (main): Do not call removed functions.
9514 2014-03-19 Joseph Myers <joseph@codesourcery.com>
9516 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
9517 (ldexp_test_data): Remove.
9518 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
9520 (scalb_test): Use ALL_RM_TEST.
9522 2014-03-19 Andreas Schwab <schwab@suse.de>
9524 * nscd/nscd.service: Also invalidate netgroup cache on reload.
9526 2014-03-19 Joseph Myers <joseph@codesourcery.com>
9529 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9530 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
9531 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
9532 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9533 (__ASSUME_PREADV): Undefine.
9534 (__ASSUME_PWRITEV): Likewise.
9536 2014-03-18 Roland McGrath <roland@hack.frob.com>
9538 * bits/mman-linux.h: Add comment about non-Linux use.
9539 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
9540 bits/mman-linux.h resting place.
9542 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
9543 * bits/mman-linux.h: ... here.
9545 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9547 * conform/conformtest.pl: Add standard definition when calling C
9548 preprocessor on data files.
9549 (checknamespace): Remove unused variable.
9551 2014-03-18 Joseph Myers <joseph@codesourcery.com>
9553 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
9554 minus_oflow, plus_uflow and minus_uflow in expected results.
9555 * math/libm-test.inc (scalbn_test_data): Add more tests of
9556 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
9558 (scalbn_test): Use ALL_RM_TEST.
9559 (scalbln_test_data): Add more tests of negative arguments. Use
9560 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
9561 (scalbln_test): Use ALL_RM_TEST.
9563 2014-03-18 Roland McGrath <roland@hack.frob.com>
9565 * scripts/abilist.awk: Ignore symbols marked with .hidden.
9567 2014-03-18 Will Newton <will.newton@linaro.org>
9569 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
9572 2014-03-18 Joseph Myers <joseph@codesourcery.com>
9574 * Makerules [!subdir] (check-abi): Exit with error status if a
9577 2014-03-17 Joseph Myers <joseph@codesourcery.com>
9579 * math/libm-test.inc (nearbyint_test_data): Include all tests used
9580 for rint. Include results for all rounding modes.
9581 (nearbyint_test): Use ALL_RM_TEST.
9582 (rint_test_data): Include all tests used for nearbyint.
9584 2014-03-17 Will Newton <will.newton@linaro.org>
9586 * nptl/sysdeps/pthread/pthread.h: Revert previous
9589 * sysdeps/generic/ldsodefs.h: Revert previous
9592 * libio/genops.c: Revert previous change.
9593 * libio/libioP.h: Likewise.
9594 * stdio-common/vfprintf.c: Likewise.
9596 * sysdeps/generic/math_private.h: Revert previous
9599 * sysdeps/generic/math_private.h: Check whether
9600 HAVE_RM_CTX is defined with #ifdef rather
9603 * argp/argp-fmtstream.h: Check whether
9604 __STRICT_ANSI__ is defined with #ifdef rather
9606 * argp/argp.h: Likewise.
9608 * libio/genops.c: Check whether
9609 _IO_JUMPS_OFFSET is defined with #ifdef rather
9611 * libio/libioP.h: Likewise.
9612 * stdio-common/vfprintf.c: Likewise.
9614 * sysdeps/generic/ldsodefs.h: Check whether
9615 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
9618 * nptl/sysdeps/pthread/pthread.h: Check
9619 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
9622 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9624 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
9626 * libio/tst-ftell-active-handler.c (do_append_test): Add a
9630 * libio/fileops.c (_IO_file_open): Seek to end of file but
9631 don't cache the offset.
9632 (get_file_offset): Remove function.
9633 (do_ftell): Use cached offset when available.
9634 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
9635 don't cache the offset.
9636 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
9638 (do_one_test): Call it.
9639 (do_ftell_test): Fix up expected old offset for a+ mode.
9640 * libio/wfileops.c (do_ftell_wide): Used cached offset when
9643 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
9644 up test status with function return status.
9645 (do_write_test): Likewise.
9646 (do_append_test): Likewise.
9648 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
9649 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
9652 2014-03-17 Joseph Myers <joseph@codesourcery.com>
9654 * math/gen-libm-test.pl (parse_args): Handle results specified for
9655 each rounding mode separately.
9656 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
9657 tests and results from lrint_tonearest_test_data,
9658 lrint_towardzero_test_data, lrint_downward_test_data and
9659 lrint_upward_test_data.
9660 (lrint_test): Use ALL_RM_TEST.
9661 (lrint_tonearest_test_data): Remove.
9662 (lrint_test_tonearest): Likewise.
9663 (lrint_towardzero_test_data): Likewise.
9664 (lrint_test_towardzero): Likewise.
9665 (lrint_downward_test_data): Likewise.
9666 (lrint_test_downward): Likewise.
9667 (lrint_upward_test_data): Likewise.
9668 (lrint_test_upward): Likewise.
9669 (llrint_test_data): Merge in per-rounding-mode tests and results
9670 from llrint_tonearest_test_data, llrint_towardzero_test_data,
9671 llrint_downward_test_data and llrint_upward_test_data.
9672 (llrint_test): Use ALL_RM_TEST.
9673 (llrint_tonearest_test_data): Remove.
9674 (llrint_test_tonearest): Likewise.
9675 (llrint_towardzero_test_data): Likewise.
9676 (llrint_test_towardzero): Likewise.
9677 (llrint_downward_test_data): Likewise.
9678 (llrint_test_downward): Likewise.
9679 (llrint_upward_test_data): Likewise.
9680 (llrint_test_upward): Likewise.
9681 (rint_test_data): Merge in per-rounding-mode tests and results
9682 from rint_tonearest_test_data, rint_towardzero_test_data,
9683 rint_downward_test_data and rint_upward_test_data. Add
9684 per-rounding-mode results for tests not in those arrays.
9685 (rint_test): Use ALL_RM_TEST.
9686 (rint_tonearest_test_data): Remove.
9687 (rint_test_tonearest): Likewise.
9688 (rint_towardzero_test_data): Likewise.
9689 (rint_test_towardzero): Likewise.
9690 (rint_downward_test_data): Likewise.
9691 (rint_test_downward): Likewise.
9692 (rint_upward_test_data): Likewise.
9693 (rint_test_upward): Likewise.
9694 (main): Don't call removed functions.
9696 2014-03-14 Roland McGrath <roland@hack.frob.com>
9698 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
9699 "Compiled on ..." crapola. It is anti-useful.
9701 2014-03-14 Joseph Myers <joseph@codesourcery.com>
9703 * scripts/evaluate-test.sh: Handle fourth argument to determine
9704 whether test run should stop on failure.
9705 * Makeconfig (stop-on-test-failure): New variable.
9706 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
9707 $(stop-on-test-failure).
9708 * Makefile (tests): Give a summary of results from testing and
9709 exit with failure status if they include an ERROR or FAIL.
9711 * manual/install.texi (Configuring and compiling): Mention
9712 stop-on-test-failure=y.
9713 * INSTALL: Regenerated.
9715 2014-03-14 Roland McGrath <roland@hack.frob.com>
9717 * scripts/versionlist.awk: New file.
9718 * Makerules [$(build-shared) = yes]
9719 (postclean-generated): Add Versions.def, not Versions.def.v and
9721 ($(common-objpfx)Versions.def.v.i): Target removed.
9722 ($(common-objpfx)Versions.def): New target.
9723 ($(common-objpfx)Versions.all): Depend on that rather that
9724 $(common-objpfx)Versions.def.v.
9725 * Versions.def: File removed.
9727 * Makeconfig (+gccwarn): Add -Wundef.
9728 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
9729 a dl-sysdep.h breaking its contract.
9730 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
9731 * include/stackinfo.h: New file.
9732 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
9733 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
9734 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
9735 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
9736 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
9737 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
9738 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9739 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9740 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9741 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9742 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9743 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
9744 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9745 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9746 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9748 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9751 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
9753 * math/libm-test.inc (round_test_data): Add more tests.
9756 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
9758 * math/libm-test.inc (nearbyint_test_data): Add more tests.
9761 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
9763 * math/libm-test.inc (ceil_test_data): Add more tests.
9765 * math/libm-test.inc (trunc_test_data): Add more tests related to
9768 2014-03-14 Roland McGrath <roland@hack.frob.com>
9770 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
9771 with #if rather than #ifdef.
9772 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
9774 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
9776 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
9777 first. Disable AVX-512 GCC support if assembler doesn't support
9779 * sysdeps/x86_64/configure: Regenerated.
9781 2014-03-13 Carlos O'Donell <carlos@redhat.com>
9783 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
9784 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
9785 (__old_pthread_attr_setstack): Likewise.
9786 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
9787 [!_STACK_GROWS_DOWN]: Likewise.
9789 2014-03-13 Mike Frysinger <vapier@gentoo.org>
9791 * config.make.in (have-bash2): Delete.
9792 * configure.ac (libc_cv_have_bash2): Delete.
9793 * configure: Regenerate.
9794 * elf/Makefile (common-ldd-rewrite): Rename to ...
9795 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
9796 (sh-ldd-rewrite): Delete.
9797 (bash-ldd-rewrite): Delete.
9798 (have-bash2): Delete checks.
9799 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
9802 * config.make.in (have-ksh): Delete.
9804 * configure.ac (libc_cv_have_ksh): Delete.
9805 * configure: Regenerate.
9807 * elf/Makefile: Delete $(have-ksh) check.
9808 ($(objpfx)sotruss): Change KSH to BASH.
9809 * elf/sotruss.ksh: Rename to ...
9810 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
9811 function style to match POSIX. Drop ksh vim mode setting.
9813 * manual/time.texi (Specifying the Time Zone with TZ): Change
9814 Tuesday to Thursday.
9816 * debug/tst-longjmp_chk2.c: Update header comment.
9817 (stackoverflow_handler): Add comment. Call assert on pass value.
9819 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
9822 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
9823 (HAVE_AVX512_ASM_SUPPORT): Likewise.
9824 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
9825 (La_x86_64_vector): Add zmm.
9826 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
9827 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
9828 ($(objpfx)tst-audit10): New target.
9829 ($(objpfx)tst-audit10.out): Likewise.
9830 (tst-audit10-ENV): New.
9831 (AVX512-CFLAGS): Likewise.
9832 (CFLAGS-tst-audit10.c): Likewise.
9833 (CFLAGS-tst-auditmod10a.c): Likewise.
9834 (CFLAGS-tst-auditmod10b.c): Likewise.
9835 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
9836 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
9837 * sysdeps/x86_64/configure: Regenerated.
9838 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
9839 AVX-512 zmm register support.
9840 (_dl_x86_64_save_sse): Likewise.
9841 (_dl_x86_64_restore_sse): Likewise.
9842 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
9843 size vector registers.
9844 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
9845 (ZMM_SIZE): Likewise.
9846 * sysdeps/x86_64/tst-audit10.c: New file.
9847 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
9848 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
9850 2014-03-13 Roland McGrath <roland@hack.frob.com>
9852 * configure.ac (HAVE_EHDR_START): New check.
9853 * configure: Regenerated.
9854 * config.h.in (HAVE_EHDR_START): New #undef.
9855 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
9856 assuming the lowest-addressed segment maps the start of the file.
9858 2014-03-13 Joseph Myers <joseph@codesourcery.com>
9860 * INSTALL: Regenerated.
9862 2014-03-13 Will Newton <will.newton@linaro.org>
9864 * manual/setjmp.texi (System V contexts): Improve
9865 clarity and grammar of documentation.
9867 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
9870 * elf/Makefile (tests): Add tst-pie2.
9871 (tests-pie): Add tst-pie2.
9872 * elf/tst-pie2.c: New file.
9873 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
9875 * elf/rtld.c (map_doit): Load executable as lt_executable.
9876 (dl_main): Likewise.
9878 2014-03-12 Joseph Myers <joseph@codesourcery.com>
9881 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9882 (__ASSUME_PSELECT): Undefine.
9884 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9887 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
9888 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
9890 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
9891 selector for static builds.
9893 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9896 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
9899 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9901 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
9902 IFUNC selector for static builds.
9904 2014-03-11 Joseph Myers <joseph@codesourcery.com>
9906 * sysdeps/mips/math_private.h [__mips_hard_float]
9907 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
9908 libc_feresetround_mips_ctx.
9909 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
9910 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
9911 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
9914 * math/s_nextafter.c (__nextafter): Do not return value from
9915 overflowing computation.
9916 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
9917 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
9918 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
9920 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9922 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
9923 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
9925 2014-03-11 Roland McGrath <roland@hack.frob.com>
9927 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
9928 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
9929 Move sfi_sp use from the load-multiple (that no longer sets sp) to
9930 the new mov targetting sp.
9932 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9935 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
9936 Define it for static builds as well.
9937 (NO_BZERO_IMPL): Likewise.
9939 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9941 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
9942 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
9943 multiarch strspn for PPC64.
9944 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
9945 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
9946 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9947 (__libc_ifunc_impl_list): Likewise.
9948 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
9949 multiarch optimizations
9950 * string/strspn.c (strspn): Using macro to redefine symbol name.
9952 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9953 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9955 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
9956 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
9957 multiarch strncat for PPC64.
9958 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
9959 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
9960 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9961 (__libc_ifunc_impl_list): Likewise.
9962 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
9963 multiarch optimizations
9965 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9968 * nscd/nscd.service: Make service type forking.
9970 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9972 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
9973 sign in non default rounding modes.
9974 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9976 2014-03-08 Joseph Myers <joseph@codesourcery.com>
9978 * math/libm-test.inc (ALL_RM_TEST): New macro.
9979 (ceil_test): Use ALL_RM_TEST.
9980 (cimag_test): Likewise.
9981 (conj_test): Likewise.
9982 (copysign_test): Likewise.
9983 (cproj_test): Likewise.
9984 (creal_test): Likewise.
9985 (fabs_test): Likewise.
9986 (floor_test): Likewise.
9987 (fmax_test): Likewise.
9988 (fmin_test): Likewise.
9989 (fmod_test): Likewise.
9990 (fpclassify_test): Likewise.
9991 (frexp_test): Likewise.
9992 (ilogb_test): Likewise.
9993 (isfinite_test): Likewise.
9994 (finite_test): Likewise.
9995 (isgreater_test): Likewise.
9996 (isgreaterequal_test): Likewise.
9997 (isinf_test): Likewise.
9998 (isless_test): Likewise.
9999 (islessequal_test): Likewise.
10000 (islessgreater_test): Likewise.
10001 (isnan_test): Likewise.
10002 (isnormal_test): Likewise.
10003 (issignaling_test): Likewise.
10004 (isunordered_test): Likewise.
10005 (logb_test): Likewise.
10006 (logb_downward_test_data): Remove.
10007 (logb_test_downward): Likewise.
10008 (lround_test): Use ALL_RM_TEST.
10009 (llround_test): Likewise.
10010 (modf_test): Likewise.
10011 (nexttoward_test): Likewise.
10012 (remainder_test): Likewise.
10013 (drem_test): Likewise.
10014 (remainder_tonearest_test_data): Likewise.
10015 (remainder_test_tonearest): Likewise.
10016 (drem_test_tonearest): Likewise.
10017 (remainder_towardzero_test_data): Likewise.
10018 (remainder_test_towardzero): Likewise.
10019 (drem_test_towardzero): Likewise.
10020 (remainder_downward_test_data): Likewise.
10021 (remainder_test_downward): Likewise.
10022 (drem_test_downward): Likewise.
10023 (remainder_upward_test_data): Likewise.
10024 (remainder_test_upward): Likewise.
10025 (drem_test_upward): Likewise.
10026 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
10027 (round_test): Use ALL_RM_TEST.
10028 (signbit_test): Likewise.
10029 (trunc_test): Likewise.
10030 (significand_test): Likewise.
10031 (main): Don't call removed functions.
10033 2014-03-07 Joseph Myers <joseph@codesourcery.com>
10036 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
10037 || __USE_XOPEN2K8].
10038 (ILL_ILLOPN): Likewise.
10039 (ILL_ILLADR): Likewise.
10040 (ILL_ILLTRP): Likewise.
10041 (ILL_PRVOPC): Likewise.
10042 (ILL_PRVREG): Likewise.
10043 (ILL_COPROC): Likewise.
10044 (ILL_BADSTK): Likewise.
10045 (FPE_INTDIV): Likewise.
10046 (FPE_INTOVF): Likewise.
10047 (FPE_FLTDIV): Likewise.
10048 (FPE_FLTOVF): Likewise.
10049 (FPE_FLTUND): Likewise.
10050 (FPE_FLTRES): Likewise.
10051 (FPE_FLTINV): Likewise.
10052 (FPE_FLTSUB): Likewise.
10053 (SEGV_MAPERR): Likewise.
10054 (SEGV_ACCERR): Likewise.
10055 (BUS_ADRALN): Likewise.
10056 (BUS_ADRERR): Likewise.
10057 (BUS_OBJERR): Likewise.
10058 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10059 (TRAP_TRACE): Likewise.
10060 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10062 (CLD_KILLED): Likewise.
10063 (CLD_DUMPED): Likewise.
10064 (CLD_TRAPPED): Likewise.
10065 (CLD_STOPPED): Likewise.
10066 (CLD_CONTINUED): Likewise.
10067 (POLL_IN): Likewise.
10068 (POLL_OUT): Likewise.
10069 (POLL_MSG): Likewise.
10070 (POLL_ERR): Likewise.
10071 (POLL_PRI): Likewise.
10072 (POLL_HUP): Likewise.
10073 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
10075 (ILL_ILLOPN): Likewise.
10076 (ILL_ILLADR): Likewise.
10077 (ILL_ILLTRP): Likewise.
10078 (ILL_PRVOPC): Likewise.
10079 (ILL_PRVREG): Likewise.
10080 (ILL_COPROC): Likewise.
10081 (ILL_BADSTK): Likewise.
10082 (FPE_INTDIV): Likewise.
10083 (FPE_INTOVF): Likewise.
10084 (FPE_FLTDIV): Likewise.
10085 (FPE_FLTOVF): Likewise.
10086 (FPE_FLTUND): Likewise.
10087 (FPE_FLTRES): Likewise.
10088 (FPE_FLTINV): Likewise.
10089 (FPE_FLTSUB): Likewise.
10090 (SEGV_MAPERR): Likewise.
10091 (SEGV_ACCERR): Likewise.
10092 (BUS_ADRALN): Likewise.
10093 (BUS_ADRERR): Likewise.
10094 (BUS_OBJERR): Likewise.
10095 (BUS_MCEERR_AR): Likewise.
10096 (BUS_MCEERR_AO): Likewise.
10097 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10098 (TRAP_TRACE): Likewise.
10099 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10101 (CLD_KILLED): Likewise.
10102 (CLD_DUMPED): Likewise.
10103 (CLD_TRAPPED): Likewise.
10104 (CLD_STOPPED): Likewise.
10105 (CLD_CONTINUED): Likewise.
10106 (POLL_IN): Likewise.
10107 (POLL_OUT): Likewise.
10108 (POLL_MSG): Likewise.
10109 (POLL_ERR): Likewise.
10110 (POLL_PRI): Likewise.
10111 (POLL_HUP): Likewise.
10112 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
10113 (ILL_ILLOPN): Likewise.
10114 (ILL_ILLADR): Likewise.
10115 (ILL_ILLTRP): Likewise.
10116 (ILL_PRVOPC): Likewise.
10117 (ILL_PRVREG): Likewise.
10118 (ILL_COPROC): Likewise.
10119 (ILL_BADSTK): Likewise.
10120 (FPE_INTDIV): Likewise.
10121 (FPE_INTOVF): Likewise.
10122 (FPE_FLTDIV): Likewise.
10123 (FPE_FLTOVF): Likewise.
10124 (FPE_FLTUND): Likewise.
10125 (FPE_FLTRES): Likewise.
10126 (FPE_FLTINV): Likewise.
10127 (FPE_FLTSUB): Likewise.
10128 (SEGV_MAPERR): Likewise.
10129 (SEGV_ACCERR): Likewise.
10130 (BUS_ADRALN): Likewise.
10131 (BUS_ADRERR): Likewise.
10132 (BUS_OBJERR): Likewise.
10133 (BUS_MCEERR_AR): Likewise.
10134 (BUS_MCEERR_AO): Likewise.
10135 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10136 (TRAP_TRACE): Likewise.
10137 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10139 (CLD_KILLED): Likewise.
10140 (CLD_DUMPED): Likewise.
10141 (CLD_TRAPPED): Likewise.
10142 (CLD_STOPPED): Likewise.
10143 (CLD_CONTINUED): Likewise.
10144 (POLL_IN): Likewise.
10145 (POLL_OUT): Likewise.
10146 (POLL_MSG): Likewise.
10147 (POLL_ERR): Likewise.
10148 (POLL_PRI): Likewise.
10149 (POLL_HUP): Likewise.
10150 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
10152 (ILL_ILLOPN): Likewise.
10153 (ILL_ILLADR): Likewise.
10154 (ILL_ILLTRP): Likewise.
10155 (ILL_PRVOPC): Likewise.
10156 (ILL_PRVREG): Likewise.
10157 (ILL_COPROC): Likewise.
10158 (ILL_BADSTK): Likewise.
10159 (ILL_BADIADDR): Likewise.
10160 (ILL_BREAK): Likewise.
10161 (FPE_INTDIV): Likewise.
10162 (FPE_INTOVF): Likewise.
10163 (FPE_FLTDIV): Likewise.
10164 (FPE_FLTOVF): Likewise.
10165 (FPE_FLTUND): Likewise.
10166 (FPE_FLTRES): Likewise.
10167 (FPE_FLTINV): Likewise.
10168 (FPE_FLTSUB): Likewise.
10169 (FPE_DECOVF): Likewise.
10170 (FPE_DECDIV): Likewise.
10171 (FPE_DECERR): Likewise.
10172 (FPE_INVASC): Likewise.
10173 (FPE_INVDEC): Likewise.
10174 (SEGV_MAPERR): Likewise.
10175 (SEGV_ACCERR): Likewise.
10176 (SEGV_PSTKOVF): Likewise.
10177 (BUS_ADRALN): Likewise.
10178 (BUS_ADRERR): Likewise.
10179 (BUS_OBJERR): Likewise.
10180 (BUS_MCEERR_AR): Likewise.
10181 (BUS_MCEERR_AO): Likewise.
10182 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10183 (TRAP_TRACE): Likewise.
10184 (TRAP_BRANCH): Likewise.
10185 (TRAP_HWBKPT): Likewise.
10186 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10188 (CLD_KILLED): Likewise.
10189 (CLD_DUMPED): Likewise.
10190 (CLD_TRAPPED): Likewise.
10191 (CLD_STOPPED): Likewise.
10192 (CLD_CONTINUED): Likewise.
10193 (POLL_IN): Likewise.
10194 (POLL_OUT): Likewise.
10195 (POLL_MSG): Likewise.
10196 (POLL_ERR): Likewise.
10197 (POLL_PRI): Likewise.
10198 (POLL_HUP): Likewise.
10199 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
10200 (ILL_ILLOPN): Likewise.
10201 (ILL_ILLADR): Likewise.
10202 (ILL_ILLTRP): Likewise.
10203 (ILL_PRVOPC): Likewise.
10204 (ILL_PRVREG): Likewise.
10205 (ILL_COPROC): Likewise.
10206 (ILL_BADSTK): Likewise.
10207 (FPE_INTDIV): Likewise.
10208 (FPE_INTOVF): Likewise.
10209 (FPE_FLTDIV): Likewise.
10210 (FPE_FLTOVF): Likewise.
10211 (FPE_FLTUND): Likewise.
10212 (FPE_FLTRES): Likewise.
10213 (FPE_FLTINV): Likewise.
10214 (FPE_FLTSUB): Likewise.
10215 (SEGV_MAPERR): Likewise.
10216 (SEGV_ACCERR): Likewise.
10217 (BUS_ADRALN): Likewise.
10218 (BUS_ADRERR): Likewise.
10219 (BUS_OBJERR): Likewise.
10220 (BUS_MCEERR_AR): Likewise.
10221 (BUS_MCEERR_AO): Likewise.
10222 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10223 (TRAP_TRACE): Likewise.
10224 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10226 (CLD_KILLED): Likewise.
10227 (CLD_DUMPED): Likewise.
10228 (CLD_TRAPPED): Likewise.
10229 (CLD_STOPPED): Likewise.
10230 (CLD_CONTINUED): Likewise.
10231 (POLL_IN): Likewise.
10232 (POLL_OUT): Likewise.
10233 (POLL_MSG): Likewise.
10234 (POLL_ERR): Likewise.
10235 (POLL_PRI): Likewise.
10236 (POLL_HUP): Likewise.
10237 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
10238 (ILL_ILLOPN): Likewise.
10239 (ILL_ILLADR): Likewise.
10240 (ILL_ILLTRP): Likewise.
10241 (ILL_PRVOPC): Likewise.
10242 (ILL_PRVREG): Likewise.
10243 (ILL_COPROC): Likewise.
10244 (ILL_BADSTK): Likewise.
10245 (FPE_INTDIV): Likewise.
10246 (FPE_INTOVF): Likewise.
10247 (FPE_FLTDIV): Likewise.
10248 (FPE_FLTOVF): Likewise.
10249 (FPE_FLTUND): Likewise.
10250 (FPE_FLTRES): Likewise.
10251 (FPE_FLTINV): Likewise.
10252 (FPE_FLTSUB): Likewise.
10253 (SEGV_MAPERR): Likewise.
10254 (SEGV_ACCERR): Likewise.
10255 (BUS_ADRALN): Likewise.
10256 (BUS_ADRERR): Likewise.
10257 (BUS_OBJERR): Likewise.
10258 (BUS_MCEERR_AR): Likewise.
10259 (BUS_MCEERR_AO): Likewise.
10260 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10261 (TRAP_TRACE): Likewise.
10262 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10264 (CLD_KILLED): Likewise.
10265 (CLD_DUMPED): Likewise.
10266 (CLD_TRAPPED): Likewise.
10267 (CLD_STOPPED): Likewise.
10268 (CLD_CONTINUED): Likewise.
10269 (POLL_IN): Likewise.
10270 (POLL_OUT): Likewise.
10271 (POLL_MSG): Likewise.
10272 (POLL_ERR): Likewise.
10273 (POLL_PRI): Likewise.
10274 (POLL_HUP): Likewise.
10275 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
10276 (ILL_ILLOPN): Likewise.
10277 (ILL_ILLADR): Likewise.
10278 (ILL_ILLTRP): Likewise.
10279 (ILL_PRVOPC): Likewise.
10280 (ILL_PRVREG): Likewise.
10281 (ILL_COPROC): Likewise.
10282 (ILL_BADSTK): Likewise.
10283 (FPE_INTDIV): Likewise.
10284 (FPE_INTOVF): Likewise.
10285 (FPE_FLTDIV): Likewise.
10286 (FPE_FLTOVF): Likewise.
10287 (FPE_FLTUND): Likewise.
10288 (FPE_FLTRES): Likewise.
10289 (FPE_FLTINV): Likewise.
10290 (FPE_FLTSUB): Likewise.
10291 (SEGV_MAPERR): Likewise.
10292 (SEGV_ACCERR): Likewise.
10293 (BUS_ADRALN): Likewise.
10294 (BUS_ADRERR): Likewise.
10295 (BUS_OBJERR): Likewise.
10296 (BUS_MCEERR_AR): Likewise.
10297 (BUS_MCEERR_AO): Likewise.
10298 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10299 (TRAP_TRACE): Likewise.
10300 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10302 (CLD_KILLED): Likewise.
10303 (CLD_DUMPED): Likewise.
10304 (CLD_TRAPPED): Likewise.
10305 (CLD_STOPPED): Likewise.
10306 (CLD_CONTINUED): Likewise.
10307 (POLL_IN): Likewise.
10308 (POLL_OUT): Likewise.
10309 (POLL_MSG): Likewise.
10310 (POLL_ERR): Likewise.
10311 (POLL_PRI): Likewise.
10312 (POLL_HUP): Likewise.
10313 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
10314 (ILL_ILLOPN): Likewise.
10315 (ILL_ILLADR): Likewise.
10316 (ILL_ILLTRP): Likewise.
10317 (ILL_PRVOPC): Likewise.
10318 (ILL_PRVREG): Likewise.
10319 (ILL_COPROC): Likewise.
10320 (ILL_BADSTK): Likewise.
10321 (ILL_DBLFLT): Likewise.
10322 (ILL_HARDWALL): Likewise.
10323 (FPE_INTDIV): Likewise.
10324 (FPE_INTOVF): Likewise.
10325 (FPE_FLTDIV): Likewise.
10326 (FPE_FLTOVF): Likewise.
10327 (FPE_FLTUND): Likewise.
10328 (FPE_FLTRES): Likewise.
10329 (FPE_FLTINV): Likewise.
10330 (FPE_FLTSUB): Likewise.
10331 (SEGV_MAPERR): Likewise.
10332 (SEGV_ACCERR): Likewise.
10333 (BUS_ADRALN): Likewise.
10334 (BUS_ADRERR): Likewise.
10335 (BUS_OBJERR): Likewise.
10336 (BUS_MCEERR_AR): Likewise.
10337 (BUS_MCEERR_AO): Likewise.
10338 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10339 (TRAP_TRACE): Likewise.
10340 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10342 (CLD_KILLED): Likewise.
10343 (CLD_DUMPED): Likewise.
10344 (CLD_TRAPPED): Likewise.
10345 (CLD_STOPPED): Likewise.
10346 (CLD_CONTINUED): Likewise.
10347 (POLL_IN): Likewise.
10348 (POLL_OUT): Likewise.
10349 (POLL_MSG): Likewise.
10350 (POLL_ERR): Likewise.
10351 (POLL_PRI): Likewise.
10352 (POLL_HUP): Likewise.
10353 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
10354 (ILL_ILLOPN): Likewise.
10355 (ILL_ILLADR): Likewise.
10356 (ILL_ILLTRP): Likewise.
10357 (ILL_PRVOPC): Likewise.
10358 (ILL_PRVREG): Likewise.
10359 (ILL_COPROC): Likewise.
10360 (ILL_BADSTK): Likewise.
10361 (FPE_INTDIV): Likewise.
10362 (FPE_INTOVF): Likewise.
10363 (FPE_FLTDIV): Likewise.
10364 (FPE_FLTOVF): Likewise.
10365 (FPE_FLTUND): Likewise.
10366 (FPE_FLTRES): Likewise.
10367 (FPE_FLTINV): Likewise.
10368 (FPE_FLTSUB): Likewise.
10369 (SEGV_MAPERR): Likewise.
10370 (SEGV_ACCERR): Likewise.
10371 (BUS_ADRALN): Likewise.
10372 (BUS_ADRERR): Likewise.
10373 (BUS_OBJERR): Likewise.
10374 (BUS_MCEERR_AR): Likewise.
10375 (BUS_MCEERR_AO): Likewise.
10376 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10377 (TRAP_TRACE): Likewise.
10378 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10380 (CLD_KILLED): Likewise.
10381 (CLD_DUMPED): Likewise.
10382 (CLD_TRAPPED): Likewise.
10383 (CLD_STOPPED): Likewise.
10384 (CLD_CONTINUED): Likewise.
10385 (POLL_IN): Likewise.
10386 (POLL_OUT): Likewise.
10387 (POLL_MSG): Likewise.
10388 (POLL_ERR): Likewise.
10389 (POLL_PRI): Likewise.
10390 (POLL_HUP): Likewise.
10391 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
10392 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10395 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
10396 before #include of <time.h>.
10397 [!__USE_XOPEN2K] (__need_timespec): Likewise.
10398 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
10399 (test-xfail-UNIX98/sched.h/conform): Likewise.
10401 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
10403 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
10404 error absence of trapping exception support.
10405 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10407 2014-03-07 Joseph Myers <joseph@codesourcery.com>
10409 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
10410 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
10411 * timezone/Makefile (testdata): Move definition above include of
10413 (test-zones): New variable.
10414 (tests-special): Add zone files.
10415 (build-testdata): Use $(evaluate-test).
10417 * elf/Makefile (tests-special): Rename tests to end with .out.
10418 ($(objpfx)noload-mem): Likewise.
10419 ($(objpfx)tst-leaks1-mem): Likewise.
10420 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
10421 * iconv/Makefile (xtests-special): Change test-iconvconfig to
10422 $(objpfx)test-iconvconfig.out.
10423 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
10424 set -e inside subshell and redirect output to file.
10425 * iconvdata/Makefile (generated): Rename tests to end with .out.
10427 (tests-special): Rename tests to end with .out.
10428 ($(objpfx)mtrace-tst-loading): Likewise.
10429 * intl/Makefile (generated): Likewise.
10430 (tests-special): Likewise.
10431 ($(objpfx)mtrace-tst-gettext): Likewise.
10432 * misc/Makefile (generated): Likewise.
10433 (tests-special): Likewise.
10434 ($(objpfx)tst-error1-mem): Likewise.
10435 * nptl/Makefile (tests-special): Likewise.
10436 ($(objpfx)tst-stack3-mem): Likewise.
10437 (generated): Likewise.
10438 * posix/Makefile (generated): Likewise.
10439 (tests-special): Likewise.
10440 (xtests-special): Likewise.
10441 ($(objpfx)tst-fnmatch-mem): Likewise.
10442 ($(objpfx)bug-regex2-mem): Likewise.
10443 ($(objpfx)bug-regex14-mem): Likewise.
10444 ($(objpfx)bug-regex21-mem): Likewise.
10445 ($(objpfx)bug-regex31-mem): Likewise.
10446 ($(objpfx)tst-vfork3-mem): Likewise.
10447 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10448 ($(objpfx)tst-pcre-mem): Likewise.
10449 ($(objpfx)tst-boost-mem): Likewise.
10450 ($(objpfx)bug-ga2-mem): Likewise.
10451 ($(objpfx)bug-glob2-mem): Likewise.
10452 * resolv/Makefile (generate): Likewise.
10453 (tests-special): Likewise.
10454 (xtests-special): Likewise.
10455 (generated): Likewise.
10456 ($(objpfx)mtrace-tst-leaks): Likewise.
10457 ($(objpfx)mtrace-tst-leaks2): Likewise.
10459 * scripts/merge-test-results.sh: New file.
10460 * Makefile (tests-special-notdir): New variable.
10461 (tests): Run merge-test-results.sh.
10462 (xtests): Likewise.
10463 * Rules (tests-special-notdir): New variable.
10464 (xtests-special-notdir): Likewise.
10465 (tests): Run merge-test-results.sh
10466 (xtests): Likewise.
10468 * Makeconfig (test-xfail-name): New variable.
10469 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
10470 compute variable name for expected failures.
10471 * conform/Makefile (conformtest-headers-data): New variable.
10472 (conformtest-standards): Likewise.
10473 (conformtest-headers-ISO): Likewise.
10474 (conformtest-headers-ISO99): Likewise.
10475 (conformtest-headers-ISO11): Likewise.
10476 (conformtest-headers-POSIX): Likewise.
10477 (conformtest-headers-XPG3): Likewise.
10478 (conformtest-headers-XPG4): Likewise.
10479 (conformtest-headers-UNIX98): Likewise.
10480 (conformtest-headers-XOPEN2K): Likewise.
10481 (conformtest-headers-POSIX2008): Likewise.
10482 (conformtest-headers-XOPEN2K8): Likewise.
10483 (conformtest-header-list-base): Likewise.
10484 (conformtest-header-list-tests): Likewise.
10485 (conformtest-header-base): Likewise.
10486 (conformtest-header-tests): Likewise.
10487 (tests-special): Add $(conformtest-header-list-tests). If
10488 [$(fast-check) && !$(cross-compiling)], add
10489 $(conformtest-header-tests) instead of
10490 $(objpfx)run-conformtest.out.
10491 (generated): Add $(conformtest-header-list-base). If
10492 [$(fast-check) && !$(cross-compiling)], add
10493 $(conformtest-header-base). Remove previous setting.
10494 ($(conformtest-header-list-tests)): New target.
10495 (test-xfail-run-conformtest): Remove variable.
10496 ($(objpfx)run-conformtest.out): Remove target.
10497 (test-xfail-ISO11/complex.h/conform): New variable.
10498 (test-xfail-ISO11/stdalign.h/conform): Likewise.
10499 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10500 (test-xfail-XPG3/varargs.h/conform): Likewise.
10501 (test-xfail-XPG4/varargs.h/conform): Likewise.
10502 (test-xfail-UNIX98/varargs.h/conform): Likewise.
10503 (test-xfail-XPG4/ndbm.h/conform): Likewise.
10504 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
10505 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
10506 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
10507 (test-xfail-XPG3/fcntl.h/conform): Likewise.
10508 (test-xfail-XPG3/ftw.h/conform): Likewise.
10509 (test-xfail-XPG3/grp.h/conform): Likewise.
10510 (test-xfail-XPG3/langinfo.h/conform): Likewise.
10511 (test-xfail-XPG3/limits.h/conform): Likewise.
10512 (test-xfail-XPG3/pwd.h/conform): Likewise.
10513 (test-xfail-XPG3/search.h/conform): Likewise.
10514 (test-xfail-XPG3/signal.h/conform): Likewise.
10515 (test-xfail-XPG3/stdio.h/conform): Likewise.
10516 (test-xfail-XPG3/stdlib.h/conform): Likewise.
10517 (test-xfail-XPG3/string.h/conform): Likewise.
10518 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
10519 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
10520 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10521 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10522 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
10523 (test-xfail-XPG3/sys/types.h/conform): Likewise.
10524 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
10525 (test-xfail-XPG3/termios.h/conform): Likewise.
10526 (test-xfail-XPG3/time.h/conform): Likewise.
10527 (test-xfail-XPG3/unistd.h/conform): Likewise.
10528 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
10529 (test-xfail-XPG4/fcntl.h/conform): Likewise.
10530 (test-xfail-XPG4/langinfo.h/conform): Likewise.
10531 (test-xfail-XPG4/netdb.h/conform): Likewise.
10532 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
10533 (test-xfail-XPG4/signal.h/conform): Likewise.
10534 (test-xfail-XPG4/stdio.h/conform): Likewise.
10535 (test-xfail-XPG4/stdlib.h/conform): Likewise.
10536 (test-xfail-XPG4/stropts.h/conform): Likewise.
10537 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10538 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10539 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10540 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10541 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10542 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
10543 (test-xfail-XPG4/sys/time.h/conform): Likewise.
10544 (test-xfail-XPG4/sys/types.h/conform): Likewise.
10545 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
10546 (test-xfail-XPG4/termios.h/conform): Likewise.
10547 (test-xfail-XPG4/ucontext.h/conform): Likewise.
10548 (test-xfail-XPG4/unistd.h/conform): Likewise.
10549 (test-xfail-XPG4/utmpx.h/conform): Likewise.
10550 (test-xfail-POSIX/sched.h/conform): Likewise.
10551 (test-xfail-POSIX/signal.h/conform): Likewise.
10552 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10553 (test-xfail-POSIX/tar.h/conform): Likewise.
10554 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
10555 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
10556 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
10557 (test-xfail-UNIX98/netdb.h/conform): Likewise.
10558 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
10559 (test-xfail-UNIX98/sched.h/conform): Likewise.
10560 (test-xfail-UNIX98/signal.h/conform): Likewise.
10561 (test-xfail-UNIX98/stdio.h/conform): Likewise.
10562 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10563 (test-xfail-UNIX98/stropts.h/conform): Likewise.
10564 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10565 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10566 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10567 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10568 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10569 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10570 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
10571 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
10572 (test-xfail-UNIX98/unistd.h/conform): Likewise.
10573 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10574 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
10575 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
10576 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10577 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
10578 (test-xfail-XOPEN2K/math.h/conform): Likewise.
10579 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
10580 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10581 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10582 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
10583 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
10584 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
10585 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
10586 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10587 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10588 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10589 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10590 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10591 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10592 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
10593 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
10594 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10595 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
10596 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10597 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
10598 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10599 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
10600 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
10601 (test-xfail-POSIX2008/signal.h/conform): Likewise.
10602 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10603 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
10604 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
10605 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10606 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10607 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
10608 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
10609 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10610 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10611 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
10612 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
10613 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10614 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10615 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10616 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
10617 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10618 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10619 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10620 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10621 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
10622 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
10623 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
10624 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
10625 (conformtest-cc-flags): Likewise.
10626 ($(conformtest-header-tests): New target.
10627 * conform/check-header-lists.sh: New file.
10628 * conform/run-conformtest.sh: Remove.
10630 * conform/conformtest.pl: Allow ' and \ in values given for
10632 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
10634 [POSIX] (sys/types.h): Likewise.
10635 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
10637 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
10639 * conform/data/signal.h-data (SIGIO): Remove expectation.
10640 [XPG3] (SIGBUS): Do not expect.
10641 [POSIX || XPG3] (SIGPOLL): Likewise.
10642 [POSIX || XPG3] (SIGPROF): Likewise.
10643 [POSIX || XPG3] (SIGSYS): Likewise.
10644 [XPG3] (SIGTRAP): Likewise.
10645 [POSIX || XPG3] (SIGURG): Likewise.
10646 [POSIX || XPG3] (SIGVTALRM): Likewise.
10647 [POSIX || XPG3] (SIGXCPU): Likewise.
10648 [POSIX || XPG3] (SIGXFSZ): Likewise.
10649 [POSIX] (SA_SIGINFO): Expect.
10650 [XPG3] (siginfo_t): Do not expect type or contents.
10651 [POSIX] (si_pid): Do not expect element.
10652 [POSIX] (si_uid): Likewise.
10653 [POSIX] (si_addr): Likewise.
10654 [POSIX] (si_status): Likewise.
10655 [POSIX] (si_band): Likewise.
10656 [XPG4] (si_value): Likewise.
10657 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
10658 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
10659 [POSIX || XPG3] (ILL_ILLADR): Likewise.
10660 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
10661 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
10662 [POSIX || XPG3] (ILL_PRVREG): Likewise.
10663 [POSIX || XPG3] (ILL_COPROC): Likewise.
10664 [POSIX || XPG3] (ILL_BADSTK): Likewise.
10665 [POSIX || XPG3] (FPE_INTDIV): Likewise.
10666 [POSIX || XPG3] (FPE_INTOVF): Likewise.
10667 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
10668 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
10669 [POSIX || XPG3] (FPE_FLTUND): Likewise.
10670 [POSIX || XPG3] (FPE_FLTRES): Likewise.
10671 [POSIX || XPG3] (FPE_FLTINV): Likewise.
10672 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
10673 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
10674 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
10675 [POSIX || XPG3] (BUS_ADRALN): Likewise.
10676 [POSIX || XPG3] (BUS_ADRERR): Likewise.
10677 [POSIX || XPG3] (BUS_OBJERR): Likewise.
10678 [POSIX || XPG3] (CLD_EXITED): Likewise.
10679 [POSIX || XPG3] (CLD_KILLED): Likewise.
10680 [POSIX || XPG3] (CLD_DUMPED): Likewise.
10681 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
10682 [POSIX || XPG3] (CLD_STOPPED): Likewise.
10683 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
10684 [POSIX || XPG3] (POLL_IN): Likewise.
10685 [POSIX || XPG3] (POLL_OUT): Likewise.
10686 [POSIX || XPG3] (POLL_MSG): Likewise.
10687 [POSIX || XPG3] (POLL_ERR): Likewise.
10688 [POSIX || XPG3] (POLL_PRI): Likewise.
10689 [POSIX || XPG3] (POLL_HUP): Likewise.
10690 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
10691 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
10692 (SIG*): Do not allow.
10693 [XPG3] (si_*): Likewise.
10694 [XPG3] (SI_*): Likewise.
10695 [XPG3 || XPG4] (sigev_*): Likewise.
10696 [XPG3 || XPG4] (SIGEV_*): Likewise.
10697 [XPG3 || XPG4] (sival_*): Likewise.
10698 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
10699 [POSIX || XPG3] (BUS_*): Likewise.
10700 [POSIX || XPG3] (CLD_*): Likewise.
10701 [POSIX || XPG3] (FPE_*): Likewise.
10702 [POSIX || XPG3] (ILL_*): Likewise.
10703 [POSIX || XPG3] (POLL_*): Likewise.
10704 [POSIX || XPG3] (SEGV_*): Likewise.
10705 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
10706 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
10707 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
10708 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
10709 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
10710 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
10711 Specify type and value.
10712 (TVERSLEN): Likewise.
10713 (REGTYPE): Likewise.
10714 (AREGTYPE): Likewise.
10715 (LNKTYPE): Likewise.
10716 (SYMTYPE): Likewise.
10717 (CHRTYPE): Likewise.
10718 (BLKTYPE): Likewise.
10719 (DIRTYPE): Likewise.
10720 (FIFOTYPE): Likewise.
10721 (CONTTYPE): Likewise.
10725 (TUREAD): Likewise.
10726 (TUWRITE): Likewise.
10727 (TUEXEC): Likewise.
10728 (TGREAD): Likewise.
10729 (TGWRITE): Likewise.
10730 (TGEXEC): Likewise.
10731 (TOREAD): Likewise.
10732 (TOWRITE): Likewise.
10733 (TOEXEC): Likewise.
10734 [POSIX] (TSVTX): Expect constant.
10736 2014-03-06 Joseph Myers <joseph@codesourcery.com>
10738 * Makefile (tests): Change dependencies to ....
10739 (tests-special): ... additions to this variable.
10740 (tests): Depend on $(tests-special).
10741 * Makerules (check-abi-list): New variable.
10742 (check-abi): Depend on $(check-abi-list).
10743 [$(subdir) = elf] (tests-special): Add
10744 $(objpfx)check-abi-libc.out.
10745 [$(build-shared) = yes && subdir] (tests-special): Add
10747 [$(build-shared) = yes && subdir] (tests): Do not depend on
10749 * Rules (tests): Depend on $(tests-special).
10750 (xtests): Depend on $(xtests-special).
10751 * catgets/Makefile (tests): Change dependencies to ....
10752 (tests-special): ... additions to this variable.
10753 * conform/Makefile (tests): Change dependencies to ....
10754 (tests-special): ... additions to this variable.
10755 * elf/Makefile (tests): Change dependencies to ....
10756 (tests-special): ... additions to this variable.
10757 * grp/Makefile (tests): Change dependencies to ....
10758 (tests-special): ... additions to this variable.
10759 * iconv/Makefile (xtests): Change dependencies to ....
10760 (xtests-special): ... additions to this variable.
10761 * iconvdata/Makefile (tests): Change dependencies to ....
10762 (tests-special): ... additions to this variable.
10763 * intl/Makefile (tests): Change dependencies to ....
10764 (tests-special): ... additions to this variable. Also add
10765 $(objpfx)tst-gettext.out.
10766 * io/Makefile (tests): Change dependencies to ....
10767 (tests-special): ... additions to this variable.
10768 * libio/Makefile (tests): Change dependencies to ....
10769 (tests-special): ... additions to this variable.
10770 * malloc/Makefile (tests): Change dependencies to ....
10771 (tests-special): ... additions to this variable.
10772 * misc/Makefile (tests): Change dependencies to ....
10773 (tests-special): ... additions to this variable.
10774 * nptl/Makefile (tests): Change dependencies to ....
10775 (tests-special): ... additions to this variable.
10776 * nptl_db/Makefile (tests): Change dependencies to ....
10777 (tests-special): ... additions to this variable.
10778 * posix/Makefile (tests): Change dependencies to ....
10779 (tests-special): ... additions to this variable.
10780 (xtests): Change dependencies to ....
10781 (xtests-special): ... additions to this variable.
10782 * resolv/Makefile (tests): Change dependencies to ....
10783 (tests-special): ... additions to this variable.
10784 (xtests): Change dependencies to ....
10785 (xtests-special): ... additions to this variable.
10786 * stdio-common/Makefile (tests): Change dependencies to ....
10787 (tests-special): ... additions to this variable.
10788 (do-tst-unbputc): Remove target.
10789 (do-tst-printf): Likewise.
10790 * stdlib/Makefile (tests): Change dependencies to ....
10791 (tests-special): ... additions to this variable.
10792 * string/Makefile (tests): Change dependencies to ....
10793 (tests-special): ... additions to this variable.
10794 * sysdeps/x86/Makefile (tests): Change dependencies to ....
10795 (tests-special): ... additions to this variable.
10797 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
10799 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
10801 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
10802 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
10804 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
10805 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
10806 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
10807 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
10808 * conform/data/libgen.h-data [XPG3]: Likewise.
10809 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
10810 * conform/data/ndbm.h-data [XPG3]: Likewise.
10811 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10812 * conform/data/netdb.h-data [XPG3]: Likewise.
10813 * conform/data/netinet/in.h-data [XPG3]: Likewise.
10814 * conform/data/poll.h-data [XPG3]: Likewise.
10815 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10816 * conform/data/strings.h-data [XPG3]: Likewise.
10817 * conform/data/stropts.h-data [XPG3]: Likewise.
10818 * conform/data/sys/mman.h-data [XPG3]: Likewise.
10819 * conform/data/sys/resource.h-data [XPG3]: Likewise.
10820 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
10822 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
10823 * conform/data/sys/time.h-data [XPG3]: Likewise.
10824 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
10825 * conform/data/sys/uio.h-data [XPG3]: Likewise.
10826 * conform/data/sys/un.h-data [XPG3]: Likewise.
10827 * conform/data/syslog.h-data [XPG3]: Likewise.
10828 * conform/data/ucontext.h-data [XPG3]: Likewise.
10829 * conform/data/utmpx.h-data [XPG3]: Likewise.
10830 * conform/data/varargs.h-data [UNIX98]: Enable file.
10832 * manual/Makefile (INSTALL_INFO): Remove variable setting.
10834 * math/libm-test.inc (struct test_f_f_data): Move expected results
10835 into structure for each rounding mode.
10836 (struct test_ff_f_data): Likewise.
10837 (struct test_ff_f_data_nexttoward): Likewise.
10838 (struct test_fi_f_data): Likewise.
10839 (struct test_fl_f_data): Likewise.
10840 (struct test_if_f_data): Likewise.
10841 (struct test_fff_f_data): Likewise.
10842 (struct test_c_f_data): Likewise.
10843 (struct test_f_f1_data): Likewise.
10844 (struct test_fF_f1_data): Likewise.
10845 (struct test_ffI_f1_data): Likewise.
10846 (struct test_c_c_data): Likewise.
10847 (struct test_cc_c_data): Likewise.
10848 (struct test_f_i_data): Likewise.
10849 (struct test_ff_i_data): Likewise.
10850 (struct test_f_l_data): Likewise.
10851 (struct test_f_L_data): Likewise.
10852 (struct test_fFF_11_data): Likewise.
10854 (RM_FE_DOWNWARD): Likewise.
10855 (RM_FE_TONEAREST): Likewise.
10856 (RM_FE_TOWARDZERO): Likewise.
10857 (RM_FE_UPWARD): Likewise.
10858 (RUN_TEST_LOOP_f_f): Update references to expected results.
10859 (RUN_TEST_LOOP_2_f): Likewise.
10860 (RUN_TEST_LOOP_fff_f): Likewise.
10861 (RUN_TEST_LOOP_c_f): Likewise.
10862 (RUN_TEST_LOOP_f_f1): Likewise.
10863 (RUN_TEST_LOOP_fF_f1): Likewise.
10864 (RUN_TEST_LOOP_fI_f1): Likewise.
10865 (RUN_TEST_LOOP_ffI_f1): Likewise.
10866 (RUN_TEST_LOOP_c_c): Likewise.
10867 (RUN_TEST_LOOP_cc_c): Likewise.
10868 (RUN_TEST_LOOP_f_i): Likewise.
10869 (RUN_TEST_LOOP_f_i_tg): Likewise.
10870 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10871 (RUN_TEST_LOOP_f_b): Likewise.
10872 (RUN_TEST_LOOP_f_b_tg): Likewise.
10873 (RUN_TEST_LOOP_f_l): Likewise.
10874 (RUN_TEST_LOOP_f_L): Likewise.
10875 (RUN_TEST_LOOP_fFF_11): Likewise.
10876 * math/gen-libm-test.pl (parse_args): Output four copies of
10877 expected results for each test.
10879 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10880 (__ASSUME_UTIMES): Remove.
10881 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10882 (__ASSUME_UTIMES): Likewise.
10884 * math/gen-auto-libm-tests.c: Update comment on output format.
10885 (output_for_one_input_case): Generate before-rounding and
10886 after-rounding information as conditions on output flags not
10887 floating-point format.
10888 * math/auto-libm-test-out: Regenerated.
10889 * math/gen-libm-test.pl (cond_value): New function.
10890 (or_cond_value): Use cond_value.
10891 (generate_testfile): Handle conditional exceptions.
10893 2014-03-05 Joseph Myers <joseph@codesourcery.com>
10895 * math/libm-test.inc (max_valid_error): New variable.
10896 (init_max_error): Take new argument specifying whether function
10897 results are exactly determined. Set max_valid_error and bound
10898 other variables for errors based on this argument.
10899 (set_max_error): Do not record results above max_valid_error.
10900 (check_float_internal): Only accept errors of up to 0.5ulps if
10901 also at most max_valid_error.
10902 (START): Take new argument EXACT and pass it to init_max_error.
10903 (acos_test): Update call to START.
10904 (acos_test_tonearest): Likewise.
10905 (acos_test_towardzero): Likewise.
10906 (acos_test_downward): Likewise.
10907 (acos_test_upward): Likewise.
10908 (acosh_test): Likewise.
10909 (asin_test): Likewise.
10910 (asin_test_tonearest): Likewise.
10911 (asin_test_towardzero): Likewise.
10912 (asin_test_downward): Likewise.
10913 (asin_test_upward): Likewise.
10914 (asinh_test): Likewise.
10915 (atan_test): Likewise.
10916 (atanh_test): Likewise.
10917 (atan2_test): Likewise.
10918 (cabs_test): Likewise.
10919 (cacos_test): Likewise.
10920 (cacosh_test): Likewise.
10921 (carg_test): Likewise.
10922 (casin_test): Likewise.
10923 (casinh_test): Likewise.
10924 (catan_test): Likewise.
10925 (catanh_test): Likewise.
10926 (cbrt_test): Likewise.
10927 (ccos_test): Likewise.
10928 (ccosh_test): Likewise.
10929 (ceil_test): Likewise.
10930 (cexp_test): Likewise.
10931 (cimag_test): Likewise.
10932 (clog_test): Likewise.
10933 (clog10_test): Likewise.
10934 (conj_test): Likewise.
10935 (copysign_test): Likewise.
10936 (cos_test): Likewise.
10937 (cos_test_tonearest): Likewise.
10938 (cos_test_towardzero): Likewise.
10939 (cos_test_downward): Likewise.
10940 (cos_test_upward): Likewise.
10941 (cosh_test): Likewise.
10942 (cosh_test_tonearest): Likewise.
10943 (cosh_test_towardzero): Likewise.
10944 (cosh_test_downward): Likewise.
10945 (cosh_test_upward): Likewise.
10946 (cpow_test): Likewise.
10947 (cproj_test): Likewise.
10948 (creal_test): Likewise.
10949 (csin_test): Likewise.
10950 (csinh_test): Likewise.
10951 (csqrt_test): Likewise.
10952 (ctan_test): Likewise.
10953 (ctan_test_tonearest): Likewise.
10954 (ctan_test_towardzero): Likewise.
10955 (ctan_test_downward): Likewise.
10956 (ctan_test_upward): Likewise.
10957 (ctanh_test): Likewise.
10958 (ctanh_test_tonearest): Likewise.
10959 (ctanh_test_towardzero): Likewise.
10960 (ctanh_test_downward): Likewise.
10961 (ctanh_test_upward): Likewise.
10962 (erf_test): Likewise.
10963 (erfc_test): Likewise.
10964 (exp_test): Likewise.
10965 (exp_test_tonearest): Likewise.
10966 (exp_test_towardzero): Likewise.
10967 (exp_test_downward): Likewise.
10968 (exp_test_upward): Likewise.
10969 (exp10_test): Likewise.
10970 (exp10_test_tonearest): Likewise.
10971 (exp10_test_towardzero): Likewise.
10972 (exp10_test_downward): Likewise.
10973 (exp10_test_upward): Likewise.
10974 (pow10_test): Likewise.
10975 (exp2_test): Likewise.
10976 (expm1_test): Likewise.
10977 (expm1_test_tonearest): Likewise.
10978 (expm1_test_towardzero): Likewise.
10979 (expm1_test_downward): Likewise.
10980 (expm1_test_upward): Likewise.
10981 (fabs_test): Likewise.
10982 (fdim_test): Likewise.
10983 (floor_test): Likewise.
10984 (fma_test): Likewise.
10985 (fma_test_towardzero): Likewise.
10986 (fma_test_downward): Likewise.
10987 (fma_test_upward): Likewise.
10988 (fmax_test): Likewise.
10989 (fmin_test): Likewise.
10990 (fmod_test): Likewise.
10991 (fpclassify_test): Likewise.
10992 (frexp_test): Likewise.
10993 (hypot_test): Likewise.
10994 (ilogb_test): Likewise.
10995 (isfinite_test): Likewise.
10996 (finite_test): Likewise.
10997 (isgreater_test): Likewise.
10998 (isgreaterequal_test): Likewise.
10999 (isinf_test): Likewise.
11000 (isless_test): Likewise.
11001 (islessequal_test): Likewise.
11002 (islessgreater_test): Likewise.
11003 (isnan_test): Likewise.
11004 (isnormal_test): Likewise.
11005 (issignaling_test): Likewise.
11006 (isunordered_test): Likewise.
11007 (j0_test): Likewise.
11008 (j1_test): Likewise.
11009 (jn_test): Likewise.
11010 (ldexp_test): Likewise.
11011 (lgamma_test): Likewise.
11012 (gamma_test): Likewise.
11013 (lrint_test): Likewise.
11014 (lrint_test_tonearest): Likewise.
11015 (lrint_test_towardzero): Likewise.
11016 (lrint_test_downward): Likewise.
11017 (lrint_test_upward): Likewise.
11018 (llrint_test): Likewise.
11019 (llrint_test_tonearest): Likewise.
11020 (llrint_test_towardzero): Likewise.
11021 (llrint_test_downward): Likewise.
11022 (llrint_test_upward): Likewise.
11023 (log_test): Likewise.
11024 (log10_test): Likewise.
11025 (log1p_test): Likewise.
11026 (log2_test): Likewise.
11027 (logb_test): Likewise.
11028 (logb_test_downward): Likewise.
11029 (lround_test): Likewise.
11030 (llround_test): Likewise.
11031 (modf_test): Likewise.
11032 (nearbyint_test): Likewise.
11033 (nextafter_test): Likewise.
11034 (nexttoward_test): Likewise.
11035 (pow_test): Likewise.
11036 (pow_test_tonearest): Likewise.
11037 (pow_test_towardzero): Likewise.
11038 (pow_test_downward): Likewise.
11039 (pow_test_upward): Likewise.
11040 (remainder_test): Likewise.
11041 (drem_test): Likewise.
11042 (remainder_test_tonearest): Likewise.
11043 (drem_test_tonearest): Likewise.
11044 (remainder_test_towardzero): Likewise.
11045 (drem_test_towardzero): Likewise.
11046 (remainder_test_downward): Likewise.
11047 (drem_test_downward): Likewise.
11048 (remainder_test_upward): Likewise.
11049 (drem_test_upward): Likewise.
11050 (remquo_test): Likewise.
11051 (rint_test): Likewise.
11052 (rint_test_tonearest): Likewise.
11053 (rint_test_towardzero): Likewise.
11054 (rint_test_downward): Likewise.
11055 (rint_test_upward): Likewise.
11056 (round_test): Likewise.
11057 (scalb_test): Likewise.
11058 (scalbn_test): Likewise.
11059 (scalbln_test): Likewise.
11060 (signbit_test): Likewise.
11061 (sin_test): Likewise.
11062 (sin_test_tonearest): Likewise.
11063 (sin_test_towardzero): Likewise.
11064 (sin_test_downward): Likewise.
11065 (sin_test_upward): Likewise.
11066 (sincos_test): Likewise.
11067 (sinh_test): Likewise.
11068 (sinh_test_tonearest): Likewise.
11069 (sinh_test_towardzero): Likewise.
11070 (sinh_test_downward): Likewise.
11071 (sinh_test_upward): Likewise.
11072 (sqrt_test): Likewise.
11073 (sqrt_test_tonearest): Likewise.
11074 (sqrt_test_towardzero): Likewise.
11075 (sqrt_test_downward): Likewise.
11076 (sqrt_test_upward): Likewise.
11077 (tan_test): Likewise.
11078 (tan_test_tonearest): Likewise.
11079 (tan_test_towardzero): Likewise.
11080 (tan_test_downward): Likewise.
11081 (tan_test_upward): Likewise.
11082 (tanh_test): Likewise.
11083 (tgamma_test): Likewise.
11084 (trunc_test): Likewise.
11085 (y0_test): Likewise.
11086 (y1_test): Likewise.
11087 (yn_test): Likewise.
11088 (significand_test): Likewise.
11090 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
11091 individual tests in comment.
11092 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
11093 (prev_max_error): New variable.
11094 (prev_real_max_error): Likewise.
11095 (prev_imag_max_error): Likewise.
11096 (compare_ulp_data): Don't refer to test names in comment.
11097 (find_test_ulps): Remove function.
11098 (find_function_ulps): Likewise.
11099 (find_complex_function_ulps): Likewise.
11100 (init_max_error): Take function name as argument. Look up ulps
11102 (print_ulps): Remove function.
11103 (print_max_error): Use prev_max_error instead of calling
11104 find_function_ulps.
11105 (print_complex_max_error): Use prev_real_max_error and
11106 prev_imag_max_error instead of calling find_complex_function_ulps.
11107 (check_float_internal): Take max_ulp parameter instead of calling
11108 find_test_ulps. Don't call print_ulps.
11109 (check_float): Update call to check_float_internal.
11110 (check_complex): Update calls to check_float_internal.
11111 (START): Pass argument to init_max_error.
11112 * math/gen-libm-test.pl (%results): Don't include "kind"
11114 (parse_ulps): Don't handle ulps of individual tests.
11115 (print_ulps_file): Likewise.
11116 (output_ulps): Likewise.
11117 * math/README.libm-test: Update.
11118 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
11120 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
11121 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
11122 * sysdeps/arm/libm-test-ulps: Likewise.
11123 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
11124 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
11125 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
11126 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
11127 * sysdeps/microblaze/libm-test-ulps: Likewise.
11128 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11129 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11130 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11131 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11132 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11133 * sysdeps/sh/libm-test-ulps: Likewise.
11134 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11135 * sysdeps/tile/libm-test-ulps: Likewise.
11136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11138 2014-03-04 Joseph Myers <joseph@codesourcery.com>
11140 * math/libm-test.inc (print_complex_max_error): Check separately
11141 whether real and imaginary errors are within allowed range and
11142 pass 0 to print_complex_function_ulps instead of value within
11145 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11147 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
11149 (get_handles_fopen): Likewise.
11150 (do_write_test): Likewise.
11152 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
11154 * libio/fileops.c (do_ftell): Use cached offset when
11156 * libio/iofwide.c (do_ftell_wide): Likewise.
11157 * libio/iofdopen.c (_IO_new_fdopen): Don't use
11159 * libio/wfileops.c (_IO_fwide): Don't cache offset.
11162 * libio/libioP.h (get_file_offset): New function.
11163 * libio/fileops.c (get_file_offset): Likewise.
11164 (do_ftell): Likewise.
11165 (_IO_new_file_seekoff): Split out ftell logic.
11166 * libio/wfileops.c (do_ftell_wide): Likewise.
11167 (_IO_wfile_seekoff): Split out ftell logic.
11168 * libio/tst-ftell-active-handler.c: New test case.
11169 * libio/Makefile (tests): Add it.
11171 2014-03-03 Roland McGrath <roland@hack.frob.com>
11173 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
11174 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
11176 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11179 * nscd/connections.c (nscd_init): Call do_exit.
11180 (start_threads): Call do_exit and notify_parent.
11181 (begin_drop_privileges): Call do_exit.
11182 (finish_drop_privileges): Likewise.
11183 * nscd/selinux.c (preserve_capabilities): Likewise.
11184 (install_real_capabilities): Likewise.
11185 (nscd_selinux_enabled): Likewise.
11186 (avc_create_thread): Likewise.
11187 (avc_alloc_lock): Likewise.
11188 (nscd_avc_init): Likewise.
11189 * nscd/nscd.c (parent_fd): New static variable.
11190 (main): Create a pipe between parent and child processes.
11191 Skip closing parent_fd.
11192 (monitor_child): New function.
11193 (do_exit): Likewise.
11194 (notify_parent): Likewise.
11195 * nscd/nscd.h (notify_parent): Likewise.
11196 (do_exit): Likewise.
11198 2014-03-03 Carlos O'Donell <carlos@redhat.com>
11200 * malloc/malloc.c (__libc_calloc): Revert last change.
11202 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11206 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11208 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
11209 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
11211 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11212 (__libc_ifunc_impl_list): Likewise.
11213 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
11214 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
11215 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
11216 * string/strrchr.c: Define STRRCHR.
11218 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
11220 * benchtest/bench-strtok.c (simple_strtok): Delete.
11221 (strtok_string): Use as benchmark.
11222 * string/strtok (STRTOK): New macro.
11224 2014-02-28 Carlos O'Donell <carlos@redhat.com>
11226 * manual/threads.texi: Add header and standard comments to all
11229 * elf/dl-lookup.c (check_match): New function.
11230 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
11231 (do_lookup_x): Remove nested function check_match. Use non-nested
11232 function check_match.
11234 2014-02-28 Roland McGrath <roland@hack.frob.com>
11236 * csu/Makefile (generated, before-compile): Use += rather than =.
11237 * catgets/Makefile (generated, generated-dirs): Likewise.
11238 * debug/Makefile (generated): Likewise.
11239 * dlfcn/Makefile (generated): Likewise.
11240 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
11241 * iconvdata/Makefile (before-compile, generated): Likewise.
11242 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
11243 * libio/Makefile (generated): Likewise.
11244 * malloc/Makefile (generated): Likewise.
11245 * manual/Makefile (generated, generated-dirs): Likewise.
11246 * misc/Makefile (generated): Likewise.
11247 * posix/Makefile (generated): Likewise.
11248 * resolv/Makefile (generated): Likewise.
11249 * sunrpc/Makefile (generated, generated-dirs): Likewise.
11250 * timezone/Makefile (generated, generated-dirs): Likewise.
11252 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
11254 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11256 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11257 power8 implementation.
11258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
11259 file: POWER8 llround ifunc implementation.
11260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
11261 (__lllround): Add POWER8 implementation.
11262 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
11263 POWER8 llround implementation.
11265 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
11266 power8 implementation.
11267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
11268 file: POWER8 llrint ifunc implementation.
11269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
11270 Add POWER8 implementation.
11271 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
11272 POWER8 llrint implementation.
11274 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
11275 power8 implementation.
11276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
11277 file: POWER8 finite ifunc implementation.
11278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
11279 Add POWER8 implementation.
11280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
11282 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
11283 POWER8 finite implementation.
11284 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
11286 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
11287 power8 implementation.
11288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
11289 file: POWER8 isinf ifunc implementation.
11290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
11291 POWER8 implementation.
11292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
11294 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
11295 isinf implementation.
11296 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
11298 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
11299 (INIT_ARCH): Add hwcap2 initialization.
11300 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11301 power8 implementation.
11302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
11303 file: POWER8 isnan ifunc implementation.
11304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
11305 POWER8 implementation.
11306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
11308 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
11309 isnan implementation.
11310 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
11312 2014-02-27 Joey Ye <joey.ye@arm.com>
11314 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11315 (_FP_NANFRAC_Q): Set to zero.
11317 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11320 * math/auto-libm-test-in: New test inputs.
11321 * math/auto-libm-test-out: Regenerate.
11322 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
11325 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11327 2014-02-27 Joseph Myers <joseph@codesourcery.com>
11329 * scripts/evaluate-test.sh: Take new argument indicating whether
11330 failure is expected.
11331 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
11332 indicating whether failure is expected.
11333 * conform/Makefile (test-xfail-run-conformtest): New variable.
11334 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
11336 * posix/Makefile (test-xfail-annexc): New variable.
11337 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
11339 2014-02-26 Joseph Myers <joseph@codesourcery.com>
11341 * argp/Makefile: Include Makeconfig immediately after defining
11343 * assert/Makefile: Likewise.
11344 * benchtests/Makefile: Likewise.
11345 * catgets/Makefile: Likewise.
11346 * conform/Makefile: Likewise.
11347 * crypt/Makefile: Likewise.
11348 * csu/Makefile: Likewise.
11349 (all): Remove target.
11350 * ctype/Makefile: Include Makeconfig immediately after defining
11352 * debug/Makefile: Likewise.
11353 * dirent/Makefile: Likewise.
11354 * dlfcn/Makefile: Likewise.
11355 * gmon/Makefile: Likewise.
11356 * gnulib/Makefile: Likewise.
11357 * grp/Makefile: Likewise.
11358 * gshadow/Makefile: Likewise.
11359 * hesiod/Makefile: Likewise.
11360 * hurd/Makefile: Likewise.
11361 (all): Remove target.
11362 * iconvdata/Makefile: Include Makeconfig immediately after
11364 * inet/Makefile: Likewise.
11365 * intl/Makefile: Likewise.
11366 * io/Makefile: Likewise.
11367 * libio/Makefile: Likewise.
11368 (all): Remove target.
11369 * locale/Makefile: Include Makeconfig immediately after defining
11371 * login/Makefile: Likewise.
11372 * mach/Makefile: Likewise.
11373 (all): Remove target.
11374 * malloc/Makefile: Include Makeconfig immediately after defining
11376 (all): Remove target.
11377 * manual/Makefile: Include Makeconfig immediately after defining
11379 * math/Makefile: Likewise.
11380 * misc/Makefile: Likewise.
11381 * nis/Makefile: Likewise.
11382 * nss/Makefile: Likewise.
11383 * po/Makefile: Likewise.
11384 (all): Remove target.
11385 * posix/Makefile: Include Makeconfig immediately after defining
11387 * pwd/Makefile: Likewise.
11388 * resolv/Makefile: Likewise.
11389 * resource/Makefile: Likewise.
11390 * rt/Makefile: Likewise.
11391 * setjmp/Makefile: Likewise.
11392 * shadow/Makefile: Likewise.
11393 * signal/Makefile: Likewise.
11394 * socket/Makefile: Likewise.
11395 * soft-fp/Makefile: Likewise.
11396 * stdio-common/Makefile: Likewise.
11397 * stdlib/Makefile: Likewise.
11398 * streams/Makefile: Likewise.
11399 * string/Makefile: Likewise.
11400 * sunrpc/Makefile: Likewise.
11401 (all): Remove target.
11402 * sysvipc/Makefile: Include Makeconfig immediately after defining
11404 * termios/Makefile: Likewise.
11405 * time/Makefile: Likewise.
11406 * timezone/Makefile: Likewise.
11407 (all): Remove target.
11408 * wcsmbs/Makefile: Include Makeconfig immediately after defining
11410 * wctype/Makefile: Likewise.
11412 2014-02-26 Steve Ellcey <sellcey@mips.com>
11414 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
11415 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
11416 (libc_feholdexcept_setround_mips): Ditto.
11417 (libc_feholdsetround): New.
11418 (libc_feholdsetroundf): New.
11419 (libc_feholdsetroundl): New.
11420 (libc_feupdateenv_test_mips): New.
11421 (libc_feupdateenv_test): New.
11422 (libc_feupdateenv_testf): New.
11423 (libc_feupdateenv_testl): New.
11424 (libc_feresetround): New.
11425 (libc_feresetroundf): New.
11426 (libc_feresetroundl): New.
11427 (libc_fetestexcept_mips): New.
11428 (libc_fetestexcept): New.
11429 (libc_fetestexceptf): New.
11430 (libc_fetestexceptl): New.
11431 (HAVE_RM_CTX): New.
11432 (libc_feholdexcept_setround_mips_ctx): New.
11433 (libc_feholdexcept_setround_ctx): New.
11434 (libc_feholdexcept_setroundf_ctx): New.
11435 (libc_feholdexcept_setroundl_ctx): New.
11436 (libc_fesetenv_mips_ctx): New.
11437 (libc_fesetenv_ctx): New.
11438 (libc_fesetenv_ctxf): New.
11439 (libc_fesetenv_ctxl): New.
11440 (libc_feupdateenv_mips_ctx): New.
11441 (libc_feupdateenv_ctx): New.
11442 (libc_feupdateenvf_ctx): New.
11443 (libc_feupdateenvl_ctx): New.
11444 (libc_feholdsetround_mips_ctx): New.
11445 (libc_feholdsetround_ctx): New.
11446 (libc_feholdsetroundf_ctx): New.
11447 (libc_feholdsetroundl_ctx): New.
11448 (libc_feresetround_mips_ctx): New.
11449 (libc_feresetround_ctx): New.
11450 (libc_feresetroundf_ctx): New.
11451 (libc_feresetroundl_ctx): New.
11453 2014-02-26 Carlos O'Donell <carlos@redhat.com>
11455 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
11457 * manual/ipc.texi: New file.
11458 * manual/Makefile (chapters): Add ipc.
11459 * manual/job.texi: Add "Inter-Process Communication" to next.
11460 * manual/process.texi: Add "Inter-Process Communication" to prev.
11462 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11466 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
11468 * malloc/malloc.c (__libc_calloc): Simplify implementation.
11470 * manual/arith.texi: Fix spaces after sentences.
11471 * manual/charset.texi: Likewise.
11472 * manual/errno.texi: Likewise.
11473 * manual/install.texi: Likewise.
11474 * manual/llio.texi: Likewise.
11475 * manual/locale.texi: Likewise.
11476 * manual/maint.texi: Likewise.
11477 * manual/math.texi: Likewise.
11478 * manual/memory.texi: Likewise.
11479 * manual/message.texi: Likewise.
11480 * manual/probes.texi: Likewise.
11481 * manual/resource.texi: Likewise.
11482 * manual/signal.texi: Likewise.
11483 * manual/socket.texi: Likewise.
11484 * manual/stdio.texi: Likewise.
11485 * manual/string.texi: Likewise.
11486 * manual/time.texi: Likewise.
11487 * manual/users.texi: Likewise.
11489 2014-02-25 Carlos O'Donell <carlos@redhat.com>
11492 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
11493 _DEFAULT_SOURCE is defined.
11495 2014-02-25 Ulrich Drepper <drepper@gmail.com>
11496 Carlos O'Donell <carlos@redhat.com>
11499 * elf/dl-tls.c (_dl_count_modids): New function.
11500 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
11501 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
11502 audit library and increment generation counter.
11503 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
11504 * elf/tst-audit9.c: New file.
11505 * elf/tst-auditmod9a.c: New file.
11506 * elf/tst-auditmod9b.c: New file.
11507 * elf/Makefile: Add rules to build and run tst-audit9.
11509 2014-02-25 Florian Weimer <fweimer@redhat.com>
11512 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
11514 2014-02-25 Will Newton <will.newton@linaro.org>
11516 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
11517 (__longjmp): Restore sp and lr before restoring callee
11518 saved registers. Add longjmp and longjmp_target
11519 SystemTap probe point.
11520 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
11521 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
11522 Define to zero to match jmpbuf layout.
11523 * sysdeps/arm/setjmp.S: Include stap-probe.h.
11524 (__sigsetjmp): Save sp and lr before saving callee
11525 saved registers. Add setjmp SystemTap probe point.
11527 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11529 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11531 2014-02-24 Andreas Schwab <schwab@suse.de>
11534 * elf/pldd.c (wait_for_ptrace_stop): New function.
11535 (main): Call it after attaching.
11537 2014-02-22 Roland McGrath <roland@hack.frob.com>
11539 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
11540 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
11541 Versions files is now verboten.
11542 * hurd/Versions (libc: GLIBC_2.0):
11543 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
11544 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
11545 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
11546 * mach/Versions: Likewise.
11548 * csu/Versions: Remove unused %include.
11549 * resolv/Versions: Likewise.
11551 2014-02-21 Joseph Myers <joseph@codesourcery.com>
11553 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
11554 ($(objpfx)check-local-headers.out): Likewise.
11555 ($(objpfx)begin-end-check.out): Likewise.
11556 * Makerules (check-abi-%.out): Likewise.
11557 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
11558 ($(objpfx)test2.cat): Likewise.
11559 ($(objpfx)de/libc.cat): Likewise.
11560 ($(objpfx)test-gencat.out): Likewise.
11561 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
11562 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
11563 ($(objpfx)noload-mem): Likewise.
11564 ($(objpfx)tst-pathopt.out): Likewise.
11565 ($(objpfx)tst-rtld-load-self.out): Likewise.
11566 ($(objpfx)tst-array1-cmp.out): Likewise.
11567 ($(objpfx)tst-array1-static-cmp.out): Likewise.
11568 ($(objpfx)tst-array2-cmp.out): Likewise.
11569 ($(objpfx)tst-array3-cmp.out): Likewise.
11570 ($(objpfx)tst-array4-cmp.out): Likewise.
11571 ($(objpfx)tst-array5-cmp.out): Likewise.
11572 ($(objpfx)tst-array5-static-cmp.out): Likewise.
11573 ($(objpfx)check-textrel.out): Likewise.
11574 ($(objpfx)check-execstack.out): Likewise.
11575 ($(objpfx)check-localplt.out): Likewise.
11576 ($(objpfx)order2-cmp.out): Likewise.
11577 ($(objpfx)tst-leaks1-mem): Likewise.
11578 ($(objpfx)tst-leaks1-static-mem): Likewise.
11579 ($(objpfx)tst-initorder-cmp.out): Likewise.
11580 ($(objpfx)tst-initorder2-cmp.out): Likewise.
11581 ($(objpfx)tst-unused-dep.out): Likewise.
11582 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
11583 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
11584 * iconv/Makefile (test-iconvconfig): Likewise.
11585 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
11586 ($(objpfx)iconv-test.out): Likewise.
11587 ($(objpfx)tst-tables.out): Likewise.
11588 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
11589 ($(objpfx)tst-gettext.out): Likewise.
11590 ($(objpfx)tst-translit.out): Likewise.
11591 ($(objpfx)tst-gettext2.out): Likewise.
11592 ($(objpfx)tst-gettext4.out): Likewise.
11593 ($(objpfx)tst-gettext6.out): Likewise.
11594 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
11595 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
11596 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
11597 ($(objpfx)tst-fopenloc-mem.out): Likewise.
11598 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
11599 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
11600 * posix/Makefile ($(objpfx)globtest.out): Likewise.
11601 ($(objpfx)wordexp-tst.out): Likewise.
11602 ($(objpfx)annexc.out): Likewise.
11603 ($(objpfx)tst-fnmatch-mem): Likewise.
11604 ($(objpfx)bug-regex2-mem): Likewise.
11605 ($(objpfx)bug-regex14-mem): Likewise.
11606 ($(objpfx)bug-regex21-mem): Likewise.
11607 ($(objpfx)bug-regex31-mem): Likewise.
11608 ($(objpfx)tst-vfork3-mem): Likewise.
11609 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11610 ($(objpfx)tst-pcre-mem): Likewise.
11611 ($(objpfx)tst-boost-mem): Likewise.
11612 ($(objpfx)tst-getconf.out): Likewise.
11613 ($(objpfx)bug-ga2-mem): Likewise.
11614 ($(objpfx)bug-glob2-mem): Likewise.
11615 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
11616 ($(objpfx)mtrace-tst-leaks2): Likewise.
11617 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
11618 ($(objpfx)tst-printf.out): Likewise.
11619 ($(objpfx)tst-setvbuf1.out): Likewise.
11620 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
11621 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
11622 ($(objpfx)tst-fmtmsg.out): Likewise.
11623 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
11624 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
11626 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
11627 * bits/sigaction.h [__USE_MISC]: Likewise.
11628 * bits/waitstatus.h: Update #endif comments.
11629 * ctype/ctype.h: Likewise.
11630 * dirent/dirent.h: Likewise.
11631 [__USE_MISC]: Remove redundant conditionals.
11632 * grp/grp.h: Update #endif comments.
11633 [__USE_GNU]: Remove redundant conditionals.
11634 [__USE_MISC]: Likewise.
11635 * inet/netinet/in.h [__USE_GNU]: Likewise.
11636 * io/sys/stat.h [__USE_MISC]: Likewise.
11637 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
11638 * libio/bits/stdio.h: Update #endif comments.
11639 [__USE_MISC]: Remove redundant conditionals.
11640 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
11641 * libio/stdio.h: Update #endif comments.
11642 [__USE_MISC]: Remove redundant conditionals.
11643 * math/bits/math-finite.h [__USE_MISC]: Likewise.
11644 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
11645 * math/math.h: Update #else and #endif comments.
11646 [__USE_MISC]: Remove redundant conditionals.
11647 * misc/sys/uio.h: Update #endif comments.
11648 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
11649 * posix/glob.h [__USE_MISC]: Likewise.
11650 * posix/sys/types.h: Update #endif comments.
11651 [__USE_MISC]: Remove redundant conditionals.
11652 * posix/sys/wait.h: Update #endif comments.
11653 [__USE_MISC]: Remove redundant conditionals.
11654 * posix/unistd.h: Update #endif comments.
11655 [__USE_MISC]: Remove redundant conditionals.
11656 * pwd/pwd.h [__USE_GNU]: Likewise.
11657 [__USE_MISC]: Likewise.
11658 * resolv/netdb.h [__USE_GNU]: Likewise.
11659 * signal/signal.h: Update #endif comments.
11660 [__USE_MISC]: Remove redundant conditionals.
11661 * stdlib/stdlib.h: Update #else and #endif comments.
11662 [__USE_MISC]: Remove redundant conditionals.
11663 [__USE_GNU]: Likewise.
11664 * string/bits/string2.h [__USE_MISC]: Likewise.
11665 * string/string.h: Update #endif comments.
11666 [__USE_MISC]: Remove redundant conditionals.
11667 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
11669 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
11670 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
11671 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
11673 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
11675 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
11677 [__USE_MISC]: Remove redundant conditionals.
11678 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
11679 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
11680 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
11681 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
11682 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
11684 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
11685 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
11687 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
11688 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
11690 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
11692 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
11693 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
11695 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
11697 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
11698 * sysdeps/x86/bits/string.h: Update #endif comments.
11699 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
11701 * time/sys/time.h: Update #endif comments.
11702 * time/time.h: Likewise.
11703 [__USE_MISC]: Remove redundant conditionals.
11705 2014-02-21 Yury Gribov <y.gribov@samsung.com>
11708 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
11710 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
11712 * Versions.def (librt): Add GLIBC_2.17.
11714 2014-02-21 Adam Conrad <adconrad@0c3.net>
11716 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
11717 synonym for _SYS_AUXV_H to allow direct inclusion.
11718 * sysdeps/sparc/bits/hwcap.h: Likewise.
11719 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
11720 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
11721 * sysdeps/sparc/sysdep.h: Likewise.
11723 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11725 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
11727 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11729 * benchtests/bench-strrchr.c: Print length instead of position.
11731 2014-02-20 Joseph Myers <joseph@codesourcery.com>
11734 * sysdeps/unix/sysv/linux/kernel-features.h
11735 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
11736 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
11737 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
11738 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
11740 [__i386__ || __powerpc__ || __sh__ || __sparc__]
11741 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11742 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
11743 (__ASSUME_SENDMMSG): Define instead of using previous
11744 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
11745 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11746 (__ASSUME_SENDMMSG_SYSCALL): Define.
11747 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11748 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
11750 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11751 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11753 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11754 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11756 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
11757 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11758 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11759 [__ASSUME_SENDMMSG]: Change conditionals to
11760 [__ASSUME_SENDMMSG_SOCKETCALL].
11761 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11762 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
11764 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11765 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
11767 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
11768 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11769 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11770 [!__ASSUME_SENDMMSG]: Change conditional to
11771 [!__ASSUME_SENDMMSG_SOCKETCALL].
11772 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11773 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11777 * sysdeps/unix/sysv/linux/kernel-features.h
11778 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
11779 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
11780 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
11781 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
11782 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11783 [__i386__ || __sparc__]
11784 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11785 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
11786 (__ASSUME_RECVMMSG): Define instead of using previous
11787 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
11788 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11789 (__ASSUME_RECVMMSG_SYSCALL): Define.
11790 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11791 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11793 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11794 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11796 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11797 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11799 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
11800 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11801 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11802 [__ASSUME_RECVMMSG]: Change condition to
11803 [__ASSUME_RECVMMSG_SOCKETCALL].
11804 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11805 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11807 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11808 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11809 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11811 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
11812 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11813 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11814 [!__ASSUME_RECVMMSG]: Change condition to
11815 [!__ASSUME_RECVMMSG_SOCKETCALL].
11816 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11817 (__ASSUME_RECVMMSG_SYSCALL): Define.
11820 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
11821 __powerpc__ || __s390__ || __sh__ || __sparc__]
11822 (__ASSUME_SOCKETCALL): Define.
11823 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
11824 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
11825 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
11826 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
11827 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11828 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11829 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
11830 (__ASSUME_ACCEPT4): Define instead of using previous
11831 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
11832 __powerpc__ || __sparc__ || __s390__)] condition.
11833 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11834 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11835 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
11836 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11837 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11838 [!__ASSUME_ACCEPT4]: Change condition to
11839 [!__ASSUME_ACCEPT4_SOCKETCALL].
11840 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11841 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
11842 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
11843 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11844 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
11845 __ASSUME_ACCEPT4_SYSCALL.
11846 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
11847 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
11848 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11849 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
11850 __ASSUME_ACCEPT4_SYSCALL.
11851 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
11852 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11853 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11854 [__ASSUME_ACCEPT4]: Change condition to
11855 [__ASSUME_ACCEPT4_SOCKETCALL].
11856 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11857 (__ASSUME_SOCKETCALL): Define.
11858 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
11859 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11860 (__ASSUME_SOCKETCALL): Define.
11861 (__ASSUME_ACCEPT4): Remove.
11862 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
11864 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11865 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
11867 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11868 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11870 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
11872 (HWCAP_ARM_LPAE): Likewise.
11873 (HWCAP_ARM_EVTSTRM): Likewise.
11874 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
11875 Add vpfd32, lpae and evtstrm.
11876 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
11879 2014-02-19 Joseph Myers <joseph@codesourcery.com>
11881 * math/auto-libm-test-in: Add tests of clog10.
11882 * math/auto-libm-test-out: Regenerated.
11883 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
11884 * sysdeps/i386/fpu/libm-test-ulps: Update.
11885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11887 2014-02-18 Andreas Schwab <schwab@suse.de>
11890 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
11891 Store non-zero if the second buffer was newly allocated.
11892 (send_dg): Likewise.
11893 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
11894 to send_vc and send_dg.
11895 (res_nsend): Pass NULL for ansp2_malloced.
11896 * resolv/res_query.c (__libc_res_nquery): Add parameter
11897 answerp2_malloced and pass it down to __libc_res_nsend.
11898 (res_nquery): Pass additional NULL to __libc_res_nquery.
11899 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
11900 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
11901 second answer buffer if answerp2_malloced was set.
11902 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
11903 (__libc_res_nquerydomain): Add parameter
11904 answerp2_malloced and pass it down to __libc_res_nquery.
11905 (res_nquerydomain): Pass additional NULL to
11906 __libc_res_nquerydomain.
11907 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
11908 additional NULL to __libc_res_nsend and __libc_res_nquery.
11909 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
11910 additional NULL to __libc_res_nsearch.
11911 (_nss_dns_gethostbyname4_r): Revert last change. Use new
11912 parameter of __libc_res_nsearch to check for separately allocated
11914 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
11916 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
11917 additional NULL to __libc_res_nquery.
11918 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
11919 __libc_res_nsearch.
11920 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
11921 * include/resolv.h: Update prototypes of __libc_res_nquery,
11922 __libc_res_nsearch, __libc_res_nsend.
11924 2014-02-18 Joseph Myers <joseph@codesourcery.com>
11926 * math/auto-libm-test-in: Add tests of fma.
11927 * math/auto-libm-test-out: Regenerated.
11928 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
11929 (fma_towardzero_test_data): Likewise.
11930 (fma_downward_test_data): Likewise.
11931 (fma_upward_test_data): Likewise.
11932 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
11934 (rounding_modes): Add values for new field.
11935 (func_calc_method): Add value mpfr_fff_f.
11936 (func_calc_desc): Add mpfr_fff_f union field.
11937 (test_function): Add field exact_args.
11938 (FUNC): Add macro argument EXACT_ARGS.
11939 (FUNC_mpfr_f_f): Update call to FUNC.
11940 (FUNC_mpfr_f_f): Likewise.
11941 (FUNC_mpfr_ff_f): Likewise.
11942 (FUNC_mpfr_if_f): Likewise.
11943 (FUNC_mpc_c_f): Likewise.
11944 (FUNC_mpc_c_c): Likewise.
11945 (test_functions): Add fma. Update calls to FUNC.
11946 (handle_input_arg): Add argument exact_args.
11947 (add_test): Update call to handle_input_arg.
11948 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
11949 (output_for_one_input_case): Update call to calc_generic_results.
11950 Recalculate exact zero results in each rounding mode.
11952 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
11953 non-negative before setting low bit.
11954 * math/auto-libm-test-in: Mark one asin test possibly having
11955 spurious underflow.
11956 * math/auto-libm-test-out: Regenerated.
11957 * sysdeps/i386/fpu/libm-test-ulps: Update.
11958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11960 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
11962 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
11963 * sysdeps/unix/sysv/linux/microblaze: Move directory from
11964 ports/sysdeps/unix/sysv/linux/microblaze.
11965 * README: Add missing listing for microblaze*-*-linux-gnu.
11967 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
11969 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
11972 2014-02-16 Mike Frysinger <vapier@gentoo.org>
11974 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
11975 * sysdeps/unix/sysv/linux/ia64: Move directory from
11976 ports/sysdeps/unix/sysv/linux/ia64.
11977 * README: Update listing for ia64-*-linux-gnu.
11979 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
11980 Joseph Myers <joseph@codesourcery.com>
11982 * Makeconfig (test-name): New variable.
11983 (evaluate-test): Likewise.
11984 * Makerules (do-test-clean): Remove .test-result files.
11985 (common-mostlyclean): Likewise.
11986 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
11987 * scripts/evaluate-test.sh: New file.
11989 2014-02-14 Joseph Myers <joseph@codesourcery.com>
11991 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
11992 separate $(objpfx)tst-fopenloc-cmp.out and
11993 $(objpfx)tst-fopenloc-mem.out targets.
11994 (tests): Update dependencies.
11995 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
11996 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
11997 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
11998 (tst-rxspencer-no-utf8-ARGS): New variable.
11999 (tst-rxspencer-no-utf8-ENV): Likewise.
12000 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
12001 instead of $(objpfx)tst-rxspencer-mem.
12002 ($(objpfx)tst-rxspencer-mem): Change target to
12003 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
12004 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
12005 * posix/tst-rxspencer-no-utf8.c: New file.
12007 * elf/Makefile ($(objpfx)order.out): Remove rule.
12008 [$(run-built-tests) = yes] (tests): Depend on
12009 $(objpfx)order-cmp.out.
12010 ($(objpfx)order-cmp.out): New rule.
12011 [$(run-built-tests) = yes] (tests): Depend on
12012 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
12013 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
12014 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
12015 $(objpfx)tst-array5-static-cmp.out.
12016 ($(objpfx)tst-array1.out): Remove rule.
12017 ($(objpfx)tst-array1-cmp.out): New rule.
12018 ($(objpfx)tst-array1-static.out): Remove rule.
12019 ($(objpfx)tst-array1-static-cmp.out): New rule.
12020 ($(objpfx)tst-array2.out): Remove rule.
12021 ($(objpfx)tst-array2-cmp.out): New rule.
12022 ($(objpfx)tst-array3.out): Remove rule.
12023 ($(objpfx)tst-array3-cmp.out): New rule.
12024 ($(objpfx)tst-array4.out): Remove rule.
12025 ($(objpfx)tst-array4-cmp.out): New rule.
12026 ($(objpfx)tst-array5.out): Remove rule.
12027 ($(objpfx)tst-array5-cmp.out): New rule.
12028 ($(objpfx)tst-array5-static.out): Remove rule.
12029 ($(objpfx)tst-array5-static-cmp.out): New rule.
12030 [$(run-built-tests) = yes] (tests): Depend on
12031 $(objpfx)order2-cmp.out.
12032 ($(objpfx)order2.out): Remove rule.
12033 ($(objpfx)order2-cmp.out): New rule.
12034 ($(objpfx)tst-initorder.out): Remove rule.
12035 [$(run-built-tests) = yes] (tests): Depend on
12036 $(objpfx)tst-initorder-cmp.out.
12037 ($(objpfx)tst-initorder-cmp.out): New rule.
12038 ($(objpfx)tst-initorder2.out): Remove rule.
12039 [$(run-built-tests) = yes] (tests): Depend on
12040 $(objpfx)tst-initorder2-cmp.out.
12041 ($(objpfx)tst-initorder2-cmp.out): New rule.
12042 [$(run-built-tests) = yes] (tests): Depend on
12043 $(objpfx)tst-unused-dep-cmp.out.
12044 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
12045 ($(objpfx)tst-unused-dep-cmp.out): New rule.
12046 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
12047 on $(objpfx)tst-setvbuf1-cmp.out.
12048 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
12049 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
12050 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
12051 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
12052 ($(objpfx)tst-svc.out): Remove rule.
12053 ($(objpfx)tst-svc-cmp.out): New rule.
12055 2014-02-13 Joseph Myers <joseph@codesourcery.com>
12057 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
12058 * ctype/ctype.h [__USE_MISC]: Likewise.
12059 * dirent/dirent.h [__USE_MISC]: Likewise.
12060 * grp/grp.h [__USE_MISC]: Likewise.
12061 * io/fcntl.h [__USE_MISC]: Likewise.
12062 * io/sys/stat.h [__USE_MISC]: Likewise.
12063 * libio/stdio.h [__USE_MISC]: Likewise.
12064 * posix/unistd.h [__USE_MISC]: Likewise.
12065 * pwd/pwd.h [__USE_MISC]: Likewise.
12066 * stdlib.h [__USE_MISC]: Likewise.
12067 * string/bits/string2.h [__USE_MISC]: Likewise.
12068 * string/string.h [__USE_MISC]: Likewise.
12069 * time/time.h [__USE_MISC]: Likewise.
12071 2014-02-13 Andreas Schwab <schwab@suse.de>
12074 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
12075 second answer buffer if it was separately allocated.
12077 2014-02-12 Joseph Myers <joseph@codesourcery.com>
12079 * sysdeps/mips/math-tests.h: Include <features.h>.
12080 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12081 (ROUNDING_TESTS_long_double): Do not define.
12082 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12083 (EXCEPTION_TESTS_long_double): Likewise.
12084 * sysdeps/mips/mips64/libm-test-ulps: Update.
12086 * include/features.h (__USE_BSD): Remove macro definitions.
12087 (__USE_SVID): Likewise.
12088 (_BSD_SOURCE): Likewise.
12089 (_SVID_SOURCE): Likewise.
12090 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
12091 from definition of _DEFAULT_SOURCE.
12092 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
12094 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
12095 * bits/mman.h [__USE_BSD]: Likewise.
12096 * bits/termios.h [__USE_BSD]: Likewise.
12097 * bits/waitstatus.h [__USE_BSD]: Likewise.
12098 * ctype/ctype.h [__USE_SVID]: Likewise.
12099 * dirent/dirent.h [__USE_BSD]: Likewise.
12100 * grp/grp.h [__USE_SVID]: Likewise.
12101 [__USE_BSD]: Likewise.
12102 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
12103 * io/fcntl.h [__USE_BSD]: Likewise.
12104 * io/ftw.h [__USE_BSD]: Likewise.
12105 * io/sys/stat.h [__USE_BSD]: Likewise.
12106 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
12107 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
12108 * libio/stdio.h [__USE_SVID]: Likewise.
12109 [__USE_BSD]: Likewise.
12110 * math/math.h [__USE_SVID]: Likewise.
12111 [__USE_BSD]: Likewise.
12112 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
12113 * misc/bits/syslog.h [__USE_BSD]: Likewise.
12114 * misc/search.h [__USE_SVID]: Likewise.
12115 * misc/sys/mman.h [__USE_BSD]: Likewise.
12116 * misc/sys/syslog.h [__USE_BSD]: Likewise.
12117 * misc/sys/uio.h [__USE_BSD]: Likewise.
12118 * posix/bits/unistd.h [__USE_BSD]: Likewise.
12119 * posix/glob.h [__USE_BSD]: Likewise.
12120 * posix/regex.h [__USE_BSD]: Likewise.
12121 * posix/sys/types.h [__USE_BSD]: Likewise.
12122 [__USE_SVID]: Likewise.
12123 * posix/sys/utsname.h [__USE_SVID]: Likewise.
12124 * posix/sys/wait.h [__USE_BSD]: Likewise.
12125 [__USE_SVID]: Likewise.
12126 * posix/unistd.h [__USE_BSD]: Likewise.
12127 [__USE_SVID]: Likewise.
12128 * pwd/pwd.h [__USE_SVID]: Likewise.
12129 * resolv/netdb.h [__USE_BSD]: Likewise.
12130 * setjmp/setjmp.h [__USE_BSD]: Likewise.
12131 * signal/signal.h [__USE_BSD]: Likewise.
12132 [__USE_SVID]: Likewise.
12133 * socket/sys/socket.h [__USE_BSD]: Likewise.
12134 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
12135 * stdlib/stdlib.h [__USE_BSD]: Likewise.
12136 [__USE_SVID]: Likewise.
12137 * string/bits/string2.h [__USE_BSD]: Likewise.
12138 [__USE_SVID]: Likewise.
12139 * string/bits/string3.h [__USE_BSD]: Likewise.
12140 * string/endian.h [__USE_BSD]: Likewise.
12141 * string/string.h [__USE_SVID]: Likewise.
12142 [__USE_BSD]: Likewise.
12143 * string/strings.h [__USE_BSD]: Likewise.
12144 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
12145 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
12146 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
12147 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
12148 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
12149 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
12151 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
12153 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
12154 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
12156 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
12157 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
12159 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
12161 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
12162 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
12163 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
12165 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
12167 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
12168 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
12169 * termios/termios.h [__USE_BSD]: Likewise.
12170 * time/sys/time.h [__USE_BSD]: Likewise.
12171 * time/time.h [__USE_BSD]: Likewise.
12172 [__USE_SVID]: Likewise.
12174 * Makefile (subdir_targets): Remove subdir_lint.out.
12176 * stdio-common/Makefile (do-tst-unbputc): Remove target.
12177 (do-tst-printf): Likewise.
12178 (tests): Depend directly on $(objpfx)tst-unbputc.out and
12179 $(objpfx)tst-printf.out.
12181 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
12183 * Makerules (check-abi-%): Change target to
12184 $(objpfx)check-abi-%.out.
12185 (check-abi target): Update dependencies.
12186 (check-abi-pattern variable): Redirect output of diff to $@.
12187 (check-abi variable): Likewise.
12188 * elf/Makefile (check-abi): Update dependencies.
12190 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
12192 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
12193 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
12195 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
12196 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
12197 value has largest subnormal exponent.
12198 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
12199 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
12200 * sysdeps/aarch64/soft-fp/sfp-machine.h
12201 (_FP_TININESS_AFTER_ROUNDING): New macro.
12202 * sysdeps/alpha/soft-fp/sfp-machine.h
12203 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12204 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12206 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
12207 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12208 * sysdeps/mips/soft-fp/sfp-machine.h
12209 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12210 * sysdeps/powerpc/soft-fp/sfp-machine.h
12211 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12212 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12214 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12215 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12216 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12217 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12218 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12221 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
12224 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
12227 2014-02-12 Richard Henderson <rth@redhat.com>
12229 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
12230 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
12231 * sysdeps/unix/sysv/linux/alpha: Move directory from
12232 ports/sysdeps/unix/sysv/linux/alpha.
12233 * README: Update listing for alpha-*-linux-gnu.
12235 2014-02-11 Joseph Myers <joseph@codesourcery.com>
12237 * include/features.h: Update comment documenting feature test
12239 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
12241 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
12242 (_SVID_SOURCE): Likewise.
12243 (_DEFAULT_SOURCE): Update description of default features.
12244 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
12246 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
12247 (S_ISVTX): Likewise.
12248 * manual/math.texi (Mathematical Constants): Likewise.
12249 * manual/signal.texi (Interrupted Primitives): Likewise.
12250 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
12251 * math/test-matherr.c (_SVID_SOURCE): Do not define.
12252 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
12253 Don't refer to _SVID_SOURCE in warning text.
12255 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12257 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
12259 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
12260 * sysdeps/mips/dl-lookup.c: Remove.
12261 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
12263 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12266 * math/auto-libm-test-in: Add testcase for expl.
12267 * math/auto-libm-test-out: Regenerate.
12268 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
12269 calculation of unsafe.
12270 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
12272 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
12274 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
12275 * sysdeps/unix/sysv/linux/aarch64: Move directory from
12276 ports/sysdeps/unix/sysv/linux/aarch64.
12277 * README: Update listing for aarch64*-*-linux-gnu.
12279 2014-02-11 Will Newton <will.newton@linaro.org>
12281 * manual/probes.texi (Mathematical Function Probes): Use
12282 "triggered" instead of "hit".
12284 * manual/probes.texi (Internal Probes): Add documentation
12285 of setjmp, longjmp and longjmp_target probes.
12287 * include/stap-probe.h: Add comment about probe argument
12290 * malloc/mtrace.c (attribute_hidden): Remove unused macro
12291 definition. (tr_where, tr_freehook, tr_mallochook,
12292 tr_reallochook, tr_memalignhook): Use ANSI protoype.
12294 2014-02-11 David S. Miller <davem@davemloft.net>
12296 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
12297 processing int_tests.
12299 2014-02-10 Joseph Myers <joseph@codesourcery.com>
12301 * sysdeps/mips: Move directory from ports/sysdeps/mips.
12302 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
12303 * sysdeps/unix/sysv/linux/mips: Move directory from
12304 ports/sysdeps/unix/sysv/linux/mips.
12305 * README: Update listing for mips-*-linux-gnu and
12306 mips64-*-linux-gnu.
12308 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
12310 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
12311 * sysdeps/unix/sysv/linux/m68k: Move directory from
12312 ports/sysdeps/unix/sysv/linux/m68k.
12313 * README: Update listing for m68k-*-linux-gnu.
12315 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
12317 * sysdeps/tile: Move directory from ports/sysdeps/tile.
12318 * sysdeps/unix/sysv/linux/generic: Move directory from
12319 ports/sysdeps/unix/sysv/linux/generic.
12320 * sysdeps/unix/sysv/linux/tile: Move directory from
12321 ports/sysdeps/unix/sysv/linux/tile.
12322 * README: Update listing for tile*-*-linux-gnu.
12324 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
12326 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
12328 * benchtests/bench-memmem.c (simple_memmem): Likewise.
12329 * catgets/open_catalog.c (__open_catalog): Likewise.
12330 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
12331 * debug/confstr_chk.c: Likewise.
12332 * debug/fread_chk.c (__fread_chk): Likewise.
12333 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
12334 * debug/getgroups_chk.c: Likewise.
12335 * debug/mbsnrtowcs_chk.c: Likewise.
12336 * debug/mbsrtowcs_chk.c: Likewise.
12337 * debug/mbstowcs_chk.c: Likewise.
12338 * debug/memcpy_chk.c: Likewise.
12339 * debug/memmove_chk.c: Likewise.
12340 * debug/mempcpy_chk.c: Likewise.
12341 * debug/memset_chk.c: Likewise.
12342 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12343 * debug/strcat_chk.c (__strcat_chk): Likewise.
12344 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
12345 * debug/strncat_chk.c (__strncat_chk): Likewise.
12346 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
12347 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
12348 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
12349 * debug/wcpncpy_chk.c: Likewise.
12350 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12351 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
12352 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
12353 * debug/wcsncpy_chk.c: Likewise.
12354 * debug/wcsnrtombs_chk.c: Likewise.
12355 * debug/wcsrtombs_chk.c: Likewise.
12356 * debug/wcstombs_chk.c: Likewise.
12357 * debug/wmemcpy_chk.c: Likewise.
12358 * debug/wmemmove_chk.c: Likewise.
12359 * debug/wmempcpy_chk.c: Likewise.
12360 * debug/wmemset_chk.c: Likewise.
12361 * dirent/scandirat.c (SCANDIRAT): Likewise.
12362 * dlfcn/dladdr1.c (dladdr1): Likewise.
12363 * dlfcn/dladdr.c (dladdr): Likewise.
12364 * dlfcn/dlclose.c (dlclose_doit): Likewise.
12365 * dlfcn/dlerror.c (__dlerror): Likewise.
12366 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
12367 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
12368 * dlfcn/dlopen.c (dlopen_doit): Likewise.
12369 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
12370 * dlfcn/dlsym.c (dlsym_doit): Likewise.
12371 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
12372 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
12373 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
12375 * elf/dl-conflict.c: Likewise.
12376 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
12377 * elf/dl-dst.h: Likewise.
12378 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
12379 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
12380 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
12381 * elf/dl-init.c (call_init, _dl_init): Likewise.
12382 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
12383 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
12384 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
12386 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
12388 * elf/dl-minimal.c (__libc_memalign): Likewise.
12389 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
12390 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12391 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
12392 * elf/dl-sym.c (do_sym): Likewise.
12393 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
12394 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
12395 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
12396 * elf/dl-writev.h (_dl_writev): Likewise.
12397 * elf/ldconfig.c (search_dir): Likewise.
12398 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
12399 (dl_main): Likewise.
12400 * elf/setup-vdso.h (setup_vdso): Likewise.
12401 * grp/compat-initgroups.c (compat_call): Likewise.
12402 * grp/fgetgrent.c (fgetgrent): Likewise.
12403 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
12404 * grp/putgrent.c (putgrent): Likewise.
12405 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12407 * hurd/hurdinit.c: Likewise.
12408 * iconvdata/8bit-gap.c (struct): Likewise.
12409 * iconvdata/ansi_x3.110.c : Likewise.
12410 * iconvdata/big5.c : Likewise.
12411 * iconvdata/big5hkscs.c : Likewise.
12412 * iconvdata/cp1255.c: Likewise.
12413 * iconvdata/cp1258.c : Likewise.
12414 * iconvdata/cp932.c : Likewise.
12415 * iconvdata/euc-cn.c: Likewise.
12416 * iconvdata/euc-jisx0213.c : Likewise.
12417 * iconvdata/euc-jp.c: Likewise.
12418 * iconvdata/euc-jp-ms.c : Likewise.
12419 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
12420 * iconvdata/gb18030.c : Likewise.
12421 * iconvdata/gbbig5.c (const): Likewise.
12422 * iconvdata/gbgbk.c: Likewise.
12423 * iconvdata/gbk.c : Likewise.
12424 * iconvdata/ibm1364.c : Likewise.
12425 * iconvdata/ibm930.c : Likewise.
12426 * iconvdata/ibm932.c: Likewise.
12427 * iconvdata/ibm933.c : Likewise.
12428 * iconvdata/ibm935.c : Likewise.
12429 * iconvdata/ibm937.c : Likewise.
12430 * iconvdata/ibm939.c : Likewise.
12431 * iconvdata/ibm943.c: Likewise.
12432 * iconvdata/iso_11548-1.c: Likewise.
12433 * iconvdata/iso-2022-cn.c : Likewise.
12434 * iconvdata/iso-2022-cn-ext.c : Likewise.
12435 * iconvdata/iso-2022-jp-3.c: Likewise.
12436 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
12437 * iconvdata/iso-2022-kr.c : Likewise.
12438 * iconvdata/iso646.c (gconv_end): Likewise.
12439 * iconvdata/iso_6937-2.c : Likewise.
12440 * iconvdata/iso_6937.c : Likewise.
12441 * iconvdata/iso8859-1.c: Likewise.
12442 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
12443 * iconvdata/shift_jisx0213.c : Likewise.
12444 * iconvdata/sjis.c : Likewise.
12445 * iconvdata/t.61.c : Likewise.
12446 * iconvdata/tcvn5712-1.c : Likewise.
12447 * iconvdata/tscii.c: Likewise.
12448 * iconvdata/uhc.c : Likewise.
12449 * iconvdata/unicode.c (gconv_end): Likewise.
12450 * iconvdata/utf-16.c (gconv_end): Likewise.
12451 * iconvdata/utf-32.c (gconv_end): Likewise.
12452 * iconvdata/utf-7.c (base64): Likewise.
12453 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
12454 * iconv/gconv_close.c (__gconv_close): Likewise.
12455 * iconv/gconv_open.c (__gconv_open): Likewise.
12456 * iconv/gconv_simple.c (internal_ucs4_loop_single)
12457 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
12458 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
12459 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
12460 (ucs4le_internal_loop_single): Likewise.
12461 * iconv/iconv.c (iconv): Likewise.
12462 * iconv/iconv_close.c: Likewise.
12463 * iconv/loop.c (SINGLE): Likewise.
12464 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
12465 * include/atomic.h: Likewise.
12466 * inet/inet6_option.c (option_alloc): Likewise.
12467 * intl/bindtextdom.c (set_binding_values): Likewise.
12468 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
12469 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
12470 * intl/localealias.c (read_alias_file): Likewise.
12471 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12472 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
12473 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
12474 * libio/fmemopen.c (fmemopen): Likewise.
12475 * libio/iofgets.c (_IO_fgets): Likewise.
12476 * libio/iofgets_u.c (fgets_unlocked): Likewise.
12477 * libio/iofgetws.c (fgetws): Likewise.
12478 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12479 * libio/iogetdelim.c (_IO_getdelim): Likewise.
12480 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
12481 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
12482 * locale/findlocale.c (_nl_find_locale): Likewise.
12483 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12484 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
12486 * locale/setlocale.c (setlocale): Likewise.
12487 * login/programs/pt_chown.c (main): Likewise.
12488 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
12489 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
12490 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
12491 (mmap, mmap64, mremap, munmap): Likewise.
12492 * math/e_exp2l.c: Likewise.
12493 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
12494 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
12495 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
12496 * math/s_catan.c (__catan): Likewise.
12497 * math/s_catanf.c (__catanf): Likewise.
12498 * math/s_catanh.c (__catanh): Likewise.
12499 * math/s_catanhf.c (__catanhf): Likewise.
12500 * math/s_catanhl.c (__catanhl): Likewise.
12501 * math/s_catanl.c (__catanl): Likewise.
12502 * math/s_ccosh.c (__ccosh): Likewise.
12503 * math/s_ccoshf.c (__ccoshf): Likewise.
12504 * math/s_ccoshl.c (__ccoshl): Likewise.
12505 * math/s_cexp.c (__cexp): Likewise.
12506 * math/s_cexpf.c (__cexpf): Likewise.
12507 * math/s_cexpl.c (__cexpl): Likewise.
12508 * math/s_clog10.c (__clog10): Likewise.
12509 * math/s_clog10f.c (__clog10f): Likewise.
12510 * math/s_clog10l.c (__clog10l): Likewise.
12511 * math/s_clog.c (__clog): Likewise.
12512 * math/s_clogf.c (__clogf): Likewise.
12513 * math/s_clogl.c (__clogl): Likewise.
12514 * math/s_csin.c (__csin): Likewise.
12515 * math/s_csinf.c (__csinf): Likewise.
12516 * math/s_csinh.c (__csinh): Likewise.
12517 * math/s_csinhf.c (__csinhf): Likewise.
12518 * math/s_csinhl.c (__csinhl): Likewise.
12519 * math/s_csinl.c (__csinl): Likewise.
12520 * math/s_csqrt.c (__csqrt): Likewise.
12521 * math/s_csqrtf.c (__csqrtf): Likewise.
12522 * math/s_csqrtl.c (__csqrtl): Likewise.
12523 * math/s_ctan.c (__ctan): Likewise.
12524 * math/s_ctanf.c (__ctanf): Likewise.
12525 * math/s_ctanh.c (__ctanh): Likewise.
12526 * math/s_ctanhf.c (__ctanhf): Likewise.
12527 * math/s_ctanhl.c (__ctanhl): Likewise.
12528 * math/s_ctanl.c (__ctanl): Likewise.
12529 * math/w_pow.c: Likewise.
12530 * math/w_powf.c: Likewise.
12531 * math/w_powl.c: Likewise.
12532 * math/w_scalb.c (sysv_scalb): Likewise.
12533 * math/w_scalbf.c (sysv_scalbf): Likewise.
12534 * math/w_scalbl.c (sysv_scalbl): Likewise.
12535 * misc/error.c (error_tail): Likewise.
12536 * misc/pselect.c (__pselect): Likewise.
12537 * nis/nis_callback.c (__nis_create_callback): Likewise.
12538 * nis/nis_call.c (__nisfind_server): Likewise.
12539 * nis/nis_creategroup.c (nis_creategroup): Likewise.
12540 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
12541 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
12542 * nis/nis_getservlist.c (nis_getservlist): Likewise.
12543 * nis/nis_lookup.c (nis_lookup): Likewise.
12544 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
12545 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
12546 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
12547 * nis/nis_xdr.c (xdr_endpoint): Likewise.
12548 * nis/nss_compat/compat-grp.c (getgrent_next_file)
12549 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
12550 * nis/nss_compat/compat-initgroups.c (add_group)
12551 (internal_getgrent_r): Likewise.
12552 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
12553 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
12554 * nis/nss_compat/compat-spwd.c (getspent_next_file)
12555 (internal_getspnam_r): Likewise.
12556 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
12557 (_nss_nis_getaliasbyname_r): Likewise.
12558 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
12559 (_nss_nis_getntohost_r): Likewise.
12560 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
12561 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
12562 (_nss_nis_getgrgid_r): Likewise.
12563 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
12564 (internal_nis_gethostent_r, internal_gethostbyname2_r)
12565 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
12566 (_nss_nis_gethostbyname4_r): Likewise.
12567 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
12568 (initgroups_netid): Likewise.
12569 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
12570 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
12571 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
12572 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
12573 (_nss_nis_getprotobynumber_r): Likewise.
12574 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
12575 (_nss_nis_getsecretkey): Likewise.
12576 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
12577 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
12578 (_nss_nis_getpwuid_r): Likewise.
12579 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
12580 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
12581 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
12582 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
12583 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
12584 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
12585 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12587 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
12588 (_nss_nisplus_getntohost_r): Likewise.
12589 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
12590 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
12591 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
12592 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
12594 * nis/nss_nisplus/nisplus-initgroups.c
12595 (_nss_nisplus_initgroups_dyn): Likewise.
12596 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
12597 (_nss_nisplus_getnetbyaddr_r): Likewise.
12598 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
12599 (_nss_nisplus_getprotobynumber_r): Likewise.
12600 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
12601 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
12602 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
12604 * nis/nss_nisplus/nisplus-service.c
12605 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
12606 (_nss_nisplus_getservbyport_r): Likewise.
12607 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
12608 (_nss_nisplus_getspnam_r): Likewise.
12609 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
12611 * nscd/aicache.c (addhstaiX): Likewise.
12612 * nscd/cache.c (cache_search, prune_cache): Likewise.
12613 * nscd/connections.c (register_traced_file, send_ro_fd)
12614 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
12615 (main_loop_epoll): Likewise.
12616 * nscd/grpcache.c (addgrbyX): Likewise.
12617 * nscd/hstcache.c (addhstbyX): Likewise.
12618 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12619 * nscd/mem.c (gc, mempool_alloc): Likewise.
12620 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
12621 (addinnetgrX): Likewise.
12622 * nscd/nscd-client.h (__nscd_acquire_maplock)
12623 (__nscd_drop_map_ref): Likewise.
12624 * nscd/nscd_getai.c (__nscd_getai): Likewise.
12625 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12626 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
12628 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
12629 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12630 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
12631 (__nscd_get_map_ref): Likewise.
12632 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
12633 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
12635 * nscd/pwdcache.c (addpwbyX): Likewise.
12636 * nscd/selinux.c (preserve_capabilities): Likewise.
12637 * nscd/servicescache.c (addservbyX): Likewise.
12638 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
12639 * posix/fnmatch.c (fnmatch): Likewise.
12640 * posix/getopt.c (_getopt_internal_r): Likewise.
12641 * posix/glob.c (glob, glob_in_dir): Likewise.
12642 * posix/wordexp.c (exec_comm_child): Likewise.
12643 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
12644 (getanswer_r, gaih_getanswer_slice): Likewise.
12645 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
12646 * resolv/res_init.c: Likewise.
12647 * resolv/res_mkquery.c (res_nmkquery): Likewise.
12648 * resolv/res_query.c (__libc_res_nquery): Likewise.
12649 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
12651 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
12652 * stdio-common/perror.c (perror): Likewise.
12653 * stdio-common/printf_fp.c (___printf_fp): Likewise.
12654 * stdio-common/tmpnam.c (tmpnam): Likewise.
12655 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12656 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
12657 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12659 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12660 * stdlib/putenv.c (putenv): Likewise.
12661 * stdlib/setenv.c (__add_to_environ): Likewise.
12662 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12663 * stdlib/strtol_l.c (INTERNAL): Likewise.
12664 * string/memmem.c (memmem): Likewise.
12665 * string/strerror.c (strerror): Likewise.
12666 * string/strnlen.c (__strnlen): Likewise.
12667 * string/test-memmem.c (simple_memmem): Likewise.
12668 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
12669 * sunrpc/pm_getport.c (__get_socket): Likewise.
12670 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
12671 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
12672 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
12673 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
12675 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12676 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12677 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
12678 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
12679 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
12680 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
12682 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
12684 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
12685 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
12686 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12687 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12688 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12689 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
12690 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12691 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
12692 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
12693 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12694 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12695 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
12697 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
12699 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
12701 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
12702 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12703 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
12704 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
12705 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12706 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
12707 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12708 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
12709 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
12710 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
12711 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
12712 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12713 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12714 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
12715 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12716 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12718 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
12720 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
12722 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
12724 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12725 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12726 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
12728 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
12729 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
12730 * sysdeps/posix/opendir.c (__opendirat): Likewise.
12731 * sysdeps/posix/sleep.c: Likewise.
12732 * sysdeps/posix/tempname.c: Likewise.
12733 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
12734 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12736 * sysdeps/powerpc/powerpc32/dl-machine.h
12737 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
12738 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12739 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12740 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
12741 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
12743 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
12744 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
12745 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
12746 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
12747 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
12748 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
12749 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
12750 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
12751 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12752 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
12753 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
12754 (elf_machine_lazy_rel): Likewise.
12755 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12756 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
12757 (elf_machine_lazy_rel): Likewise.
12758 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
12759 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
12760 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
12761 * sysdeps/unix/grantpt.c (grantpt): Likewise.
12762 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
12763 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
12764 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
12765 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12767 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12768 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12769 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
12770 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
12771 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12772 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12773 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
12774 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
12775 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
12776 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12777 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12779 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
12780 (__posix_fallocate64_l64): Likewise.
12781 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
12782 (posix_fallocate): Likewise.
12783 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12785 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12786 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
12787 (getifaddrs_internal): Likewise.
12788 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
12789 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
12790 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
12791 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
12792 * sysdeps/unix/sysv/linux/posix_fallocate64.c
12793 (__posix_fallocate64_l64): Likewise.
12794 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
12796 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
12797 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
12798 (__get_clockfreq): Likewise.
12799 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
12800 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
12801 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
12802 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12803 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12804 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
12805 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
12806 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
12808 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
12809 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
12810 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12811 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
12812 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12813 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
12814 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
12816 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12817 (posix_fallocate): Likewise.
12818 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12819 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
12820 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
12821 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
12822 (elf_machine_rela, elf_machine_rela_relative)
12823 (elf_machine_lazy_rel): Likewise.
12824 * time/asctime.c (asctime_internal): Likewise.
12825 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
12826 * time/tzset.c (__tzset_parse_tz): Likewise.
12827 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12828 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12829 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
12830 * wcsmbs/wcsmbsload.h: Likewise.
12833 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
12835 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
12836 (arena_get2): Remove THREAD_STATS conditionals.
12837 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
12838 (__malloc_stats, int): Likewise.
12840 2014-02-08 Mike Frysinger <vapier@gentoo.org>
12842 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
12843 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
12845 * manual/setjmp.texi: Fix typos/grammar errors.
12847 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
12848 Only return early when n is <= 0. Delete unused return statement.
12850 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
12851 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
12852 * debug/tst-longjmp_chk3.c: New file.
12854 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
12855 (test_main): Replace code with set_fortify_handler call.
12856 * debug/test-strcpy_chk.c: Likewise.
12857 * debug/tst-chk1.c: Likewise.
12858 * debug/tst-longjmp_chk.c: Likewise.
12859 * test-skeleton.c: Include fcntl.h & paths.h
12860 (set_fortify_handler): Define.
12862 * debug/tst-longjmp_chk.c: Add header comment and include
12863 ../test-skeleton.c.
12864 (do_test): Mark static.
12865 (TEST_FUNCTION): Define.
12867 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
12868 (IP_PMTUDISC_INTERFACE): Likewise.
12869 (IP_MULTICAST_IF): Likewise.
12870 (IP_MULTICAST_TTL): Likewise.
12871 (IP_MULTICAST_LOOP): Likewise.
12872 (IP_ADD_MEMBERSHIP): Likewise.
12873 (IP_DROP_MEMBERSHIP): Likewise.
12874 (IP_UNBLOCK_SOURCE): Likewise.
12875 (IP_BLOCK_SOURCE): Likewise.
12876 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
12877 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
12878 (IP_MSFILTER): Likewise.
12879 (MCAST_JOIN_GROUP): Likewise.
12880 (MCAST_BLOCK_SOURCE): Likewise.
12881 (MCAST_UNBLOCK_SOURCE): Likewise.
12882 (MCAST_LEAVE_GROUP): Likewise.
12883 (MCAST_JOIN_SOURCE_GROUP): Likewise.
12884 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12885 (MCAST_MSFILTER): Likewise.
12886 (IP_MULTICAST_ALL): Likewise.
12887 (IP_UNICAST_IF): Likewise.
12889 * timezone/Makefile: Delete $(have-ksh) check.
12890 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
12891 * timezone/tzselect.ksh: Add +x mode bits.
12893 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
12894 (ANON_INODE_FS_MAGIC): Likewise.
12895 (BDEVFS_MAGIC): Likewise.
12896 (BINFMTFS_MAGIC): Likewise.
12897 (BTRFS_TEST_MAGIC): Likewise.
12898 (CRAMFS_MAGIC_WEND): Likewise.
12899 (DEBUGFS_MAGIC): Likewise.
12900 (ECRYPTFS_SUPER_MAGIC): Likewise.
12901 (EXT3_SUPER_MAGIC): Likewise.
12902 (EXT4_SUPER_MAGIC): Likewise.
12903 (FUTEXFS_SUPER_MAGIC): Likewise.
12904 (HOSTFS_SUPER_MAGIC): Likewise.
12905 (HUGETLBFS_MAGIC): Likewise.
12906 (MINIX3_SUPER_MAGIC): Likewise.
12907 (MTD_INODE_FS_MAGIC): Likewise.
12908 (NILFS_SUPER_MAGIC): Likewise.
12909 (OPENPROM_SUPER_MAGIC): Likewise.
12910 (PIPEFS_MAGIC): Likewise.
12911 (PSTOREFS_MAGIC): Likewise.
12912 (QNX6_SUPER_MAGIC): Likewise.
12913 (RAMFS_MAGIC): Likewise.
12914 (REISERFS_SUPER_MAGIC_STRING): Likewise.
12915 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
12916 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
12917 (SECURITYFS_MAGIC): Likewise.
12918 (SELINUX_MAGIC): Likewise.
12919 (SMACK_MAGIC): Likewise.
12920 (SOCKFS_MAGIC): Likewise.
12921 (SQUASHFS_MAGIC): Likewise.
12922 (STACK_END_MAGIC): Likewise.
12923 (TMPFS_MAGIC): Likewise.
12924 (USBDEVICE_SUPER_MAGIC): Likewise.
12925 (V9FS_MAGIC): Likewise.
12926 (XENFS_SUPER_MAGIC): Likewise.
12927 (CRAMFS_MAGIC): Fix typo in comment.
12928 (EXT2_SUPER_MAGIC): Update comment.
12929 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
12931 2014-02-08 Joseph Myers <joseph@codesourcery.com>
12933 * sysdeps/arm: Move directory from ports/sysdeps/arm.
12934 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
12935 * sysdeps/unix/sysv/linux/arm: Move directory from
12936 ports/sysdeps/unix/sysv/linux/arm.
12937 * README: Update listing for arm-*-linux-gnueabi.
12939 * README: Remove mention of am33.
12941 2014-02-07 Roland McGrath <roland@hack.frob.com>
12943 * bits/sigset.h (__sigemptyset): Use a statement expression rather
12944 than the comma operator, to avoid "rhs of comma has no effect"
12946 (__sigfillset, __sigandset, __sigorset): Likewise.
12947 * include/signal.h (__sigemptyset): Likewise.
12948 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
12950 2014-02-07 Allan McRae <allan@archlinux.org>
12952 * version.h (RELEASE): Set to "development".
12953 (VERSION): Set to "2.19.90"
12954 * NEWS: Add 2.20 section.
12956 2014-02-06 Carlos O'Donell <carlos@redhat.com>
12959 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
12961 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12963 * manual/contrib.texi: Update entry for Carlos O'Donell,
12964 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
12966 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
12968 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
12970 * sysdeps/unix/sysv/linux/kernel-features.h
12971 [__LINUX_KERNEL_VERSION >= 0x020621]
12972 (__ASSUME_PROC_PID_TASK_COMM): Define.
12974 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12977 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
12978 conversion when destination buffer does not have enough space.
12979 * libio/tst-ftell-partial-wide.c: New test case.
12980 * libio/Makefile (tests): Add tst-ftell-partial-wide.
12982 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
12983 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
12984 Leonard and Allan McRae.
12986 2014-02-04 David S. Miller <davem@davemloft.net>
12988 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
12991 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13020 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13022 * nptl/shlib-versions: Change powerpc*le start to 2.17.
13023 * shlib-versions: Likewise.
13025 2014-02-04 Roland McGrath <roland@hack.frob.com>
13026 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13028 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
13029 (abilist-pattern): New variable, set to %-le.abilist.
13031 * Makerules (abilist-pattern): New variable.
13032 (vpath): Use $(abilist-pattern) in place of %.abilist.
13033 (check-abi-% pattern rule): Likewise.
13034 (check-abi, update-abi): Likewise.
13036 2014-02-04 Eric Wong <normalperson@yhbt.net>
13038 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13040 2014-02-03 Carlos O'Donell <carlos@redhat.com>
13042 * manual/startup.texi: Add next, previous, and top entries for
13043 the `Program Arguments' and `Environment Variables' nodes.
13045 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
13047 * manual/macros.texi: Add comments before MTASC-safety macros.
13049 * manual/users.texi: Document MTASC-safety properties.
13051 * manual/threads.texi (pthread_key_create, pthread_key_delete)
13052 (pthread_getspecific, pthread_setspecific): Format with
13053 @deftypefun, and add @safety note.
13054 * manual/signal.texi: Move comments that analyze the above
13055 functions to their home place.
13057 2014-02-03 Allan McRae <allan@archlinux.org>
13059 * po/sl.po: Update Slovenian translation from translation project.
13061 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
13063 * manual/time.texi (timegm): Add missing blank after @c.
13064 Reported by Joseph Myers <joseph@codesourcery.com>.
13066 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
13068 * manual/check-safety.sh: New.
13069 * manual/Makefile ($(objpfx)stamp-summary): Run it.
13071 * manual/terminal.texi: Document MTASC-safety properties.
13073 * manual/filesys.texi: Document MTASC-safety properties.
13075 * manual/errno.texi: Document MTASC-safety properties.
13077 * manual/intro.texi: Document safety identifiers and
13080 * manual/string.texi (wcstok): Fix prototype.
13081 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
13083 * manual/time.texi: Document MTASC-safety properties.
13085 * manual/string.texi: Document MTASC-safety properties.
13087 * manual/threads.texi: Document MTASC-safety properties.
13089 * manual/stdio.texi: Document MTASC-safety properties.
13091 * manual/syslog.texi: Document MTASC-safety properties.
13093 * manual/sysinfo.texi: Document MTASC-safety properties.
13095 * manual/startup.texi: Document MTASC-safety properties.
13097 * manual/socket.texi: Document MTASC-safety properties.
13099 * manual/signal.texi: Document MTASC-safety properties.
13101 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
13103 * manual/setjmp.texi: Document MTASC-safety properties.
13105 * manual/search.texi: Document MTASC-safety properties.
13107 * manual/resource.texi: Document MTASC-safety properties.
13109 * manual/process.texi: Document MTASC-safety properties.
13111 * manual/platform.texi: Document MTASC-safety properties.
13113 * manual/pipe.texi: Document MTASC-safety properties.
13115 * manual/pattern.texi: Document MTASC-safety properties.
13117 * manual/message.texi: Document MTASC-safety properties.
13120 * manual/memory.texi: Document MTASC-safety properties.
13122 * manual/math.texi: Document MTASC-safety properties.
13124 * manual/locale.texi: Document MTASC-safety properties.
13126 * manual/llio.texi: Document MTASC-safety properties.
13128 * manual/libdl.texi: New.
13130 * manual/lang.texi: Document MTASC-safety properties.
13132 * manual/job.texi: Document MTASC-safety properties.
13134 * manual/getopt.texi: Document MTASC-safety properties.
13136 * manual/ctype.texi: Document MTASC-safety properties.
13138 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
13141 * csu/libc-tls.c (static_map): Remove variable.
13142 (__libc_setup_tls): Use main executable's link map for TLS data.
13143 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
13144 casing for LM_ID_BASE and GL(dl_nns).
13145 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
13146 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
13147 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
13148 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
13149 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
13151 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
13154 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
13156 * manual/debug.texi: Document MTASC-safety properties.
13158 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
13161 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
13162 of __x86_64__ when disabling x87 inline functions.
13164 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
13166 * manual/charset.texi: Document MTASC-safety properties.
13168 * manual/crypt.texi: Document MTASC-safety properties.
13170 * manual/conf.texi: Document MTASC-safety properties.
13172 * manual/arith.texi: Document MTASC-safety properties.
13174 * manual/argp.texi: Document MTASC-safety properties.
13176 * manual/macros.texi: Introduce macros to document multi
13177 thread, asynchronous signal and asynchronous cancellation
13179 * manual/intro.texi: Introduce the properties themselves.
13181 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13183 * sysdeps/sh/sh4/Makefile: New file.
13185 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
13187 * math/gen-libm-test.pl ($srcdir): New variable.
13188 ($auto_input): Use it.
13190 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13193 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
13194 access beyond array bounds when parsing netgroups file.
13196 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
13197 the old buffer before realloc.
13199 2014-01-27 Allan McRae <allan@archlinux.org>
13201 * po/fr.po: Update French translation from translation project.
13203 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13205 * sysdeps/sh/libm-test-ulps: Regenerate.
13207 2014-01-24 David S. Miller <davem@davemloft.net>
13209 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
13211 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13213 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
13214 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
13216 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13219 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
13220 string pointers after reallocation.
13222 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13224 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
13225 __SH4A__ instead of __SH_FPU_ANY__.
13227 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13229 * sysdeps/sh/fpu_control.h: New file.
13230 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
13231 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
13232 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
13233 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
13234 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
13235 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
13236 * sysdeps/sh/sys/ucontext.h: Remove.
13237 * sysdeps/sh/sys: Remove directory.
13239 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13241 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
13242 s390/sys/ucontext.h.
13243 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
13244 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
13246 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
13249 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
13251 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13254 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13255 Adjust the vDSO correctly for internal calls.
13256 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13258 2014-01-20 Allan McRae <allan@archlinux.org>
13260 * po/ca.po: Update Catalan translation from translation project.
13262 2014-01-16 Mike Frysinger <vapier@gentoo.org>
13264 * sysdeps/s390/sotruss-lib.c: New file.
13266 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13269 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
13270 (__GI___gettimeofday): Alias for a different internal symbol to avoid
13271 local calls issues by not having a PLT stub required for IFUNC calls.
13272 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
13274 2014-01-16 Joseph Myers <joseph@codesourcery.com>
13276 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
13277 * math/test-fpucw-static.c: Likewise.
13279 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13282 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
13284 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13286 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
13287 implementation for powerpc.
13289 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
13292 * sysdeps/posix/system.c (__libc_system): Do not enable
13293 asynchronous cancellation.
13295 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13298 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
13299 handling only for numbers special also in the IEEE case.
13301 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13303 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13305 2014-01-11 Allan McRae <allan@archlinux.org>
13307 * po/bg.po: Update Bulgarian translation from translation project.
13309 * po/de.po: Update German translation from translation project.
13311 2014-01-10 Roland McGrath <roland@hack.frob.com>
13313 * sysdeps/generic/gcc-compat.h: New file.
13315 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13317 * benchtests/asin-inputs: Correct slow inputs.
13318 * benchtests/acos-inputs: Likewise.
13320 2014-01-10 Allan McRae <allan@archlinux.org>
13322 * po:sv.po: Update Swedish translation from translation project.
13324 * po/vi.po: Update Vietnamese translation from translation project.
13326 * po/eo.po: Update Esperanto translation from translation project.
13328 * po/cs.po: Update Czech translation from translation project.
13330 * po/nl.po: Update Dutch translation from translation project.
13332 * po/pl.po: Update Polish translation from translation project.
13334 * po/ru.po: Update Russian translation from translation project.
13336 * po/uk.po: Update Ukrainian translation from translation project.
13338 2014-01-08 Brooks Moses <bmoses@google.com>
13340 * elf/dl-load.c: Fix comment typo.
13342 2014-01-08 Carlos O'Donell <carlos@redhat.com>
13344 * po/header.pot: Rename to...
13345 * po/pot.header: ... this.
13346 * po/Makefile: Use pot.header.
13348 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
13349 Maxim Kuvyrkov <maxim@kugelworks.com>
13352 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
13353 SRC and DEST against LEN.
13355 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13358 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
13360 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
13362 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13366 2014-01-08 Joseph Myers <joseph@codesourcery.com>
13369 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
13370 for large positive arguments.
13372 2014-01-07 Joseph Myers <joseph@codesourcery.com>
13374 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13376 * math/auto-libm-test-in: Mark various tests with
13377 xfail-rounding:ldbl-128ibm.
13378 * math/auto-libm-test-out: Regenerated.
13381 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13382 Increase overflow threshold.
13384 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
13387 * stdio-common/vfprintf.c: Check for integer overflow.
13389 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13391 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
13392 the first argument and return value of __tls_get_addr_internal.
13394 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13396 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
13397 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
13399 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13401 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
13402 * sysdeps/s390/rtld-global-offsets.sym: New file.
13403 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
13405 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
13406 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
13407 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13409 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
13410 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13416 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
13417 halfs of GPRs for high_gprs contexts.
13418 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
13419 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
13421 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
13423 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
13425 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
13426 for high GPRs (uc_high_gprs) and for future extensions
13428 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
13429 for future extensions (__reserved).
13430 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
13432 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
13433 SC_HIGHGPRS offset definition.
13434 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
13435 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
13437 * Versions.def: Add GLIBC_2.19 for libpthread.
13438 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
13439 siglongjmp for libpthread with GLIBC_2.19 symver.
13440 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
13441 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
13442 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
13443 * sysdeps/s390/__longjmp.c: New file.
13444 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
13445 * sysdeps/s390/longjmp.c: New file.
13446 * sysdeps/s390/setjmp.S: New file.
13447 * sysdeps/s390/sigjmp.S: New file.
13448 * sysdeps/s390/v1-longjmp.c: New file.
13449 * sysdeps/s390/v1-setjmp.h: New file.
13450 * sysdeps/s390/v1-sigjmp.c: New file.
13451 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
13452 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
13453 GLIBC_2.19 version.
13454 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
13455 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
13456 versioned symbols for ____longjmp_chk.
13457 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13467 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
13468 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
13469 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
13470 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
13471 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
13472 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
13473 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
13474 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
13475 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
13476 * sysdeps/s390/rtld-__longjmp.c: New file.
13477 * sysdeps/s390/rtld-setjmp.S: New file.
13479 2014-01-06 Joseph Myers <joseph@codesourcery.com>
13482 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13483 Return -__logl (x) for small positive arguments without evaluating
13486 2014-01-06 Mike Frysinger <vapier@gentoo.org>
13488 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
13490 (__ptrace_peeksiginfo_args): ... this.
13491 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13492 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13493 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13495 2014-01-06 Allan McRae <allan@archlinux.org>
13497 * inet/netinet/in.h: Fix typo in comment.
13499 2014-01-05 Andreas Jaeger <aj@suse.de>
13501 * sysdeps/i386/fpu/libm-test-ulps: Update.
13503 2014-01-05 Allan McRae <allan@archlinux.org>
13505 * po/libc.pot: Regenerated.
13507 * malloc/memusagestat.c: Fix gettext call formatting.
13509 2014-01-04 Sami Kerola <kerolasa@iki.fi>
13511 * nscd/nscd.c: Improve usage() output.
13513 2014-01-04 Mike Frysinger <vapier@gentoo.org>
13515 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
13516 * sysdeps/unix/sysv/linux/configure: Regenerated.
13517 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
13518 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
13520 2014-01-03 Joseph Myers <joseph@codesourcery.com>
13523 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13524 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
13526 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13528 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
13529 extra tokens at end of #undef directive.
13530 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
13531 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
13532 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13534 2014-01-03 Joseph Myers <joseph@codesourcery.com>
13536 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13538 * math/auto-libm-test-in: Mark various tests with
13539 xfail-rounding:ldbl-128ibm.
13540 * math/auto-libm-test-out: Regenerated.
13542 2014-01-02 Joseph Myers <joseph@codesourcery.com>
13545 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
13546 numbers with subnormal high part when calculating exponent.
13549 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
13553 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
13555 (__ieee754_acoshl): Use __log1pl not __log1p.
13557 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
13559 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
13560 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
13561 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
13562 (grow_heap, heap_trim, _int_new_arena, get_free_list)
13563 (reused_arena, arena_get2): Convert to GNU style.
13564 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
13565 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
13566 (memalign_check, __malloc_set_state): Likewise.
13567 * malloc/mallocbug.c (main): Likewise.
13568 * malloc/malloc.c (__malloc_assert, malloc_init_state)
13569 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
13570 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
13571 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
13572 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
13573 (__posix_memalign, malloc_info): Likewise.
13574 * malloc/malloc.h: Likewise.
13575 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
13576 (mallochook, memalignhook, reallochook, mabort): Likewise.
13577 * malloc/mcheck.h: Likewise.
13578 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
13579 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
13580 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
13581 * malloc/morecore.c (__default_morecore): Likewise.
13582 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
13583 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
13584 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
13585 (print_and_abort): Likewise.
13586 * malloc/obstack.h: Likewise.
13587 * malloc/set-freeres.c (__libc_freeres): Likewise.
13588 * malloc/tst-mallocstate.c (main): Likewise.
13589 * malloc/tst-mtrace.c (main): Likewise.
13590 * malloc/tst-realloc.c (do_test): Likewise.
13592 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13595 * nscd/netgroupcache.c (do_notfound): New function.
13596 (addgetnetgrentX): Use it.
13599 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
13600 NSS_STATUS_NOTFOUND.
13602 2014-01-01 Joseph Myers <joseph@codesourcery.com>
13604 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13607 2014-01-01 Allan McRae <allan@archlinux.org>
13609 * scripts/update-copyrights: Update configure input file suffix.
13611 * NEWS: Update copyright year.
13612 * catgets/gencat.c: Likewise.
13613 * csu/version.c: Likewise.
13614 * debug/catchsegv.sh: Likewise.
13615 * debug/pcprofiledump.c: Likewise.
13616 * debug/xtrace.sh: Likewise.
13617 * elf/ldconfig.c: Likewise.
13618 * elf/ldd.bash.in: Likewise.
13619 * elf/pldd.c: Likewise.
13620 * elf/sotruss.ksh: Likewise.
13621 * elf/sprof.c: Likewise.
13622 * iconv/iconv_prog.c: Likewise.
13623 * iconv/iconvconfig.c: Likewise.
13624 * locale/programs/locale.c: Likewise.
13625 * locale/programs/localedef.c: Likewise.
13626 * login/programs/pt_chown.c: Likewise.
13627 * malloc/memusage.sh: Likewise.
13628 * malloc/memusagestat.c: Likewise.
13629 * malloc/mtrace.pl: Likewise.
13630 * manual/libc.texinfo: Likewise.
13631 * nscd/nscd.c: Likewise.
13632 * nss/getent.c: Likewise.
13633 * nss/makedb.c: Likewise.
13634 * posix/getconf.c: Likewise.
13635 * scripts/test-installation.pl: Likewise.
13637 * All files with FSF copyright notices: Update copyright dates
13638 using scripts/update-copyrights.
13639 * intl/plural.c: Regenerated.
13640 * locale/programs/charmap-kw.h: Likewise.
13641 * locale/programs/locfile-kw.h: Likewise.
13643 2013-12-31 Mike Frysinger <vapier@gentoo.org>
13645 * sysdeps/unix/sysv/linux/configure: Regenerated.
13646 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
13647 the linux/fanotify.h header.
13648 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
13649 HAVE_LINUX_FANOTIFY_H is defined.
13651 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13653 * benchtests/cos-inputs: New inputs.
13654 * benchtests/sin-inputs: Likewise.
13656 * benchtests/atan-inputs: New inputs. Fix name of multiple
13657 precision fallback inputs.
13659 * benchtests/atanh-inputs: New inputs.
13660 * benchtests/tanh-inputs: Likewise.
13662 * benchtests/acosh-inputs: New inputs.
13663 * benchtests/asinh-inputs: Likewise.
13665 * benchtests/cosh-inputs: New inputs.
13666 * benchtests/sinh-inputs: Likewise.
13668 * benchtests/acos-inputs: Add more inputs.
13669 * benchtests/asin-inputs: Likewise.
13671 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
13674 * manual/arith.texi: Fix spelling.
13675 * manual/charset.texi: Likewise.
13676 * manual/errno.texi: Likewise.
13677 * manual/filesys.texi: Likewise.
13678 * manual/lang.texi: Likewise.
13679 * manual/llio.texi: Likewise.
13680 * manual/locale.texi: Likewise.
13681 * manual/message.texi: Likewise.
13682 * manual/resource.texi: Likewise.
13683 * manual/search.texi: Likewise.
13684 * manual/setjmp.texi: Likewise.
13685 * manual/stdio.texi: Likewise.
13686 * manual/string.texi: Likewise.
13687 * manual/sysinfo.texi: Likewise.
13688 * manual/time.texi: Likewise.
13690 2013-12-27 Carlos O'Donell <carlos@redhat.com>
13692 * po/sl.po: New file.
13694 2013-12-27 Mike Frysinger <vapier@gentoo.org>
13696 * .gitignore: Add core/.gdbinit/.gdb_history.
13698 2013-12-27 Allan McRae <allan@archlinux.org>
13701 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
13702 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
13704 2013-12-24 Brooks Moses <bmoses@google.com>
13706 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
13707 all compilers that claim C++98 compliance, not just GCC.
13708 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13711 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
13713 * NEWS: Restore accidentally deleted bug-fix entries.
13715 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
13716 Ondřej Bílka <neleai@seznam.cz>
13719 * malloc/malloc.c (_int_free): Perform sanity check only if we
13722 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
13725 * manual/stdio.texi (String Input Conversions): Clarify that character
13726 classes are not supported.
13728 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13732 2013-12-22 Joseph Myers <joseph@codesourcery.com>
13735 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13736 Calculate results for small negative arguments directly rather
13737 than using reflection formula with special underflow handling.
13739 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
13740 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
13741 sysdeps/unix/bsd/bsd4.4/syscalls.list.
13742 (fchflags): Likewise.
13743 (revoke): Likewise.
13744 (setlogin): Likewise.
13745 (sigaltstack): Likewise.
13747 (sigblock): Remove.
13748 (sigsetmask): Likewise.
13750 (waitpid): Likewise.
13751 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
13752 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
13754 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
13755 * sysdeps/unix/bsd/Makefile: ... here.
13756 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
13757 * sysdeps/unix/bsd/Versions: ... here.
13758 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
13759 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
13760 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
13761 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
13762 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
13763 * sysdeps/unix/bsd/sigblock.c: ... here.
13764 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
13765 * sysdeps/unix/bsd/sigsetmask.c: ... here.
13766 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
13767 * sysdeps/unix/bsd/sigvec.c: ... here.
13768 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
13769 * sysdeps/unix/bsd/tcdrain.c: ... here.
13770 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
13771 * sysdeps/unix/bsd/tcgetattr.c: ... here.
13772 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
13773 * sysdeps/unix/bsd/tcsetattr.c: ... here.
13774 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
13775 * sysdeps/unix/bsd/wait.c: ... here.
13776 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
13777 * sysdeps/unix/bsd/wait3.c: ... here.
13778 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
13779 * sysdeps/unix/bsd/waitpid.c: ... here.
13781 2013-12-21 Joseph Myers <joseph@codesourcery.com>
13784 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
13785 round-to-nearest for [!USE_AS_EXPM1L].
13786 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
13787 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
13788 more tests of exp and exp10. Expect some exp10 tests to miss
13789 exceptions or fail in directed rounding modes.
13790 * math/auto-libm-test-out: Regenerated.
13791 * math/libm-test.inc (exp10_tonearest_test_data): New array.
13792 (exp10_test_tonearest): New function.
13793 (exp10_towardzero_test_data): New array.
13794 (exp10_test_towardzero): New function.
13795 (exp10_downward_test_data): New array.
13796 (exp10_test_downward): New function.
13797 (exp10_upward_test_data): New array.
13798 (exp10_test_upward): New function.
13799 (main): Call the new functions.
13800 * sysdeps/i386/fpu/libm-test-ulps: Update.
13801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13803 2013-12-20 Joseph Myers <joseph@codesourcery.com>
13805 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13806 asinh, atan, atan2, atanh, cbrt, cos and cosh.
13807 * math/auto-libm-test-out: Regenerated.
13808 * math/libm-test.inc (acosh_test_data): Add more tests.
13809 (atanh_test_data): Likewise.
13810 (ceil_test_data): Likewise.
13811 (copysign_test_data): Likewise.
13812 * sysdeps/i386/fpu/libm-test-ulps: Update.
13813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13815 * timezone/checktab.awk: Update from tzcode 2013i.
13816 * timezone/private.h: Likewise.
13817 * timezone/scheck.c: Likewise.
13818 * timezone/tzfile.h: Likewise.
13819 * timezone/tzselect.ksh: Likewise.
13820 * timezone/zdump.c: Likewise.
13821 * timezone/zic.c: Likewise.
13823 * math/auto-libm-test-in: Add tests of cpow.
13824 * math/auto-libm-test-out: Regenerated.
13825 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
13826 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13828 (func_calc_desc): Add mpc_cc_c union field.
13829 (test_functions): Add cpow.
13830 (special_fill_2pi): New function.
13831 (special_real_inputs): Add 2pi.
13832 (calc_generic_results): Handle mpc_cc_c.
13833 * sysdeps/i386/fpu/libm-test-ulps: Update.
13834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13836 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
13837 csqrt, ctan and ctanh.
13838 * math/auto-libm-test-out: Regenerated.
13839 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13840 (TEST_COND_x86): Likewise.
13841 (ccos_test_data): Use AUTO_TESTS_c_c.
13842 (ccosh_test_data): Likewise.
13843 (cexp_test_data): Likewise.
13844 (clog_test_data): Likewise.
13845 (csqrt_test_data): Likewise.
13846 (ctan_test_data): Likewise.
13847 (ctan_tonearest_test_data): Likewise.
13848 (ctan_towardzero_test_data): Likewise.
13849 (ctan_downward_test_data): Likewise.
13850 (ctan_upward_test_data): Likewise.
13851 (ctanh_test_data): Likewise.
13852 (ctanh_tonearest_test_data): Likewise.
13853 (ctanh_towardzero_test_data): Likewise.
13854 (ctanh_downward_test_data): Likewise.
13855 (ctanh_upward_test_data): Likewise.
13856 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13858 (func_calc_desc): Add mpc_c_c union field.
13859 (FUNC_mpc_c_c): New macro.
13860 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
13861 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
13863 (special_fill_min_subnorm_p120): New function.
13864 (special_real_inputs): Add min_subnorm_p120.
13865 (calc_generic_results): Handle mpc_c_c.
13866 * sysdeps/i386/fpu/libm-test-ulps: Update.
13867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13869 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13871 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
13872 (do_sin_slow): New functions.
13873 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
13874 (cslow2, csloww1, csloww2): Use the new functions.
13876 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
13877 Use M to change sign of result instead of X. Assume X is
13879 (csloww1): Likewise.
13883 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
13884 arguments A and DA.
13888 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
13890 (sloww1): Don't adjust sign of DX.
13891 (csloww1): Likewise.
13892 (sloww2): Use X directly and don't adjust sign of DX.
13893 (csloww2): Likewise.
13895 2013-12-19 Joseph Myers <joseph@codesourcery.com>
13897 * math/auto-libm-test-in: Add tests of cabs and carg.
13898 * math/auto-libm-test-out: Regenerated.
13899 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
13900 (carg_test_data): Likewise.
13901 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13903 (func_calc_desc): Add mpc_c_f union field.
13904 (test_functions): Add cabs and carg.
13905 (calc_generic_results): Handle mpc_c_f.
13907 * sysdeps/powerpc/powerpc32/libgcc-compat.S
13908 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
13909 as a macro and a compat symbol.
13910 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13911 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13912 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13913 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13914 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
13915 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
13917 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
13919 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
13921 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
13923 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
13925 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
13927 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
13928 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
13931 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13935 2013-12-19 Joseph Myers <joseph@codesourcery.com>
13937 * manual/texinfo.tex: Update to version 2013-11-26.10 with
13938 trailing whitespace removed.
13939 * scripts/config.guess: Update to version 2013-11-29.
13940 * scripts/config.sub: Update to version 2013-10-01.
13942 * math/auto-libm-test-in: Add tests of sincos.
13943 * math/auto-libm-test-out: Regenerated.
13944 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
13945 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13947 (func_calc_desc): Add mpfr_f_11 union field.
13948 (test_functions): Add sincos.
13949 (calc_generic_results): Handle mpfr_f_11.
13950 * sysdeps/i386/fpu/libm-test-ulps: Update.
13951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13953 2013-12-19 Andreas Schwab <schwab@suse.de>
13955 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
13957 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13958 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
13959 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
13961 2013-12-19 Joseph Myers <joseph@codesourcery.com>
13963 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
13964 * sysdeps/i386/fpu/libm-test-ulps: Update.
13965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13968 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
13969 round-to-nearest mode when using frndint.
13970 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
13971 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13972 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13974 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
13976 * math/auto-libm-test-out: Regenerated.
13977 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
13978 (TEST_COND_x86): Likewise.
13979 (expm1_tonearest_test_data): New array.
13980 (expm1_test_tonearest): New function.
13981 (expm1_towardzero_test_data): New array.
13982 (expm1_test_towardzero): New function.
13983 (expm1_downward_test_data): New array.
13984 (expm1_test_downward): New function.
13985 (expm1_upward_test_data): New array.
13986 (expm1_test_upward): New function.
13987 (main): Run the new test functions.
13988 * sysdeps/i386/fpu/libm-test-ulps: Update.
13989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13991 * include/features.h: Update comment documenting feature test
13992 macros. Mention _DEFAULT_SOURCE in comment.
13993 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
13994 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
13995 _BSD_SOURCE and _SVID_SOURCE.
13996 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
13997 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
13998 !_SVID_SOURCE]: Likewise.
13999 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14000 (__USE_POSIX_IMPLICITLY): Define.
14001 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14002 (_POSIX_SOURCE): Undefine and redefine.
14003 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14004 (_POSIX_C_SOURCE): Likewise.
14005 * manual/creature.texi (_DEFAULT_SOURCE): Document.
14006 (Feature Test Macros): Update documentation of default features.
14008 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14010 * benchtests/Makefile: Add bench-strtok.
14011 * benchtests/bench-strtok.c: New file: strtok benchtest.
14013 2013-12-19 Allan McRae <allan@archlinux.org>
14015 * manual/install.texi: Suppress menu for plain text output.
14016 * INSTALL: Regenerated.
14018 2013-12-18 Brooks Moses <bmoses@google.com>
14021 * misc/getauxval.c: Include errno.h.
14022 (__getauxval): Set errno to ENOENT if the requested type is not
14024 * misc/sys/auxv.h (getauxval): Document that it may set errno;
14025 don't declare with __attribute_const__.
14026 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
14027 * manual/startup.texi: Document that getauxval sets errno.
14029 2013-12-18 Joseph Myers <joseph@codesourcery.com>
14031 * math/auto-libm-test-in: Add tests of jn and yn.
14032 * math/auto-libm-test-out: Regenerated.
14033 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14034 (yn_test_data): Likewise.
14035 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14037 (func_calc_desc): Add mpfr_if_f union field.
14038 (FUNC_mpfr_if_f): New macro.
14039 (test_functions): Add jn and yn.
14040 (calc_generic_results): Assert type of second input for
14041 mpfr_ff_f. Handle mpfr_if_f.
14042 (output_for_one_input_case): Disable all checking for arguments
14043 fitting floating-point types in case of an integer argument.
14044 * sysdeps/i386/fpu/libm-test-ulps: Update.
14045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14048 Don't expect fegetround reference in libm.so.
14050 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14052 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
14053 $(config-cflags-nofma).
14055 2013-12-18 Joseph Myers <joseph@codesourcery.com>
14057 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
14058 * math/auto-libm-test-out: Regenerated.
14061 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
14062 to determine exponent and adjust argument to have exponent of -1.
14063 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14065 * math/auto-libm-test-out: Regenerated.
14066 * sysdeps/i386/fpu/libm-test-ulps: Update.
14067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14069 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
14071 * manual/probes.texi: Remove cases when per-thread arenas are
14074 2013-12-18 Andreas Schwab <schwab@suse.de>
14076 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
14077 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
14078 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
14079 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
14080 * sysdeps/i386/i686/multiarch/Makefile: Update.
14081 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
14083 2013-12-17 Joseph Myers <joseph@codesourcery.com>
14085 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
14086 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
14088 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
14091 Support TZ transition times < 00:00:00.
14092 This is needed for version-3 tz-format files; it supports time
14093 stamps past 2037 for America/Godthab (the only entry in the tz
14094 database for which this change is relevant).
14095 * manual/time.texi (TZ Variable): Document transition times
14096 from -167:59:59 through -00:00:01.
14097 * time/tzset.c (tz_rule): Time of day is now signed.
14098 (__tzset_parse_tz): Parse negative time of day.
14100 Document TZ transition times >= 25:00:00.
14101 * manual/time.texi (TZ Variable): Document transition times from
14102 25:00:00 through 167:59:59. These are already supported, and this
14103 support will help with version-3 tz-format files.
14105 * manual/time.texi (TZ Variable): Modernize North America example
14106 to reflect current (i.e., 2007-and-later) daylight saving rules.
14108 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
14110 2013-12-17 Joseph Myers <joseph@codesourcery.com>
14112 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
14113 * sysdeps/unix/bsd/bits/stat.h: Likewise.
14114 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
14115 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14116 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
14117 * sysdeps/unix/bsd/bsdstat.h: Likewise.
14118 * sysdeps/unix/bsd/clock.c: Likewise.
14119 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
14120 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
14121 * sysdeps/unix/bsd/init-posix.c: Likewise.
14122 * sysdeps/unix/bsd/poll.c: Likewise.
14123 * sysdeps/unix/bsd/ptsname.c: Likewise.
14124 * sysdeps/unix/bsd/seekdir.c: Likewise.
14125 * sysdeps/unix/bsd/setegid.c: Likewise.
14126 * sysdeps/unix/bsd/seteuid.c: Likewise.
14127 * sysdeps/unix/bsd/setgid.c: Likewise.
14128 * sysdeps/unix/bsd/setrgid.c: Likewise.
14129 * sysdeps/unix/bsd/setruid.c: Likewise.
14130 * sysdeps/unix/bsd/setsid.c: Likewise.
14131 * sysdeps/unix/bsd/setuid.c: Likewise.
14132 * sysdeps/unix/bsd/sigaction.c: Likewise.
14133 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
14134 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
14135 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
14136 * sysdeps/unix/bsd/telldir.c: Likewise.
14137 * sysdeps/unix/bsd/times.c: Likewise.
14138 * sysdeps/unix/bsd/usleep.c: Likewise.
14140 * misc/Makefile (install-lib): Remove libbsd-compat.a.
14141 ($(objpfx)libbsd-compat.a): Remove rule.
14143 * include/features.h (__FAVOR_BSD): Do not define.
14144 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
14145 features conflicting with POSIX.
14146 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
14147 (_BSD_SOURCE): Remove description of not being a subset of other
14148 feature test macros.
14149 * manual/job.texi (getpgrp): Do not document BSD version.
14150 (getpgid): Do not document by reference to BSD getpgrp.
14151 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
14152 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
14153 * signal/signal.h [__FAVOR_BSD]: Likewise.
14154 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
14155 instead of making contents conditional on [__FAVOR_BSD].
14156 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
14158 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14162 2013-12-17 Joseph Myers <joseph@codesourcery.com>
14165 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
14166 values below 2**-450, not 2**-500.
14167 * math/auto-libm-test-in: Don't allow spurious underflow from
14169 * math/auto-libm-test-out: Regenerated.
14173 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
14174 values of ha and hb and sort them after adjusting subnormal
14176 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14178 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
14179 values of ea and eb and sort them after adjusting subnormal
14181 * math/auto-libm-test-in: Do not expect some hypot tests of
14182 subnormals to fail. Add more hypot tests.
14183 * math/auto-libm-test-out: Regenerated.
14185 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14188 * sysdeps/sh/s_fma.c: New file.
14189 * sysdeps/sh/s_fmaf.c: New file.
14190 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
14192 * sysdeps/sh/Implies: Add sh/soft-fp.
14194 2013-12-16 Roland McGrath <roland@hack.frob.com>
14196 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
14197 level of indirection to members `objname', `errstring', `malloced'.
14198 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
14199 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
14200 it as the __longjmp argument (just pass 1 instead).
14201 (_dl_catch_error): Initialize C with argument pointers and address of
14202 volatile local ERRCODE rather than copying values out of C at return.
14204 2013-12-16 Joseph Myers <joseph@codesourcery.com>
14206 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
14207 * math/auto-libm-test-out: Regenerated.
14208 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
14209 (hypot_test_data): Likewise.
14210 (pow_test_data): Likewise.
14211 (pow_tonearest_test_data): Likewise.
14212 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14214 (func_calc_desc): Add mpfr_ff_f union field.
14215 (FUNC_mpfr_ff_f): New macro.
14216 (test_functions): Add atan2, hypot and pow.
14217 (special_fill_min): New function.
14218 (special_fill_minus_min): Likewise.
14219 (special_fill_min_subnorm): Likewise.
14220 (special_fill_minus_min_subnorm): Likewise.
14221 (special_real_inputs): Add min, -min, min_subnorm and
14223 (calc_generic_results): Handle mpfr_ff_f.
14224 * sysdeps/i386/fpu/libm-test-ulps: Update.
14225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14227 2013-12-16 Will Newton <will.newton@linaro.org>
14229 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
14230 (Aligned Memory Blocks): Add documentation for aligned_alloc
14231 and suggest it as an alternative to posix_memalign.
14232 (Hooks for Malloc): Document __memalign_hook is also called
14233 for aligned_alloc. (Summary of Malloc): Add summary for
14234 aligned alloc. Document __memalign_hook is also called
14237 2013-12-16 Will Newton <will.newton@linaro.org>
14239 * manual/memory.texi (Malloc Examples): Clarify default
14240 alignment documentation. Suggest posix_memalign rather
14241 than memalign or valloc.
14242 (Aligned Memory Blocks): Remove suggestion to use memalign
14243 or valloc. Remove obsolete comment about BSD.
14244 Document memalign errno values and mark the function obsolete.
14245 Document posix_memalign returned error codes. Mark valloc
14246 as obsolete. (Hooks for Malloc): __memalign_hook is also
14247 called for posix_memalign and valloc.
14248 (Summary of Malloc): Add posix_memalign to function summary.
14249 __memalign_hook is also called for posix_memalign and valloc.
14251 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14253 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
14257 (sloww): Use mynumber union. Expand ternary operator into
14258 if-else statements.
14259 (cslow): use mynumber union.
14261 2013-12-16 Allan McRae <allan@archlinux.org>
14263 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
14264 * configure: Regenerated.
14266 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
14269 * configure.ac: Added --enable-maintainer-mode. Check for
14270 autoconf when enabled.
14271 * configure: Regenerated.
14273 * nscd/nscd.service: New file.
14274 * nscd/nscd.tmpfiles: New file.
14276 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
14279 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
14280 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
14281 * sysdeps/x86_64/multiarch/strstr.c: ... here.
14282 (strstr): Add __strstr_sse2_unaligned ifunc.
14283 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
14284 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
14285 (strcasestr): Remove __strcasestr_sse42 ifunc.
14286 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
14287 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14288 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14290 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14292 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
14293 * sysdeps/sh/bits/fenv.h: ... here.
14294 * sysdeps/sh/sh4/fpu/bits: Remove directory.
14296 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14298 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
14300 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
14301 hypotf multiarch implementations.
14302 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
14303 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
14304 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
14305 multiarch hypot for PPC64.
14306 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
14307 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
14308 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
14309 multiarch hypotf for PPC64.
14311 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
14312 modff multiarch implementations.
14313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
14314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
14315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
14316 multiarch modf for PPC64.
14317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
14318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
14319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
14320 multiarch modff for PPC64.
14322 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
14323 and logl multiarch implementations.
14324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
14325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
14326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
14327 multiarch logb for PPC64.
14328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
14329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
14330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
14331 multiarch logb for PPC64.
14332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
14333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
14334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
14335 multiarch logb for PPC64.
14337 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
14338 isinff multiarch implementation.
14339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
14341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
14342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
14343 multiarch isinf for PPC64.
14344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
14346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
14347 multiarch isinff for PPC64.
14349 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
14350 finitef multiarch implementation.
14351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
14353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
14354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
14355 multiarch finite for PPC64.
14356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
14358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
14359 multiarch finitef for PPC64.
14361 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
14362 lrint multiarch implementation.
14363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
14365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
14366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
14367 multiarch llrint for PPC64.
14368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
14369 multiarch lrint for PPC64.
14371 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
14372 copysignf multiarch implementation.
14373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
14375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
14377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
14378 multiarch copysign for PPC64.
14379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
14380 multiarch copysignf for PPC64.
14382 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
14383 multiarch implementation.
14384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
14386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
14388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
14390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
14392 multiarch llround for PPC64.
14393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
14394 multiarch trunc for PPC64.
14395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
14396 multiarch truncf for PPC64.
14398 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
14399 multiarch implementation.
14400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
14402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
14404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
14406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
14408 multiarch llround for PPC64.
14409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
14410 multiarch round for PPC64.
14411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
14412 multiarch roundf for PPC64.
14414 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
14415 multiarch implementation.
14416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
14418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
14420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
14422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
14424 multiarch llround for PPC64.
14425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
14426 multiarch floor for PPC64.
14427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
14428 multiarch floorf for PPC64.
14430 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
14431 multiarch implementation.
14432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
14434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
14436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
14438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
14440 multiarch llround for PPC64.
14441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
14442 multiarch ceil for PPC64.
14443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
14444 multiarch ceilf for PPC64.
14446 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14447 multiarch implementation.
14448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
14450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
14452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
14454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
14455 multiarch llround for PPC64.
14456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
14457 multiarch lround for PPC64.
14459 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14460 multiarch implementation.
14461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
14462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
14463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
14465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
14466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
14467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
14468 multiarch isnan for PPC64.
14469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
14470 multiarch isnanf for PPC64.
14472 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
14473 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
14474 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
14475 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
14476 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
14477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
14479 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
14480 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14481 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14482 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14484 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
14485 multiarch implementations.
14486 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14487 (__libc_ifunc_impl_list): Likewise.
14488 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14489 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
14490 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
14491 multiarch stpcpy for PPC64.
14493 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
14494 multiarch implementations.
14495 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14496 (__libc_ifunc_impl_list): Likewise.
14497 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
14498 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
14499 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
14500 multiarch strcpy for PPC64.
14502 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
14503 redefine function name.
14504 (_wordcopy_fwd_dest_aligned): Likewise.
14505 (_wordcopy_bwd_aligned): Likewise.
14506 (_wordcopy_bwd_dest_aligned): Likewise.
14507 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
14508 multiarch implementations.
14509 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14510 (__libc_ifunc_impl_list): Likewise.
14511 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
14512 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
14513 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
14514 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
14515 multiarch wcscpy for PPC64.
14517 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
14518 multiarch implementations.
14519 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14520 (__libc_ifunc_impl_list): Likewise.
14521 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
14522 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
14523 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
14524 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
14525 multiarch wcscpy for PPC64.
14527 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
14528 multiarch implementations.
14529 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14530 (__libc_ifunc_impl_list): Likewise.
14531 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
14532 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
14533 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
14534 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
14535 multiarch wcsrchr for PPC64.
14537 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
14538 multiarch implementations.
14539 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14540 (__libc_ifunc_impl_list): Likewise.
14541 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
14542 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
14543 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
14544 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
14545 multiarch wcschr for PPC64.
14547 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
14548 multiarch implementations.
14549 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14550 (__libc_ifunc_impl_list): Likewise.
14551 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
14552 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
14553 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
14554 multiarch strchrnul for PPC64.
14556 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
14558 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14559 (__libc_ifunc_impl_list): Likewise.
14560 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
14561 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
14562 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
14563 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
14566 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
14568 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14569 (__libc_ifunc_impl_list): Likewise.
14570 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
14571 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
14572 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
14573 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
14576 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
14577 multiarch implementations.
14578 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14579 (__libc_ifunc_impl_list): Likewise.
14580 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
14581 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
14582 strncasecmp for PPC64.
14583 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
14584 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
14585 multiarch strncasecmp_l for PPC64.
14587 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
14588 multiarch implementations.
14589 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14590 (__libc_ifunc_impl_list): Likewise.
14591 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
14592 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
14593 multiarch strcasecmp for PPC64.
14594 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
14596 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
14597 multiarch strcasecmp_l for PPC64.
14599 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
14601 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14602 (__libc_ifunc_impl_list): Likewise.
14603 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
14604 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
14605 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
14608 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
14610 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14611 (__libc_ifunc_impl_list): Likewise.
14612 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
14613 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
14614 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
14617 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
14619 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14620 (__libc_ifunc_impl_list): Likewise.
14621 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
14622 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
14623 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
14624 rawmemrchr for PPC64.
14626 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
14628 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14629 (__libc_ifunc_impl_list): Likewise.
14630 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
14631 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
14632 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
14635 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
14637 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14638 (__libc_ifunc_impl_list): Likewise.
14639 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
14640 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
14641 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
14644 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
14646 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14647 (__libc_ifunc_impl_list): Likewise.
14648 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
14649 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
14650 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
14653 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
14654 avoid cretion of __bzero symbol.
14655 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
14657 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
14659 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
14661 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
14662 multiarch implementations.
14663 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14664 (__libc_ifunc_impl_list): Likewise.
14665 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
14666 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
14667 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
14668 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
14670 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
14671 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
14672 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
14673 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
14674 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
14676 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
14678 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
14679 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
14681 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14682 (__libc_ifunc_impl_list): Likewise.
14683 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
14684 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
14685 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
14686 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
14689 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
14690 multiarch for POWER/PPC64.
14691 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14692 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
14693 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
14694 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
14695 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
14696 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
14697 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
14698 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
14699 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
14702 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
14703 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
14704 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
14705 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
14706 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
14707 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
14708 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
14709 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
14710 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
14711 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
14712 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
14713 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
14714 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
14715 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
14716 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
14717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
14718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
14719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
14720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
14721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
14722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
14723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
14725 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14727 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
14729 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14731 * benchtests/Makefile (bench): Add exp2 and log2.
14732 (LDLIBS-bench-exp2): Add -lm.
14733 (LDLIBS-bench-log2): Likewise.
14734 * benchtests/exp2-inputs: New inputs file.
14735 * benchtests/log2-inputs: New inputs file.
14736 * benchtests/log-inputs: Add new inputs.
14737 * benchtests/tan-inputs: Likewise.
14739 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14741 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
14743 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
14744 (csloww2): ... from here.
14746 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
14747 instead of structures.
14748 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
14749 (POLYNOMIAL): Likewise.
14750 (TAYLOR_SLOW): Likewise.
14756 (sloww1); Likewise.
14757 (sloww2): Likewise.
14758 (bsloww1): Likewise.
14759 (bsloww2): Likewise.
14760 (cslow2): Likewise.
14761 (csloww): Likewise.
14762 (csloww1): Likewise.
14763 (csloww2): Likewise.
14765 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
14767 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
14768 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
14769 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
14770 * malloc/hooks.c (realloc_check): Likewise.
14772 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
14773 * malloc/arena.c: Remove PER_THREAD conditional.
14774 [!PER_THREAD]: Remove code.
14775 (ptmalloc_unlock_all2): Likewise.
14776 (ptmalloc_init): Likewise.
14777 (_int_new_arena): Likewise.
14778 (arena_get2): Likewise.
14779 * malloc/hooks.c (__malloc_get_state): Likewise.
14780 (__malloc_set_state): Likewise.
14781 * malloc/malloc.c: Likewise.
14782 (struct malloc_state): Likewise.
14783 (struct malloc_par): Likewise.
14784 (__libc_realloc): Likewise.
14785 (__libc_mallopt): Likewise.
14787 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14789 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
14791 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
14793 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
14794 macro to a function. Check for zero perturb_byte.
14795 (_int_malloc, _int_free): Remove zero perturb_byte checks.
14797 * malloc/malloc.c: (force_reg): Remove.
14798 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
14799 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
14800 force_reg by atomic_forced_read.
14801 * malloc/arena.c (ptmalloc_init): Likewise.
14802 * malloc/hooks.c (top_check): Likewise.
14804 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14808 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
14810 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14812 2013-12-08 Joseph Myers <joseph@codesourcery.com>
14814 * math/auto-libm-test-in: Add tests of lgamma.
14815 * math/auto-libm-test-out: Regenerated.
14816 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
14817 (M_LOG_2_SQRT_PIl): Likewise.
14818 (lgamma_test_data): Use AUTO_TESTS_f_f1.
14819 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14821 (func_calc_desc): Add mpfr_f_f1 union field.
14822 (ARGS1): New macro.
14830 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
14831 (test_functions): Add lgamma.
14832 (calc_generic_results): Handle mpfr_f_f1.
14833 * sysdeps/i386/fpu/libm-test-ulps: Update.
14834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14836 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14838 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
14839 __mpn_add_n for PowerPC64/POWER7.
14840 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
14841 __mpn_sub_n for PowerPC64/POWER7.
14843 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
14844 __mpn_addmul_1 for PowerPC64.
14845 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
14846 __mpn_submul_1 for PowerPC64.
14847 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
14849 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
14852 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
14855 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
14857 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14859 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
14861 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
14862 add multiarch folders.
14863 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
14864 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
14865 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
14866 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
14867 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
14868 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
14869 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
14870 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
14871 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
14872 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
14873 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
14874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
14875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
14876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
14877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
14878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
14879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
14881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14882 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
14883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
14885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
14887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
14888 multiarch __ieee754_hypot for PowerPC32.
14889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
14891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
14893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
14894 multiarch __ieee754_hypotf for PowerPC32.
14896 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
14897 long_double_symbol only if __logbl is defined.
14898 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
14899 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
14900 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
14901 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
14902 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
14903 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
14904 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
14905 path for implementation.
14906 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
14907 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
14908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
14909 logb, and logbl multiarch implementations for PowerPC32.
14910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
14912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
14914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
14915 multiarch logb for PowerPC32.
14916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
14918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
14920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
14921 multiarch logbf for PowerPC32.
14922 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
14923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
14925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
14926 multiarch logbl implementation for PowerPC32.
14928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
14929 and modff multiarch implementations.
14930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
14932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
14934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
14935 multiarch modf for PowerPC32.
14936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
14938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
14940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
14941 multiarch modff for PowerPC32.
14943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
14944 and lrintf multiarch implementations.
14945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
14947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
14949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
14950 multiarch lrint for PowerPC32.
14951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
14952 file: multiarch lrintf for PowerPC32.
14954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
14955 and lroundf multiarch implementations.
14956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
14958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
14960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
14962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
14963 multiarch lround for PowerPC32.
14964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
14965 file: multiarch lroundf for PowerPC32.
14967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14968 copysign and copysignf multiarch implementations.
14969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
14971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
14973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
14974 file: multiarch copysign for PowerPC32.
14975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
14976 file: multiarch copysignf for PowerPC32.
14978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
14979 and truncf multiarch implementations.
14980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
14982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
14984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
14985 multiarch trunc for PowerPC32.
14986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
14988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
14990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
14991 multiarch truncf for PowerPC32.
14993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
14994 and roundf multiarch implementations.
14995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
14997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
14999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
15000 multiarch round for PowerPC32.
15001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
15003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
15005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
15006 multiarch roundf for PowerPC32.
15008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
15009 and floorf multiarch implementations.
15010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
15012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
15014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
15015 multiarch floor for PowerPC32.
15016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
15018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
15020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
15021 multiarch floorf for PowerPC32.
15023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
15024 and ceilf multiarch implementations.
15025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
15027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
15029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
15030 multiarch ceil for PowerPC32.
15031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
15036 multiarch ceilf for PowerPC32.
15038 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
15040 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
15041 FINITEF is defined.
15042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
15043 and finitef multiarch implementations.
15044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
15046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
15048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
15049 multiarch finite for PowerPC32.
15050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
15052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
15053 file: multiarch finitef for PowerPC32.
15055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
15056 and isinff multiarch implementations.
15057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
15059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
15061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
15062 multiarch isinf for PowerPC32.
15063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
15065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
15066 multiarch isinff for PowerPC32.
15068 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
15069 alias when __isnan is defined.
15070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
15071 and isnanf multiarch implementations.
15072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
15074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
15076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
15078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
15080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
15081 multiarch isnan for PowerPC32.
15082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
15084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
15086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
15087 multiarch isnanf for PowerPC32.
15089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
15090 and sqrtf multiarch implementations.
15091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
15093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
15095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
15096 multiarch sqrt for PowerPC32.
15097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
15099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
15101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
15102 multiarch sqrtf for PowerPC32.
15104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
15105 and llroundf multiarch implementations.
15106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
15108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
15110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
15112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
15113 file: multiarch llround for PowerPC32.
15114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
15115 file: multiarch llroundf for PowerPC32.
15117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
15118 multiarch PowerPC32 fpu implementations.
15119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
15121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
15123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
15124 multiarch llrint for PowerPC32.
15125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
15127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
15129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
15132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
15134 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
15136 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
15138 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
15140 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
15141 multiarch wordcopy for PPC32.
15142 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15144 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15145 (__libc_ifunc_impl_list): Likewise.
15146 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
15147 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
15148 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
15149 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
15150 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
15151 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
15153 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
15154 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
15156 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
15158 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
15160 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
15161 multiarch wcscpy for PPC32.
15162 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15164 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15165 (__libc_ifunc_impl_list): Likewise.
15166 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15167 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15168 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
15169 sysdeps/powerpc/power6/wcscpy.c.
15171 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
15172 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
15174 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
15176 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
15178 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
15179 multiarch wcsrchr for PPC32.
15180 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15182 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15183 (__libc_ifunc_impl_list): Likewise.
15184 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15185 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15186 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
15187 sysdeps/powerpc/power6/wcsrchr.c.
15189 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
15191 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
15193 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
15194 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
15195 multiarch wcschr for PPc32.
15196 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15198 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15199 (__libc_ifunc_impl_list): Likewise.
15200 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
15201 * sysdeps/powerpc/power6/wcschr.c: ... to here.
15202 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
15203 sysdeps/powerpc/power6/wcschr.c.
15205 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
15206 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
15208 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
15209 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
15210 file: multiarch strchr for PPC32.
15211 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
15213 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15214 (__libc_ifunc_impl_list): Likewise.
15216 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
15218 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
15220 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
15222 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
15223 multiarch strchrnul for PPC32.
15224 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
15226 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15227 (__libc_ifunc_impl_list): Likewise.
15229 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
15231 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
15232 multiarch strncasecmp for PPC32.
15233 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
15235 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
15236 multiarch strncasecmp_l for PPC32.
15237 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
15238 strncasecmp multiarch objects.
15239 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15240 (__libc_ifunc_impl_list): Likewise.
15242 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
15244 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
15245 multiarch strncasecmp for PPC32.
15246 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15248 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
15249 multiarch strcasecmp_l for PPC32.
15250 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
15252 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15253 (__libc_ifunc_impl_list): Likewise.
15255 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
15257 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
15259 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
15260 multiarch strncmp for PPC32.
15261 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
15263 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15264 (__libc_ifunc_impl_list): Likewise.
15266 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
15267 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
15269 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
15270 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
15271 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
15273 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15274 (__libc_ifunc_impl_list): Likewise.
15276 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
15278 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
15280 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
15281 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
15283 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15284 (__libc_ifunc_impl_list): Likewise.
15286 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
15288 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
15290 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
15291 multiarch rawmemchr for PPC32.
15292 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
15294 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15295 (__libc_ifunc_impl_list): Likewise.
15297 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
15299 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
15301 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
15302 file: memrchr multiarch for PPC32.
15303 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
15305 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15306 (__libc_ifunc_impl_list): Likewise.
15308 * string/memchr.c (__memchr): Using macro to redefine symbol name.
15309 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
15311 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
15312 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
15313 multiarch memchr for PPC32.
15314 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
15316 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15317 (__libc_ifunc_impl_list): Likewise.
15319 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
15320 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
15322 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
15324 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
15325 file: multiarch mempcpy for PPC32.
15326 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
15328 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15329 (__libc_ifunc_impl_list): Likewise.
15331 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
15332 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
15333 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
15334 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
15335 multiarch bzero for PPC32.
15336 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
15338 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
15340 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
15341 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
15342 file: multiarch memset for PPC32.
15343 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
15344 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
15345 memset multiarch objects.
15346 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15347 (__libc_ifunc_impl_list): Likewise.
15349 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
15351 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
15352 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
15354 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
15355 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
15357 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15358 (__libc_ifunc_impl_list): Likewise.
15360 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
15361 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
15362 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
15364 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
15366 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
15368 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
15369 multiarch memcpy for PPC32.
15370 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
15372 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15373 (__libc_ifunc_impl_list): Likewise.
15375 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
15376 support multiarch for POWER/PPC32.
15377 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
15379 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
15380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
15381 Implies file to make multiarch folder appers before the fpu and
15382 default folder for power4 configuration.
15384 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15386 * scripts/bench.pl: Append volatile keyword to type.
15388 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15390 * sysdeps/sh/sotruss-lib.c: New file.
15391 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
15393 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15397 2013-12-05 Joseph Myers <joseph@codesourcery.com>
15400 * math/w_tgamma.c: Include <errno.h>.
15401 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
15402 * math/w_tgammaf.c: Include <errno.h>.
15403 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
15404 * math/w_tgammal.c: Include <errno.h>.
15405 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
15406 * math/auto-libm-test-in: Do not allow missing errno on tgamma
15407 underflow. Add more tgamma tests.
15408 * math/auto-libm-test-out: Regenerated.
15409 * sysdeps/i386/fpu/libm-test-ulps: Update.
15410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15412 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
15413 sin, sinh, tan, tanh, tgamma, y0 and y1.
15414 * math/auto-libm-test-out: Regenerated.
15415 * math/libm-test.inc (TEST_COND_x86_64): New macro.
15416 (TEST_COND_x86): Likewise.
15417 (M_E2l): Remove macro.
15419 (M_2_SQRT_PIl): Likewise.
15420 (M_SQRT_PIl): Likewise.
15421 (M_1_DIV_El): Likewise.
15422 (log_test_data): Use AUTO_TESTS_f_f.
15423 (log10_test_data): Likewise.
15424 (log1p_test_data): Likewise.
15425 (log2_test_data): Likewise.
15426 (sin_test_data): Likewise.
15427 (sin_tonearest_test_data): Likewise.
15428 (sin_towardzero_test_data): Likewise.
15429 (sin_downward_test_data): Likewise.
15430 (sin_upward_test_data): Likewise.
15431 (sinh_test_data): Likewise.
15432 (sinh_tonearest_test_data): Likewise.
15433 (sinh_towardzero_test_data): Likewise.
15434 (sinh_downward_test_data): Likewise.
15435 (sinh_upward_test_data): Likewise.
15436 (tan_test_data): Likewise.
15437 (tan_tonearest_test_data): Likewise.
15438 (tan_towardzero_test_data): Likewise.
15439 (tan_downward_test_data): Likewise.
15440 (tan_upward_test_data): Likewise.
15441 (tanh_test_data): Likewise.
15442 (tgamma_test_data): Likewise.
15443 (y0_test_data): Likewise.
15444 (y1_test_data): Likewise.
15445 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
15446 (special_real_inputs): Add pi/4.
15447 * sysdeps/i386/fpu/libm-test-ulps: Update.
15448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15450 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15452 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
15453 "longjmp_target" static probes.
15454 (__longjmp): Rename to __longjmp_symbol.
15455 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15456 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
15457 on which longjmp to generate.
15458 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15459 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
15461 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15462 (__sigjmp_save): Rename to __sigjmp_save_symbol.
15463 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15464 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
15465 and __sigjmp_save_symbol based on which sigsetjmp to generated.
15466 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
15467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
15468 __longjmp_symbol based on which __longjmp to generate.
15469 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
15471 (setjmp): Rename to setjmp_symbol.
15472 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15473 (_setjmp): Rename to _setjmp_symbol.
15474 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15475 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
15476 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
15477 which setjmp to generate.
15478 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
15479 "longjmp_target" static probes.
15481 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15483 * benchtests/README: Add note about output arguments.
15484 * benchtests/bench-sincos.c: Remove file.
15485 * benchtests/sincos-inputs: New file.
15486 * scripts/bench.pl: Identify output arguments and define
15487 static variables for them.
15489 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
15492 * Makefile (INSTALL): Add install-plain.texi as the primary
15494 * manual/install-plain.texi: New file.
15495 * manual/install.texi: Include node directive only for
15496 non-plaintext output.
15498 2013-12-04 Joseph Myers <joseph@codesourcery.com>
15500 * stdlib/longlong.h: Update from GCC.
15504 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
15505 * math/w_j0f.c (y0f): Likewise.
15506 * math/w_j0l.c (__y0l): Likewise.
15507 * math/w_j1.c (y1): Likewise.
15508 * math/w_j1f.c (y1f): Likewise.
15509 * math/w_j1l.c (__y1l): Likewise
15510 * math/w_jn.c (yn): Likewise.
15511 * math/w_jnf.c (ynf): Likewise.
15512 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
15513 Bessel function pole errors in _POSIX_ mode. Use NAN as return
15514 value for Bessel function domain errors outside _SVID_ mode.
15515 Adjust sign of return value for yn (negative integer, 0).
15516 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
15517 by zero in return for negative x and set sign appropriately for
15519 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
15520 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15521 * math/libm-test.inc (y0_test_data): Add more tests and adjust
15522 expectations in error cases.
15523 (y1_test_data): Likewise.
15524 (yn_test_data): Likewise.
15525 * sysdeps/i386/fpu/libm-test-ulps: Update.
15526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15528 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15530 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
15531 "64" to "64-v1". Add "64-v2".
15532 (abi-64-options): Rename to ...
15533 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
15534 (abi-64-condition): Rename to ...
15535 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
15536 (abi-64-ld-soname): Rename to ...
15537 (abi-64-v1-ld-soname): ... this.
15538 (abi-64-v2-options): Define.
15539 (abi-64-v2-condition): Likewise.
15540 (abi-64-v2-ld-soname): Likewise.
15541 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
15542 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
15543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
15544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
15545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
15547 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15548 Alan Modra <amodra@gmail.com>
15550 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
15551 New versions for use with the ELFv2 ABI.
15552 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
15553 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
15555 (struct La_ppc64v2_retval): Likewise.
15556 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
15557 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
15558 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
15559 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
15560 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
15561 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15562 Do not save or restore CR.
15563 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
15564 (_dl_profile_resolve): Do no save or restore CR. Support extended
15565 return values for ELFv2 ABI. Fix location of FPR return registers.
15566 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
15567 updated values for _CALL_ELF == 2.
15568 (La_regs, La_retval, int_retval): Likewise.
15570 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15572 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
15573 (FRAME_MIN_SIZE_PARM): Likewise.
15574 (FRAME_BACKCHAIN): Likewise.
15575 (FRAME_CR_SAVE): Likewise.
15576 (FRAME_LR_SAVE): Likewise.
15577 (FRAME_TOC_SAVE): Likewise.
15578 (FRAME_PARM_SAVE): Likewise.
15579 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
15580 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
15581 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15582 (call_mcount_parm_offset): New macro.
15583 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
15584 (PROF): Use symbolic stack frame offsets.
15585 (TAIL_CALL_SYSCALL_ERROR): Likewise.
15586 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
15587 Redefine in terms of FRAME_MIN_SIZE.
15588 (_dl_runtime_resolve): Use symbolic stack frame offsets.
15589 (_dl_profile_resolve): Likewise. Update comment.
15590 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
15591 symbols stack frame offsets.
15592 (__sigsetjmp): Likewise.
15593 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
15594 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
15595 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
15596 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
15598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
15599 (FRAME_BACKCHAIN): Remove.
15600 (FRAME_CR_SAVE): Likewise.
15601 (FRAME_LR_SAVE): Likewise.
15602 (FRAME_COMPILER_DW): Likewise.
15603 (FRAME_LINKER_DW): Likewise.
15604 (FRAME_TOC_SAVE): Likewise.
15605 (FRAME_PARM_SAVE): Likewise.
15606 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
15607 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
15608 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
15610 (CHECK_SP): Use symbolic stack frame offsets.
15611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
15612 zone" instead of caller's parameter save area for temp storage.
15613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15614 Likewise. Also, use symbolic stack frame offsets.
15615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
15616 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
15617 our own stack frame instead of the caller's.
15618 (__socket): Use symbolic stack frame offsets.
15620 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15621 Alan Modra <amodra@gmail.com>
15623 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
15625 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
15626 (PPC64_LOCAL_ENTRY_OFFSET): Define.
15627 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
15629 (elf_machine_fixup_plt): Call it.
15630 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
15632 (elf_machine_rela): Update call to elf_machine_plt_conflict.
15633 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15634 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
15635 r2 before calling target.
15637 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15638 Alan Modra <amodra@gmail.com>
15640 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
15641 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
15642 versions of macros to support ELFv2 ABI.
15643 (LOCALENTRY): New macro.
15644 (ENTRY, EALIGN): Use it.
15645 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
15646 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
15647 fall through into ENTRY entry point.
15648 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
15649 Only define if _CALL_ELF != 2.
15651 (elf_machine_matches_host): Verify ABI version matches.
15652 (RTLD_START): Use LOCALENTRY.
15653 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
15654 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
15655 (PLT_ENTRY_WORDS): New macro.
15656 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
15657 (elf_machine_runtime_setup): Support ELFv2 ABI.
15658 (elf_machine_fixup_plt): Likewise.
15659 (elf_machine_plt_conflict): Likewise.
15660 (resolve_ifunc): Likewise.
15661 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15662 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
15665 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
15666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15667 (makecontext): Support ELFv2 ABI.
15668 * elf/elf.h (EF_PPC64_ABI): Define.
15670 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15672 * sysdeps/powerpc/powerpc64/sysdep.h
15673 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
15674 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
15675 (ENTRY) [ASSEMBLER]: ... but instead here ...
15676 (EALIGN) [ASSEMBLER]: ... and here.
15677 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
15678 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
15679 (ENTRY_2) [!ASSEMBLER]: Use it.
15680 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
15681 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
15682 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15683 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
15684 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
15685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
15686 Use PPC64_LOAD_FUNCPTR.
15688 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
15690 2013-12-04 Alan Modra <amodra@gmail.com>
15692 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
15693 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
15694 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
15695 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
15697 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
15698 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
15699 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
15700 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
15701 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
15702 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
15704 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15707 (__makecontext): Fix incorrect CFI when backtracing out of
15708 context created via makecontext.
15709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
15710 (__setcontext): Fix incorrect CFI during switch to new context.
15711 (__novec_setcontext): Likewise.
15713 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
15716 * time/strptime_l.c (__strptime_internal): Allow modifiers
15718 * time/tst-strptime.c (day_tests): Add testcase.
15720 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15722 * scripts/bench.pl: Skip over blank lines.
15724 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
15727 * manual/time.texi (Calendar Time): Clarify what timezone functions
15730 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15732 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15734 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
15736 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
15738 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15739 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15740 * debug/memset_chk.c (__memset_chk): Likewise.
15741 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
15742 * debug/strncpy_chk.c: Likewise.
15744 2013-12-03 Joseph Myers <joseph@codesourcery.com>
15748 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
15749 (__ieee754_exp): For possibly underflowing results, check size of
15750 result and force underflow exception if required.
15751 * math/auto-libm-test-in: Add more tests of exp.
15752 * math/auto-libm-test-out: Regenerated.
15753 * sysdeps/i386/fpu/libm-test-ulps: Update.
15754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15757 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
15758 * math/w_exp2f.c (__exp2f): Likewise.
15759 * math/w_exp2l.c (__exp2l): Likewise.
15760 * math/auto-libm-test-in: Do not allow missing errno on exp2
15762 * math/auto-libm-test-out: Regenerated.
15764 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
15767 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
15768 handle filename validation.
15769 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
15772 2013-12-03 Joseph Myers <joseph@codesourcery.com>
15775 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
15776 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
15777 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
15779 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
15780 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
15781 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15782 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
15783 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15784 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
15785 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15786 * math/auto-libm-test-in: Don't allow missing errno from erfc.
15787 Add more erfc tests.
15788 * math/auto-libm-test-out: Regenerated.
15789 * sysdeps/i386/fpu/libm-test-ulps: Update.
15790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15792 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
15793 exp2, expm1, j0 and j1.
15794 * math/auto-libm-test-out: Regenerated.
15795 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
15796 (erfc_test_data): Likewise.
15797 (exp_test_data): Likewise.
15798 (exp_tonearest_test_data): Likewise.
15799 (exp_towardzero_test_data): Likewise.
15800 (exp_downward_test_data): Likewise.
15801 (exp_upward_test_data): Likewise.
15802 (exp10_test_data): Likewise.
15803 (exp2_test_data): Likewise.
15804 (expm1_test_data): Likewise.
15805 (j0_test_data): Likewise.
15806 (j1_test_data): Likewise.
15807 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
15808 (input_flag_type): Add flag_xfail_rounding.
15809 (input_flags): Add xfail-rounding.
15810 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
15811 (output_for_one_input_case): Handle flag_xfail_rounding.
15812 * sysdeps/i386/fpu/libm-test-ulps: Update.
15813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15815 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
15818 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
15821 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15824 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
15825 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
15826 (STAP_PROBE0): New macro.
15827 (STAP_PROBE1): Likewise.
15828 (STAP_PROBE2): Likewise.
15829 (STAP_PROBE3): Likewise.
15830 (STAP_PROBE4): Likewise.
15832 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
15834 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
15836 2013-12-02 Steve Ellcey <sellcey@mips.com>
15838 * benchtests/Makefile (bench): Add sqrt.
15839 (LDLIBS-bench-sqrt): New.
15840 * benchtests/sqrt-input: New.
15842 2013-12-02 Pavel Simerda <psimerda@redhat.com>
15844 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
15845 (GAIH_EAI): Likewise.
15846 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
15847 (gaih_inet): Likewise.
15848 (getaddrinfo): Don't use GAIH_EAI.
15850 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
15851 (struct gaih): Remove definition.
15853 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15855 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
15856 Use HERRNOP directly.
15858 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15862 2013-11-30 Joseph Myers <joseph@codesourcery.com>
15864 * math/gen-auto-libm-tests.c (test_functions): Add more
15865 single-argument functions.
15866 (special_fill_pi_2): New function.
15867 (special_fill_minus_pi_2): Likewise.
15868 (special_fill_pi_6): Likewise.
15869 (special_fill_minus_pi_6): Likewise.
15870 (special_fill_pi_3): Likewise.
15871 (special_fill_2pi_3): Likewise.
15872 (special_fill_e): Likewise.
15873 (special_fill_1_e): Likewise.
15874 (special_fill_e_minus_1): Likewise.
15875 (special_real_inputs): Add more special inputs.
15876 (output_for_one_input_case): Do not require ERANGE on underflow to
15877 zero if round-to-nearest result does not underflow to zero, unless
15878 exact results required.
15879 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
15880 atan, atanh, cbrt, cos and cosh.
15881 * math/auto-libm-test-out: Regenerated.
15882 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
15883 (acos_tonearest_test_data): Likewise.
15884 (acos_towardzero_test_data): Likewise.
15885 (acos_downward_test_data): Likewise.
15886 (acos_upward_test_data): Likewise.
15887 (acosh_test_data): Likewise.
15888 (asin_test_data): Likewise.
15889 (asin_tonearest_test_data): Likewise.
15890 (asin_towardzero_test_data): Likewise.
15891 (asin_upward_test_data): Likewise.
15892 (asinh_test_data): Likewise.
15893 (atan_test_data): Likewise.
15894 (atanh_test_data): Likewise.
15895 (cbrt_test_data): Likewise.
15896 (cos_test_data): Likewise.
15897 (cos_tonearest_test_data): Likewise.
15898 (cos_towardzero_test_data): Likewise.
15899 (cos_downward_test_data): Likewise.
15900 (cos_upward_test_data): Likewise.
15901 (cosh_test_data): Likewise.
15902 (cosh_tonearest_test_data): Likewise.
15903 (cosh_towardzero_test_data): Likewise.
15904 (cosh_downward_test_data): Likewise.
15905 (cosh_upward_test_data): Likewise.
15906 * sysdeps/i386/fpu/libm-test-ulps: Update.
15907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15909 2013-11-29 Joseph Myers <joseph@codesourcery.com>
15912 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
15913 * math/w_exp10f.c (__exp10f): Likewise.
15914 * math/w_exp10l.c (__exp10l): Likewise.
15915 * math/libm-test.inc (exp10_test_data): Add more tests and expect
15916 errno settings in existing tests.
15919 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
15920 precision control set to double precision.
15921 * sysdeps/i386/fpu/w_sqrt.c: New file.
15922 * math/auto-libm-test-in: Add more tests.
15923 * math/auto-libm-test-out: Update.
15925 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
15926 (sqrt_test_tonearest): New function.
15927 (sqrt_towardzero_test_data): New variable.
15928 (sqrt_test_towardzero): New function.
15929 (sqrt_downward_test_data): New variable.
15930 (sqrt_test_downward): New function.
15931 (sqrt_upward_test_data): New variable.
15932 (sqrt_test_upward): New function.
15933 (main): Call the new functions.
15935 * math/gen-auto-libm-tests.c: New file.
15936 * math/auto-libm-test-in: Likewise.
15937 * math/auto-libm-test-out: New generated file.
15938 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
15940 (%beautify): Add generated representations of zero.
15941 (top level): Set $auto_input and call parse_auto_input.
15942 (beautify): Remove trailing "f" from hex float constants.
15943 (parse_args): Handle XFAIL_TEST.
15944 (convert_condition): New function.
15945 (or_value): Likewise.
15946 (or_cond_value): Likewise.
15947 (generate_testfile): Handle AUTO_TESTS_* lines.
15948 (parse_auto_input): New function.
15949 * math/libm-test.inc (XFAIL_TEST): New macro.
15950 (ERRNO_UNCHANGED): Update value.
15951 (ERRNO_EDOM): Likewise.
15952 (ERRNO_ERANGE): Likewise.
15953 (IGNORE_RESULT): Likewise.
15954 (TEST_COND_flt_32): New macro.
15955 (TEST_COND_dbl_64): Likewise.
15956 (TEST_COND_ldbl_96_intel): Likewise.
15957 (TEST_COND_ldbl_96_m68k): Likewise.
15958 (TEST_COND_ldbl_128): Likewise.
15959 (TEST_COND_ldbl_128ibm): Likewise.
15960 (TEST_COND_long32): Likewise.
15961 (TEST_COND_long64): Likewise.
15962 (TEST_COND_before_rounding): Likewise.
15963 (TEST_COND_after_rounding): Likewise.
15964 (enable_test): Handle XFAIL_TEST flag.
15965 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
15966 with finite results.
15967 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
15968 auto-libm-test-out.
15970 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15971 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15974 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
15975 __tls_get_addr_internal instead of __tls_get_offset in order to
15976 avoid GOT pointer dependency. Make rtld export
15977 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
15978 __tls_get_addr since we are a __tls_get_offset platform.
15979 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
15980 GOT pointer being set up before.
15981 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
15983 2013-11-28 Joseph Myers <joseph@codesourcery.com>
15985 * manual/math.texi (Errors in Math Functions): Document accuracy
15989 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
15990 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
15991 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15992 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15993 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15994 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15995 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15996 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15997 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15998 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15999 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16000 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16001 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16002 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16003 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16004 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16006 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
16007 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
16008 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
16009 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
16010 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
16012 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
16014 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
16016 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
16017 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16018 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
16019 atomic-feupdateenv and flt-rounds.
16020 * sysdeps/powerpc/nofpu/Versions (libc): Add
16021 __atomic_feholdexcept, __atomic_feclearexcept,
16022 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
16023 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
16024 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
16025 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
16026 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
16028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16031 * manual/arith.texi (FP Exceptions): Document that exceptions may
16032 not be raised when matherr is used.
16033 (Math Error Reporting): Document overflow in directed rounding
16034 modes. Document that errno may not be set when finite values are
16035 returned on overflow. Document intent to set errno on underflow
16036 only for underflow to zero.
16039 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
16040 round-to-nearest then adjust result for other rounding modes.
16041 * include/fenv.h (fegetround): Use libm_hidden_proto.
16042 * math/fegetround.c (fegetround): Use libm_hidden_def.
16043 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16044 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16045 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16046 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16048 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
16049 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16050 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16051 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
16053 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16056 * nss/Versions (libnss_files): Add
16057 _nss_files_gethostbyname3_r.
16058 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
16060 (HOST_DB_LOOKUP): Remove macro.
16061 (_nss_files_gethostbyname_r): Implement function without the
16062 HOST_DB_LOOKUP macro.
16063 (_nss_files_gethostbyname2_r): Likewise.
16065 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
16067 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
16069 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
16071 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
16072 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
16075 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16077 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
16078 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
16079 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16080 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16081 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
16082 __fe_nomask_env_priv and attribute_hidden.
16083 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
16084 (libc_feupdateenv_test_ppc): Likewise.
16085 (libc_feresetround_ppc): Likewise.
16086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16087 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
16088 compat_symbol macro.
16089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16090 (__fe_nomask_env): Likewise.
16091 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
16093 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16095 * string/Makefile: Remove ifunc tests.
16096 * string/test-string.h: Define TEST_IFUNC.
16097 * string/test-bcopy-ifunc.c: Remove.
16098 * string/test-bzero-ifunc.c: Likewise.
16099 * string/test-memccpy-ifunc.c: Likewise.
16100 * string/test-memchr-ifunc.c: Likewise.
16101 * string/test-memcmp-ifunc.c: Likewise.
16102 * string/test-memcpy-ifunc.c: Likewise.
16103 * string/test-memmem-ifunc.c: Likewise.
16104 * string/test-memmove-ifunc.c: Likewise.
16105 * string/test-mempcpy-ifunc.c: Likewise.
16106 * string/test-memrchr-ifunc.c: Likewise.
16107 * string/test-memset-ifunc.c: Likewise.
16108 * string/test-rawmemchr-ifunc.c: Likewise.
16109 * string/test-stpcpy-ifunc.c: Likewise.
16110 * string/test-stpncpy-ifunc.c: Likewise.
16111 * string/test-strcasecmp-ifunc.c: Likewise.
16112 * string/test-strcasestr-ifunc.c: Likewise.
16113 * string/test-strcat-ifunc.c: Likewise.
16114 * string/test-strchr-ifunc.c: Likewise.
16115 * string/test-strchrnul-ifunc.c: Likewise.
16116 * string/test-strcmp-ifunc.c: Likewise.
16117 * string/test-strcpy-ifunc.c: Likewise.
16118 * string/test-strcspn-ifunc.c: Likewise.
16119 * string/test-strlen-ifunc.c: Likewise.
16120 * string/test-strncasecmp-ifunc.c: Likewise.
16121 * string/test-strncat-ifunc.c: Likewise.
16122 * string/test-strncmp-ifunc.c: Likewise.
16123 * string/test-strncpy-ifunc.c: Likewise.
16124 * string/test-strnlen-ifunc.c: Likewise.
16125 * string/test-strpbrk-ifunc.c: Likewise.
16126 * string/test-strrchr-ifunc.c: Likewise.
16127 * string/test-strspn-ifunc.c: Likewise.
16128 * string/test-strstr-ifunc.c: Likewise.
16130 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16132 * benchtests/Makefile: Remove ifunc tests.
16133 * benchtests/bench-string.h: Define TEST_IFUNC.
16134 * benchtests/bench-bcopy-ifunc.c: Remove.
16135 * benchtests/bench-bzero-ifunc.c: Likewise.
16136 * benchtests/bench-memccpy-ifunc.c: Likewise.
16137 * benchtests/bench-memchr-ifunc.c: Likewise.
16138 * benchtests/bench-memcmp-ifunc.c: Likewise.
16139 * benchtests/bench-memcpy-ifunc.c: Likewise.
16140 * benchtests/bench-memmem-ifunc.c: Likewise.
16141 * benchtests/bench-memmove-ifunc.c: Likewise.
16142 * benchtests/bench-mempcpy-ifunc.c: Likewise.
16143 * benchtests/bench-memrchr-ifunc.c: Likewise.
16144 * benchtests/bench-memset-ifunc.c: Likewise.
16145 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
16146 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
16147 * benchtests/bench-stpcpy-ifunc.c: Likewise.
16148 * benchtests/bench-stpncpy-ifunc.c: Likewise.
16149 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
16150 * benchtests/bench-strcasestr-ifunc.c: Likewise.
16151 * benchtests/bench-strcat-ifunc.c: Likewise.
16152 * benchtests/bench-strchr-ifunc.c: Likewise.
16153 * benchtests/bench-strchrnul-ifunc.c: Likewise.
16154 * benchtests/bench-strcmp-ifunc.c: Likewise.
16155 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
16156 * benchtests/bench-strcpy-ifunc.c: Likewise.
16157 * benchtests/bench-strcspn-ifunc.c: Likewise.
16158 * benchtests/bench-strlen-ifunc.c: Likewise.
16159 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
16160 * benchtests/bench-strncat-ifunc.c: Likewise.
16161 * benchtests/bench-strncmp-ifunc.c: Likewise.
16162 * benchtests/bench-strncpy-ifunc.c: Likewise.
16163 * benchtests/bench-strnlen-ifunc.c: Likewise.
16164 * benchtests/bench-strpbrk-ifunc.c: Likewise.
16165 * benchtests/bench-strrchr-ifunc.c: Likewise.
16166 * benchtests/bench-strsep-ifunc.c: Likewise.
16167 * benchtests/bench-strspn-ifunc.c: Likewise.
16168 * benchtests/bench-strstr-ifunc.c: Likewise.
16170 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16172 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
16174 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16176 * resolv/netdb.h: Use __glibc_reserved instead __unused.
16177 * rt/aio.h: Likewise.
16178 * sysdeps/gnu/bits/utmp.h: Likewise.
16179 * sysdeps/gnu/bits/utmpx.h: Likewise.
16180 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16181 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
16182 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
16183 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
16184 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
16185 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
16186 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
16187 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
16188 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
16189 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
16190 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
16191 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
16192 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
16193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
16194 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16195 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
16196 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
16197 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
16198 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
16199 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
16200 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
16201 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
16202 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
16203 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16204 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
16205 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16206 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
16207 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
16208 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
16209 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
16210 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
16211 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
16212 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
16213 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16214 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
16215 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
16216 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
16217 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
16218 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
16219 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
16220 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
16221 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16223 2013-11-25 Carlos O'Donell <carlos@redhat.com>
16226 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
16227 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
16229 2013-11-25 Joseph Myers <joseph@codesourcery.com>
16231 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
16232 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16235 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16237 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
16238 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
16239 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
16240 (__fesetround): Remove define.
16241 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
16242 rounding and exceptions handling.
16243 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
16244 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
16245 (__fe_nomask_env): Likewise.
16246 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
16247 __fegetround instead of fegetround.
16248 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16249 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16251 2013-11-21 Roland McGrath <roland@hack.frob.com>
16253 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
16256 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
16258 2013-11-21 Meador Inge <meadori@codesourcery.com>
16261 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
16262 (encrypt_r): Likewise.
16263 * malloc/obstack.h (obstack_free): Likewise.
16264 * posix/unistd.h (encrypt): Likewise.
16266 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
16268 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
16269 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
16270 DL_CALL_DT_FINI() that call the functions directly.
16271 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
16272 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
16273 * elf/dl-fini.c: Likewise.
16275 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
16277 * malloc/hooks.c (memalign_check): Add alignment rounding.
16278 * malloc/malloc.c (_mid_memalign): New function.
16279 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
16280 Implement by calling _mid_memalign.
16281 * manual/probes.texi (Memory Allocation Probes): Remove
16282 memory_valloc_retry and memory_pvalloc_retry.
16284 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16286 * locale/programs/locarchive.c (open_archive): Add const
16287 qualifier to ARCHIVEFNAME and copy default fname to
16291 * libio/tst-widetext.input: Rename Oriya to Odia.
16292 * locale/iso-639.def: Likewise.
16294 * manual/probes.texi (Mathematical Function Probes): Add
16295 documentation for sin, cos, asin and acos probes.
16296 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
16297 (__sin32): Add slowasin probe.
16298 (__cos32): Add slowacos probe.
16299 (__mpsin): Add slowsin probe.
16300 (__mpcos): Add slowcos probe.
16302 2013-11-19 Joseph Myers <joseph@codesourcery.com>
16305 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
16306 thread-local __sim_exceptions_thread and global
16307 __sim_exceptions_global.
16308 (__sim_disabled_exceptions): Change to thread-local
16309 __sim_disabled_exceptions_thread and global
16310 __sim_disabled_exceptions_global.
16311 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16312 and global __sim_round_mode_global.
16313 (__simulate_exceptions): Use thread-local floating-point state and
16314 set global state from it as needed.
16315 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
16316 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
16317 __sim_round_mode_thread.
16318 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
16319 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
16320 and global __sim_exceptions_global.
16321 (__sim_disabled_exceptions): Change to thread-local
16322 __sim_disabled_exceptions_thread and global
16323 __sim_disabled_exceptions_global.
16324 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16325 and global __sim_round_mode_global.
16326 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
16327 (SIM_SET_GLOBAL): Likewise.
16328 * sysdeps/powerpc/soft-fp/sfp-machine.h
16329 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
16330 __sim_round_mode_thread.
16331 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
16332 __sim_disabled_exceptions_thread.
16333 (__sim_exceptions): Change to __sim_exceptions_thread.
16334 (__sim_disabled_exceptions): Change to
16335 __sim_disabled_exceptions_thread.
16336 (__sim_round_mode): Change to __sim_round_mode_thread.
16337 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
16338 thread-local floating-point state and set global state from it as
16340 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
16341 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
16342 (__sim_disabled_exceptions): Remove extern declaration.
16343 (feenableexcept): Use thread-local floating-point state and set
16344 global state from it as needed.
16345 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
16346 extern declaration.
16347 (__sim_disabled_exceptions): Likewise.
16348 (__sim_round_mode): Likewise.
16349 (__fegetenv): Use thread-local floating-point state.
16350 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
16351 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16352 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
16353 floating-point state and set global state from it as needed.
16354 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
16355 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16356 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
16358 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16359 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
16361 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
16362 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
16363 Use __sim_round_mode_thread.
16364 * math/test-fenv-tls.c: New file.
16365 * math/Makefile (tests): Add test-fenv-tls.
16366 ($(objpfx)test-fenv-tls): Depend on
16367 $(common-objpfx)nptl/libpthread.so.
16369 2013-11-19 Andreas Schwab <schwab@suse.de>
16371 * locale/programs/locale.c (show_info): Decode wordarray elements.
16372 * locale/categories.def (LC_MONETARY): Add element for
16373 _NL_MONETARY_CRNCYSTR.
16374 * locale/C-monetary.c (conversion_rate): New variable.
16375 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
16378 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
16380 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
16381 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
16383 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16385 * elf/Makefile (tst-auxv): New test.
16386 * elf/tst-auxv.c: New
16387 * elf/rtld.c (dl_main): Adjust AT_EXECFN
16389 2013-11-18 Joseph Myers <joseph@codesourcery.com>
16391 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
16392 (hidden_proto): Caller changed.
16393 (hidden_tls_proto): New macro.
16394 (libc_hidden_tls_proto): Likewise.
16395 (rtld_hidden_tls_proto): Likewise.
16396 (libm_hidden_tls_proto): Likewise.
16397 (libresolv_hidden_tls_proto): Likewise.
16398 (librt_hidden_tls_proto): Likewise.
16399 (libdl_hidden_tls_proto): Likewise.
16400 (libnss_files_hidden_tls_proto): Likewise.
16401 (libnsl_hidden_tls_proto): Likewise.
16402 (libnss_nisplus_hidden_tls_proto): Likewise.
16403 (libutil_hidden_tls_proto): Likewise.
16405 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
16408 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
16409 (decompose_rpath): Defer expansion to fillin_rpath.
16410 (_dl_init_paths): Pass linkmap to fillin_rpath.
16412 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16414 * benchtests/Makefile: Add strsep.
16415 * benchtests/bench-strsep.c: New file: strsep benchtest.
16416 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
16418 2013-11-18 Andreas Schwab <schwab@suse.de>
16420 * locale/programs/locale.c (show_info) [case byte]: Check for
16421 '\377' instead of '\177'.
16422 * locale/C-monetary.c (not_available): Always use "\377".
16423 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
16424 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
16425 detect unavailable sign_posn locale elements.
16426 * locale/localeconv.c (__localeconv): For grouping and
16427 mon_grouping handle "\177" and "\377" like no grouping.
16428 (INT_ELEM): New macro. Use it to set all numeric members.
16429 * locale/programs/ld-monetary.c (monetary_read)
16430 <tok_mon_grouping>: Normalize single -1 to the empty string.
16431 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
16434 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
16437 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
16438 when we match (nil).
16439 * stdio-common/tst-sscanf.c (struct test): Add testcase.
16441 2013-11-16 Joseph Myers <joseph@codesourcery.com>
16443 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
16444 (NO_TEST_INLINE): Update value.
16445 (ERRNO_UNCHANGED): Likewise.
16446 (ERRNO_EDOM): Likewise.
16447 (ERRNO_ERANGE): Likewise.
16448 (IGNORE_RESULT): Likewise.
16449 (check_float_internal): Check signs of NaN results if
16450 TEST_NAN_SIGN used.
16451 (check_complex): Pass TEST_NAN_SIGN flag through to second
16452 check_float_internal call.
16453 (copysign_test_data): Add tests with quiet NaNs as second
16454 argument. Use TEST_NAN_SIGN.
16455 (fabs_test_data): Add test of negative quiet NaN argument. Use
16457 (signbit_test_data): Add tests of quiet NaN argument.
16458 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
16460 * math/gen-libm-test.pl (show_exceptions): Take extra argument
16462 (parse_args): Handle function results specified as IGNORE.
16463 * math/libm-test.inc (IGNORE_RESULT): New macro.
16464 (check_float_internal): Do not check numerical result if flag
16466 (check_complex): Pass through IGNORE_RESULT to second
16467 check_float_internal call.
16468 (check_int): Do not check numerical result if flag IGNORE_RESULT
16470 (check_long): Likewise.
16471 (check_bool): Likewise.
16472 (check_longlong): Likewise.
16473 (lrint_test_data): Add tests of infinite and NaN arguments.
16474 (lrint_tonearest_test_data): Likewise.
16475 (lrint_towardzero_test_data): Likewise.
16476 (lrint_downward_test_data): Likewise.
16477 (lrint_upward_test_data): Likewise.
16478 (llrint_test_data): Likewise.
16479 (llrint_tonearest_test_data): Likewise.
16480 (llrint_towardzero_test_data): Likewise.
16481 (llrint_downward_test_data): Likewise.
16482 (llrint_upward_test_data): Likewise.
16483 (lround_test_data): Likewise.
16484 (llround_test_data): Likewise.
16486 * math/libm-test.inc (NO_TEST_INLINE): New macro.
16487 (ERRNO_UNCHANGED): Update value.
16488 (ERRNO_EDOM): Likewise.
16489 (ERRNO_ERANGE): Likewise.
16490 (NO_TEST_INLINE_FLOAT): New macro.
16491 (NO_TEST_INLINE_DOUBLE): Likewise.
16492 (enable_test): New function.
16493 (RUN_TEST_f_f): Check enable_test before running test.
16494 (RUN_TEST_2_f): Likewise.
16495 (RUN_TEST_fff_f): Likewise.
16496 (RUN_TEST_c_f): Likewise.
16497 (RUN_TEST_f_f1): Likewise.
16498 (RUN_TEST_fF_f1): Likewise.
16499 (RUN_TEST_fI_f1): Likewise.
16500 (RUN_TEST_ffI_f1): Likewise.
16501 (RUN_TEST_c_c): Likewise.
16502 (RUN_TEST_cc_c): Likewise.
16503 (RUN_TEST_f_i): Likewise.
16504 (RUN_TEST_f_i_tg): Likewise.
16505 (RUN_TEST_ff_i_tg): Likewise.
16506 (RUN_TEST_f_b): Likewise.
16507 (RUN_TEST_f_b_tg): Likewise.
16508 (RUN_TEST_f_l): Likewise.
16509 (RUN_TEST_f_L): Likewise.
16510 (RUN_TEST_fFF_11): Likewise.
16511 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
16513 (cosh_test_data): Likewise.
16514 (exp_test_data): Likewise.
16515 (expm1_test_data): Likewise.
16516 (hypot_test_data): Likewise.
16517 (pow_test_data): Likewise.
16518 (sinh_test_data): Likewise.
16519 (tanh_test_data): Likewise.
16520 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
16523 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
16524 tests with quiet NaN input and output.
16525 (acosh_test_data): Likewise.
16526 (asin_test_data): Likewise.
16527 (asinh_test_data): Likewise.
16528 (atan_test_data): Likewise.
16529 (atanh_test_data): Likewise.
16530 (atan2_test_data): Likewise.
16531 (cbrt_test_data): Likewise.
16532 (cos_test_data): Likewise.
16533 (cosh_test_data): Likewise.
16534 (erf_test_data): Likewise.
16535 (erfc_test_data): Likewise.
16536 (exp_test_data): Likewise.
16537 (exp10_test_data): Likewise.
16538 (exp2_test_data): Likewise.
16539 (expm1_test_data): Likewise.
16540 (hypot_test_data): Likewise.
16541 (j0_test_data): Likewise.
16542 (j1_test_data): Likewise.
16543 (jn_test_data): Likewise.
16544 (lgamma_test_data): Likewise.
16545 (log_test_data): Likewise.
16546 (log10_test_data): Likewise.
16547 (log1p_test_data): Likewise.
16548 (log2_test_data): Likewise.
16549 (pow_test_data): Likewise.
16550 (scalb_test_data): Likewise.
16551 (sin_test_data): Likewise.
16552 (sincos_test_data): Likewise.
16553 (sinh_test_data): Likewise.
16554 (tan_test_data): Likewise.
16555 (tanh_test_data): Likewise.
16556 (tgamma_test_data): Likewise.
16557 (y0_test_data): Likewise.
16558 (y1_test_data): Likewise.
16559 (yn_test_data): Likewise.
16562 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
16563 argument being NaN and avoid computations with second argument in
16565 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16566 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16567 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16569 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
16571 * locale/iso-639.def: Add Chitwani Tharu (the).
16573 2013-11-14 Andreas Schwab <schwab@suse.de>
16575 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
16576 word instead of empty string.
16578 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16581 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
16582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16583 (__fe_nomask_env): Likewise.
16585 2013-11-13 Steve Ellcey <sellcey@mips.com>
16587 * benchtests/bench-timing.h: Include time.h.
16589 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
16592 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
16594 * sysdeps/unix/sysv/linux/configure: Regenerated.
16596 2013-11-13 Joseph Myers <joseph@codesourcery.com>
16599 * stdlib/strtod_l.c (round_and_return): Do not consider
16600 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
16601 exponent one less than half the least subnormal exponent.
16602 * stdlib/test-strtod-round-data: Add more tests.
16603 * stdlib/tst-strtod-round.c (tests): Regenerated.
16605 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16608 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
16609 (__fe_mask_env): Likewise.
16610 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
16611 libm_hidden_proto and add function prototype.
16612 (__fe_mask_env): Add function prototype.
16613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16614 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
16615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16616 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
16617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16618 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
16620 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16622 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
16623 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
16625 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16627 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
16628 of htab_find_slot().
16630 2013-11-11 David S. Miller <davem@davemloft.net>
16633 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
16634 symbol in the non-vis3 case in static builds.
16635 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
16636 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
16637 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
16638 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
16640 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16643 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
16646 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16648 * benchtests/Makefile: Add bench-strtod.
16649 * benchtests/bench-strtod.c: New file: strtod benchtest
16651 2013-11-11 Andreas Schwab <schwab@suse.de>
16654 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
16655 terminating NUL in key length.
16657 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16659 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16660 Add artificial ODP entry for vDSO symbol for PPC64.
16661 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
16662 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16664 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
16667 * nss/getent.c (services_keys): Recognize services starting with digit.
16669 2013-11-06 David S. Miller <davem@davemloft.net>
16672 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
16673 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
16675 2013-11-06 Will Newton <will.newton@linaro.org>
16677 * manual/memory.texi (Malloc Examples): Remove register
16678 keyword from examples.
16680 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
16682 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
16684 2013-11-04 Joseph Myers <joseph@codesourcery.com>
16687 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
16688 depending on [__GCC_IEC_559 > 0].
16689 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
16690 depending on [__GCC_IEC_559_COMPLEX > 0].
16692 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
16694 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
16697 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
16699 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
16701 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
16704 * malloc/malloc (malloc_info): Do not handle first bin as
16707 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
16709 * locale/iso-639.def: Add Central Nahuatl (nhn).
16711 2013-11-01 Bruno Haible <bruno@clisp.org>
16714 * manual/math.texi (BSD Random): Specify range upper bound as
16717 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
16719 * locale/iso-639.def: Add Meadow Mari (mhr).
16721 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
16723 [BZ #14752], [BZ #15763]
16724 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
16726 * rt/tst_shm.c: Add test for escaping directory.
16728 2013-10-31 Andreas Schwab <schwab@suse.de>
16731 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
16732 followed by 'x' as part of digit sequence.
16733 * stdio-common/tst-sscanf.c (double_tests2): New tests.
16735 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
16738 * configure.ac: allow GNU Make 4.0 and greater.
16739 * configure: Regenerated.
16741 2013-10-30 Will Newton <will.newton@linaro.org>
16744 * malloc/hooks.c (memalign_check): Limit alignment to the
16745 maximum representable power of two.
16746 * malloc/malloc.c (__libc_memalign): Likewise.
16747 * malloc/tst-memalign.c (do_test): Add test for very
16748 large alignment values.
16749 * malloc/tst-posix_memalign.c (do_test): Likewise.
16751 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
16754 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
16755 (munmap_chunk): Likewise.
16756 (mremap_chunk): Likewise.
16758 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
16761 * stdlib/div.c (div): Remove obsolete code.
16762 * stdlib/ldiv.c (ldiv): Likewise.
16763 * stdlib/lldiv.c (lldiv): Likewise.
16765 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16768 * nss/nss_files/files-XXX.c (get_contents_ret): New
16770 (get_contents): New function.
16771 (internal_getent): Use it. Expand size of LINEBUFLEN.
16773 2013-10-30 Mike Frysinger <vapier@gentoo.org>
16775 * configure.in: Moved to ...
16776 * configure.ac: ... here. Change reference to configure.in
16778 * sysdeps/arm/preconfigure.ac: ... here.
16779 configure.in to configure.ac.
16780 * sysdeps/gnu/configure.in: Moved to ...
16781 * sysdeps/gnu/configure.ac: ... here.
16782 * sysdeps/i386/configure.in: Moved to ...
16783 * sysdeps/i386/configure.ac: ... here.
16784 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
16785 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
16786 * sysdeps/mach/configure.in: Moved to ...
16787 * sysdeps/mach/configure.ac: ... here.
16788 * sysdeps/mach/hurd/configure.in: Moved to ...
16789 * sysdeps/mach/hurd/configure.ac: ... here.
16790 * sysdeps/powerpc/configure.in: Moved to ...
16791 * sysdeps/powerpc/configure.ac: ... here.
16792 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
16793 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
16794 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
16795 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
16796 * sysdeps/s390/s390-32/configure.in: Moved to ...
16797 * sysdeps/s390/s390-32/configure.ac: ... here.
16798 * sysdeps/s390/s390-64/configure.in: Moved to ...
16799 * sysdeps/s390/s390-64/configure.ac: ... here.
16800 * sysdeps/sh/configure.in: Moved to ...
16801 * sysdeps/sh/configure.ac: ... here.
16802 * sysdeps/sparc/configure.in: Moved to ...
16803 * sysdeps/sparc/configure.ac: ... here.
16804 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
16805 * sysdeps/unix/sysv/linux/configure.ac: ... here.
16806 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
16807 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
16808 * sysdeps/x86_64/configure.in: Moved to ...
16809 * sysdeps/x86_64/configure.ac: ... here.
16810 * sysdeps/x86_64/preconfigure.in: Moved to ...
16811 * sysdeps/x86_64/preconfigure.ac: ... here.
16812 * aclocal.m4: Change reference to configure.in to configure.ac.
16813 * config.h.in: Likewise.
16814 * manual/install.texi: Likewise.
16815 * manual/maint.texi: Likewise.
16816 * Makefile: Likewise.
16817 * malloc/Makefile: Likewise.
16818 * nscd/Makefile: Likewise.
16819 * Makeconfig: Change reference to configure.in and
16820 preconfigure.in to configure.ac and preconfigure.ac
16822 * INSTALL: Regenerated.
16823 * configure: Likewise.
16824 * sysdeps/gnu/configure: Likewise.
16825 * sysdeps/i386/configure: Likewise.
16826 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
16827 * sysdeps/mach/configure: Likewise.
16828 * sysdeps/mach/hurd/configure: Likewise.
16829 * sysdeps/powerpc/configure: Likewise.
16830 * sysdeps/powerpc/powerpc32/configure: Likewise.
16831 * sysdeps/powerpc/powerpc64/configure: Likewise.
16832 * sysdeps/s390/s390-32/configure: Likewise.
16833 * sysdeps/s390/s390-64/configure: Likewise.
16834 * sysdeps/sh/configure: Likewise.
16835 * sysdeps/sparc/configure: Likewise.
16836 * sysdeps/unix/sysv/linux/configure: Likewise.
16837 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
16838 * sysdeps/x86_64/configure: Likewise.
16839 * sysdeps/x86_64/preconfigure: Likewise.
16841 2013-10-29 Andreas Schwab <schwab@suse.de>
16843 * stdio-common/Makefile (tst-swscanf-ENV): Define.
16845 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16847 * benchtests/pow-inputs: Add new inputs.
16849 * benchtests/exp-inputs: Add new inputs.
16851 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
16852 conditional check for return value.
16853 (__cos32): Likewise.
16855 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16857 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
16858 to provide a boost for large inputs with word alignment.
16859 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
16860 implementation based on optimized PPC64 strcpy.
16861 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
16862 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
16863 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
16864 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
16866 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
16869 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
16871 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
16874 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
16875 * time/tst-strptime.c (day_tests): Add testcase.
16877 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
16880 * manual/pattern.texi: Acknowledge that fnmatch can fail.
16882 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
16885 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
16886 MAP_FAILED on error.
16888 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16891 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
16892 heap for large requests.
16894 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
16897 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
16898 result if the result has no associated interface.
16899 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
16900 interface for all 127.X.Y.Z addresses.
16902 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
16904 * locale/iso-639.def: Add Ligurian (lij)
16906 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
16909 * sunrpc/rpc_main.c: Document rpcgen -5.
16911 2013-10-19 Michael Stahl <mstahl@redhat.com>
16913 * elf/rtld.c (do_preload): Print the reason why preloading failed.
16915 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
16918 * posix/glob.c: Match only directories when trailing slash is present.
16919 * posix/tst-gnuglob.c (my_opendir): Do not open files.
16920 (main): Add testcase.
16922 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
16925 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
16927 2013-10-18 Carlos O'Donell <carlos@redhat.com>
16929 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
16930 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
16931 AUTH_DES and cindex for FIPS 140-2.
16932 (DES Encryption): Add cindex FIPS 46-3.
16934 * locale/locarchive.h (struct locarhandle): Add fname.
16935 * locale/programs/localedef.c (main): Pass ARGV[remaining]
16936 if an optional argument was specified to --list-archive,
16938 * locale/programs/locarchive.c (show_archive_content): Take new
16939 argument fname and pass it via ah.fname to open_archive.
16940 * locale/programs/localedef.h: Update decl.
16941 (open_archive): If AH->fname is non-null, open that file
16942 rather than the default file name, and don't ignore ENOENT.
16943 (create_archive): Set AH.fname to NULL.
16944 (delete_locales_from_archive): Likewise.
16945 (add_locales_to_archive): Likewise.
16946 * locale/programs/locfile.c (write_all_categories): Likewise.
16948 2013-10-18 Joseph Myers <joseph@codesourcery.com>
16949 Aldy Hernandez <aldyh@redhat.com>
16951 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
16952 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
16953 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
16954 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
16955 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
16956 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
16957 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
16958 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
16959 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
16960 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
16961 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
16962 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
16963 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
16964 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
16965 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
16967 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
16969 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
16971 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
16973 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
16974 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
16976 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
16977 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
16978 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
16979 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
16981 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
16982 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
16983 * sysdeps/powerpc/preconfigure: Likewise.
16984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16986 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
16987 Replace contents of file by #include of <fenv_libc.h>.
16988 * sysdeps/powerpc/soft-fp/sfp-machine.h
16989 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
16991 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
16992 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
16993 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
16994 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
16995 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
16996 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
16997 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
16998 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
16999 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
17000 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
17001 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
17002 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
17003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17004 Allow copysignl PLT reference to be missing.
17006 2013-10-18 Richard Sandiford <richard@codesourcery.com>
17007 Joseph Myers <joseph@codesourcery.com
17010 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
17012 (add_to_tablewc): Assert sequence of wide characters is nonempty.
17014 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17016 * elf/tst-tls-dlinfo.c: Don't include tls.h.
17017 * elf/tst-tls1.c: Likewise.
17018 * elf/tst-tls10.h: Likewise.
17019 * elf/tst-tls14.c: Likewise.
17020 * elf/tst-tls2.c: Likewise.
17021 * elf/tst-tls3.c: Likewise.
17022 * elf/tst-tls4.c: Likewise.
17023 * elf/tst-tls5.c: Likewise.
17024 * elf/tst-tls6.c: Likewise.
17025 * elf/tst-tls7.c: Likewise.
17026 * elf/tst-tls8.c: Likewise.
17027 * elf/tst-tls9.c: Likewise.
17028 * elf/tst-tlsmod1.c: Likewise.
17029 * elf/tst-tlsmod13.c: Likewise.
17030 * elf/tst-tlsmod13a.c: Likewise.
17031 * elf/tst-tlsmod14a.c: Likewise.
17032 * elf/tst-tlsmod16a.c: Likewise.
17033 * elf/tst-tlsmod16b.c: Likewise.
17034 * elf/tst-tlsmod2.c: Likewise.
17035 * elf/tst-tlsmod3.c: Likewise.
17036 * elf/tst-tlsmod4.c: Likewise.
17037 * elf/tst-tlsmod5.c: Likewise.
17038 * elf/tst-tlsmod6.c: Likewise.
17040 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
17043 * malloc/malloc.c: remove checks for statistics.
17045 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
17048 * inet/inet_net.c (inet_network): Detect additional invalid strings.
17049 * inet/tst-network.c: Add testcase.
17051 2013-10-17 Andreas Schwab <schwab@suse.de>
17054 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
17055 to determine canonical name.
17057 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
17059 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
17060 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
17061 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17062 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17063 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17064 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17065 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17066 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17067 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17068 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17069 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17070 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17071 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17072 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17073 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17074 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17075 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17076 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17077 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17078 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17079 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17080 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17081 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17082 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
17083 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
17084 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17085 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17086 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
17087 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17088 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
17089 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17090 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17091 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17092 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17093 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17094 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17095 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17096 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17097 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17098 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17099 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17100 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17101 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17102 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17103 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17104 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17105 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17106 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17107 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17108 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17109 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17110 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17111 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17112 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17113 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17114 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17115 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17116 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17118 2013-10-17 Joseph Myers <joseph@codesourcery.com>
17121 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
17122 make result into a quiet NaN.
17124 2013-10-16 Joseph Myers <joseph@codesourcery.com>
17126 * soft-fp/adddf3.c: Fix horizontal whitespace.
17127 * soft-fp/addsf3.c: Likewise.
17128 * soft-fp/addtf3.c: Likewise.
17129 * soft-fp/divdf3.c: Likewise.
17130 * soft-fp/divsf3.c: Likewise.
17131 * soft-fp/divtf3.c: Likewise.
17132 * soft-fp/double.h: Likewise.
17133 * soft-fp/eqdf2.c: Likewise.
17134 * soft-fp/eqsf2.c: Likewise.
17135 * soft-fp/eqtf2.c: Likewise.
17136 * soft-fp/extenddftf2.c: Likewise.
17137 * soft-fp/extended.h: Likewise.
17138 * soft-fp/extendsfdf2.c: Likewise.
17139 * soft-fp/extendsftf2.c: Likewise.
17140 * soft-fp/extendxftf2.c: Likewise.
17141 * soft-fp/fixdfdi.c: Likewise.
17142 * soft-fp/fixdfsi.c: Likewise.
17143 * soft-fp/fixdfti.c: Likewise.
17144 * soft-fp/fixsfdi.c: Likewise.
17145 * soft-fp/fixsfsi.c: Likewise.
17146 * soft-fp/fixsfti.c: Likewise.
17147 * soft-fp/fixtfdi.c: Likewise.
17148 * soft-fp/fixtfsi.c: Likewise.
17149 * soft-fp/fixtfti.c: Likewise.
17150 * soft-fp/fixunsdfdi.c: Likewise.
17151 * soft-fp/fixunsdfsi.c: Likewise.
17152 * soft-fp/fixunsdfti.c: Likewise.
17153 * soft-fp/fixunssfdi.c: Likewise.
17154 * soft-fp/fixunssfsi.c: Likewise.
17155 * soft-fp/fixunssfti.c: Likewise.
17156 * soft-fp/fixunstfdi.c: Likewise.
17157 * soft-fp/fixunstfsi.c: Likewise.
17158 * soft-fp/fixunstfti.c: Likewise.
17159 * soft-fp/floatdidf.c: Likewise.
17160 * soft-fp/floatdisf.c: Likewise.
17161 * soft-fp/floatditf.c: Likewise.
17162 * soft-fp/floatsidf.c: Likewise.
17163 * soft-fp/floatsisf.c: Likewise.
17164 * soft-fp/floatsitf.c: Likewise.
17165 * soft-fp/floattidf.c: Likewise.
17166 * soft-fp/floattisf.c: Likewise.
17167 * soft-fp/floattitf.c: Likewise.
17168 * soft-fp/floatundidf.c: Likewise.
17169 * soft-fp/floatundisf.c: Likewise.
17170 * soft-fp/floatunditf.c: Likewise.
17171 * soft-fp/floatunsidf.c: Likewise.
17172 * soft-fp/floatunsisf.c: Likewise.
17173 * soft-fp/floatunsitf.c: Likewise.
17174 * soft-fp/floatuntidf.c: Likewise.
17175 * soft-fp/floatuntisf.c: Likewise.
17176 * soft-fp/floatuntitf.c: Likewise.
17177 * soft-fp/fmadf4.c: Likewise.
17178 * soft-fp/fmasf4.c: Likewise.
17179 * soft-fp/fmatf4.c: Likewise.
17180 * soft-fp/gedf2.c: Likewise.
17181 * soft-fp/gesf2.c: Likewise.
17182 * soft-fp/getf2.c: Likewise.
17183 * soft-fp/ledf2.c: Likewise.
17184 * soft-fp/lesf2.c: Likewise.
17185 * soft-fp/letf2.c: Likewise.
17186 * soft-fp/muldf3.c: Likewise.
17187 * soft-fp/mulsf3.c: Likewise.
17188 * soft-fp/multf3.c: Likewise.
17189 * soft-fp/negdf2.c: Likewise.
17190 * soft-fp/negsf2.c: Likewise.
17191 * soft-fp/negtf2.c: Likewise.
17192 * soft-fp/op-1.h: Likewise.
17193 * soft-fp/op-2.h: Likewise.
17194 * soft-fp/op-4.h: Likewise.
17195 * soft-fp/op-8.h: Likewise.
17196 * soft-fp/op-common.h: Likewise.
17197 * soft-fp/quad.h: Likewise.
17198 * soft-fp/single.h: Likewise.
17199 * soft-fp/soft-fp.h: Likewise.
17200 * soft-fp/sqrtdf2.c: Likewise.
17201 * soft-fp/sqrtsf2.c: Likewise.
17202 * soft-fp/sqrttf2.c: Likewise.
17203 * soft-fp/subdf3.c: Likewise.
17204 * soft-fp/subsf3.c: Likewise.
17205 * soft-fp/subtf3.c: Likewise.
17206 * soft-fp/truncdfsf2.c: Likewise.
17207 * soft-fp/trunctfdf2.c: Likewise.
17208 * soft-fp/trunctfsf2.c: Likewise.
17209 * soft-fp/trunctfxf2.c: Likewise.
17210 * soft-fp/unorddf2.c: Likewise.
17211 * soft-fp/unordsf2.c: Likewise.
17212 * soft-fp/unordtf2.c: Likewise.
17214 2013-10-15 Joseph Myers <joseph@codesourcery.com>
17216 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
17217 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
17219 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
17221 * elf/dl-libc.c: Clear initfini list after freeing.
17223 2013-10-14 Joseph Myers <joseph@codesourcery.com>
17225 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
17226 * soft-fp/addsf3.c: Likewise.
17227 * soft-fp/addtf3.c: Likewise.
17228 * soft-fp/divdf3.c: Likewise.
17229 * soft-fp/divsf3.c: Likewise.
17230 * soft-fp/divtf3.c: Likewise.
17231 * soft-fp/double.h: Likewise.
17232 * soft-fp/eqdf2.c: Likewise.
17233 * soft-fp/eqsf2.c: Likewise.
17234 * soft-fp/eqtf2.c: Likewise.
17235 * soft-fp/extenddftf2.c: Likewise.
17236 * soft-fp/extended.h: Likewise.
17237 * soft-fp/extendsfdf2.c: Likewise.
17238 * soft-fp/extendsftf2.c: Likewise.
17239 * soft-fp/extendxftf2.c: Likewise.
17240 * soft-fp/fixdfdi.c: Likewise.
17241 * soft-fp/fixdfsi.c: Likewise.
17242 * soft-fp/fixdfti.c: Likewise.
17243 * soft-fp/fixsfdi.c: Likewise.
17244 * soft-fp/fixsfsi.c: Likewise.
17245 * soft-fp/fixsfti.c: Likewise.
17246 * soft-fp/fixtfdi.c: Likewise.
17247 * soft-fp/fixtfsi.c: Likewise.
17248 * soft-fp/fixtfti.c: Likewise.
17249 * soft-fp/fixunsdfdi.c: Likewise.
17250 * soft-fp/fixunsdfsi.c: Likewise.
17251 * soft-fp/fixunsdfti.c: Likewise.
17252 * soft-fp/fixunssfdi.c: Likewise.
17253 * soft-fp/fixunssfsi.c: Likewise.
17254 * soft-fp/fixunssfti.c: Likewise.
17255 * soft-fp/fixunstfdi.c: Likewise.
17256 * soft-fp/fixunstfsi.c: Likewise.
17257 * soft-fp/fixunstfti.c: Likewise.
17258 * soft-fp/floatdidf.c: Likewise.
17259 * soft-fp/floatdisf.c: Likewise.
17260 * soft-fp/floatditf.c: Likewise.
17261 * soft-fp/floatsidf.c: Likewise.
17262 * soft-fp/floatsisf.c: Likewise.
17263 * soft-fp/floatsitf.c: Likewise.
17264 * soft-fp/floattidf.c: Likewise.
17265 * soft-fp/floattisf.c: Likewise.
17266 * soft-fp/floattitf.c: Likewise.
17267 * soft-fp/floatundidf.c: Likewise.
17268 * soft-fp/floatundisf.c: Likewise.
17269 * soft-fp/floatunsidf.c: Likewise.
17270 * soft-fp/floatunsisf.c: Likewise.
17271 * soft-fp/floatuntidf.c: Likewise.
17272 * soft-fp/floatuntisf.c: Likewise.
17273 * soft-fp/floatuntitf.c: Likewise.
17274 * soft-fp/fmadf4.c: Likewise.
17275 * soft-fp/fmasf4.c: Likewise.
17276 * soft-fp/fmatf4.c: Likewise.
17277 * soft-fp/gedf2.c: Likewise.
17278 * soft-fp/gesf2.c: Likewise.
17279 * soft-fp/getf2.c: Likewise.
17280 * soft-fp/ledf2.c: Likewise.
17281 * soft-fp/lesf2.c: Likewise.
17282 * soft-fp/letf2.c: Likewise.
17283 * soft-fp/muldf3.c: Likewise.
17284 * soft-fp/mulsf3.c: Likewise.
17285 * soft-fp/multf3.c: Likewise.
17286 * soft-fp/negdf2.c: Likewise.
17287 * soft-fp/negsf2.c: Likewise.
17288 * soft-fp/negtf2.c: Likewise.
17289 * soft-fp/op-1.h: Likewise.
17290 * soft-fp/op-2.h: Likewise.
17291 * soft-fp/op-4.h: Likewise.
17292 * soft-fp/op-8.h: Likewise.
17293 * soft-fp/op-common.h: Likewise.
17294 * soft-fp/quad.h: Likewise.
17295 * soft-fp/single.h: Likewise.
17296 * soft-fp/soft-fp.h: Likewise.
17297 * soft-fp/sqrtdf2.c: Likewise.
17298 * soft-fp/sqrtsf2.c: Likewise.
17299 * soft-fp/sqrttf2.c: Likewise.
17300 * soft-fp/subdf3.c: Likewise.
17301 * soft-fp/subsf3.c: Likewise.
17302 * soft-fp/subtf3.c: Likewise.
17303 * soft-fp/truncdfsf2.c: Likewise.
17304 * soft-fp/trunctfdf2.c: Likewise.
17305 * soft-fp/trunctfsf2.c: Likewise.
17306 * soft-fp/trunctfxf2.c: Likewise.
17307 * soft-fp/unorddf2.c: Likewise.
17308 * soft-fp/unordsf2.c: Likewise.
17309 * soft-fp/unordtf2.c: Likewise.
17311 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
17314 * misc/error.c (error_tail): Fix possible buffer overflow.
17316 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
17319 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
17322 2013-10-14 P. J. McDermott <pj@pehjota.net>
17325 * elf/ldd.bash.in (try_trace): New function. Delete previous code
17326 testing pipefail option.
17328 2013-10-12 Joseph Myers <joseph@codesourcery.com>
17330 * soft-fp/double.h: Indent preprocessor directives inside #if.
17331 * soft-fp/extended.h: Likewise.
17332 * soft-fp/op-2.h: Likewise.
17333 * soft-fp/op-4.h: Likewise.
17334 * soft-fp/op-common.h: Likewise.
17335 * soft-fp/quad.h: Likewise.
17336 * soft-fp/single.h: Likewise.
17337 * soft-fp/soft-fp.h: Likewise.
17339 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
17341 * iconv/iconv_prog.c: Fix typos.
17342 * stdio-common/psiginfo-data.h: Likewise.
17344 2013-10-12 Reuben Thomas <rrt@sc3d.org>
17347 * locale/setlocale.c: Fix typo.
17349 2013-10-12 Joseph Myers <joseph@codesourcery.com>
17352 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
17353 signaling NaN arguments.
17354 * soft-fp/unordsf2.c (__unordsf2): Likewise.
17355 * soft-fp/unordtf2.c (__unordtf2): Likewise.
17358 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
17359 unordered operands.
17360 * soft-fp/gesf2.c (__gesf2): Likewise.
17361 * soft-fp/getf2.c (__getf2): Likewise.
17362 * soft-fp/ledf2.c (__ledf2): Likewise.
17363 * soft-fp/lesf2.c (__lesf2): Likewise.
17364 * soft-fp/letf2.c (__letf2): Likewise.
17366 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
17367 * soft-fp/eqsf2.c (__eqsf2): Likewise.
17368 * soft-fp/eqtf2.c (__eqtf2): Likewise.
17369 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
17370 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
17371 * soft-fp/fixdfti.c (__fixdfti): Likewise.
17372 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
17373 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
17374 * soft-fp/fixsfti.c (__fixsfti): Likewise.
17375 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
17376 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
17377 * soft-fp/fixtfti.c (__fixtfti): Likewise.
17378 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
17379 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
17380 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
17381 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
17382 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
17383 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
17384 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
17385 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
17386 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
17387 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
17388 * soft-fp/floatdisf.c (__floatdisf): Likewise.
17389 * soft-fp/floatsisf.c (__floatsisf): Likewise.
17390 * soft-fp/floattidf.c (__floattidf): Likewise.
17391 * soft-fp/floattisf.c (__floattisf): Likewise.
17392 * soft-fp/floattitf.c (__floattitf): Likewise.
17393 * soft-fp/floatundidf.c (__floatundidf): Likewise.
17394 * soft-fp/floatundisf.c (__floatundisf): Likewise.
17395 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
17396 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
17397 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
17398 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
17399 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
17400 * soft-fp/gesf2.c (__gesf2): Likewise.
17401 * soft-fp/getf2.c (__getf2): Likewise.
17402 * soft-fp/ledf2.c (__ledf2): Likewise.
17403 * soft-fp/lesf2.c (__lesf2): Likewise.
17404 * soft-fp/letf2.c (__letf2): Likewise.
17406 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
17407 Undefine and redefine.
17408 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
17409 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
17410 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
17411 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
17412 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17413 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
17414 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17415 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
17416 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17417 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
17418 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17419 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
17420 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17421 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
17422 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17425 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
17426 without decrementing exponent if mantissa >= that for the
17427 denominator, not >.
17428 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
17429 denominator, not >. Decrement exponent in < case instead of
17430 incrementing in >= case.
17431 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
17432 without decrementing exponent if mantissa >= that for the
17433 denominator, not >.
17435 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
17436 computing saturated result for unsigned overflow.
17438 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17439 Jeff Law <law@redhat.com>
17441 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
17442 (atan2Mp): Add systemtap probe marker.
17443 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
17444 (__ieee754_log): Add systemtap probe marker.
17445 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
17446 (atanMp): Add systemtap probe marker.
17447 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
17448 (tanMp): Add systemtap probe marker.
17449 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
17450 (__slowexp): Add systemtap probe marker.
17451 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
17452 (__slowpow): Add systemtap probe marker.
17453 * manual/probes.texi: Document probes.
17455 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
17458 * libio/fileops.c (_IO_new_file_write): Return count of bytes
17460 (_IO_new_file_xsputn): Don't return EOF if nothing has been
17462 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
17463 written to buffer but not flushed.
17464 * libio/iofwrite_u.c: Likewise.
17465 * libio/iopadn.c: Return bytes returned even if EOF was
17467 * libio/iowpadn.c: Likewise.
17468 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
17469 if _IO_padn does not write the whole buffer.
17470 [!COMPILE_WPRINTF] (PAD): Likewise.
17472 2013-10-10 David S. Miller <davem@davemloft.net>
17474 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
17477 2013-10-10 Joseph Myers <joseph@codesourcery.com>
17479 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
17480 instead of FSF address.
17481 * soft-fp/fixdfti.c: Likewise.
17482 * soft-fp/fixsfti.c: Likewise.
17483 * soft-fp/fixtfti.c: Likewise.
17484 * soft-fp/fixunsdfti.c: Likewise.
17485 * soft-fp/fixunssfti.c: Likewise.
17486 * soft-fp/fixunstfti.c: Likewise.
17487 * soft-fp/floattidf.c: Likewise.
17488 * soft-fp/floattisf.c: Likewise.
17489 * soft-fp/floattitf.c: Likewise.
17490 * soft-fp/floatuntidf.c: Likewise.
17491 * soft-fp/floatuntisf.c: Likewise.
17492 * soft-fp/floatuntitf.c: Likewise.
17493 * soft-fp/trunctfxf2.c: Likewise.
17495 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
17496 * soft-fp/fixdfti.c: Likewise.
17497 * soft-fp/fixsfti.c: Likewise.
17498 * soft-fp/fixtfti.c: Likewise.
17499 * soft-fp/fixunsdfti.c: Likewise.
17500 * soft-fp/fixunssfti.c: Likewise.
17501 * soft-fp/fixunstfti.c: Likewise.
17502 * soft-fp/floattidf.c: Likewise.
17503 * soft-fp/floattisf.c: Likewise.
17504 * soft-fp/floattitf.c: Likewise.
17505 * soft-fp/floatuntidf.c: Likewise.
17506 * soft-fp/floatuntisf.c: Likewise.
17507 * soft-fp/floatuntitf.c: Likewise.
17508 * soft-fp/trunctfxf2.c: Likewise.
17510 2013-10-10 David S. Miller <davem@davemloft.net>
17512 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17514 2013-10-10 Joseph Myers <joseph@codsourcery.com>
17516 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17517 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
17518 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
17519 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
17520 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
17521 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
17522 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
17524 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
17525 for NaNs before doing comparisons on argument.
17526 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17529 2013-10-10 Will Newton <will.newton@linaro.org>
17531 * malloc/hooks.c (memalign_check): Ensure the value of bytes
17532 passed to _int_memalign does not overflow.
17534 2013-10-10 Torvald Riegel <triegel@redhat.com>
17536 * scripts/bench.pl: Add include-sources directive.
17537 * benchtests/README: Update documentation.
17539 2013-10-10 Joseph Myers <joseph@codesourcery.com>
17541 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
17542 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
17543 instead of FP_INIT_ROUNDMODE.
17544 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
17545 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
17548 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
17549 copy class of input value.
17550 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
17551 not handle exceptions.
17552 * soft-fp/negsf2.c (__negsf2): Likewise.
17553 * soft-fp/negtf2.c (__negtf2): Likewise.
17554 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
17556 2013-10-09 Joseph Myers <joseph@codesourcery.com>
17558 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
17559 semicolon. From Linux kernel.
17561 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
17563 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
17565 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
17568 * manual/socket.texi: Added statement about buffer
17569 for gethostbyname2_r.
17571 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
17573 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
17574 Use .p2align directive instead, throughout.
17575 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17576 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17577 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17578 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17579 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17580 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17581 * sysdeps/x86_64/strchr.S: Likewise.
17582 * sysdeps/x86_64/strrchr.S: Likewise.
17584 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17586 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
17588 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
17590 * sysdeps/generic/math_private.h (__mpsin1): Remove
17592 (__mpcos1): Likewise.
17593 (__mpsin): New argument __range_reduce.
17594 (__mpcos): Likewise.
17595 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17596 (slow): Use __mpsin and __mpcos.
17600 (sloww1): Likewise.
17601 (sloww2): Likewise.
17602 (bsloww): Likewise.
17603 (bsloww1): Likewise.
17604 (bsloww2): Likewise.
17605 (cslow2): Likewise.
17606 (csloww): Likewise.
17607 (csloww1): Likewise.
17608 (csloww2): Likewise.
17609 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
17610 range_reduce. Merge in __mpsin1.
17611 (__mpcos): Likewise.
17612 (__mpsin1): Remove.
17613 (__mpcos1): Likewise.
17615 2013-10-07 Joseph Myers <joseph@codesourcery.com>
17617 * locale/loadlocale.c (_nl_intern_locale_data): Use
17619 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
17620 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
17621 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
17622 obstack data is appropriately aligned.
17623 (obstack_int32_grow_fast): Likewise.
17624 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
17625 * locale/programs/locfile.c (add_locale_uint32): Likewise.
17626 (add_locale_uint32_array): Likewise.
17628 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17630 * benchtests/Makefile: Remove ARGLIST and RET variables.
17631 ($(objpfx)bench-%.c): Pass only function name to the script.
17632 * benchtests/README: Update documentation.
17633 * benchtests/acos-inputs: Add new directives.
17634 * benchtests/acosh-inputs: Likewise.
17635 * benchtests/asin-inputs: Likewise.
17636 * benchtests/asinh-inputs: Likewise.
17637 * benchtests/atan-inputs: Likewise.
17638 * benchtests/atanh-inputs: Likewise.
17639 * benchtests/cos-inputs: Likewise.
17640 * benchtests/cosh-inputs: Likewise.
17641 * benchtests/exp-inputs: Likewise.
17642 * benchtests/log-inputs: Likewise.
17643 * benchtests/pow-inputs: Likewise.
17644 * benchtests/rint-inputs: Likewise.
17645 * benchtests/sin-inputs: Likewise.
17646 * benchtests/sinh-inputs: Likewise.
17647 * benchtests/tan-inputs: Likewise.
17648 * benchtests/tanh-inputs: Likewise.
17649 * scripts/bench.pl: Add support for new directives.
17651 2013-10-07 Alan Modra <amodra@gmail.com>
17653 * README: Fix careless merge.
17655 2013-10-05 Alan Modra <amodra@gmail.com>
17657 * NEWS: Mention powerpc64le support and bugs fixed.
17658 * README: Both big-endian and little-endian powerpc64 supported.
17660 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17662 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
17663 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
17664 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
17665 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
17667 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
17669 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
17672 2013-10-04 Joseph Myers <joseph@codesourcery.com>
17674 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
17675 Move -mhard-float appending from
17676 ports/sysdeps/powerpc/powerpc32/Makefile.
17677 [$(with-fp) = yes] (ASFLAGS): Likewise.
17678 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
17679 * sysdeps/powerpc/nofpu: Move directory from
17680 ports/sysdeps/powerpc/nofpu.
17681 * sysdeps/powerpc/soft-fp: Move directory from
17682 ports/sysdeps/powerpc/soft-fp.
17683 * sysdeps/powerpc/powerpc32/405: Move directory from
17684 ports/sysdeps/powerpc/powerpc32/405.
17685 * sysdeps/powerpc/powerpc32/440: Move directory from
17686 ports/sysdeps/powerpc/powerpc32/440.
17687 * sysdeps/powerpc/powerpc32/464: Move directory from
17688 ports/sysdeps/powerpc/powerpc32/464.
17689 * sysdeps/powerpc/powerpc32/476: Move directory from
17690 ports/sysdeps/powerpc/powerpc32/476.
17691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
17692 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
17693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
17694 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
17695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
17696 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
17697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
17698 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
17699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
17700 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
17701 * README: Update for powerpc-*-linux-gnu software floating point
17704 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
17705 case to powerpc/powerpc32*.
17706 * sysdeps/unix/sysv/linux/configure: Regenerated.
17708 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
17709 (_FPU_MASK_OM): Define as 0x04.
17710 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
17711 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
17713 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
17715 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
17717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
17718 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
17721 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
17724 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
17725 and setcontext_e500.
17727 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
17729 * locale/iso-3166.def: Update iso-1366.def and related occurrences
17731 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17733 * manual/threads.texi (Default Thread Attributes): Fix typo.
17735 2013-10-04 Will Newton <will.newton@linaro.org>
17737 * malloc/Makefile: Add tst-memalign.
17738 * malloc/tst-memalign.c: New file.
17740 * malloc/tst-posix_memalign.c: Add comments.
17741 (do_test): Add comments and call free on all potentially
17742 allocated pointers. Add space after cast.
17744 * malloc/tst-pvalloc.c: Add comments.
17745 (do_test): Add comments and call free on all potentially
17746 allocated pointers. Remove duplicate check for NULL pointer.
17747 Add space after cast.
17749 * malloc/tst-valloc.c: Add comments.
17750 (do_test): Add comments and call free on all potentially
17751 allocated pointers. Remove duplicate check for NULL pointer.
17752 Add space after cast.
17754 2013-10-04 Alan Modra <amodra@gmail.com>
17756 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17757 Use stdint types in rather than __attribute__((mode())).
17758 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17760 2013-10-04 Alan Modra <amodra@gmail.com>
17762 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17763 Correct handling of unaligned relocs for little-endian.
17764 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17766 2013-10-04 Alan Modra <amodra@gmail.com>
17768 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
17769 * configure: Regenerate.
17770 * nptl/shlib-versions: Powerpc*le starts at 2.18.
17771 * shlib-versions: Likewise.
17773 2013-10-04 Alan Modra <amodra@gmail.com>
17775 * string/tester.c (test_memrchr): Increment reported test cycle.
17777 2013-10-04 Alan Modra <amodra@gmail.com>
17779 * string/test-memcpy.c (do_one_test): When reporting errors, print
17780 string address and don't overrun end of string.
17782 2013-10-04 Alan Modra <amodra@gmail.com>
17784 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
17785 insrdi. Make better use of reg selection to speed exit slightly.
17786 Schedule entry path a little better. Remove useless "are we done"
17787 checks on entry to main loop. Handle wrapping around zero address.
17788 Correct main loop count. Handle single left-over word from main
17789 loop inline rather than by using loop_small. Remove extra word
17790 case in loop_small caused by wrong loop count. Add little-endian
17792 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
17793 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
17795 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
17796 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
17797 support. Avoid rlwimi.
17798 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
17800 2013-10-04 Alan Modra <amodra@gmail.com>
17802 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
17803 insrdi. Formatting.
17804 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
17805 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17806 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
17807 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17808 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17809 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
17811 2013-10-04 Alan Modra <amodra@gmail.com>
17813 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
17814 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17815 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17816 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
17817 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
17818 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17819 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17820 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
17821 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
17822 use of regs. Use power7 mtocrf. Tidy function tails.
17824 2013-10-04 Alan Modra <amodra@gmail.com>
17826 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
17827 Formatting. Consistently use rXXX register defines or rN defines.
17828 Use early exit labels that avoid restoring unused non-volatile regs.
17829 Make cr field use more consistent with rWORDn compares. Rename
17830 regs used as shift registers for unaligned loop, using rN defines
17831 for short lifetime/multiple use regs.
17832 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17833 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
17834 addi 1,1,64 to pop stack frame. Simplify return value code.
17835 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17837 2013-10-04 Alan Modra <amodra@gmail.com>
17839 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
17840 support. Correct typos, formatting. Optimize tail. Use insrdi
17841 rather than rlwimi.
17842 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
17843 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
17844 little-endian support. Correct typos.
17845 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
17846 rather than rlwimi.
17847 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
17848 in loop and entry code to keep "and." results.
17849 (strchr): Add little-endian support. Comment. Move cntlzd
17851 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
17853 2013-10-04 Alan Modra <amodra@gmail.com>
17855 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
17856 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
17857 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17858 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
17860 2013-10-04 Alan Modra <amodra@gmail.com>
17862 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
17863 (rTMP): Define as r11.
17864 (strcmp): Add little-endian support. Optimise tail.
17865 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
17866 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17867 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
17868 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17869 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
17870 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17871 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17873 2013-10-04 Alan Modra <amodra@gmail.com>
17875 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
17876 little-endian support. Remove unnecessary "are we done" tests.
17877 Handle "s" wrapping around zero and extremely large "size".
17878 Correct main loop count. Handle single left-over word from main
17879 loop inline rather than by using small_loop. Correct comments.
17880 Delete "zero" tail, use "end_max" instead.
17881 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
17883 2013-10-04 Alan Modra <amodra@gmail.com>
17885 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
17886 support. Don't branch over align.
17887 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
17888 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
17889 support. Rearrange tmp reg use to suit. Comment.
17890 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
17892 2013-10-04 Alan Modra <amodra@gmail.com>
17894 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
17896 2013-10-04 Alan Modra <amodra@gmail.com>
17898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
17899 conditional form of branch and link when obtaining pc.
17900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17902 2013-10-04 Alan Modra <amodra@gmail.com>
17904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
17906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
17907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
17909 2013-10-04 Alan Modra <amodra@gmail.com>
17911 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
17912 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
17913 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17914 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
17915 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17916 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17917 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
17918 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17919 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17920 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
17922 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
17923 Alistair Popple <alistair@ozlabs.au.ibm.com>
17924 Alan Modra <amodra@gmail.com>
17927 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
17928 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
17929 _dl_hwcap access for little-endian.
17930 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
17931 destroy vmx regs when saving unaligned.
17932 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
17933 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
17934 destroy vmx regs when saving unaligned.
17936 2013-10-04 Alan Modra <amodra@gmail.com>
17938 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
17939 Don't use a union to pack hi/low value.
17941 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
17943 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
17945 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17946 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
17947 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17948 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17949 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17951 2013-10-04 Alan Modra <amodra@gmail.com>
17953 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
17954 constants to usual value for .cst8 section, and remove redundant
17956 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
17957 constant for 0x1p52. Load little-endian words of double from
17958 correct stack offsets.
17960 2013-10-04 Alan Modra <amodra@gmail.com>
17962 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
17963 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
17964 words of double from correct stack offsets.
17965 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17966 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
17967 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17968 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17969 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17970 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17971 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17972 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17973 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17974 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17975 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17976 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17977 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17978 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17979 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17980 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
17981 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17983 2013-10-04 Alan Modra <amodra@gmail.com>
17985 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
17986 64-bit int/double union.
17987 (_FPU_SETCW): Likewise.
17988 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
17989 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
17991 2013-10-04 Alan Modra <amodra@gmail.com>
17993 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
17994 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
17996 2013-10-04 Alan Modra <amodra@gmail.com>
17998 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
17999 use vector int constants.
18000 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
18002 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18004 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
18005 array with long long.
18006 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
18007 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
18008 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
18009 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
18010 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
18011 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
18012 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
18013 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
18014 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
18015 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
18016 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
18017 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
18018 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
18020 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18022 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
18023 (__signbit): Likewise. Correct for little-endian.
18024 (__signbitl): Call __signbit.
18025 (lrint): Correct for little-endian.
18026 (lrintf): Call lrint.
18028 2013-10-04 Alan Modra <amodra@gmail.com>
18030 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18031 union 32-bit int array member with 64-bit int array.
18032 (t515, tm256): Double rather than long double.
18033 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18035 2013-10-04 Alan Modra <amodra@gmail.com>
18037 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
18039 (IEEE854_LONG_DOUBLE_BIAS): Delete.
18040 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
18041 version of math_ldbl.h.
18043 2013-10-04 Alan Modra <amodra@gmail.com>
18045 [BZ #15734], [BZ #15735]
18046 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
18047 all uses of ieee875 long double macros and unions. Simplify test
18048 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
18049 ldbl_extract_mantissa value for ix,iy exponents. Properly
18050 normalize after ldbl_extract_mantissa, and don't add hidden bit
18051 already handled. Don't treat low word of ieee854 mantissa like
18052 low word of IBM long double and mask off bit when testing for
18054 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
18055 all uses of ieee875 long double macros and unions. Simplify tests
18056 for 0.0L and inf. Correct double adjustment of k. Delete dead code
18057 adjusting ha,hb. Simplify code setting kld. Delete two600 and
18058 two1022, instead use their values. Recognise that tests for large
18059 "a" and small "b" are mutually exclusive. Rename vars. Comment.
18060 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
18061 Rewrite all uses of ieee875 long double macros and unions. Simplify
18062 test for 0.0L and nan. Correct negation.
18063 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
18064 ieee875 long double macros and unions. Correct output for large
18065 magnitude x. Correct absolute value calculation.
18066 (__erfcl): Likewise.
18067 * math/libm-test.inc: Add tests for errors discovered in IBM long
18068 double versions of fmodl, remainderl, erfl and erfcl.
18070 2013-10-04 Alan Modra <amodra@gmail.com>
18072 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
18073 all uses of ieee854 long double macros and unions. Simplify tests
18074 for long doubles that are fully specified by the high double.
18075 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18077 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
18078 Remove dead code too.
18079 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18080 (__ieee754_ynl): Likewise.
18081 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
18082 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
18083 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18084 Remove dead code too.
18085 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18086 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
18087 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18088 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
18090 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
18092 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
18093 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18094 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
18095 Comment on variable precision.
18096 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
18097 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18099 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18100 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18101 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18102 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18103 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
18105 2013-10-04 Alan Modra <amodra@gmail.com>
18107 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
18108 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
18109 all uses of ieee854 long double macros and unions.
18110 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18111 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18112 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
18113 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
18114 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
18115 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18117 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
18118 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18119 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
18120 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18121 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18122 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18123 Simplify sign and nan test too.
18124 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
18125 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
18126 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
18127 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
18129 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18130 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
18132 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18133 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18134 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
18135 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
18136 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
18137 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
18139 2013-10-04 Alan Modra <amodra@gmail.com>
18141 * stdio-common/printf_size.c (__printf_size): Don't use
18142 union ieee854_long_double in fpnum union.
18143 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
18144 signbit macro to retrieve sign from long double.
18145 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
18146 retrieve sign from long double.
18147 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
18148 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
18149 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
18150 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18151 * math/test-misc.c (main): Don't use union ieee854_long_double.
18153 2013-10-04 Alan Modra <amodra@gmail.com>
18156 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
18157 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
18158 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
18159 calculation. Remove unnecessary test for denormal exponent.
18160 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
18161 Correct handling of denormals. Avoid undefined shift behaviour.
18162 Correct normalisation of low mantissa when low double is denormal.
18163 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
18164 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
18165 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
18166 Correct normalisation of low mantissa. Test for overflow of high
18167 mantissa and normalise.
18168 (ldbl_nearbyint): Use more readable constant for two52.
18169 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
18170 (__mpn_construct_long_double): Fix test for overflow of high
18171 mantissa and correct normalisation. Avoid undefined shift.
18173 2013-10-04 Alan Modra <amodra@gmail.com>
18175 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18176 (union ibm_extended_long_double): Define as an array of ieee754_double.
18177 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
18178 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
18179 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
18180 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18181 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18182 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
18183 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18184 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18185 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18186 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
18187 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18189 2013-10-03 Joseph Myers <joseph@codesourcery.com>
18191 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
18192 page size instead of calling getpagesize.
18194 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
18195 (LOCFILE_ALIGN_MASK): Likewise.
18196 (LOCFILE_ALIGN_UP): Likewise.
18197 (LOCFILE_ALIGNED_P): Likewise.
18198 * locale/programs/ld-collate.c (collate_output): Use the new
18199 macros instead of __alignof__ (int32_t).
18200 * locale/weight.h (findidx): Likewise.
18202 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
18205 * manual/string.texi: Fix strncat and wcsncat.
18207 2013-10-03 Brooks Moses <bmoses@google.com>
18210 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
18211 * Makerules: ...here, and adjust associated comments.
18213 2013-10-02 Will Newton <will.newton@linaro.org>
18215 * malloc/Makefile: Add tst-pvalloc.
18216 * malloc/tst-pvalloc.c: New file.
18218 2013-10-02 Will Newton <will.newton@linaro.org>
18220 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
18221 improve test coverage.
18223 2013-10-02 Will Newton <will.newton@linaro.org>
18225 * malloc/Makefile: Add tst-posix_memalign.
18226 * malloc/tst-posix_memalign.c: New file.
18228 2013-10-01 Eric Blake <eblake@redhat.com>
18230 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
18231 Use __THROWNL rather than __THROW on static functions.
18233 2013-09-30 Petr Machata <pmachata@redhat.com>
18235 * elf/elf.h (R_AARCH64_ABS16): New macro.
18236 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
18237 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
18238 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
18239 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
18240 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
18241 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
18242 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
18243 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
18244 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
18245 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
18246 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
18247 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
18248 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
18249 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
18250 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
18251 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
18252 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
18253 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
18254 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
18255 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
18256 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
18257 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
18258 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
18259 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
18260 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
18261 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
18262 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
18263 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
18264 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
18265 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
18266 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
18267 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
18268 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
18269 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
18270 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
18271 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
18272 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
18273 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
18274 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
18275 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
18276 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
18277 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
18278 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
18279 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
18280 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
18281 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
18282 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
18283 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
18284 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
18285 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
18286 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
18287 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
18288 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
18289 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
18290 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
18291 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
18292 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
18293 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
18294 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
18295 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
18296 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
18297 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
18298 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
18299 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
18300 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
18301 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
18302 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
18303 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
18304 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
18305 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
18306 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
18307 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
18308 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
18309 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
18310 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
18311 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
18312 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
18313 (R_AARCH64_TLSDESC_LDR): Likewise.
18314 (R_AARCH64_TLSDESC_ADD): Likewise.
18315 (R_AARCH64_TLSDESC_CALL): Likewise.
18317 2013-09-30 Andreas Schwab <schwab@suse.de>
18320 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
18321 the nss database lookup.
18322 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18323 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18325 2013-09-28 Mike Frysinger <vapier@gentoo.org>
18327 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
18329 2013-09-28 P. J. McDermott <pj@pehjota.net>
18331 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
18332 ${Bash-specific parameter/pattern/string} parameter expansion.
18333 * sysdeps/unix/make-syscalls.sh: Likewise.
18335 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18337 * sysdeps/sh/stackguard-macros.h: New file.
18339 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
18341 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18342 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
18343 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
18344 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
18345 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18346 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
18348 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18350 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
18351 Fix thread ID register.
18353 2013-09-25 Joseph Myers <joseph@codesourcery.com>
18355 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
18356 [POSIX || UNIX98]: Require rather than permitting all symbols from
18358 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
18359 element of struct sched_param.
18360 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
18361 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
18362 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
18363 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
18366 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
18368 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
18369 argument calculation.
18371 2013-09-24 Joseph Myers <joseph@codesourcery.com>
18373 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
18375 [POSIX] (pthread_attr_t): Do not require type.
18376 [POSIX] (pthread_cond_t): Likewise.
18377 [POSIX] (pthread_condattr_t): Likewise.
18378 [POSIX] (pthread_key_t): Likewise.
18379 [POSIX] (pthread_mutex_t): Likewise.
18380 [POSIX] (pthread_mutexattr_t): Likewise.
18381 [POSIX] (pthread_once_t): Likewise.
18382 [POSIX] (pthread_t): Likewise.
18383 [POSIX-based standards] (pthread_atfork): Expect function.
18385 2013-09-24 Joseph Myers <joseph@codesourcery.com>
18386 Richard Sandiford <richard@codesourcery.com>
18388 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
18389 (swap_endianness_p): New extern variable.
18390 (set_big_endian): New inline function.
18391 (maybe_swap_uint32): Likewise.
18392 (maybe_swap_uint32_array): Likewise.
18393 (maybe_swap_uint32_obstack): Likewise.
18394 * locale/programs/locfile.c: Include <stdbool.h>.
18395 (swap_endianness_p): New variable.
18396 (add_locale_uint32): Call maybe_swap_uint32.
18397 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
18398 (write_locale_data): Call maybe_swap_uint32_array.
18399 * locale/programs/ld-collate.c (obstack_int32_grow): Call
18401 (obstack_int32_grow_fast): Likewise.
18402 (output_weightwc): Call maybe_swap_uint32_obstack.
18403 (collate_output): Likewise.
18404 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
18405 (OPT_LITTLE_ENDIAN): Likewise.
18406 (options): Add --little-endian and --big-endian options.
18407 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
18408 * locale/programs/locarchive.c: Include "locfile.h".
18412 (create_archive): Use the new macros to access fields of
18413 structures directly mapped from or written to locale archives.
18414 (oldlocrecentcmp): Likewise.
18415 (enlarge_archive): Likewise.
18416 (insert_name): Likewise.
18417 (add_alias): Likewise.
18418 (add_locale): Likewise.
18419 (delete_locales_from_archive): Likewise.
18420 (show_archive_content): Likewise.
18421 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
18424 2013-09-24 Roland McGrath <roland@hack.frob.com>
18426 * manual/freemanuals.texi: Updated from (newly) canonical copy at
18427 http://www.gnu.org/doc/freemanuals.texi.
18428 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
18430 2013-09-24 Will Newton <will.newton@linaro.org>
18432 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
18435 2013-09-23 Joseph Myers <joseph@codesourcery.com>
18437 * locale/hashval.h (compute_hashval): Interpret bytes of key as
18440 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
18442 * manual/threads.texi (POSIX Threads): Fix a typo.
18444 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18447 * string/tst-strcoll-overflow.c: New test case.
18448 * string/Makefile (xtests): Add tst-strcoll-overflow.
18449 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
18450 cache if string sizes may cause integer overflow.
18453 * string/strcoll_l.c (coll_seq): New members rule, idx,
18454 save_idx and back_us.
18455 (get_next_seq_nocache): New function.
18456 (do_compare_nocache): New function.
18457 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
18460 2013-09-23 Carlos O'Donell <carlos@redhat.com>
18463 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
18464 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
18465 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
18468 * elf/Makefile (tests): Add tst-ptrguard1.
18469 (tests-static): Add tst-ptrguard1-static.
18470 (tst-ptrguard1-ARGS): Define.
18471 (tst-ptrguard1-static-ARGS): Define.
18472 * elf/tst-ptrguard1.c: New file.
18473 * elf/tst-ptrguard1-static.c: New file.
18474 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
18475 * sysdeps/i386/stackguard-macros.h: Likewise.
18476 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18477 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18478 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18479 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18480 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18481 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18483 2013-09-23 Hector Marco <hecmargi@upv.es>
18484 Ismael Ripoll <iripoll@disca.upv.es>
18485 Carlos O'Donell <carlos@redhat.com>
18488 * sysdeps/generic/stackguard-macros.h: Define
18489 __pointer_chk_guard_local and POINTER_CHK_GUARD.
18490 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
18491 Define __pointer_chk_guard_local.
18492 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
18493 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
18495 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
18498 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
18500 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
18502 * include/string.h (__ffs): Declare as hidden.
18503 * string/ffs.c (__ffs): Define as hidden.
18504 * sysdeps/i386/ffs.c (__ffs): Likewise.
18505 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
18506 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
18507 * sysdeps/s390/ffs.c (__ffs): Likewise.
18508 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
18510 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
18512 * NEWS: Mention malloc probes.
18514 * malloc/arena.c (new_heap): New memory_heap_new probe.
18515 (grow_heap): New memory_heap_more probe.
18516 (shrink_heap): New memory_heap_less probe.
18517 (heap_trim): New memory_heap_free probe.
18518 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
18519 (systrim): New memory_sbrk_less probe.
18520 * manual/probes.texi: Document them.
18522 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
18523 * manual/probes.texi: Document it.
18525 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
18526 (__libc_realloc): Add memory_realloc_retry probe.
18527 (__libc_memalign): Add memory_memalign_retry probe.
18528 (__libc_valloc): Add memory_valloc_retry probe.
18529 (__libc_pvalloc): Add memory_pvalloc_retry probe.
18530 (__libc_calloc): Add memory_calloc_retry probe.
18531 * manual/probes.texi: Document them.
18533 * malloc/arena.c (get_free_list): Add probe
18534 memory_arena_reuse_free_list.
18535 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
18536 and memory_arena_reuse.
18537 (arena_get2) [!PER_THREAD]: Likewise.
18538 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
18539 memory_arena_reuse_realloc.
18540 * manual/probes.texi: Document them.
18542 * malloc/malloc.c (__libc_free): Add
18543 memory_mallopt_free_dyn_thresholds probe.
18544 (__libc_mallopt): Add multiple memory_mallopt probes.
18545 * manual/probes.texi: Document them.
18547 * malloc/malloc.c: Include stap-probe.h.
18548 (__libc_mallopt): Add memory_mallopt probe.
18549 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
18550 * manual/probes.texi: New.
18551 * manual/Makefile (chapters): Add probes.
18552 * manual/threads.texi: Set next node.
18554 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
18556 [BZ #15963, #13985]
18557 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
18558 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
18559 Add `Chinese' to `nan' entry name.
18561 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18563 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
18564 (POLYNOMIAL): Likewise.
18565 (TAYLOR_SINCOS): Likewise.
18566 (TAYLOR_SLOW): Likewise.
18567 (__sin): Use TAYLOR_SINCOS.
18569 (slow): Use TAYLOR_SLOW.
18571 (bsloww): Likewise.
18572 (csloww): Likewise.
18574 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18576 * stdlib/strtod_l.c: Fix buffer overrun.
18578 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18580 * benchtests/Makefile (bench): Add sincos.
18581 * benchtests/bench-sincos.c: New file.
18583 * math/libm-test.inc (cos_test_data): New test inputs.
18584 (sin_test_data): Likewise.
18586 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
18592 (sloww1): Likewise.
18593 (sloww2): Likewise.
18594 (bsloww1): Likewise.
18595 (bsloww2): Likewise.
18596 (cslow2): Likewise.
18597 (csloww1): Likewise.
18598 (csloww2): Likewise.
18600 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
18605 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
18609 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
18611 * config.h.in (HAVE_MIPS_NAN2008): New macro.
18612 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
18613 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
18614 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
18615 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
18616 * elf/cache.c (print_entry): Handle the new cache flags.
18618 2013-09-18 Joseph Myers <joseph@codesourcery.com>
18619 Aldy Hernandez <aldyh@redhat.com>
18621 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
18622 Change condition to [_SOFT_FLOAT].
18623 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
18624 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
18625 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
18626 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
18627 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
18628 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
18629 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
18630 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
18631 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
18632 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
18633 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
18634 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
18635 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
18636 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
18637 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
18638 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
18641 2013-09-18 Joseph Myers <joseph@codesourcery.com>
18643 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
18644 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18645 (__longjmp): Use LOAD_GP to load saved GPRs.
18646 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
18647 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18648 (__sigsetjmp): Use SAVE_GP to save GPRs.
18650 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
18651 Do not append -msoft-float.
18652 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
18654 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18656 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
18658 2013-09-17 Joseph Myers <joseph@codesourcery.com>
18661 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
18662 (_FPU_GETCW): Use initial "__" on variable and field names but not
18663 on macro parameter name.
18664 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
18665 parentheses around reference to macro parameter.
18667 2013-09-13 Richard Sandiford <richard@codesourcery.com>
18669 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
18671 (ctype_startup): Use uint32_t in cast and sizeof for
18674 2013-09-11 Jia Liu <proljc@gmail.com>
18676 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
18678 [__FreeBSD__]: Likewise.
18680 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
18682 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18683 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
18684 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
18685 (strchr): Remove __strchr_sse42 ifunc selection.
18686 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
18687 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
18689 2013-09-11 Will Newton <will.newton@linaro.org>
18691 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
18692 parameter to RES. Remove hardcoded 1000 value.
18693 * benchtests/bench-skeleton.c (main): Pass RES parameter
18694 to TIMING_INIT and multiply result by 1000.
18696 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18698 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18700 2013-09-11 Andreas Schwab <schwab@suse.de>
18702 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
18704 (O_TMPFILE) [__USE_GNU]: Define.
18705 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
18708 2013-09-11 Will Newton <will.newton@linaro.org>
18711 * malloc/malloc.c (__libc_memalign): Check the value of bytes
18714 2013-09-11 Will Newton <will.newton@linaro.org>
18717 * malloc/malloc.c (__libc_valloc): Check the value of bytes
18720 2013-09-11 Will Newton <will.newton@linaro.org>
18723 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
18726 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
18728 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
18729 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18730 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18731 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18732 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18734 2013-09-10 Allan McRae <allan@archlinux.org>
18737 * manual/arith.texi (Parsing of Floats): Clarify
18741 * manual/install.texi (Running make install): Mention
18743 * INSTALL: Regenerated.
18745 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18747 * csu/init-first.c (_init): Remove the !SHARED condition around
18748 FPU control word initialization.
18749 * elf/dl-support.c (_dl_fpu_control): New variable.
18750 (_dl_aux_init) <AT_FPUCW>: Initialize it.
18751 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
18752 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
18753 * math/test-fpucw-static.c: New file.
18754 * math/test-fpucw-ieee.c: New file.
18755 * math/test-fpucw-ieee-static.c: New file.
18756 * math/Makefile (tests): Add `test-fpucw-ieee' and
18758 (tests-static): New variable.
18759 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
18761 [($(build-shared),yes)]
18762 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18764 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
18767 2013-09-09 Allan McRae <allan@archlinux.org>
18770 * manual/string.texi (Collation Functions): Fix typo in
18772 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
18775 * stdlib/isomac.c (get_null_defines): Fix memory leak.
18778 * libio/memstream.c (open_memstream): Fix memory leak.
18779 * libio/wmemstream.c (open_wmemstream): Likewise.
18782 * nscd/netgroupcache.c: Fix nesting of ifdefs.
18784 2013-09-09 Will Newton <will.newton@linaro.org>
18786 * malloc/Makefile: Add tst-realloc to tests.
18787 * malloc/tst-realloc.c: New file.
18789 2013-09-09 Allan McRae <allan@archlinux.org>
18792 * COPYING: Update from GNU website to fix FSF address.
18793 * COPYING.LIB: Likewise.
18795 2013-09-06 David S. Miller <davem@davemloft.net>
18797 * po/zh_TW.po: Update Chinese (traditional) translation from
18798 translation project.
18800 2013-09-06 Richard Sandiford <richard@codesourcery.com>
18801 Joseph Myers <joseph@codesourcery.com>
18803 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
18805 (obstack_chunk_alloc): New macro.
18806 (obstack_chunk_free): Likewise.
18807 (record_offset): New function.
18808 (init_locale_data): Likewise.
18809 (align_locale_data): Likewise.
18810 (add_locale_empty): Likewise.
18811 (add_locale_raw_data): Likewise.
18812 (add_locale_raw_obstack): Likewise.
18813 (add_locale_string): Likewise.
18814 (add_locale_wstring): Likewise.
18815 (add_locale_uint32): Likewise.
18816 (add_locale_uint32_array): Likewise.
18817 (add_locale_char): Likewise.
18818 (start_locale_structure): Likewise.
18819 (end_locale_structure): Likewise.
18820 (start_locale_prelude): Likewise.
18821 (end_locale_prelude): Likewise.
18822 (write_locale_data): Take locale_file structure rather than an
18824 * locale/programs/locfile.h: Include "obstack.h".
18825 (struct locale_file): Change to store locale file contents instead
18827 (init_locale_data): New prototype.
18828 (align_locale_data): Likewise.
18829 (add_locale_empty): Likewise.
18830 (add_locale_raw_data): Likewise.
18831 (add_locale_raw_obstack): Likewise.
18832 (add_locale_string): Likewise.
18833 (add_locale_wstring): Likewise.
18834 (add_locale_uint32): Likewise.
18835 (add_locale_uint32_array): Likewise.
18836 (add_locale_char): Likewise.
18837 (start_locale_structure): Likewise.
18838 (end_locale_structure): Likewise.
18839 (start_locale_prelude): Likewise.
18840 (end_locale_prelude): Likewise.
18841 (write_locale_data): Update prototype.
18842 * locale/programs/3level.h (struct TABLE): Remove result field.
18843 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
18844 Use new locale_file interface.
18845 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
18846 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
18847 * locale/programs/ld-address.c (address_output): Use new
18848 locale_file interface.
18849 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
18851 (collate_finish): Don't call collseq_table_finalize.
18852 (collate_output): Use new locale_file interface.
18853 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
18855 (NO_FINALIZE): Change to NO_ADD_LOCALE.
18856 (TABLE): Move defines earlier in file.
18857 (ELEMENT): Likewise.
18858 (DEFAULT): Likewise.
18859 (wctrans_table_add): Move macro and inline function earlier in
18861 (struct wctype_table): Move type earlier in file.
18862 (add_locale_wctype_table): New static prototype.
18863 (struct locale_ctype_t): Use logical types instead of struct iovec
18864 pointers for members.
18865 (ctype_output): Use new locale_file interface.
18866 (wctype_table_finalize): Change to add_locale_wctype_table. Use
18867 new locale_file interface.
18868 (allocate_arrays): Update for use of new locale_file interface.
18869 * locale/programs/ld-identification.c (identification_output): Use
18870 new locale_file interface.
18871 * locale/programs/ld-measurement.c (measurement_output): Likewise.
18872 * locale/programs/ld-messages.c (messages_output): Likewise.
18873 * locale/programs/ld-monetary.c (monetary_output): Likewise.
18874 * locale/programs/ld-name.c (name_output): Likewise.
18875 * locale/programs/ld-numeric.c (numeric_output): Likewise.
18876 * locale/programs/ld-paper.c (paper_output): Likewise.
18877 * locale/programs/ld-telephone.c (telephone_output): Likewise.
18878 * locale/programs/ld-time.c (time_output): Likewise.
18880 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18882 * benchtests/Makefile: Add memrchr benchmark.
18883 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
18884 benchmark as memrchr.
18885 * benchtests/bench-memrchr-ifunc.c: New file.
18886 * benchtests/bench-memrchr.c: New file.
18888 2013-09-06 Will Newton <will.newton@linaro.org>
18890 * benchtests/Makefile (string-bench): Add memcpy.
18892 2013-09-05 Carlos O'Donell <carlos@redhat.com>
18893 Cong Wang <amwang@redhat.com>
18896 * sysdeps/unix/sysv/linux/bits/in.h
18897 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
18898 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
18899 before __USE_KERNEL_IPV6_DEFS uses.
18900 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
18902 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
18903 sockaddr_in6, or ipv6_mreq.
18905 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18907 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
18908 memory access for final bytes in some large inputs.
18909 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
18911 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18913 * string/test-memrchr.c: New file.
18914 * string/test-memrchr-ifunc.c: New file.
18915 * string/Makefile: Add new memrchr testcase.
18917 2013-09-05 Mike Frysinger <vapier@gentoo.org>
18919 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
18920 fanotify_init returns EPERM.
18922 2013-09-04 Joseph Myers <joseph@codesourcery.com>
18924 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
18926 (top level): Treat second token from macro or constant entries for
18927 allowed headers as allowed.
18928 * include/complex.h: Condition internal declarations on
18930 * include/fenv.h: Condition include of <stdbool.h> and internal
18931 declarations on [!_ISOMAC].
18933 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
18936 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
18938 2013-09-04 Joseph Myers <joseph@codesourcery.com>
18940 * configure.in (--enable-versioning): Remove configure option.
18941 (libc_cv_asm_symver_directive): Remove configure test.
18942 (libc_cv_ld_version_script_option): Likewise.
18943 (VERSIONING): Remove variable and AC_SUBST.
18944 (DO_VERSIONING): Remove AC_DEFINE.
18945 * configure: Regenerated.
18946 * config.h.in (DO_VERSIONING): Remove macro.
18947 * Makerules [$(versioning) = yes]: Change conditionals to
18948 [$(build-shared) = yes].
18949 * config.make.in (versioning): Remove variable.
18950 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
18951 [$(build-shared) = yes].
18952 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
18953 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
18954 * elf/Makefile [$(versioning) = yes]: Change conditionals to
18955 [$(build-shared) = yes].
18956 * extra-lib.mk [$(versioning) = yes]: Likewise.
18957 * hurd/Makefile [$(versioning) = yes]: Likewise.
18958 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
18960 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
18962 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18963 [SHARED && !NO_HIDDEN].
18964 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
18966 [SHARED && DO_VERSIONING]: Likewise..
18967 * libio/Makefile [$(versioning) = yes]: Change conditionals to
18968 [$(build-shared) = yes].
18969 * manual/install.texi (--disable-versioning): Remove
18971 * INSTALL: Regenerated.
18972 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
18974 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
18975 [$(build-shared) = yes].
18976 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
18977 * sysdeps/i386/i686/multiarch/strstr-c.c
18978 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18979 [SHARED && !NO_HIDDEN].
18980 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
18981 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
18982 * sysdeps/powerpc/powerpc32/dl-machine.c
18983 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
18984 * sysdeps/powerpc/powerpc32/sysdep.h
18985 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
18986 to [SHARED && PIC && !NO_HIDDEN].
18987 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
18988 conditional to [SHARED].
18990 2013-09-04 Will Newton <will.newton@linaro.org>
18992 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
18993 * benchtests/bench-string.h: Include bench-timing.h instead
18994 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
18995 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
18996 call to HP_TIMING_DIFF_INIT.
18997 * benchtests/bench-memccpy.c: Use bench-timing.h macros
18998 instead of hp-timing.h macros.
18999 * benchtests/bench-memchr.c: Likewise.
19000 * benchtests/bench-memcmp.c: Likewise.
19001 * benchtests/bench-memcpy.c: Likewise.
19002 * benchtests/bench-memmem.c: Likewise.
19003 * benchtests/bench-memmove.c: Likewise.
19004 * benchtests/bench-memset.c: Likewise.
19005 * benchtests/bench-rawmemchr.c: Likewise.
19006 * benchtests/bench-strcasecmp.c: Likewise.
19007 * benchtests/bench-strcasestr.c: Likewise.
19008 * benchtests/bench-strcat.c: Likewise.
19009 * benchtests/bench-strchr.c: Likewise.
19010 * benchtests/bench-strcmp.c: Likewise.
19011 * benchtests/bench-strcpy.c: Likewise.
19012 * benchtests/bench-strcpy_chk.c: Likewise.
19013 * benchtests/bench-strlen.c: Likewise.
19014 * benchtests/bench-strncasecmp.c: Likewise.
19015 * benchtests/bench-strncat.c: Likewise.
19016 * benchtests/bench-strncmp.c: Likewise.
19017 * benchtests/bench-strncpy.c: Likewise.
19018 * benchtests/bench-strnlen.c: Likewise.
19019 * benchtests/bench-strpbrk.c: Likewise.
19020 * benchtests/bench-strrchr.c: Likewise.
19021 * benchtests/bench-strspn.c: Likewise.
19022 * benchtests/bench-strstr.c: Likewise.
19024 2013-09-04 Will Newton <will.newton@linaro.org>
19026 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
19028 2013-09-03 Joseph Myers <joseph@codesourcery.com>
19031 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19032 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19033 * math/libm-test.inc (lgamma_test_data): Add more tests.
19034 * sysdeps/i386/fpu/libm-test-ulps: Update.
19035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19037 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
19039 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
19040 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19042 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19043 Add strcmp-sse2-unaligned
19044 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
19046 2013-09-02 Mike Frysinger <vapier@gentoo.org>
19048 * Versions.def (libc): Add GLIBC_2.19.
19050 2013-09-02 Mike Frysinger <vapier@gentoo.org>
19052 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
19053 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
19055 2013-09-02 Joseph Myers <joseph@codesourcery.com>
19058 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
19059 intermediate calculations in recurrence.
19060 (__ieee754_ynf): Likewise.
19061 * math/libm-test.inc (jn_test_data): Do not allow spurious
19062 underflow exception. Add more tests.
19063 (yn_test_data): Add more tests.
19064 * sysdeps/i386/fpu/libm-test-ulps: Update.
19065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19067 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
19069 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
19071 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19073 * csu/init-first.c: Fix then/than typos.
19074 * locale/programs/ld-collate.c: Likewise.
19075 * locale/programs/linereader.h: Likewise.
19076 * manual/charset.texi: Likewise.
19077 * manual/filesys.texi: Likewise.
19078 * manual/stdio.texi: Likewise.
19079 * manual/string.texi: Likewise.
19080 * stdlib/fmtmsg.c: Likewise.
19081 * sysdeps/i386/stpncpy.S: Likewise.
19082 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19083 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19084 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19085 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19087 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19089 * elf/dl-open.c: Fix typos.
19090 * iconvdata/gbbig5.c: Likewise.
19091 * iconvdata/iso-2022-jp.c: Likewise.
19092 * iconv/gconv_int.h: Likewise.
19093 * iconv/loop.c: Likewise.
19094 * nis/rpcsvc/nis.h: Likewise.
19095 * resolv/ns_name.c: Likewise.
19096 * stdio-common/vfscanf.c: Likewise.
19097 * streams/stropts.h: Likewise.
19098 * sunrpc/rpc_thread.c: Likewise.
19099 * sysdeps/i386/strpbrk.S: Likewise.
19100 * sysdeps/ieee754/k_standard.c: Likewise.
19101 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19102 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19103 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
19104 * sysdeps/mach/hurd/profil.c: Likewise.
19105 * sysdeps/s390/dl-procinfo.h: Likewise.
19106 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
19107 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19108 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
19109 * sysdeps/x86_64/dl-trampoline.S: Likewise.
19110 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19112 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19114 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
19115 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
19117 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
19119 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
19120 aix specific files.
19121 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
19122 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
19123 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
19124 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
19125 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
19126 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
19127 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
19128 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
19130 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19131 Roland McGrath <roland@hack.frob.com>
19133 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
19134 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19136 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19138 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
19139 __executable_start symbol instead of _start.
19141 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19143 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
19144 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
19146 * sysdeps/gnu/ldsodefs.h: ... this new file.
19148 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
19149 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
19150 instead of ELFOSABI_LINUX.
19152 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
19153 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
19154 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
19155 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
19157 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
19158 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
19159 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
19161 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19162 (ibm_extended_long_double): Add ieee_nan member.
19163 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
19164 (do_test): New function.
19166 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
19168 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
19169 functions, renamed from truncdfsf_test, trunctfsf_test,
19171 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
19173 (do_test): Run all these.
19175 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
19177 * argp/argp-help.c: Fix typos.
19178 * argp/argp-parse.c: Likewise.
19179 * debug/backtracesyms.c: Likewise.
19180 * elf/elf.h: Likewise.
19181 * malloc/malloc.c: Likewise.
19182 * nis/nis_print.c: Likewise.
19183 * resolv/res_comp.c: Likewise.
19184 * stdlib/stdlib.h: Likewise.
19185 * sunrpc/clnt_tcp.c: Likewise.
19186 * sunrpc/clnt_udp.c: Likewise.
19187 * sunrpc/clnt_unix.c: Likewise.
19188 * sysdeps/unix/bsd/ptsname.c: Likewise.
19189 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19190 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
19191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
19193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
19195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19197 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19199 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19201 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
19202 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19204 2013-08-27 Mike Frysinger <vapier@gentoo.org>
19207 * dlfcn/Makefile (tests): Add bug-dl-leaf.
19208 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
19209 ($(objpfx)bug-dl-leaf): New rule.
19210 ($(objpfx)bug-dl-leaf.so): Likewise.
19211 ($(objpfx)bug-dl-leaf.out): Likewise.
19212 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
19213 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
19214 * dlfcn/bug-dl-leaf.c: New test.
19215 * dlfcn/bug-dl-leaf-lib.c: Likewise.
19216 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
19217 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
19218 (dlclose): Likewise.
19219 (dlmopen): Likewise.
19221 2013-08-27 Roland McGrath <roland@hack.frob.com>
19223 * include/netdb.h [!_ISOMAC]:
19224 Don't include <tls.h>.
19225 (h_errno, __libc_h_errno): Move declaration and macros out of
19228 * include/resolv.h [_RESOLV_H_]:
19229 Don't include <tls.h>.
19230 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
19231 * resolv/res_libc.c: Don't include <tls.h>.
19232 (_res): Use __attribute__ ((nocommon)) in place of
19233 __attribute__ ((section (".bss"))).
19235 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
19236 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
19238 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
19240 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
19241 only under [SIOCGIFCONF && SIOCGIFNETMASK].
19243 * resolv/res_mkquery.c: Include <sys/time.h>.
19245 * inet/ifreq.c: Moved to ...
19246 * sysdeps/unix/ifreq.c: ... here.
19247 * inet/ifreq.c: New file, true stub version.
19249 * socket/sa_len.c: New file.
19250 * socket/Makefile (aux): Add it.
19251 * sysdeps/unix/sysv/linux/Makefile
19252 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
19253 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
19254 and #include <socket/sa_len.c>.
19255 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
19256 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
19258 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
19259 * bits/socket.h: ... here.
19261 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
19262 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
19263 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
19265 2013-08-27 Andreas Schwab <schwab@suse.de>
19268 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
19269 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
19270 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
19271 * string/test-strcasecmp.c (test_main): Run tests in several
19273 * string/test-strncasecmp.c (test_main): Likewise.
19275 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
19276 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
19277 to __strcasecmp_nonascii and __strncasecmp_nonascii.
19278 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
19279 (__strncasecmp_ssse3) [PIC]: Likewise.
19281 2013-08-26 Roland McGrath <roland@hack.frob.com>
19283 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
19285 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
19286 instead of explicitly declaring xdecrypt.
19287 * nis/nss_nis/nis-publickey.c: Likewise.
19289 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19292 * nscd/aicache.c: Include res_hconf.h.
19293 (addhstaiX): Initialize res_hconf.
19295 2013-08-26 Andreas Schwab <schwab@suse.de>
19297 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
19298 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
19300 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19302 * nscd/aicache.c (addhstaiX): Fix indentation.
19304 2013-08-25 Mike Frysinger <vapier@gentoo.org>
19306 * configure.ac: Quote $build_pt_chown test.
19307 * configure: Regenerated.
19309 2013-08-23 Joseph Myers <joseph@codesourcery.com>
19312 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
19313 * math/s_cexpf.c (__cexpf): Likewise.
19314 * math/s_cexpl.c (__cexpl): Likewise.
19315 * math/libm-test.inc (cexp_test_data): Correct expected return
19316 value for NaN + i0. Add another test.
19318 2013-08-22 David S. Miller <davem@davemloft.net>
19320 * po/ca.po: Update Catalan translation from translation project.
19321 * po/uk.po: Add Ukrainian translations from translation project.
19323 2013-08-21 Joseph Myers <joseph@codesourcery.com>
19326 * math/s_fdim.c (__fdim): Check for infinite arguments if result
19327 is infinite, not alongside NaN test.
19328 * math/s_fdimf.c (__fdimf): Likewise.
19329 * math/s_fdiml.c (__fdiml): Likewise.
19330 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
19331 errno is unchanged.
19333 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
19335 * argp/argp-help.c: Fix typos.
19336 * crypt/speeds.c: Likewise.
19337 * csu/check_fds.c: Likewise.
19338 * elf/dl-load.c: Likewise.
19339 * elf/dl-open.c: Likewise.
19340 * elf/reldep3.c: Likewise.
19341 * elf/reldep.c: Likewise.
19342 * elf/sprof.c: Likewise.
19343 * iconv/iconv_charmap.c: Likewise.
19344 * iconv/skeleton.c: Likewise.
19345 * iconv/strtab.c: Likewise.
19346 * io/lockf64.c: Likewise.
19347 * libio/libioP.h: Likewise.
19348 * resolv/gai_notify.c: Likewise.
19349 * resolv/ns_name.c: Likewise.
19350 * resolv/ns_samedomain.c: Likewise.
19351 * resolv/res_send.c: Likewise.
19352 * stdlib/random.c: Likewise.
19353 * sunrpc/rpc/xdr.h: Likewise.
19354 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
19355 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19356 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19357 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19358 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19359 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19360 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19361 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19362 * sysdeps/mach/hurd/check_fds.c: Likewise.
19363 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19364 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19365 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19366 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19367 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19368 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19369 * sysdeps/pthread/aio_notify.c: Likewise.
19370 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
19371 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
19372 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
19373 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19374 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19376 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19378 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
19379 version if bit_Slow_SSE4_2 is set.
19380 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19381 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19383 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19386 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
19387 trampoline stack frame information.
19388 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
19389 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
19390 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
19391 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
19392 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
19393 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19394 (_libc_vdso_platform_setup): Initialize the signal trampolines.
19395 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
19397 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
19398 interrupting a syscall and set with option SA_SIGINFO.
19400 2013-08-20 Joseph Myers <joseph@codesourcery.com>
19403 * math/s_cproj.c (__cproj): Only return an infinity if one part of
19404 argument is infinite.
19405 * math/s_cprojf.c (__cprojf): Likewise.
19406 * math/s_cprojl.c (__cprojl): Likewise.
19407 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
19408 * math/libm-test.inc (cproj_test_data): Add more tests.
19410 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
19412 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
19413 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
19414 size. Use __ffs to determine corresponding shift.
19416 2013-08-20 Joseph Myers <joseph@codesourcery.com>
19417 Roland McGrath <roland@hack.frob.com>
19419 * Makefile (INSTALL): Remove trailing blank lines from output of
19422 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19424 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
19425 Align 32 bit compat elf_greg to 8 bytes.
19427 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
19429 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
19431 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19433 * string/strcoll_l.c (coll_seq): New structure.
19434 (get_next_seq_cached): New function.
19435 (get_next_seq): New function.
19436 (do_compare): New function.
19437 (STRCOLL): Use GNU style definition. Simplify implementation
19438 by using get_next_seq, get_next_seq_cached and do_compare.
19440 2013-08-16 Florian Weimer <fweimer@redhat.com>
19444 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
19446 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
19448 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
19449 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
19450 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
19452 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
19453 GETDENTS_64BIT_ALIGNED.
19454 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19455 * manual/filesys.texi (Reading/Closing Directory): Document
19456 ENAMETOOLONG return value of readdir_r. Recommend readdir more
19458 * manual/conf.texi (Limits for Files): Add portability note to
19459 NAME_MAX, PATH_MAX.
19460 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
19462 2013-08-13 Andreas Schwab <schwab@suse.de>
19465 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
19467 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
19468 LDBL_MAX_EXP >= 16384]: Add tests for it.
19470 2013-08-12 David S. Miller <davem@davemloft.net>
19472 * version.h (RELEASE): Set to "development".
19473 (VERSION): Set to "2.18.90".
19474 * NEWS: Add 2.19 section.
19476 2013-08-03 David S. Miller <davem@davemloft.net>
19478 * po/ko.po: Update Korean translation from translation project.
19480 2013-08-01 David S. Miller <davem@davemloft.net>
19482 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
19483 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
19486 2013-07-30 David S. Miller <davem@davemloft.net>
19488 * po/fr.po: Update French translation from translation project.
19490 2013-07-28 David S. Miller <davem@davemloft.net>
19492 * po/cs.po: Update Czech translation from translation project.
19494 * po/sv.po: Update Swedish translation from translation project.
19496 2013-07-27 David S. Miller <davem@davemloft.net>
19498 * po/eo.po: Update Esperanto translation from translation project.
19500 * po/vi.po: Update Vietnamese translation from translation project.
19502 * po/de.po: Update German translation from translation project.
19504 2013-07-26 David S. Miller <davem@davemloft.net>
19506 * po/bg.po: Update Bulgarian translation from translation project.
19508 * po/nl.po: Update Dutch translation from translation project.
19509 * po/pl.po: Update Polish translation from translation project.
19510 * po/ru.po: Update Russian translation from translation project.
19512 2013-07-24 David S. Miller <davem@davemloft.net>
19514 * po/libc.pot: Update.
19516 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19518 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
19519 variable page size.
19520 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
19521 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
19522 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
19524 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19526 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
19528 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19529 Andreas Schwab <schwab@suse.de>
19530 Roland McGrath <roland@hack.frob.com>
19531 Joseph Myers <joseph@codesourcery.com>
19532 Carlos O'Donell <carlos@redhat.com>
19535 * config.h.in: Define HAVE_PT_CHOWN.
19536 * config.make.in (build-pt-chown): New variable.
19537 * configure.in (--enable-pt_chown): New configure option.
19538 * configure: Regenerate.
19539 * login/Makefile: Include Makeconfig. Build pt_chown only if
19540 build-pt-chown is enabled.
19541 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
19542 pt_chown to fix pty ownership.
19543 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
19545 * manual/install.texi (Configuring and compiling): Mention
19546 --enable-pt_chown. Add @findex for grantpt.
19547 * INSTALL: Regenerate.
19549 2013-07-20 David S. Miller <davem@davemloft.net>
19551 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
19552 difference between 32-bit and 64-bit.
19554 2013-07-15 Carlos O'Donell <carlos@redhat.com>
19557 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
19558 Avoid system header dependency with -ffreestanding.
19559 ($(objpfx)bits/syscall%d): Likewise.
19561 2013-07-13 David S. Miller <davem@davemloft.net>
19563 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
19564 underflows from atanl/atan2l due to bug 15319.
19565 (casinh_test_data): Likewise.
19567 2013-07-07 David S. Miller <davem@davemloft.net>
19569 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19571 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
19573 * sysdeps/i386/fpu/libm-test-ulps: Update.
19574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19576 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19578 * configure.in (--enable-lock-elision): Fix message text.
19579 * INSTALL: Regenerate.
19580 * configure: Regenerate.
19582 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19586 2013-07-03 Andreas Jaeger <aj@suse.de>
19588 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
19590 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
19591 (ptrace_peeksiginfo_args): Add.
19592 (__ptrace_peeksiginfo_flags): Add.
19593 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19594 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19595 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19597 2013-07-03 Allan McRae <allan@archlinux.org>
19599 * sysdeps/i386/fpu/libm-test-ulps: Update.
19601 2013-07-02 David S. Miller <davem@davemloft.net>
19603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19605 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
19607 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19609 2013-07-02 Joseph Myers <joseph@codesourcery.com>
19611 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19614 2013-07-02 Andi Kleen <ak@linux.intel.com>
19616 * config.h.in (ENABLE_LOCK_ELISION): Add.
19617 * configure.in (--enable-lock-elision): Add option.
19618 * manual/install.texi: Document --enable lock elision.
19619 * configure: Regenerate
19620 * INSTALL: Regenerate.
19622 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
19624 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
19625 SSE4.2 strcasecmp for libc.a.
19626 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19628 2013-07-02 Joseph Myers <joseph@codesourcery.com>
19631 * soft-fp/op-common.h (_FP_FMA): New macro.
19632 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
19633 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
19634 (_FP_MUL_MEAT_1_imm): ... here.
19635 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
19636 (_FP_MUL_MEAT_1_wide): ... here.
19637 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
19638 (_FP_MUL_MEAT_1_hard): ... here.
19639 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
19640 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
19641 (_FP_MUL_MEAT_2_wide): ... here.
19642 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
19643 (_FP_MUL_MEAT_2_wide_3mul): ... here.
19644 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
19645 (_FP_MUL_MEAT_2_gmp): ... here.
19646 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
19647 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
19648 (_FP_MUL_MEAT_4_wide): ... here.
19649 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
19650 (_FP_MUL_MEAT_4_gmp): ... here.
19651 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
19652 (_FP_WFRACBITS_DW_S): Likewise.
19653 (_FP_WFRACXBITS_DW_S): Likewise.
19654 (_FP_HIGHBIT_DW_S): Likewise.
19655 (FP_FMA_S): Likewise.
19656 (_FP_FRAC_HIGH_DW_S): Likewise.
19657 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
19658 (_FP_WFRACBITS_DW_D): Likewise.
19659 (_FP_WFRACXBITS_DW_D): Likewise.
19660 (_FP_HIGHBIT_DW_D): Likewise.
19661 (FP_FMA_D): Likewise.
19662 (_FP_FRAC_HIGH_DW_D): Likewise.
19663 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
19664 (_FP_WFRACBITS_DW_E): Likewise.
19665 (_FP_WFRACXBITS_DW_E): Likewise.
19666 (_FP_HIGHBIT_DW_E): Likewise.
19667 (FP_FMA_E): Likewise.
19668 (_FP_FRAC_HIGH_DW_E): Likewise.
19669 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
19670 (_FP_WFRACBITS_DW_Q): Likewise.
19671 (_FP_WFRACXBITS_DW_Q): Likewise.
19672 (_FP_HIGHBIT_DW_Q): Likewise.
19673 (FP_FMA_Q): Likewise.
19674 (_FP_FRAC_HIGH_DW_Q): Likewise.
19675 * soft-fp/fmasf4.c: New file.
19676 * soft-fp/fmadf4.c: Likewise.
19677 * soft-fp/fmatf4.c: Likewise.
19679 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19681 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19682 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
19684 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
19686 (index_Slow_SSE4_2): Likewise.
19687 (index_Prefer_PMINUB_for_stringop): Likewise.
19688 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
19689 bit_Slow_SSE4_2 is set.
19690 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19691 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19693 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19695 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
19696 rtld_global._dl_hwcap2.
19697 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
19699 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
19700 POWER8 feature descriptions defined in _dl_hwcap2.
19701 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
19702 string handling for POWER8 feature bits.
19703 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
19704 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
19705 _dl_powerpc_cap_flags.
19706 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
19707 * sysdeps/powerpc/rtld-global-offsets.sym
19708 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
19709 _dl_hwcap2 in the rtld_global_ro structure.
19711 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19713 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
19714 hardware capabilities in support of AT_HWCAP2.
19715 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
19716 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
19718 (_dl_show_auxv): Add support for calling _dl_procinfo to display
19719 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
19720 explicitly the unknown a_type display mechanism is used.
19721 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
19722 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
19724 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
19725 to macro prototype for AT_HWCAP2 support.
19726 * sysdeps/i386/dl-procinfo.h: Likewise.
19727 * sysdeps/s390/dl-procinfo.h: Likewise.
19728 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
19729 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
19730 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
19731 return -1 for unknown a_type display fallback.
19732 * sysdeps/sparc/dl-procinfo.h: Likewise.
19733 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
19734 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
19736 2013-06-28 Joseph Myers <joseph@codesourcery.com>
19738 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
19739 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
19741 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
19744 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
19745 mprotect making __stack_prot writable.
19747 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
19748 Joseph Myers <joseph@codesourcery.com>
19750 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
19751 as being properly aligned.
19753 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
19755 * dlfcn/modstatic5.c: New file.
19756 * dlfcn/tststatic5.c: New file.
19757 * dlfcn/Makefile (tests): Add tststatic5.
19758 (tests-static): Likewise.
19759 (modules-names): Add modstatic5.
19760 (tststatic5-ENV): New variable.
19761 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
19764 * elf/dl-support.c (_dl_main_map): New variable.
19765 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
19766 (_dl_nns, _dl_load_adds): Set to 1.
19767 (_dl_initial_searchlist): Refer to _dl_main_map.
19768 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
19769 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
19770 call to _dl_get_origin.
19771 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
19773 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
19774 * dlfcn/modstatic3.c: New file.
19775 * dlfcn/tststatic3.c: New file.
19776 * dlfcn/tststatic4.c: New file.
19777 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
19778 (tests-static): Likewise.
19779 (modules-names): Add modstatic3.
19780 (tststatic3-ENV, tststatic4-ENV): New variables.
19781 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
19782 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
19784 2013-06-26 Joseph Myers <joseph@codesourcery.com>
19786 * configure.in (CC): Require GCC version 4.4 or later.
19787 * configure: Regenerated.
19788 * manual/install.texi (Tools for Compilation): Update GCC version
19790 * INSTALL: Regenerated.
19792 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19795 * string/test-memcmp.c (check2): New.
19796 (main): Call check2.
19798 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
19800 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
19803 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
19805 (dl_open_worker) [!SHARED]: ... here.
19807 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19809 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
19811 2013-06-25 Richard Henderson <rth@redhat.com>
19813 * locale/programs/locarchive.c: Include <libc-internal.h>
19815 2013-06-25 Joseph Myers <joseph@codesourcery.com>
19817 * manual/texinfo.tex: Update to version 2013-06-21.17, with
19818 trailing whitespace removed.
19820 2013-06-24 Mike Frysinger <vapier@gentoo.org>
19823 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
19824 * locale/programs/locarchive.c: Include libc-mmap.h.
19825 (prepare_address_space): Take two new outputs (the mmap base and len).
19826 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
19828 (create_archive): Declare new mmap base and len values for
19829 prepare_address_space, and store the result in ah.
19830 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
19831 (enlarge_archive): If ah->mmap_base is not NULL, use that and
19832 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19833 Declare new mmap base and len values for
19834 prepare_address_space, and store the result in new_ah.
19835 (open_archive): Declare new mmap base and len values for
19836 prepare_address_space, and store the result in ah.
19837 (close_archive): If ah->mmap_base is not NULL, use that and
19838 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19839 * sysdeps/generic/libc-mmap.h: New file.
19841 2013-06-24 Mike Frysinger <vapier@gentoo.org>
19843 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
19844 (ALIGN_UP): Likewise.
19845 (PTR_ALIGN_DOWN): Likewise.
19846 (PTR_ALIGN_UP): Likewise.
19848 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19850 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
19851 entry mapped to PPC_PLATFORM_POWER8.
19852 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
19854 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
19855 (_dl_string_platform): Add case for exporting platform position for
19857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
19858 search path to sysdeps/powerpc/powerpc32/power8 directory.
19859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
19860 search path to sysdeps/powerpc/powerpc64/power8 directory.
19861 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
19862 power7 directories.
19863 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
19864 power7 directories.
19866 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19868 * INSTALL: Regenerate.
19870 * nscd/connections.c (nscd_init): Fix comment.
19872 2013-06-22 Joseph Myers <joseph@codesourcery.com>
19874 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
19877 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
19878 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
19880 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
19882 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
19884 (DL_DST_REQ_STATIC): Remove macro.
19886 2013-06-21 Joseph Myers <joseph@codesourcery.com>
19889 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
19890 with a shift of 0 bits.
19892 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
19894 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
19897 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19900 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
19902 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19904 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
19905 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
19906 accepts -fno-tree-loop-distribute-patterns.
19907 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
19908 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
19910 * string/memset.c (memset): Likewise.
19911 * string/test-memmove.c (simple_memmove): Disable loop transformation
19913 * string/test-memset.c (simple_memset): Likewise.
19914 * benchtests/bench-memmove.c (simple_memmove): Likewise.
19915 * benchtests/bench-memset.c (simple_memset): Likewise.
19916 * configure: Regenerated.
19918 2013-06-20 Joseph Myers <joseph@codesourcery.com>
19920 * math/test-misc.c (main): Ignore fesetround failure when failures
19921 of subsequent rounding tests would be ignored.
19924 * math/fedisblxcpt.c (fedisableexcept): Return 0.
19925 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
19926 * math/fegetenv.c (__fegetenv): Return 0.
19927 * math/fegetexcept.c (fegetexcept): Return 0.
19928 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
19930 * math/feholdexcpt.c (feholdexcept): Return 0.
19931 * math/fesetenv.c (__fesetenv): Return 0.
19932 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
19933 argument FE_TONEAREST.
19934 * math/feupdateenv.c (__feupdateenv): Return 0.
19935 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
19937 2013-06-18 Roland McGrath <roland@hack.frob.com>
19939 * elf/rtld-Rules (rtld-compile-command.S): New variable.
19940 (rtld-compile-command.s, rtld-compile-command.c): New variables.
19941 ($(objpfx)rtld-%.os rules): Use them.
19943 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19945 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
19948 2013-06-17 Roland McGrath <roland@hack.frob.com>
19950 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
19951 length of target pattern, then descending length of dependency pattern.
19952 * configure.in (AWK): Require gawk 3.1.2 or newer.
19953 * manual/install.texi (Tools for Compilation): Say that we do.
19954 * configure: Regenerated.
19956 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
19957 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
19958 * scripts/sysd-rules.awk: ... this new script.
19959 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
19960 than a glob-style pattern.
19962 2013-06-17 Joseph Myers <joseph@codesourcery.com>
19964 * math/test-misc.c (main): Do not treat incorrectly rounded
19965 conversions as failure unless ROUNDING_TESTS passes.
19967 2013-06-15 Joseph Myers <joseph@codesourcery.com>
19970 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
19971 restore exception state around main square root computation, then
19972 check for inexactness explicitly.
19974 * math/libm-test.inc (fma_test_data): Add another test.
19976 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19978 * manual/threads.texi (Non-POSIX Extensions): New document
19979 node. Document pthread_getattr_default_np and
19980 pthread_setattr_default_np.
19982 * Versions.def (libpthread): Add GLIBC_2.18.
19983 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
19984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19988 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19992 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
19994 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19996 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20000 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20003 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20005 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20006 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
20008 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20009 H.J. Lu <hjl.tools@gmail.com>
20012 * sysdeps/x86_64/rtld-memset.c: Remove file.
20013 * sysdeps/x86_64/rtld-memset.S: New file.
20015 2013-06-14 Joseph Myers <joseph@codesourcery.com>
20017 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
20018 (test_in_one_mode): Take arguments for whether the rounding mode
20019 is supported for each floating-point type.
20020 (do_test): Pass new arguments to test_in_one_mode using
20023 2013-06-13 Roland McGrath <roland@hack.frob.com>
20025 * posix/tst-waitid.c (do_test): Distinguish different instances of
20026 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
20027 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
20028 before entering the kernel for waitpid.
20030 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20032 * NEWS: Fix note on clock function precision. Text by Roland
20035 2013-06-13 Roland McGrath <roland@hack.frob.com>
20037 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
20038 it into place only when and if the sanity check passes.
20040 2013-06-13 Joseph Myers <joseph@codesourcery.com>
20042 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
20043 output for whether conversion result is exact. Take argument
20044 indicating whether type is IBM long double.
20045 (round_for_all): Change need_exact field to ibm_ld.
20046 * stdlib/tst-strtod-round.c (struct exactness): New type.
20047 (struct test): Change bool ld_ok field to struct exactness exact.
20048 (TEST): Update all definitions for change to field.
20049 (tests): Regenerate array contents.
20050 (test_in_one_mode): Take pointer to new field instead of old ld_ok
20051 field value. Check for IBM long double here.
20052 (do_test): Update calls to test_in_one_mode.
20054 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20057 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
20058 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
20060 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20063 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
20064 generated by the compiler on loop optimizations.
20065 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
20066 general definitions.
20068 2013-06-12 Joseph Myers <joseph@codesourcery.com>
20070 * math/bug-nextafter.c: Include <math-tests.h>.
20071 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20073 * math/bug-nexttoward.c: Include <math-tests.h>.
20074 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20076 * math/test-misc.c: Include <math-tests.h>.
20077 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20080 2013-06-12 Andreas Jaeger <aj@suse.de>
20082 * po/ia.po: Update Interlingua translation from translation
20085 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20087 * include/fenv.h: Include stdbool.h.
20088 (struct rm_ctx): New structure.
20089 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
20091 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
20092 (SET_RESTORE_ROUNDF): Likewise.
20093 (SET_RESTORE_ROUNDL): Likewise.
20094 (SET_RESTORE_ROUND_NOEX): Likewise.
20095 (SET_RESTORE_ROUND_NOEXF): Likewise.
20096 (SET_RESTORE_ROUND_NOEXL): Likewise.
20097 (SET_RESTORE_ROUND_53BIT): Likewise.
20098 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
20099 (libc_feresetround_noexf_ctx): Likewise.
20100 (libc_feresetround_noexl_ctx): Likewise.
20101 (libc_feholdsetround_53bit_ctx): Likewise.
20102 (libc_feresetround_53bit_ctx): Likewise.
20103 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
20104 (libc_feholdexcept_setround_sse_ctx): New function.
20105 (libc_fesetenv_sse_ctx): Likewise.
20106 (libc_feupdateenv_sse_ctx): Likewise.
20107 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
20108 (libc_feholdexcept_setround_387_ctx): Likewise.
20109 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
20110 (libc_feholdsetround_387_prec_ctx): Likewise.
20111 (libc_feholdsetround_387_ctx): Likewise.
20112 (libc_feholdsetround_387_53bit_ctx): Likewise.
20113 (libc_feholdsetround_sse_ctx): Likewise.
20114 (libc_feresetround_sse_ctx): Likewise.
20115 (libc_feresetround_387_ctx): Likewise.
20116 (libc_feupdateenv_387_ctx): Likewise.
20117 (libc_feholdexcept_setroundf_ctx): Define macro.
20118 (libc_fesetenvf_ctx): Likewise.
20119 (libc_feupdateenvf_ctx): Likewise.
20120 (libc_feholdsetroundf_ctx): Likewise.
20121 (libc_feresetroundf_ctx): Likewise.
20122 (libc_feholdexcept_setround_ctx): Likewise.
20123 (libc_fesetenv_ctx): Likewise.
20124 (libc_feupdateenv_ctx): Likewise.
20125 (libc_feholdsetround_ctx): Likewise.
20126 (libc_feresetround_ctx): Likewise.
20127 (libc_feholdexcept_setroundl_ctx): Likewise.
20128 (libc_feupdateenvl_ctx): Likewise.
20129 (libc_feholdsetroundl_ctx): Likewise.
20130 (libc_feresetroundl_ctx): Likewise.
20131 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
20132 (libc_feresetround_53bit_ctx): Likewise.
20134 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20136 * locale/iso-639.def: Convert to UTF-8.
20138 2013-06-11 Joseph Myers <joseph@codesourcery.com>
20140 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
20141 (EXCEPTION_TESTS_double): Likewise.
20142 (EXCEPTION_TESTS_long_double): Likewise.
20143 (EXCEPTION_TESTS): Likewise.
20144 * math/libm-test.inc (test_exceptions): Only test exceptions if
20145 EXCEPTION_TESTS (FLOAT).
20147 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20149 * benchtests/Makefile (string-bench): Add strcpy_chk and
20151 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
20152 * benchtests/bench-stpcpy_chk.c: New file.
20153 * benchtests/bench-strcpy_chk-ifunc.c: New file.
20154 * benchtests/bench-strcpy_chk.c: New file.
20155 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
20157 (do_test): Likewise.
20159 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20161 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
20162 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
20163 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
20164 with tabs where appropriate.
20165 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
20167 [PPC_PLATFORM_PPC440]: Likewise.
20168 [PPC_PLATFORM_PPC464]: Likewise.
20169 [PPC_PLATFORM_PPC476]: Likewise.
20170 (_dl_string_platform): Add support for detecting ppc405, ppc440,
20171 ppc464, and ppc476 platform strings merging from ports/
20174 2013-06-11 Andreas Schwab <schwab@suse.de>
20177 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
20178 (from_ucs4_idx): Regenerate.
20179 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
20180 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
20181 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
20182 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
20183 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
20184 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
20185 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
20186 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
20187 from FROM_LOOP and TO_LOOP specific macros.
20188 (BODY): Handle combining characters.
20189 * iconvdata/BIG5HKSCS.irreversible: Update.
20190 * iconvdata/BIG5HKSCS.precomposed: New file.
20191 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
20193 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
20195 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20197 * include/sys/time.h: Fix indentation and add copyright header.
20199 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
20200 (do_test): Likewise.
20201 * string/test-memchr.c (do_one_test): Likewise.
20202 (do_test): Likewise.
20203 * string/test-memcmp.c (do_one_test): Likewise.
20204 (do_test): Likewise.
20205 * string/test-memcpy.c (do_one_test): Likewise.
20206 (do_test): Likewise.
20207 * string/test-memmem.c (do_one_test): Likewise.
20208 (do_test): Likewise.
20209 (do_random_tests): Likewise.
20210 * string/test-memmove.c (do_one_test): Likewise.
20211 (do_test): Likewise.
20212 * string/test-memset.c (do_one_test): Likewise.
20213 (do_test): Likewise.
20214 * string/test-rawmemchr.c (do_one_test): Likewise.
20215 (do_test): Likewise.
20216 * string/test-strcasecmp.c (do_one_test): Likewise.
20217 (do_test): Likewise.
20218 * string/test-strcasestr.c (do_one_test): Likewise.
20219 (do_test): Likewise.
20220 * string/test-strcat.c (do_one_test): Likewise.
20221 (do_test): Likewise.
20222 * string/test-strchr.c (do_one_test): Likewise.
20223 (do_test): Likewise.
20224 * string/test-strcmp.c (do_one_test): Likewise.
20225 (do_test): Likewise.
20226 * string/test-strcpy.c (do_one_test): Likewise.
20227 (do_test): Likewise.
20228 * string/test-string.h: Likewise.
20229 (test_init): Likewise.
20230 * string/test-strlen.c (do_one_test): Likewise.
20231 (do_test): Likewise.
20232 * string/test-strncasecmp.c (do_one_test): Likewise.
20233 (do_test): Likewise.
20234 * string/test-strncat.c (do_one_test): Likewise.
20235 (do_test): Likewise.
20236 * string/test-strncmp.c (do_one_test): Likewise.
20237 (do_test_limit): Likewise.
20238 (do_test): Likewise.
20239 * string/test-strncpy.c (do_one_test): Likewise.
20240 (do_test): Likewise.
20241 * string/test-strnlen.c (do_one_test): Likewise.
20242 (do_test): Likewise.
20243 * string/test-strpbrk.c (do_one_test): Likewise.
20244 (do_test): Likewise.
20245 * string/test-strrchr.c (do_one_test): Likewise.
20246 (do_test): Likewise.
20247 * string/test-strspn.c (do_one_test): Likewise.
20248 (do_test): Likewise.
20249 * string/test-strstr.c (do_one_test): Likewise.
20250 (do_test): Likewise.
20252 * benchtests/Makefile (string-bench): Add string benchmarks.
20253 * benchtests/bench-bcopy-ifunc.c: New file.
20254 * benchtests/bench-bcopy.c: New file.
20255 * benchtests/bench-bzero-ifunc.c: New file.
20256 * benchtests/bench-bzero.c: New file.
20257 * benchtests/bench-memccpy-ifunc.c: New file.
20258 * benchtests/bench-memccpy.c: New file.
20259 * benchtests/bench-memchr-ifunc.c: New file.
20260 * benchtests/bench-memchr.c: New file.
20261 * benchtests/bench-memcmp-ifunc.c: New file.
20262 * benchtests/bench-memcmp.c: New file.
20263 * benchtests/bench-memmem-ifunc.c: New file.
20264 * benchtests/bench-memmem.c: New file.
20265 * benchtests/bench-memmove-ifunc.c: New file.
20266 * benchtests/bench-memmove.c: New file.
20267 * benchtests/bench-mempcpy-ifunc.c: New file.
20268 * benchtests/bench-mempcpy.c: New file.
20269 * benchtests/bench-memset-ifunc.c: New file.
20270 * benchtests/bench-memset.c: New file.
20271 * benchtests/bench-rawmemchr-ifunc.c: New file.
20272 * benchtests/bench-rawmemchr.c: New file.
20273 * benchtests/bench-stpcpy-ifunc.c: New file.
20274 * benchtests/bench-stpcpy.c: New file.
20275 * benchtests/bench-stpncpy-ifunc.c: New file.
20276 * benchtests/bench-stpncpy.c: New file.
20277 * benchtests/bench-strcasecmp-ifunc.c: New file.
20278 * benchtests/bench-strcasecmp.c: New file.
20279 * benchtests/bench-strcasestr-ifunc.c: New file.
20280 * benchtests/bench-strcasestr.c: New file.
20281 * benchtests/bench-strcat-ifunc.c: New file.
20282 * benchtests/bench-strcat.c: New file.
20283 * benchtests/bench-strchr-ifunc.c: New file.
20284 * benchtests/bench-strchr.c: New file.
20285 * benchtests/bench-strchrnul-ifunc.c: New file.
20286 * benchtests/bench-strchrnul.c: New file.
20287 * benchtests/bench-strcmp-ifunc.c: New file.
20288 * benchtests/bench-strcmp.c: New file.
20289 * benchtests/bench-strcpy-ifunc.c: New file.
20290 * benchtests/bench-strcpy.c: New file.
20291 * benchtests/bench-strcspn-ifunc.c: New file.
20292 * benchtests/bench-strcspn.c: New file.
20293 * benchtests/bench-strlen-ifunc.c: New file.
20294 * benchtests/bench-strlen.c: New file.
20295 * benchtests/bench-strncasecmp-ifunc.c: New file.
20296 * benchtests/bench-strncasecmp.c: New file.
20297 * benchtests/bench-strncat-ifunc.c: New file.
20298 * benchtests/bench-strncat.c: New file.
20299 * benchtests/bench-strncmp-ifunc.c: New file.
20300 * benchtests/bench-strncmp.c: New file.
20301 * benchtests/bench-strncpy-ifunc.c: New file.
20302 * benchtests/bench-strncpy.c: New file.
20303 * benchtests/bench-strnlen-ifunc.c: New file.
20304 * benchtests/bench-strnlen.c: New file.
20305 * benchtests/bench-strpbrk-ifunc.c: New file.
20306 * benchtests/bench-strpbrk.c: New file.
20307 * benchtests/bench-strrchr-ifunc.c: New file.
20308 * benchtests/bench-strrchr.c: New file.
20309 * benchtests/bench-strspn-ifunc.c: New file.
20310 * benchtests/bench-strspn.c: New file.
20311 * benchtests/bench-strstr-ifunc.c: New file.
20312 * benchtests/bench-strstr.c: New file.
20314 * benchtests/Makefile: Disable parallel execution of targets.
20315 (string-bench): Add memcpy.
20316 (benchset): New variable to store a list of benchmark sets.
20317 (bench-func): Renamed from bench.
20318 (bench-set): New target.
20319 (bench): Depend on bench-func and bench-set.
20320 * benchtests/README: Add section on benchmark sets.
20321 * benchtests/bench-memcpy-ifunc.c: New file.
20322 * benchtests/bench-memcpy.c: New file.
20323 * benchtests/bench-string.h: New file.
20325 2013-06-11 Andreas Schwab <schwab@suse.de>
20328 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
20329 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
20330 values in the triple.
20331 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
20332 terminator in the group key.
20334 2013-06-11 Andreas Jaeger <aj@suse.de>
20336 * po/zh_TW.po: Update Chinese (traditional) translation from
20337 translation project.
20339 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20341 * include/time.h (__clock_gettime): Add libc_hidden_proto.
20342 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
20343 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
20344 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20345 (clock_getcpuclockid): Likewise.
20346 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
20347 Add weak_alias and libc_hidden_def.
20348 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
20349 * rt/clock_gettime.c (clock_gettime): Rename to
20350 __clock_gettime. Add weak_alias and libc_hidden_def.
20351 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
20352 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
20353 __clock_nanosleep. Add weak_alias and libc_hidden_def.
20354 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
20355 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
20357 * rt/clock_settime.c (clock_settime): Rename to
20358 __clock_settime. Add weak_alias and libc_hidden_def.
20359 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
20361 2013-06-10 Joseph Myers <joseph@codesourcery.com>
20363 * mach/err_boot.sub: Remove trailing whitespace.
20364 * mach/err_ipc.sub: Likewise.
20365 * mach/err_mach.sub: Likewise.
20367 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
20368 (ROUNDING_TESTS_double): Likewise.
20369 (ROUNDING_TESTS_long_double): Likewise.
20370 (ROUNDING_TESTS): Likewise.
20371 * math/libm-test.inc: Include <math-tests.h>.
20372 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
20373 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20374 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20375 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20377 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20379 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
20382 2013-06-08 Joseph Myers <joseph@codesourcery.com>
20384 * sysdeps/gnu/errlist.awk: Do not generate space at end of
20385 otherwise empty TRANS lines.
20386 * sysdeps/gnu/errlist.c: Regenerated.
20388 * catgets/gencat.c (error_print): Use (void) in function
20390 * crypt/crypt_util.c (__init_des): Likewise.
20391 * crypt/speeds.c (Stop): Likewise.
20393 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
20394 * inet/ruserpass.c (token): Likewise.
20395 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
20396 * intl/localealias.c (extend_alias_table): Likewise.
20397 * intl/plural-exp.c (init_germanic_plural): Likewise.
20398 * libio/fcloseall.c (__fcloseall): Likewise.
20399 * libio/genops.c (_IO_flush_all): Likewise.
20400 (_IO_flush_all_linebuffered): Likewise.
20401 (_IO_cleanup): Likewise.
20402 (_IO_iter_begin): Likewise.
20403 (_IO_iter_end): Likewise.
20404 (_IO_list_lock): Likewise.
20405 (_IO_list_unlock): Likewise.
20406 (_IO_list_resetlock): Likewise.
20407 * libio/getchar.c (getchar): Likewise.
20408 * libio/getchar_u.c (getchar_unlocked): Likewise.
20409 * libio/getwchar.c (getwchar): Likewise.
20410 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
20411 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
20412 * login/getpt.c (__getpt): Likewise.
20413 * login/tst-utmp.c (main): Likewise.
20414 * malloc/hooks.c (__malloc_check_init): Likewise.
20415 * malloc/malloc.c (__malloc_stats): Likewise.
20416 * malloc/mtrace.c (tr_break): Likewise.
20417 (mtrace): Likewise.
20418 (muntrace): Likewise.
20419 * misc/fstab.c (endfsent): Likewise.
20420 * misc/getclktck.c (__getclktck): Likewise.
20421 * misc/getdtsz.c (__getdtablesize): Likewise.
20422 * misc/gethostid.c (gethostid): Likewise.
20423 * misc/getpagesize.c (__getpagesize): Likewise.
20424 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
20425 (__get_nprocs): Likewise.
20426 (__get_phys_pages): Likewise.
20427 (__get_avphys_pages): Likewise.
20428 * misc/getttyent.c (getttyent): Likewise.
20429 (setttyent): Likewise.
20430 (endttyent): Likewise.
20431 * misc/getusershell.c (getusershell): Likewise.
20432 (endusershell): Likewise.
20433 (setusershell): Likewise.
20434 (initshells): Likewise.
20435 * misc/hsearch.c (__hdestroy): Likewise.
20436 * misc/sync.c (sync): Likewise.
20437 * misc/syslog.c (closelog_internal): Likewise.
20438 (closelog): Likewise.
20439 * misc/ttyslot.c (ttyslot): Likewise.
20440 * misc/vhangup.c (vhangup): Likewise.
20441 * posix/fork.c (__fork): Likewise.
20442 * posix/getegid.c (__getegid): Likewise.
20443 * posix/geteuid.c (__geteuid): Likewise.
20444 * posix/getgid.c (__getgid): Likewise.
20445 * posix/getpid.c (__getpid): Likewise.
20446 * posix/getppid.c (__getppid): Likewise.
20447 * posix/getuid.c (__getuid): Likewise.
20448 * posix/pause.c (pause): Likewise.
20449 * posix/setpgrp.c (setpgrp): Likewise.
20450 * posix/setsid.c (__setsid): Likewise.
20451 * posix/test-vfork.c (noop): Likewise.
20452 * resolv/gethnamaddr.c (_endhtent): Likewise.
20453 (_gethtent): Likewise.
20454 (ht_endhostent): Likewise.
20455 (gethostent): Likewise.
20456 (dns_service): Likewise.
20457 * stdlib/drand48.c (drand48): Likewise.
20458 * stdlib/lrand48.c (lrand48): Likewise.
20459 * stdlib/mrand48.c (mrand48): Likewise.
20460 * stdlib/rand.c (rand): Likewise.
20461 * stdlib/random.c (__random): Likewise.
20462 * stdlib/setenv.c (clearenv): Likewise.
20463 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
20464 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
20465 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
20466 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
20467 (__get_nprocs): Likewise.
20468 (__get_phys_pages): Likewise.
20469 (__get_avphys_pages): Likewise.
20470 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
20471 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
20472 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
20473 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
20474 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
20475 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
20476 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
20477 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
20478 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
20479 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
20480 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
20481 * sysdeps/mach/hurd/sync.c (sync): Likewise.
20482 * sysdeps/posix/clock.c (clock): Likewise.
20483 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
20484 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
20485 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
20486 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
20487 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
20488 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
20489 (__get_nprocs_conf): Likewise.
20490 (__get_phys_pages): Likewise.
20491 (__get_avphys_pages): Likewise.
20492 * time/clock.c (clock): Likewise.
20493 * time/tzset.c (__tzname_max): Likewise.
20495 2013-06-07 Joseph Myers <joseph@codesourcery.com>
20497 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
20498 (__bswap_32): Do not use "register".
20499 * crypt/crypt.c (_ufc_doit_r): Likewise.
20500 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20501 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20502 * gmon/gmon.c (__monstartup): Likewise.
20503 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
20504 * hurd/hurdmalloc.c (more_memory): Likewise.
20505 (malloc): Likewise.
20507 (realloc): Likewise.
20508 (malloc_fork_prepare): Likewise.
20509 (malloc_fork_parent): Likewise.
20510 (malloc_fork_child): Likewise.
20511 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
20512 (_svcauth_des): Likewise.
20513 * inet/inet_lnaof.c (inet_lnaof): Likewise.
20514 * inet/inet_net.c (inet_network): Likewise.
20515 * inet/inet_netof.c (inet_netof): Likewise.
20516 * inet/rcmd.c (__validuser2_sa): Likewise.
20517 * io/fts.c (fts_open): Likewise.
20518 (fts_load): Likewise.
20519 (fts_close): Likewise.
20520 (fts_read): Likewise.
20521 (fts_children): Likewise.
20522 (fts_build): Likewise.
20523 (fts_stat): Likewise.
20524 (fts_sort): Likewise.
20525 (fts_alloc): Likewise.
20526 (fts_lfree): Likewise.
20527 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
20528 (_IO_file_xsgetn): Likewise.
20529 (_IO_file_xsgetn_mmap): Likewise.
20530 * libio/iofopncook.c (_IO_cookie_read): Likewise.
20531 (_IO_cookie_write): Likewise.
20532 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
20533 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
20534 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
20535 * malloc/obstack.c (_obstack_begin): Likewise.
20536 (_obstack_begin_1): Likewise.
20537 (_obstack_newchunk): Likewise.
20538 (_obstack_allocated_p): Likewise.
20539 (obstack_free): Likewise.
20540 (_obstack_memory_used): Likewise.
20541 * misc/getttyent.c (getttynam): Likewise.
20542 (getttyent): Likewise.
20545 * misc/getusershell.c (initshells): Likewise.
20546 * misc/syslog.c (__vsyslog_chk): Likewise.
20547 * misc/ttyslot.c (ttyslot): Likewise.
20548 * nis/nis_hash.c (__nis_hash): Likewise.
20549 * posix/fnmatch_loop.c (FCT): Likewise.
20550 * posix/getconf.c (print_all): Likewise.
20552 * posix/getopt.c (exchange): Likewise.
20553 * posix/glob.c (globfree): Likewise.
20554 (prefix_array): Likewise.
20555 (__glob_pattern_type): Likewise.
20556 * resolv/arpa/nameser.h (NS_GET16): Likewise.
20557 (NS_GET32): Likewise.
20558 (NS_PUT16): Likewise.
20559 (NS_PUT32): Likewise.
20560 * resolv/gethnamaddr.c (getanswer): Likewise.
20561 (gethostbyname2): Likewise.
20562 (gethostbyaddr): Likewise.
20563 (_gethtent): Likewise.
20564 (_gethtbyname2): Likewise.
20565 (_gethtbyaddr): Likewise.
20566 * resolv/ns_print.c (dst_s_get_int16): Likewise.
20567 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20568 * resolv/res_init.c (__res_vinit): Likewise.
20569 (net_mask): Likewise.
20570 * resolv/res_mkquery.c (outchar): Likewise.
20572 * stdio-common/printf_fp.c (outchar): Likewise.
20574 * stdio-common/printf_fphex.c (outchar): Likewise.
20576 * stdio-common/printf_size.c (outchar): Likewise.
20578 * stdio-common/test_rdwr.c (main): Likewise.
20579 * stdio-common/tfformat.c (matches): Likewise.
20580 * stdio-common/vfprintf.c (outchar): Likewise.
20581 (printf_unknown): Likewise.
20582 (buffered_vfprintf): Likewise.
20583 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20584 * stdio-common/xbug.c (AppendToBuffer): Likewise.
20585 (ReadFile): Likewise.
20586 * stdlib/qsort.c (SWAP): Likewise.
20587 (_quicksort): Likewise.
20588 * stdlib/setenv.c (__add_to_environ): Likewise.
20589 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20590 * stdlib/strtol_l.c (__strtol_l): Likewise.
20591 * stdlib/tst-strtod.c (main): Likewise.
20592 * stdlib/tst-strtol.c (main): Likewise.
20593 * stdlib/tst-strtoll.c (main): Likewise.
20594 * string/bits/string2.h (__strcmp_cc): Likewise.
20595 (__strcmp_cg): Likewise.
20596 (__strcspn_c1): Likewise.
20597 (__strcspn_c2): Likewise.
20598 (__strcspn_c3): Likewise.
20599 (__strspn_c1): Likewise.
20600 (__strspn_c2): Likewise.
20601 (__strspn_c3): Likewise.
20602 (__strsep_1c): Likewise.
20603 (__strsep_2c): Likewise.
20604 (__strsep_3c): Likewise.
20605 * string/memccpy.c (__memccpy): Likewise.
20606 * string/stpcpy.c (__stpcpy): Likewise.
20607 * string/strcmp.c (strcmp): Likewise.
20608 * string/strrchr.c (strrchr): Likewise.
20609 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
20611 * sysdeps/mach/hurd/getcwd.c
20612 (_hurd_canonicalize_directory_name_internal): Likewise.
20613 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
20614 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
20615 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
20616 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
20617 Likewise, in both definitions.
20618 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
20620 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
20621 64] (__bswap_64): Likewise.
20622 * time/test_time.c (main): Likewise.
20623 * time/tzfile.c (__tzfile_read): Likewise.
20624 (__tzfile_compute): Likewise.
20625 * time/tzset.c (__tzset_parse_tz): Likewise.
20626 (tzset_internal): Likewise.
20627 (compute_change): Likewise.
20628 * wcsmbs/wcscat.c (__wcscat): Likewise.
20629 * wcsmbs/wcschr.c (wcschr): Likewise.
20630 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
20631 * wcsmbs/wcscspn.c (wcscspn): Likewise.
20632 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
20633 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
20634 * wcsmbs/wcsspn.c (wcsspn): Likewise.
20635 * wcsmbs/wcsstr.c (wcsstr): Likewise.
20636 * wcsmbs/wmemchr.c (wmemchr): Likewise.
20637 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20638 * wcsmbs/wmemset.c (wmemset): Likewise.
20640 2013-06-06 Joseph Myers <joseph@codesourcery.com>
20642 * scripts/config.guess: Update to version 2013-05-16.
20643 * scripts/config.sub: Update to version 2013-04-24.
20644 * scripts/install-sh: Update to version 2011-11-20.07.
20645 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
20646 * scripts/move-if-change: Update to version 2012-01-06 07:23.
20648 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
20650 * debug/fgetws_u_chk.c: Fix leading whitespaces.
20651 * elf/sln.c: Likewise.
20652 * hurd/hurd/ioctl.h: Likewise.
20653 * hurd/hurdmalloc.c: Likewise.
20654 * hurd/xattr.c: Likewise.
20655 * include/shlib-compat.h: Likewise.
20656 * inet/ruserpass.c: Likewise.
20657 * libio/iofgets_u.c: Likewise.
20658 * libio/iofgetws_u.c: Likewise.
20659 * locale/programs/ld-identification.c: Likewise.
20660 * locale/programs/ld-time.c: Likewise.
20661 * mach/msg-destroy.c: Likewise.
20662 * nss/nss_files/files-netgrp.c: Likewise.
20663 * resolv/res_data.c: Likewise.
20664 * soft-fp/op-1.h: Likewise.
20665 * soft-fp/op-2.h: Likewise.
20666 * soft-fp/op-4.h: Likewise.
20667 * soft-fp/op-common.h: Likewise.
20668 * stdio-common/printf_fphex.c: Likewise.
20669 * stdlib/strtod_l.c: Likewise.
20670 * sunrpc/rpc/clnt.h: Likewise.
20671 * sysdeps/generic/framestate.c: Likewise.
20672 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20673 * sysdeps/i386/bsd-setjmp.S: Likewise.
20674 * sysdeps/i386/__longjmp.S: Likewise.
20675 * sysdeps/i386/setjmp.S: Likewise.
20676 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20677 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20678 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20679 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20680 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20681 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
20682 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20683 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20684 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20685 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20686 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20687 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20688 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20689 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20690 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20691 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20692 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20693 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
20694 * sysdeps/ieee754/support.c: Likewise.
20695 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20696 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
20697 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
20698 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
20699 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
20700 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
20701 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
20702 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
20703 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
20704 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
20705 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
20706 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
20707 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
20708 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
20709 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
20710 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
20711 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
20714 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
20716 * posix/transbug.c: Remove executable mode.
20718 2013-06-05 Joseph Myers <joseph@codesourcery.com>
20720 * crypt/speeds.c: Remove trailing whitespace.
20721 * dlfcn/default.c: Likewise.
20722 * elf/ifuncdep2.c: Likewise.
20723 * elf/ifuncmain1.c: Likewise.
20724 * elf/ifuncmain1vis.c: Likewise.
20725 * elf/testobj.h: Likewise.
20726 * elf/tst-stackguard1.c: Likewise.
20727 * gmon/sys/gmon.h: Likewise.
20728 * hurd/hurdmsg.c: Likewise.
20729 * hurd/new-fd.c: Likewise.
20730 * hurd/ports-get.c: Likewise.
20731 * iconvdata/ibm1008_420.c: Likewise.
20732 * inet/tst-getni1.c: Likewise.
20733 * inet/tst-getni2.c: Likewise.
20734 * libio/ioungetc.c: Likewise.
20735 * libio/wfiledoalloc.c: Likewise.
20736 * manual/libm-err-tab.pl: Likewise.
20737 * math/w_dremf.c: Likewise.
20738 * misc/ftruncate.c: Likewise.
20739 * posix/bug-glob2.c: Likewise.
20740 * posix/tst-pcre.c: Likewise.
20741 * posix/wait4.c: Likewise.
20742 * resolv/README: Likewise.
20743 * resolv/res_debug.h: Likewise.
20744 * resolv/tst-inet_ntop.c: Likewise.
20745 * setjmp/bug269-setjmp.c: Likewise.
20746 * soft-fp/extended.h: Likewise.
20747 * soft-fp/op-1.h: Likewise.
20748 * soft-fp/op-2.h: Likewise.
20749 * soft-fp/op-4.h: Likewise.
20750 * soft-fp/op-8.h: Likewise.
20751 * soft-fp/testit.c: Likewise.
20752 * stdio-common/bug16.c: Likewise.
20753 * stdlib/random.c: Likewise.
20754 * sunrpc/rpcsvc/rquota.x: Likewise.
20755 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
20756 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20757 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20758 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20759 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20760 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20761 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20762 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20763 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20764 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20765 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20766 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20767 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20768 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20769 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20770 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20771 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20772 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20773 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20774 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20775 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20776 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20777 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
20778 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
20779 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
20780 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
20781 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20782 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20783 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20784 * sysdeps/ieee754/s_lib_version.c: Likewise.
20785 * sysdeps/mach/hurd/check_fds.c: Likewise.
20786 * sysdeps/mach/hurd/getsockname.c: Likewise.
20787 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
20788 * sysdeps/mach/hurd/recvfrom.c: Likewise.
20789 * sysdeps/powerpc/bits/link.h: Likewise.
20790 * sysdeps/powerpc/dl-procinfo.c: Likewise.
20791 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
20792 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
20793 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
20794 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20795 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
20796 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
20797 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20798 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
20799 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20800 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
20801 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20802 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
20803 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20804 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20805 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20806 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20807 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20808 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20809 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20810 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20811 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
20812 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20813 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20814 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
20815 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20816 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20817 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20818 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20819 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20820 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20821 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20822 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20823 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20824 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
20825 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20826 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
20827 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20828 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
20829 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
20830 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
20831 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
20832 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
20833 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
20834 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20835 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
20836 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
20837 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20838 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
20839 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
20840 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20841 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20842 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20843 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20844 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
20845 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20846 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20847 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20848 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
20849 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20850 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
20851 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
20852 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
20853 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20854 * sysdeps/powerpc/sysdep.h: Likewise.
20855 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20856 * sysdeps/s390/s390-64/sub_n.S: Likewise.
20857 * sysdeps/sh/dl-trampoline.S: Likewise.
20858 * sysdeps/sh/memset.S: Likewise.
20859 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
20860 * sysdeps/sh/strlen.S: Likewise.
20861 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
20862 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
20863 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
20864 * sysdeps/sparc/sparc32/rem.S: Likewise.
20865 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20866 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
20867 * sysdeps/sparc/sparc32/strchr.S: Likewise.
20868 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20869 * sysdeps/sparc/sparc32/urem.S: Likewise.
20870 * sysdeps/sparc/sparc64/add_n.S: Likewise.
20871 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20872 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
20873 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
20874 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
20875 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
20876 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
20877 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
20878 * sysdeps/unix/bsd/times.c: Likewise.
20879 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
20880 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
20881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
20882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
20883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20884 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
20885 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20886 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
20887 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
20888 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
20889 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
20890 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20891 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
20892 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20893 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20894 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20895 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20896 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
20897 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
20898 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
20899 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
20900 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
20901 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20902 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
20903 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
20904 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20905 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
20906 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20907 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
20908 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
20909 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
20910 * sysdeps/x86_64/strcspn.S: Likewise.
20912 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20914 * locale/C-translit.h: Revert #include <stdint.h> because this is a
20915 generated file. Regenerate properly from gen-translit.pl.
20916 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
20917 locale/C-translit.h.
20919 2013-06-05 Andreas Schwab <schwab@suse.de>
20922 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
20923 week as 6 instead of -1.
20924 * time/tst-strptime.c (day_tests): Add test case.
20926 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20928 * sysdeps/generic/math_private.h
20929 (libc_feholdexcept_setround_53bit): Replace with
20930 libc_feholdsetround_53bit.
20931 (libc_feupdateenv_53bit): Replace with
20932 libc_feresetround_53bit.
20933 (SET_RESTORE_ROUND_53BIT): Adjust.
20935 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20937 * string/test-strchrnul.c: Add copyright header.
20939 * posix/tst-getaddrinfo4.c: Increase test timeout.
20941 2013-06-03 Carlos O'Donell <carlos@redhat.com>
20944 * math/libm-test.inc (MAX_EXP): Remove
20946 (ulp): Use MIN_EXP - MANT_DIG.
20947 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
20949 2013-05-31 Carlos O'Donell <carlos@redhat.com>
20951 * po/be.po: Revert last change.
20952 * po/zh_CN.po: Likewise.
20953 * po/header.pot: Likewise.
20955 2013-05-31 Joseph Myers <joseph@codesourcery.com>
20957 * Makefile ($(common-objpfx)linkobj/libc.so): Define
20958 link-libc-deps to empty as target-specific variable.
20959 * Makerules (link-libc-args): New variable.
20960 (libc-for-link): Likewise.
20961 (link-libc-deps): Likewise.
20962 (lib%.so): Depend on $(link-libc-deps). Link with
20964 (build-module): Link with $(link-libc-args).
20965 (build-module-asneeded): Likewise.
20966 (build-module-helper-objlist): Filter out $(link-libc-deps) from
20968 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
20969 target-specific variable.
20970 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
20971 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
20972 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
20974 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
20976 ($(objpfx)libpcprofile.so): Likewise.
20977 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
20979 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
20980 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
20981 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
20983 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
20984 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
20985 * login/Makefile ($(objpfx)libutil.so): Likewise.
20986 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
20987 * math/Makefile ($(objpfx)libm.so): Likewise.
20988 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
20989 $(objpfx)libnsl.so): Define libc-for-link as target-specific
20990 variable instead of depending directly on libc.
20991 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
20992 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
20994 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
20996 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
20997 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
20998 ($(objpfx)libanl.so): Likewise.
20999 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
21001 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
21003 * sysdeps/i386/fpu/Makefile: Remove file.
21004 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
21005 ($(objpfx)libm.so): Remove dependency on ld.so.
21007 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
21010 * nis/yp_xdr.c (XDRMAXNAME): Define.
21011 (XDRMAXRECORD): Define.
21012 (xdr_domainname): Use XDRMAXNAME.
21013 (xdr_mapname): Likewise.
21014 (xdr_peername): Likewise.
21015 (xdr_keydat): Use XDRMAXRECORD.
21016 (xdr_valdat): Likewise.
21018 2013-05-30 Jeff Law <law@redhat.com>
21021 * manual/errno.texi (ESTALE): Update to account for more than
21022 just NFS file systems.
21023 * sysdeps/gnu/errlist.c: Regenerated.
21025 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21028 * elf/Makefile (tests): Add tst-null-argv.
21029 (modules-names): Add tst-null-argv-lib.
21030 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21031 (tst-null-argv-ENV): Set environment for tst-null-argv.
21032 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21033 (RTLD_PROGNAME): New macro.
21034 * elf/tst-null-argv.c: New test case.
21035 * elf/tst-null-argv-lib.c: Library for test case.
21036 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
21037 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21038 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
21039 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
21040 * elf/dl-init.c (call_init): Likewise.
21041 (_dl_init): Likewise.
21042 * elf/dl-load.c (print_search_path): Likewise.
21043 (_dl_map_object): Likewise.
21044 * elf/dl-lookup.c (do_lookup_x): Likewise.
21045 (add_dependency): Likewise.
21046 (_dl_lookup_symbol_x): Likewise.
21047 (_dl_debug_bindings): Likewise.
21048 * elf/dl-open.c (_dl_show_scope): Likewise.
21049 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21050 * elf/dl-version.c (match_symbol): Likewise.
21051 (_dl_check_map_versions): Likewise.
21052 * elf/rtld.c (dl_main): Likewise.
21053 (print_unresolved): Use RTLD_PROGNAME.
21054 (print_missing_version): Likewise.
21055 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
21056 (elf_machine_rela): Likewise.
21057 * sysdeps/powerpc/powerpc32/dl-machine.c
21058 (__process_machine_rela): Likewise.
21059 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21061 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21063 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21065 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21066 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
21068 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
21070 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21072 2013-05-28 Carlos O'Donell <carlos@redhat.com>
21074 * po/be.po: Add descriptive title.
21075 * po/zh_CN.po: Likewise.
21076 * po/header.pot: Likewise.
21078 2013-05-28 Mike Frysinger <vapier@gentoo.org>
21080 * locale/programs/locarchive.c (create_archive): Inlucde fname in
21082 (enlarge_archive): Likewise.
21084 2013-05-28 Ben North <ben@redfrontdoor.org>
21086 * manual/arith.texi (frexp): It is the magnitude of the return
21087 value which lies in [0.5, 1), not the return value itself.
21089 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21093 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
21095 * stdio-common/bug26.c (main): Correct fscanf template.
21097 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
21098 declare _dl_skip_args.
21100 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
21103 * manual/platform.texi: Add missing @end deftypefun.
21105 2013-05-24 Joseph Myers <joseph@codesourcery.com>
21108 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
21109 bit of mantissa of 2^16382.
21110 * math/libm-test.inc (hypot_test_data): Add more tests.
21112 * math/libm-test.inc: Add drem and pow10 to list of tested
21114 (pow10_test): New function.
21115 (drem_test): Likewise.
21116 (drem_test_tonearest): Likewise.
21117 (drem_test_towardzero): Likewise.
21118 (drem_test_downward): Likewise.
21119 (drem_test_upward): Likewise.
21120 (main): Call the new functions.
21122 * math/libm-test.inc (finite_test_data): Remove.
21123 (finite_test): Run tests from isfinite_test_data.
21124 (gamma_test_data): Remove.
21125 (gamma_test): Run tests from lgamma_test_data.
21126 * sysdeps/i386/fpu/libm-test-ulps: Update.
21127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21129 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21131 * manual/platform.texi: Add PowerPC PPR function set documentation.
21132 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
21135 2013-05-24 Carlos O'Donell <carlos@redhat.com>
21137 * math/libm-test.inc (MAX_EXP): Define.
21139 (ulp): New function.
21140 (check_float_internal): Use ULPDIFF.
21141 (cpow_test): Disable failing test.
21142 (check_ulp): Test ulp() implemetnation.
21143 (main): Call check_ulp before starting tests.
21145 2013-05-24 Joseph Myers <joseph@codesourcery.com>
21147 * math/gen-libm-test.pl (generate_testfile): Do not handle
21148 START_DATA and END_DATA.
21149 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
21151 (acos_tonearest_test_data): Likewise.
21152 (acos_towardzero_test_data): Likewise.
21153 (acos_downward_test_data): Likewise.
21154 (acos_upward_test_data): Likewise.
21155 (acosh_test_data): Likewise.
21156 (asin_test_data): Likewise.
21157 (asin_tonearest_test_data): Likewise.
21158 (asin_towardzero_test_data): Likewise.
21159 (asin_downward_test_data): Likewise.
21160 (asin_upward_test_data): Likewise.
21161 (asinh_test_data): Likewise.
21162 (atan_test_data): Likewise.
21163 (atanh_test_data): Likewise.
21164 (atan2_test_data): Likewise.
21165 (cabs_test_data): Likewise.
21166 (cacos_test_data): Likewise.
21167 (cacosh_test_data): Likewise.
21168 (carg_test_data): Likewise.
21169 (casin_test_data): Likewise.
21170 (casinh_test_data): Likewise.
21171 (catan_test_data): Likewise.
21172 (catanh_test_data): Likewise.
21173 (cbrt_test_data): Likewise.
21174 (ccos_test_data): Likewise.
21175 (ccosh_test_data): Likewise.
21176 (ceil_test_data): Likewise.
21177 (cexp_test_data): Likewise.
21178 (cimag_test_data): Likewise.
21179 (clog_test_data): Likewise.
21180 (clog10_test_data): Likewise.
21181 (conj_test_data): Likewise.
21182 (copysign_test_data): Likewise.
21183 (cos_test_data): Likewise.
21184 (cos_tonearest_test_data): Likewise.
21185 (cos_towardzero_test_data): Likewise.
21186 (cos_downward_test_data): Likewise.
21187 (cos_upward_test_data): Likewise.
21188 (cosh_test_data): Likewise.
21189 (cosh_tonearest_test_data): Likewise.
21190 (cosh_towardzero_test_data): Likewise.
21191 (cosh_downward_test_data): Likewise.
21192 (cosh_upward_test_data): Likewise.
21193 (cpow_test_data): Likewise.
21194 (cproj_test_data): Likewise.
21195 (creal_test_data): Likewise.
21196 (csin_test_data): Likewise.
21197 (csinh_test_data): Likewise.
21198 (csqrt_test_data): Likewise.
21199 (ctan_test_data): Likewise.
21200 (ctan_tonearest_test_data): Likewise.
21201 (ctan_towardzero_test_data): Likewise.
21202 (ctan_downward_test_data): Likewise.
21203 (ctan_upward_test_data): Likewise.
21204 (ctanh_test_data): Likewise.
21205 (ctanh_tonearest_test_data): Likewise.
21206 (ctanh_towardzero_test_data): Likewise.
21207 (ctanh_downward_test_data): Likewise.
21208 (ctanh_upward_test_data): Likewise.
21209 (erf_test_data): Likewise.
21210 (erfc_test_data): Likewise.
21211 (exp_test_data): Likewise.
21212 (exp_tonearest_test_data): Likewise.
21213 (exp_towardzero_test_data): Likewise.
21214 (exp_downward_test_data): Likewise.
21215 (exp_upward_test_data): Likewise.
21216 (exp10_test_data): Likewise.
21217 (exp2_test_data): Likewise.
21218 (expm1_test_data): Likewise.
21219 (fabs_test_data): Likewise.
21220 (fdim_test_data): Likewise.
21221 (finite_test_data): Likewise.
21222 (floor_test_data): Likewise.
21223 (fma_test_data): Likewise.
21224 (fma_towardzero_test_data): Likewise.
21225 (fma_downward_test_data): Likewise.
21226 (fma_upward_test_data): Likewise.
21227 (fmax_test_data): Likewise.
21228 (fmin_test_data): Likewise.
21229 (fmod_test_data): Likewise.
21230 (fpclassify_test_data): Likewise.
21231 (frexp_test_data): Likewise.
21232 (gamma_test_data): Likewise.
21233 (hypot_test_data): Likewise.
21234 (ilogb_test_data): Likewise.
21235 (isfinite_test_data): Likewise.
21236 (isgreater_test_data): Likewise.
21237 (isgreaterequal_test_data): Likewise.
21238 (isinf_test_data): Likewise.
21239 (isless_test_data): Likewise.
21240 (islessequal_test_data): Likewise.
21241 (islessgreater_test_data): Likewise.
21242 (isnan_test_data): Likewise.
21243 (isnormal_test_data): Likewise.
21244 (issignaling_test_data): Likewise.
21245 (isunordered_test_data): Likewise.
21246 (j0_test_data): Likewise.
21247 (j1_test_data): Likewise.
21248 (jn_test_data): Likewise.
21249 (ldexp_test_data): Likewise.
21250 (lgamma_test_data): Likewise.
21251 (lrint_test_data): Likewise.
21252 (lrint_tonearest_test_data): Likewise.
21253 (lrint_towardzero_test_data): Likewise.
21254 (lrint_downward_test_data): Likewise.
21255 (lrint_upward_test_data): Likewise.
21256 (llrint_test_data): Likewise.
21257 (llrint_tonearest_test_data): Likewise.
21258 (llrint_towardzero_test_data): Likewise.
21259 (llrint_downward_test_data): Likewise.
21260 (llrint_upward_test_data): Likewise.
21261 (log_test_data): Likewise.
21262 (log10_test_data): Likewise.
21263 (log1p_test_data): Likewise.
21264 (log2_test_data): Likewise.
21265 (logb_test_data): Likewise.
21266 (logb_downward_test_data): Likewise.
21267 (lround_test_data): Likewise.
21268 (llround_test_data): Likewise.
21269 (modf_test_data): Likewise.
21270 (nearbyint_test_data): Likewise.
21271 (nextafter_test_data): Likewise.
21272 (nexttoward_test_data): Likewise.
21273 (pow_test_data): Likewise.
21274 (pow_tonearest_test_data): Likewise.
21275 (pow_towardzero_test_data): Likewise.
21276 (pow_downward_test_data): Likewise.
21277 (pow_upward_test_data): Likewise.
21278 (remainder_test_data): Likewise.
21279 (remainder_tonearest_test_data): Likewise.
21280 (remainder_towardzero_test_data): Likewise.
21281 (remainder_downward_test_data): Likewise.
21282 (remainder_upward_test_data): Likewise.
21283 (remquo_test_data): Likewise.
21284 (rint_test_data): Likewise.
21285 (rint_tonearest_test_data): Likewise.
21286 (rint_towardzero_test_data): Likewise.
21287 (rint_downward_test_data): Likewise.
21288 (rint_upward_test_data): Likewise.
21289 (round_test_data): Likewise.
21290 (scalb_test_data): Likewise.
21291 (scalbn_test_data): Likewise.
21292 (scalbln_test_data): Likewise.
21293 (signbit_test_data): Likewise.
21294 (sin_test_data): Likewise.
21295 (sin_tonearest_test_data): Likewise.
21296 (sin_towardzero_test_data): Likewise.
21297 (sin_downward_test_data): Likewise.
21298 (sin_upward_test_data): Likewise.
21299 (sincos_test_data): Likewise.
21300 (sinh_test_data): Likewise.
21301 (sinh_tonearest_test_data): Likewise.
21302 (sinh_towardzero_test_data): Likewise.
21303 (sinh_downward_test_data): Likewise.
21304 (sinh_upward_test_data): Likewise.
21305 (sqrt_test_data): Likewise.
21306 (tan_test_data): Likewise.
21307 (tan_tonearest_test_data): Likewise.
21308 (tan_towardzero_test_data): Likewise.
21309 (tan_downward_test_data): Likewise.
21310 (tan_upward_test_data): Likewise.
21311 (tanh_test_data): Likewise.
21312 (tgamma_test_data): Likewise.
21313 (trunc_test_data): Likewise.
21314 (y0_test_data): Likewise.
21315 (y1_test_data): Likewise.
21316 (yn_test_data): Likewise.
21317 (significand_test_data): Likewise.
21319 * math/gen-libm-test.pl (@functions): Remove variable.
21320 (generate_testfile): Don't handle START and END lines.
21321 * math/libm-test.inc (START): New macro.
21323 (END_COMPLEX): Likewise.
21324 (acos_test): Use END macro without arguments.
21325 (acos_test_tonearest): Likewise.
21326 (acos_test_towardzero): Likewise.
21327 (acos_test_downward): Likewise.
21328 (acos_test_upward): Likewise.
21329 (acosh_test): Likewise.
21330 (asin_test): Likewise.
21331 (asin_test_tonearest): Likewise.
21332 (asin_test_towardzero): Likewise.
21333 (asin_test_downward): Likewise.
21334 (asin_test_upward): Likewise.
21335 (asinh_test): Likewise.
21336 (atan_test): Likewise.
21337 (atanh_test): Likewise.
21338 (atan2_test): Likewise.
21339 (cabs_test): Likewise.
21340 (cacos_test): Use END_COMPLEX macro without arguments.
21341 (cacosh_test): Likewise.
21342 (carg_test): Use END macro without arguments.
21343 (casin_test): Use END_COMPLEX macro without arguments.
21344 (casinh_test): Likewise.
21345 (catan_test): Likewise.
21346 (catanh_test): Likewise.
21347 (cbrt_test): Use END macro without arguments.
21348 (ccos_test): Use END_COMPLEX macro without arguments.
21349 (ccosh_test): Likewise.
21350 (ceil_test): Use END macro without arguments.
21351 (cexp_test): Use END_COMPLEX macro without arguments.
21352 (cimag_test): Use END macro without arguments.
21353 (clog_test): Use END_COMPLEX macro without arguments.
21354 (clog10_test): Likewise.
21355 (conj_test): Likewise.
21356 (copysign_test): Use END macro without arguments.
21357 (cos_test): Likewise.
21358 (cos_test_tonearest): Likewise.
21359 (cos_test_towardzero): Likewise.
21360 (cos_test_downward): Likewise.
21361 (cos_test_upward): Likewise.
21362 (cosh_test): Likewise.
21363 (cosh_test_tonearest): Likewise.
21364 (cosh_test_towardzero): Likewise.
21365 (cosh_test_downward): Likewise.
21366 (cosh_test_upward): Likewise.
21367 (cpow_test): Use END_COMPLEX macro without arguments.
21368 (cproj_test): Likewise.
21369 (creal_test): Use END macro without arguments.
21370 (csin_test): Use END_COMPLEX macro without arguments.
21371 (csinh_test): Likewise.
21372 (csqrt_test): Likewise.
21373 (ctan_test): Likewise.
21374 (ctan_test_tonearest): Likewise.
21375 (ctan_test_towardzero): Likewise.
21376 (ctan_test_downward): Likewise.
21377 (ctan_test_upward): Likewise.
21378 (ctanh_test): Likewise.
21379 (ctanh_test_tonearest): Likewise.
21380 (ctanh_test_towardzero): Likewise.
21381 (ctanh_test_downward): Likewise.
21382 (ctanh_test_upward): Likewise.
21383 (erf_test): Use END macro without arguments.
21384 (erfc_test): Likewise.
21385 (exp_test): Likewise.
21386 (exp_test_tonearest): Likewise.
21387 (exp_test_towardzero): Likewise.
21388 (exp_test_downward): Likewise.
21389 (exp_test_upward): Likewise.
21390 (exp10_test): Likewise.
21391 (exp2_test): Likewise.
21392 (expm1_test): Likewise.
21393 (fabs_test): Likewise.
21394 (fdim_test): Likewise.
21395 (finite_test): Likewise.
21396 (floor_test): Likewise.
21397 (fma_test): Likewise.
21398 (fma_test_towardzero): Likewise.
21399 (fma_test_downward): Likewise.
21400 (fma_test_upward): Likewise.
21401 (fmax_test): Likewise.
21402 (fmin_test): Likewise.
21403 (fmod_test): Likewise.
21404 (fpclassify_test): Likewise.
21405 (frexp_test): Likewise.
21406 (gamma_test): Likewise.
21407 (hypot_test): Likewise.
21408 (ilogb_test): Likewise.
21409 (isfinite_test): Likewise.
21410 (isgreater_test): Likewise.
21411 (isgreaterequal_test): Likewise.
21412 (isinf_test): Likewise.
21413 (isless_test): Likewise.
21414 (islessequal_test): Likewise.
21415 (islessgreater_test): Likewise.
21416 (isnan_test): Likewise.
21417 (isnormal_test): Likewise.
21418 (issignaling_test): Likewise.
21419 (isunordered_test): Likewise.
21420 (j0_test): Likewise.
21421 (j1_test): Likewise.
21422 (jn_test): Likewise.
21423 (ldexp_test): Likewise.
21424 (lgamma_test): Likewise.
21425 (lrint_test): Likewise.
21426 (lrint_test_tonearest): Likewise.
21427 (lrint_test_towardzero): Likewise.
21428 (lrint_test_downward): Likewise.
21429 (lrint_test_upward): Likewise.
21430 (llrint_test): Likewise.
21431 (llrint_test_tonearest): Likewise.
21432 (llrint_test_towardzero): Likewise.
21433 (llrint_test_downward): Likewise.
21434 (llrint_test_upward): Likewise.
21435 (log_test): Likewise.
21436 (log10_test): Likewise.
21437 (log1p_test): Likewise.
21438 (log2_test): Likewise.
21439 (logb_test): Likewise.
21440 (logb_test_downward): Likewise.
21441 (lround_test): Likewise.
21442 (llround_test): Likewise.
21443 (modf_test): Likewise.
21444 (nearbyint_test): Likewise.
21445 (nextafter_test): Likewise.
21446 (nexttoward_test): Likewise.
21447 (pow_test): Likewise.
21448 (pow_test_tonearest): Likewise.
21449 (pow_test_towardzero): Likewise.
21450 (pow_test_downward): Likewise.
21451 (pow_test_upward): Likewise.
21452 (remainder_test): Likewise.
21453 (remainder_test_tonearest): Likewise.
21454 (remainder_test_towardzero): Likewise.
21455 (remainder_test_downward): Likewise.
21456 (remainder_test_upward): Likewise.
21457 (remquo_test): Likewise.
21458 (rint_test): Likewise.
21459 (rint_test_tonearest): Likewise.
21460 (rint_test_towardzero): Likewise.
21461 (rint_test_downward): Likewise.
21462 (rint_test_upward): Likewise.
21463 (round_test): Likewise.
21464 (scalb_test): Likewise.
21465 (scalbn_test): Likewise.
21466 (scalbln_test): Likewise.
21467 (signbit_test): Likewise.
21468 (sin_test): Likewise.
21469 (sin_test_tonearest): Likewise.
21470 (sin_test_towardzero): Likewise.
21471 (sin_test_downward): Likewise.
21472 (sin_test_upward): Likewise.
21473 (sincos_test): Likewise.
21474 (sinh_test): Likewise.
21475 (sinh_test_tonearest): Likewise.
21476 (sinh_test_towardzero): Likewise.
21477 (sinh_test_downward): Likewise.
21478 (sinh_test_upward): Likewise.
21479 (sqrt_test): Likewise.
21480 (tan_test): Likewise.
21481 (tan_test_tonearest): Likewise.
21482 (tan_test_towardzero): Likewise.
21483 (tan_test_downward): Likewise.
21484 (tan_test_upward): Likewise.
21485 (tanh_test): Likewise.
21486 (tgamma_test): Likewise.
21487 (trunc_test): Likewise.
21488 (y0_test): Likewise.
21489 (y1_test): Likewise.
21490 (yn_test): Likewise.
21491 (significand_test): Likewise.
21493 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
21496 * libio/genops.c (_IO_no_init): Initialize wide struct info.
21498 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
21501 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
21502 __ppc_mdoio and __ppc_mdoom.
21503 * manual/platform.texi: Document new functions __ppc_yield,
21504 __ppc_mdoio and __ppc_mdoom.
21506 2013-05-22 Carlos O'Donell <carlos@redhat.com>
21508 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
21509 (main): Mention "tls" pseudo-hwcap is legacy.
21510 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
21512 2013-05-22 Joseph Myers <joseph@codesourcery.com>
21514 * math/gen-libm-test.pl (parse_args): Output only string of
21515 arguments as text for test name, not full call or descriptions of
21516 tests for extra outputs.
21517 (generate_testfile): Do not pass function name to parse_args.
21518 Generate this_func variable from START.
21519 * math/libm-test.inc (struct test_f_f_data): Rename test_name
21521 (struct test_ff_f_data): Likewise.
21522 (test_ff_f_data_nexttoward): Likewise.
21523 (struct test_fi_f_data): Likewise.
21524 (struct test_fl_f_data): Likewise.
21525 (struct test_if_f_data): Likewise.
21526 (struct test_fff_f_data): Likewise.
21527 (struct test_c_f_data): Likewise.
21528 (struct test_f_f1_data): Likewise. Remove field extra_name.
21529 (struct test_fF_f1_data): Likewise.
21530 (struct test_ffI_f1_data): Likewise.
21531 (struct test_c_c_data): Rename test_name field to arg_str.
21532 (struct test_cc_c_data): Likewise.
21533 (struct test_f_i_data): Likewise.
21534 (struct test_ff_i_data): Likewise.
21535 (struct test_f_l_data): Likewise.
21536 (struct test_f_L_data): Likewise.
21537 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
21539 (COMMON_TEST_SETUP): New macro.
21540 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
21541 (COMMON_TEST_CLEANUP): Likewise.
21542 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
21543 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
21545 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
21546 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
21548 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
21549 (RUN_TEST_fff_f): Take argument string. Call new setup and
21551 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
21552 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
21554 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
21555 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
21557 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21558 (RUN_TEST_fF_f1): Take argument string. Call new setup and
21560 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21561 (RUN_TEST_fI_f1): Take argument string. Call new setup and
21563 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21564 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
21566 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21567 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
21569 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
21570 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
21572 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
21573 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
21575 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
21576 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
21578 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
21579 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
21581 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
21582 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
21584 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
21585 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
21587 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
21588 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
21590 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
21591 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
21593 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
21594 (RUN_TEST_fFF_11): Take argument string. Call new setup and
21596 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
21598 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21600 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
21601 to _sifields.sigfault.
21602 (si_addr_lsb): Define new macro.
21603 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21604 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21605 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
21607 2013-05-03 Carlos O'Donell <carlos at redhat.com>
21610 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
21612 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
21614 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
21615 loading the domain.
21617 2013-05-22 Joseph Myers <joseph@codesourcery.com>
21619 * math/gen-libm-test.pl (parse_args): Do not include expected
21620 result in test name.
21621 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
21622 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21623 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21624 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21625 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21628 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21630 * benchtests/Makefile: Sort function entries.
21632 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
21633 tanh, asinh, acosh, atanh.
21634 * benchtests/acos-inputs: New file.
21635 * benchtests/acosh-inputs: New file.
21636 * benchtests/asin-inputs: New file.
21637 * benchtests/asinh-inputs: New file.
21638 * benchtests/atanh-inputs: New file.
21639 * benchtests/cosh-inputs: New file.
21640 * benchtests/log-inputs: New file.
21641 * benchtests/sinh-inputs: New file.
21642 * benchtests/tanh-inputs: New file.
21644 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
21647 * posix/tst-getaddrinfo4.c: New test.
21648 * posix/Makefile (tests): Add it.
21650 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21653 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
21654 when no services were used.
21655 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
21656 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
21658 2013-05-21 Andreas Schwab <schwab@suse.de>
21661 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
21662 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
21664 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
21665 redundant variable declarations and reallocation of buffer when
21666 parsing as IPv6 address. Always set NSS status when called from
21667 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
21668 buffer too small. Correct computation of needed size.
21669 * nss/Makefile (tests): Add test-digits-dots.
21670 * nss/test-digits-dots.c: New test.
21672 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21674 * benchtests/Makefile: Remove instructions for adding
21676 * benchtests/README: New file to explain how to execute and
21677 enhance the benchmark tests.
21679 2013-05-21 Andreas Schwab <schwab@suse.de>
21682 * setjmp/Makefile (tests): Add tst-sigsetjmp.
21683 * setjmp/tst-sigsetjmp.c: New test.
21685 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
21687 * sysdeps/x86_64/memset.S (memset): New implementation.
21688 (__bzero): Likewise.
21689 (__memset_tail): New function.
21691 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
21693 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
21694 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
21695 __memcpy_sse2_unaligned ifunc selection.
21696 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21697 Add memcpy-sse2-unaligned.S.
21698 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21699 Add: __memcpy_sse2_unaligned.
21701 2013-05-19 Joseph Myers <joseph@codesourcery.com>
21704 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21705 math_force_eval before restoring floating-point envrionment.
21706 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
21707 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
21709 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
21711 (__nearbyintl): Use math_force_eval before restoring
21712 floating-point environment.
21713 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
21715 * math/gen-libm-test.pl (special_functions): Remove.
21716 (parse_args): Don't handle TEST_extra. Handle functions with no
21718 * math/libm-test.inc (struct test_sincos_data): Replace with
21719 struct test_fFF_11_data.
21720 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
21721 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
21722 (sincos_test_data): Change element type to struct
21723 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
21724 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
21725 RUN_TEST_LOOP_sincos.
21726 * math/README.libm-test: Don't mention special handling of
21727 individual functions.
21728 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
21729 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21730 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21731 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21732 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21735 * math/gen-libm-test.pl (get_variable): Remove function.
21736 (parse_args): Don't show pointer parameters to call in test
21737 names. Use "extra output N" in test names for extra outputs
21738 rather than naming variables.
21740 2013-05-18 Joseph Myers <joseph@codesourcery.com>
21743 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
21744 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
21745 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
21747 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
21749 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
21752 * math/gen-libm-test.pl (@tests): Remove variable.
21753 ($count): Likewise.
21754 (new_test): Remove function.
21755 (show_exceptions): New function.
21756 (special_functions): Use show_exceptions instead of new_test.
21757 (parse_args): Likewise.
21758 (generate_testfile): Pass only function name in generated call to
21759 print_max_error or print_complex_max_error.
21760 (get_ulps): Do not handle complex tests specially.
21761 (output_test): Rename to ...
21762 (get_all_ulps_for_test): ... this. Return a string rather than
21763 printing to a file. Require ulps to be present.
21764 (output_ulps): Generate arrays rather than #defines.
21765 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
21766 (struct ulp_data): New type.
21767 (BUILD_COMPLEX_ULP): Remove macro.
21768 (compare_ulp_data): New function.
21769 (find_ulps): Likewise.
21770 (find_test_ulps): Likewise.
21771 (find_function_ulps): Likewise.
21772 (find_complex_function_ulps): Likewise.
21773 (print_max_error): Determine allowed ulps using
21774 find_function_ulps.
21775 (print_complex_max_error): Determine allowed ulps using
21776 find_complex_function_ulps.
21777 (check_float_internal): Determine max ulps using find_test_ulps.
21778 (check_float): Do not take max_ulp parameter. Update call to
21779 check_float_internal.
21780 (check_complex): Likewise.
21781 (check_int): Do not take max_ulp parameter.
21782 (check_long): Likewise.
21783 (check_bool): Likewise.
21784 (check_longlong): Likewise.
21785 (struct test_f_f_data): Remove max_ulp field.
21786 (struct test_ff_f_data): Likewise.
21787 (struct test_ff_f_data_nexttoward): Likewise.
21788 (struct test_fi_f_data): Likewise.
21789 (struct test_fl_f_data): Likewise.
21790 (struct test_if_f_data): Likewise.
21791 (struct test_fff_f_data): Likewise.
21792 (struct test_c_f_data): Likewise.
21793 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
21794 (struct test_fF_f1_data): Likewise.
21795 (struct test_ffI_f1_data): Likewise.
21796 (struct test_c_c_data): Remove max_ulp field.
21797 (struct test_cc_c_data): Likewise.
21798 (struct test_f_i_data): Likewise.
21799 (struct test_ff_i_data): Likewise.
21800 (struct test_f_l_data): Likewise.
21801 (struct test_f_L_data): Likewise.
21802 (struct test_sincos_data): Likewise.
21803 (RUN_TEST_f_f): Do not handle ulps.
21804 (RUN_TEST_LOOP_f_f): Likewise.
21805 (RUN_TEST_2_f): Likewise.
21806 (RUN_TEST_LOOP_2_f): Likewise.
21807 (RUN_TEST_fff_f): Likewise.
21808 (RUN_TEST_LOOP_fff_f): Likewise.
21809 (RUN_TEST_c_f): Likewise.
21810 (RUN_TEST_LOOP_c_f): Likewise.
21811 (RUN_TEST_f_f1): Likewise.
21812 (RUN_TEST_LOOP_f_f1): Likewise.
21813 (RUN_TEST_fF_f1): Likewise.
21814 (RUN_TEST_LOOP_fF_f1): Likewise.
21815 (RUN_TEST_fI_f1): Likewise.
21816 (RUN_TEST_LOOP_fI_f1): Likewise.
21817 (RUN_TEST_ffI_f1): Likewise.
21818 (RUN_TEST_LOOP_ffI_f1): Likewise.
21819 (RUN_TEST_c_c): Likewise.
21820 (RUN_TEST_LOOP_c_c): Likewise.
21821 (RUN_TEST_cc_c): Likewise.
21822 (RUN_TEST_LOOP_cc_c): Likewise.
21823 (RUN_TEST_f_i): Likewise.
21824 (RUN_TEST_LOOP_f_i): Likewise.
21825 (RUN_TEST_f_i_tg): Likewise.
21826 (RUN_TEST_LOOP_f_i_tg): Likewise.
21827 (RUN_TEST_ff_i_tg): Likewise.
21828 (RUN_TEST_LOOP_ff_i_tg): Likewise.
21829 (RUN_TEST_f_b): Likewise.
21830 (RUN_TEST_LOOP_f_b): Likewise.
21831 (RUN_TEST_f_b_tg): Likewise.
21832 (RUN_TEST_LOOP_f_b_tg): Likewise.
21833 (RUN_TEST_f_l): Likewise.
21834 (RUN_TEST_LOOP_f_l): Likewise.
21835 (RUN_TEST_f_L): Likewise.
21836 (RUN_TEST_LOOP_f_L): Likewise.
21837 (RUN_TEST_sincos): Likewise.
21838 (RUN_TEST_LOOP_sincos): Likewise.
21840 2013-05-17 Joseph Myers <joseph@codesourcery.com>
21844 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
21845 main case of finite arguments, set rounding mode to FE_TONEAREST
21846 and discard exceptions.
21847 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
21849 (remainder_tonearest_test_data): New variable.
21850 (remainder_test_tonearest): New function.
21851 (remainder_towardzero_test_data): New variable.
21852 (remainder_test_towardzero): New function.
21853 (remainder_downward_test_data): New variable.
21854 (remainder_test_downward): New function.
21855 (remainder_upward_test_data): New variable.
21856 (remainder_test_upward): New function.
21857 (main): Call the new test functions.
21859 * math/libm-test.inc (struct test_f_f1_data): Remove field
21861 (struct test_fF_f1_data): Likewise.
21862 (struct test_ffI_f1_data): Likewise.
21863 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
21864 based on value of EXTRA_EXPECTED.
21865 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21866 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
21867 EXTRA_VAR based on value of EXTRA_EXPECTED.
21868 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21869 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
21870 EXTRA_VAR based on value of EXTRA_EXPECTED.
21871 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21872 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
21873 EXTRA_VAR based on value of EXTRA_EXPECTED.
21874 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21875 * math/gen-libm-test.pl (parse_args): Don't output initializers
21876 for extra output values.
21878 * math/libm-test.inc (check_int): Expect result to be exactly
21879 equal to expected value and do not handle ulps.
21880 (check_long): Likewise.
21881 (check_longlong): Likewise.
21883 * math/libm-test.inc (ceil_test_data): Test for "inexact"
21885 (cimag_test_data): Likewise.
21886 (conj_test_data): Likewise.
21887 (copysign_test_data): Likewise.
21888 (cproj_test_data): Likewise.
21889 (creal_test_data): Likewise.
21890 (fabs_test_data): Likewise.
21891 (fdim_test_data): Likewise.
21892 (finite_test_data): Likewise.
21893 (floor_test_data): Likewise.
21894 (fmax_test_data): Likewise.
21895 (fmin_test_data): Likewise.
21896 (fmod_test_data): Likewise.
21897 (fpclassify_test_data): Likewise.
21898 (frexp_test_data): Likewise.
21899 (ilogb_test_data): Likewise.
21900 (isfinite_test_data): Likewise.
21901 (isgreater_test_data): Likewise.
21902 (isgreaterequal_test_data): Likewise.
21903 (isinf_test_data): Likewise.
21904 (isless_test_data): Likewise.
21905 (islessequal_test_data): Likewise.
21906 (islessgreater_test_data): Likewise.
21907 (isnan_test_data): Likewise.
21908 (isnormal_test_data): Likewise.
21909 (issignaling_test_data): Likewise.
21910 (isunordered_test_data): Likewise.
21911 (ldexp_test_data): Likewise.
21912 (lrint_test_data): Likewise.
21913 (lrint_test_data) [TEST_FLOAT]: Disable one test.
21914 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
21915 (lrint_tonearest_test_data): Test for "inexact" exceptions.
21916 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21917 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
21918 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21920 (lrint_towardzero_test_data): Test for "inexact" exceptions.
21921 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21922 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
21923 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
21925 (lrint_downward_test_data): Test for "inexact" exceptions.
21926 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21927 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
21928 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21930 (lrint_upward_test_data): Test for "inexact" exceptions.
21931 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
21933 (llrint_test_data): Test for "inexact" exceptions.
21934 (llrint_test_data) [TEST_FLOAT]: Disable one test.
21935 (llrint_tonearest_test_data): Test for "inexact" exceptions.
21936 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21937 (llrint_towardzero_test_data): Test for "inexact" exceptions.
21938 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21939 (llrint_downward_test_data): Test for "inexact" exceptions.
21940 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21941 (llrint_upward_test_data): Test for "inexact" exceptions.
21942 (logb_test_data): Likewise.
21943 (logb_downward_test_data): Likewise.
21944 (nextafter_test_data): Likewise.
21945 (nexttoward_test_data): Likewise.
21946 (remainder_test_data): Likewise.
21947 (remquo_test_data): Likewise.
21948 (scalbn_test_data): Likewise.
21949 (scalbln_test_data): Likewise.
21950 (signbit_test_data): Likewise.
21951 (sqrt_test_data): Likewise.
21952 (significand_test_data): Likewise.
21954 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21957 * benchtests/bench-modf.c (struct args): Mark arg0 as
21959 * scripts/bench.pl: Mark members of struct args as volatile.
21961 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21964 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
21965 negative infinity on POWER6 or lower.
21966 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
21968 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
21971 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
21972 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
21973 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
21974 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
21975 (_FP_SETQNAN): New macro.
21976 (_FP_SETQNAN_SEMIRAW): Likewise.
21977 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
21978 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
21979 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
21980 (FP_EXTEND): Use _FP_FRAC_SNANP.
21981 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
21982 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
21984 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21986 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21989 2013-05-16 Joseph Myers <joseph@codesourcery.com>
21991 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
21992 with DIVIDE_BY_ZERO_EXCEPTION.
21993 (gamma_test_data): Likewise.
21994 (lgamma_test_data): Likewise.
21995 (log_test_data): Likewise.
21996 (log10_test_data): Likewise.
21997 (log2_test_data): Likewise.
21998 (tgamma_test_data): Likewise.
22000 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
22001 (acos_test_tonearest): Likewise.
22002 (acos_test_towardzero): Likewise.
22003 (acos_test_downward): Likewise.
22004 (acos_test_upward): Likewise.
22005 (acosh_test): Likewise.
22006 (asin_test): Likewise.
22007 (asin_test_tonearest): Likewise.
22008 (asin_test_towardzero): Likewise.
22009 (asin_test_downward): Likewise.
22010 (asin_test_upward): Likewise.
22011 (asinh_test): Likewise.
22012 (atan_test): Likewise.
22013 (atanh_test): Likewise.
22014 (atan2_test): Likewise.
22015 (cabs_test): Likewise.
22016 (cacos_test): Likewise.
22017 (cacosh_test): Likewise.
22018 (casin_test): Likewise.
22019 (casinh_test): Likewise.
22020 (catan_test): Likewise.
22021 (catanh_test): Likewise.
22022 (cbrt_test): Likewise.
22023 (ccos_test): Likewise.
22024 (ccosh_test): Likewise.
22025 (cexp_test): Likewise.
22026 (clog_test): Likewise.
22027 (clog10_test): Likewise.
22028 (cos_test): Likewise.
22029 (cos_test_tonearest): Likewise.
22030 (cos_test_towardzero): Likewise.
22031 (cos_test_downward): Likewise.
22032 (cos_test_upward): Likewise.
22033 (cosh_test): Likewise.
22034 (cosh_test_tonearest): Likewise.
22035 (cosh_test_towardzero): Likewise.
22036 (cosh_test_downward): Likewise.
22037 (cosh_test_upward): Likewise.
22038 (cpow_test): Likewise.
22039 (csin_test): Likewise.
22040 (csinh_test): Likewise.
22041 (csqrt_test): Likewise.
22042 (ctan_test): Likewise.
22043 (ctan_test_tonearest): Likewise.
22044 (ctan_test_towardzero): Likewise.
22045 (ctan_test_downward): Likewise.
22046 (ctan_test_upward): Likewise.
22047 (ctanh_test): Likewise.
22048 (ctanh_test_tonearest): Likewise.
22049 (ctanh_test_towardzero): Likewise.
22050 (ctanh_test_downward): Likewise.
22051 (ctanh_test_upward): Likewise.
22052 (erf_test): Likewise.
22053 (erfc_test): Likewise.
22054 (exp_test): Likewise.
22055 (exp_test_tonearest): Likewise.
22056 (exp_test_towardzero): Likewise.
22057 (exp_test_downward): Likewise.
22058 (exp_test_upward): Likewise.
22059 (exp10_test): Likewise.
22060 (exp2_test): Likewise.
22061 (expm1_test): Likewise.
22062 (fmod_test): Likewise.
22063 (gamma_test): Likewise.
22064 (hypot_test): Likewise.
22065 (j0_test): Likewise.
22066 (j1_test): Likewise.
22067 (jn_test): Likewise.
22068 (lgamma_test): Likewise.
22069 (log_test): Likewise.
22070 (log10_test): Likewise.
22071 (log1p_test): Likewise.
22072 (log2_test): Likewise.
22073 (logb_test_downward): Likewise.
22074 (pow_test): Likewise.
22075 (pow_test_tonearest): Likewise.
22076 (pow_test_towardzero): Likewise.
22077 (pow_test_downward): Likewise.
22078 (pow_test_upward): Likewise.
22079 (remainder_test): Likewise.
22080 (remquo_test): Likewise.
22081 (sin_test): Likewise.
22082 (sin_test_tonearest): Likewise.
22083 (sin_test_towardzero): Likewise.
22084 (sin_test_downward): Likewise.
22085 (sin_test_upward): Likewise.
22086 (sincos_test): Likewise.
22087 (sinh_test): Likewise.
22088 (sinh_test_tonearest): Likewise.
22089 (sinh_test_towardzero): Likewise.
22090 (sinh_test_downward): Likewise.
22091 (sinh_test_upward): Likewise.
22092 (sqrt_test): Likewise.
22093 (tan_test): Likewise.
22094 (tan_test_tonearest): Likewise.
22095 (tan_test_towardzero): Likewise.
22096 (tan_test_downward): Likewise.
22097 (tan_test_upward): Likewise.
22098 (tanh_test): Likewise.
22099 (tgamma_test): Likewise.
22100 (y0_test): Likewise.
22101 (y1_test): Likewise.
22102 (yn_test): Likewise.
22104 * math/gen-libm-test.pl (adjust_arg): Remove function.
22105 (special_function): Remove argument $in_func. Only handle
22106 generating output for tables of tests, not inside functions.
22107 (parse_args): Likewise.
22108 (generate_testfile): Remove variable $in_func. Update call to
22110 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
22111 (MINUS_ZERO_INIT): Rename macro to minus_zero.
22112 (PLUS_INFTY_INIT): Rename macro to plus_infty.
22113 (MINUS_INFTY_INIT): Rename macro to minus_infty.
22114 (QNAN_VALUE_INIT): Rename macro to qnan_value.
22115 (MAX_VALUE_INIT): Rename macro to max_value.
22116 (MIN_VALUE_INIT): Rename macro to min_value.
22117 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
22118 (plus_zero): Remove variable.
22119 (minus_zero): Likewise.
22120 (plus_infty): Likewise.
22121 (minus_infty): Likewise.
22122 (qnan_value): Likewise.
22123 (max_value): Likewise.
22124 (min_value): Likewise.
22125 (min_subnorm_value): Likewise.
22127 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22129 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
22130 uint64_t or uint32_t usage.
22131 * crypt/sha256-block.c: Likewise.
22132 * crypt/sha256-crypt.c: Likewise.
22133 * crypt/sha256.c: Likewise.
22134 * crypt/sha512-block.c: Likewise.
22135 * crypt/sha512-crypt.c: Likewise.
22136 * crypt/sha512.c: Likewise.
22137 * debug/backtrace-tst.c: Likewise.
22138 * debug/pcprofiledump.c: Likewise.
22139 * elf/cache.c: Likewise.
22140 * elf/dl-cache.c: Likewise.
22141 * elf/dl-misc.c: Likewise.
22142 * elf/dl-profile.c: Likewise.
22143 * elf/dl-support.c: Likewise.
22144 * elf/ldconfig.c: Likewise.
22145 * elf/sprof.c: Likewise.
22146 * iconv/dummy-repertoire.c: Likewise.
22147 * iconv/iconv_charmap.c: Likewise.
22148 * iconv/skeleton.c: Likewise.
22149 * iconvdata/8bit-generic.c: Likewise.
22150 * iconvdata/cp737.h: Likewise.
22151 * iconvdata/cp775.h: Likewise.
22152 * iconvdata/ibm1008.h: Likewise.
22153 * iconvdata/ibm1025.h: Likewise.
22154 * iconvdata/ibm1046.h: Likewise.
22155 * iconvdata/ibm1097.h: Likewise.
22156 * iconvdata/ibm1112.h: Likewise.
22157 * iconvdata/ibm1122.h: Likewise.
22158 * iconvdata/ibm1123.h: Likewise.
22159 * iconvdata/ibm1124.h: Likewise.
22160 * iconvdata/ibm1129.h: Likewise.
22161 * iconvdata/ibm1130.h: Likewise.
22162 * iconvdata/ibm1132.h: Likewise.
22163 * iconvdata/ibm1133.h: Likewise.
22164 * iconvdata/ibm1137.h: Likewise.
22165 * iconvdata/ibm1140.h: Likewise.
22166 * iconvdata/ibm1141.h: Likewise.
22167 * iconvdata/ibm1142.h: Likewise.
22168 * iconvdata/ibm1143.h: Likewise.
22169 * iconvdata/ibm1144.h: Likewise.
22170 * iconvdata/ibm1145.h: Likewise.
22171 * iconvdata/ibm1146.h: Likewise.
22172 * iconvdata/ibm1147.h: Likewise.
22173 * iconvdata/ibm1148.h: Likewise.
22174 * iconvdata/ibm1149.h: Likewise.
22175 * iconvdata/ibm1153.h: Likewise.
22176 * iconvdata/ibm1154.h: Likewise.
22177 * iconvdata/ibm1155.h: Likewise.
22178 * iconvdata/ibm1156.h: Likewise.
22179 * iconvdata/ibm1157.h: Likewise.
22180 * iconvdata/ibm1158.h: Likewise.
22181 * iconvdata/ibm1160.h: Likewise.
22182 * iconvdata/ibm1161.h: Likewise.
22183 * iconvdata/ibm1162.h: Likewise.
22184 * iconvdata/ibm1163.h: Likewise.
22185 * iconvdata/ibm1164.h: Likewise.
22186 * iconvdata/ibm1166.h: Likewise.
22187 * iconvdata/ibm1167.h: Likewise.
22188 * iconvdata/ibm12712.h: Likewise.
22189 * iconvdata/ibm1390.h: Likewise.
22190 * iconvdata/ibm1399.h: Likewise.
22191 * iconvdata/ibm16804.h: Likewise.
22192 * iconvdata/ibm4517.h: Likewise.
22193 * iconvdata/ibm4899.h: Likewise.
22194 * iconvdata/ibm4909.h: Likewise.
22195 * iconvdata/ibm4971.h: Likewise.
22196 * iconvdata/ibm5347.h: Likewise.
22197 * iconvdata/ibm803.h: Likewise.
22198 * iconvdata/ibm856.h: Likewise.
22199 * iconvdata/ibm901.h: Likewise.
22200 * iconvdata/ibm902.h: Likewise.
22201 * iconvdata/ibm9030.h: Likewise.
22202 * iconvdata/ibm9066.h: Likewise.
22203 * iconvdata/ibm921.h: Likewise.
22204 * iconvdata/ibm922.h: Likewise.
22205 * iconvdata/ibm9448.h: Likewise.
22206 * iconvdata/isiri-3342.h: Likewise.
22207 * iconvdata/jis0201.h: Likewise.
22208 * include/link.h: Likewise.
22209 * include/netdb.h: Likewise.
22210 * inet/check_native.c: Likewise.
22211 * inet/check_pf.c: Likewise.
22212 * inet/getipv4sourcefilter.c: Likewise.
22213 * inet/getnameinfo.c: Likewise.
22214 * inet/getsourcefilter.c: Likewise.
22215 * inet/htonl.c: Likewise.
22216 * inet/setipv4sourcefilter.c: Likewise.
22217 * inet/setsourcefilter.c: Likewise.
22218 * inet/test-inet6_opt.c: Likewise.
22219 * inet/tst-network.c: Likewise.
22220 * locale/C-collate.c: Likewise.
22221 * locale/C-ctype.c: Likewise.
22222 * locale/C-time.c: Likewise.
22223 * locale/C-translit.h: Likewise.
22224 * locale/loadarchive.c: Likewise.
22225 * locale/programs/3level.h: Likewise.
22226 * locale/programs/charmap.c: Likewise.
22227 * locale/programs/charmap.h: Likewise.
22228 * locale/programs/ld-address.c: Likewise.
22229 * locale/programs/ld-collate.c: Likewise.
22230 * locale/programs/ld-ctype.c: Likewise.
22231 * locale/programs/ld-identification.c: Likewise.
22232 * locale/programs/ld-measurement.c: Likewise.
22233 * locale/programs/ld-messages.c: Likewise.
22234 * locale/programs/ld-monetary.c: Likewise.
22235 * locale/programs/ld-name.c: Likewise.
22236 * locale/programs/ld-numeric.c: Likewise.
22237 * locale/programs/ld-paper.c: Likewise.
22238 * locale/programs/ld-telephone.c: Likewise.
22239 * locale/programs/ld-time.c: Likewise.
22240 * locale/programs/linereader.c: Likewise.
22241 * locale/programs/locale.c: Likewise.
22242 * locale/programs/locarchive.c: Likewise.
22243 * locale/programs/locfile.h: Likewise.
22244 * locale/programs/repertoire.c: Likewise.
22245 * locale/programs/simple-hash.c: Likewise.
22246 * locale/programs/simple-hash.h: Likewise.
22247 * malloc/memusage.c: Likewise.
22248 * malloc/memusagestat.c: Likewise.
22249 * nis/nis_defaults.c: Likewise.
22250 * nis/nis_hash.c: Likewise.
22251 * nis/nis_print.c: Likewise.
22252 * nis/nis_xdr.c: Likewise.
22253 * nscd/connections.c: Likewise.
22254 * nscd/hstcache.c: Likewise.
22255 * nscd/nscd_gethst_r.c: Likewise.
22256 * nscd/nscd_getserv_r.c: Likewise.
22257 * nscd/nscd_helper.c: Likewise.
22258 * nscd/servicescache.c: Likewise.
22259 * nss/makedb.c: Likewise.
22260 * nss/nss_db/db-XXX.c: Likewise.
22261 * nss/nss_db/db-initgroups.c: Likewise.
22262 * nss/nss_db/db-netgrp.c: Likewise.
22263 * nss/nss_files/files-network.c: Likewise.
22264 * nss/nss_files/files-parse.c: Likewise.
22265 * posix/bug-regex5.c: Likewise.
22266 * posix/fnmatch_loop.c: Likewise.
22267 * posix/regcomp.c: Likewise.
22268 * posix/regexec.c: Likewise.
22269 * posix/tst-rfc3484-2.c: Likewise.
22270 * posix/tst-rfc3484-3.c: Likewise.
22271 * posix/tst-rfc3484.c: Likewise.
22272 * resolv/nss_dns/dns-canon.c: Likewise.
22273 * resolv/nss_dns/dns-network.c: Likewise.
22274 * resolv/res_init.c: Likewise.
22275 * resolv/res_mkquery.c: Likewise.
22276 * resolv/tst-aton.c: Likewise.
22277 * stdlib/cxa_atexit.c: Likewise.
22278 * stdlib/cxa_finalize.c: Likewise.
22279 * stdlib/gen-fpioconst.c: Likewise.
22280 * stdlib/strtol_l.c: Likewise.
22281 * string/tst-endian.c: Likewise.
22282 * sunrpc/auth_des.c: Likewise.
22283 * sunrpc/clnt_udp.c: Likewise.
22284 * sunrpc/rtime.c: Likewise.
22285 * sunrpc/svcauth_des.c: Likewise.
22286 * sunrpc/xdr.c: Likewise.
22287 * sunrpc/xdr_intXX_t.c: Likewise.
22288 * sunrpc/xdr_rec.c: Likewise.
22289 * sysdeps/generic/ldconfig.h: Likewise.
22290 * sysdeps/generic/ldsodefs.h: Likewise.
22291 * sysdeps/generic/memusage.h: Likewise.
22292 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22293 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
22294 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
22295 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22296 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22297 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22298 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22299 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22300 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22301 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22302 * sysdeps/posix/getaddrinfo.c: Likewise.
22303 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22304 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22305 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22306 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22307 * sysdeps/powerpc/test-gettimebase.c: Likewise.
22308 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22309 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
22310 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
22311 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22312 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
22313 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22314 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22315 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
22316 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
22317 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
22318 * sysdeps/x86_64/dl-tls.h: Likewise.
22319 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
22320 * time/alt_digit.c: Likewise.
22321 * time/era.c: Likewise.
22322 * wcsmbs/tst-c16c32-1.c: Likewise.
22324 2013-05-16 Joseph Myers <joseph@codesourcery.com>
22326 * math/libm-test.inc (struct test_sincos_data): New type.
22327 (RUN_TEST_LOOP_sincos): New macro.
22328 (sincos_test_data): New variable.
22329 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
22331 2013-05-16 Richard Henderson <rth@redhat.com>
22333 * math/atest-exp2.c (LIMB64): New macro.
22334 (CONSTSZ): New macro.
22335 (mp_exp1, mp_exp_m1, mp_log2): New variables.
22337 (print_mpn_fp): ... to function scope.
22338 (read_mpn_hex): Remove.
22339 (get_log2): Remove.
22340 (exp2_mpn): Use mp_log2.
22341 (main): Use mp_exp1.
22343 2013-05-16 Joseph Myers <joseph@codesourcery.com>
22345 * math/libm-test.inc: Remove comment about not testing "inexact"
22347 (INEXACT_EXCEPTION): New macro.
22348 (NO_INEXACT_EXCEPTION): Likewise.
22349 (INVALID_EXCEPTION_OK): Update value.
22350 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22351 (OVERFLOW_EXCEPTION_OK): Likewise.
22352 (UNDERFLOW_EXCEPTION_OK): Likewise.
22353 (IGNORE_ZERO_INF_SIGN): Likewise.
22354 (ERRNO_UNCHANGED): Likewise.
22355 (ERRNO_EDOM): Likewise.
22356 (ERRNO_ERANGE): Likewise.
22357 (test_exceptions): Handle testing "inexact" exceptions.
22358 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
22359 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
22360 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
22361 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
22363 (rint_towardzero_test_data): Likewise.
22364 (rint_downward_test_data): Likewise.
22365 (rint_upward_test_data): Likewise.
22367 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
22368 with OVERFLOW_EXCEPTION.
22369 (exp10_test_data): Likewise.
22370 (exp2_test_data): Likewise.
22371 (expm1_test_data): Likewise.
22372 (lgamma_test_data): Likewise.
22373 (pow_test_data): Likewise.
22374 (tgamma_test_data): Likewise.
22375 (yn_test_data): Remove duplicate test of overflow.
22377 * math/libm-test.inc (struct test_cc_c_data): New type.
22378 (RUN_TEST_LOOP_cc_c): New macro.
22379 (cpow_test_data): New variable.
22380 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
22382 * math/libm-test.inc (struct test_f_L_data): New type.
22383 (RUN_TEST_LOOP_f_L): New macro.
22384 (llrint_test_data): New variable.
22385 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
22386 (llrint_tonearest_test_data): New variable.
22387 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
22388 (llrint_towardzero_test_data): New variable.
22389 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
22390 (llrint_downward_test_data): New variable.
22391 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
22392 (llrint_upward_test_data): New variable.
22393 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
22394 (llround_test_data): New variable.
22395 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
22397 2013-05-13 Peter Collingbourne <pcc@google.com>
22399 * math/atest-exp2.c (get_log2): Remove const attribute.
22401 2013-05-15 Joseph Myers <joseph@codesourcery.com>
22403 * math/libm-test.inc (struct test_f_l_data): New type.
22404 (RUN_TEST_LOOP_f_l): New macro.
22405 (lrint_test_data): New variable.
22406 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
22407 (lrint_tonearest_test_data): New variable.
22408 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
22409 (lrint_towardzero_test_data): New variable.
22410 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
22411 (lrint_downward_test_data): New variable.
22412 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
22413 (lrint_upward_test_data): New variable.
22414 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
22415 (lround_test_data): New variable.
22416 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
22418 2013-05-15 Peter Collingbourne <pcc@google.com>
22420 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
22421 (EXTRACT_WORDS64) Use where appropriate.
22422 (INSERT_WORDS64) Likewise.
22424 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
22425 constraints with x constraints.
22426 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
22428 * malloc/obstack.c (_obstack_compat): Add initializer.
22430 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
22432 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
22433 si_trapno and add si_addr_lsb to _sifields.sigfault.
22434 (si_trapno): Remove macro.
22435 (si_addr_lsb): Define new macro.
22436 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22438 2013-05-15 Joseph Myers <joseph@codesourcery.com>
22440 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
22441 instead of TEST_f_l.
22442 (llrint_test_tonearest): Likewise.
22443 (llrint_test_towardzero): Likewise.
22444 (llrint_test_downward): Likewise.
22445 (llrint_test_upward): Likewise.
22446 (llround_test): Likewise.
22448 * math/libm-test.inc (struct test_f_i_data): Add comment.
22449 (RUN_TEST_LOOP_f_b): New macro.
22450 (RUN_TEST_LOOP_f_b_tg): Likewise.
22451 (finite_test_data): New variable.
22452 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
22453 (isfinite_test_data): New variable.
22454 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22455 (isinf_test_data): New variable.
22456 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22457 (isnan_test_data): New variable.
22458 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22459 (isnormal_test_data): New variable.
22460 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22461 (issignaling_test_data): New variable.
22462 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22463 (signbit_test_data): New variable.
22464 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22466 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
22467 with INVALID_EXCEPTION.
22468 (acosh_test_data): Likewise.
22469 (asin_test_data): Likewise.
22470 (atanh_test_data): Likewise.
22471 (fmod_test_data): Likewise.
22472 (log_test_data): Likewise.
22473 (log10_test_data): Likewise.
22474 (log2_test_data): Likewise.
22475 (pow_test_data): Likewise.
22476 (sqrt_test_data): Likewise.
22477 (y0_test_data): Likewise.
22478 (y1_test_data): Likewise.
22479 (yn_test_data): Likewise.
22481 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
22484 * math/libm-test.inc (struct test_ff_i_data): New type.
22485 (RUN_TEST_LOOP_ff_i_tg): New macro.
22486 (isgreater_test_data): New variable.
22487 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22488 (isgreaterequal_test_data): New variable.
22489 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22490 (isless_test_data): New variable.
22491 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22492 (islessequal_test_data): New variable.
22493 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22494 (islessgreater_test_data): New variable.
22495 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22496 (isunordered_test_data): New variable.
22497 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22499 2013-05-14 David S. Miller <davem@davemloft.net>
22501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22503 2013-05-14 Joseph Myers <joseph@codesourcery.com>
22505 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
22507 * math/libm-test.inc (struct test_fF_f1_data): Change type of
22509 (struct test_f_i_data): Change type of max_ulp to int.
22511 * math/libm-test.inc (test_ffI_f1_data): New type.
22512 (RUN_TEST_LOOP_ffI_f1): New macro.
22513 (remquo_test_data): New variable.
22514 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
22516 * setjmp/tst-setjmp-fp.c: New file.
22517 * setjmp/Makefile (tests): Add tst-setjmp-fp.
22518 (link-libm): New variable.
22519 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
22521 * math/libm-test.inc (struct test_f_i_data): New type.
22522 (RUN_TEST_LOOP_f_i): New macro.
22523 (RUN_TEST_LOOP_f_i_tg): Likewise.
22524 (fpclassify_test_data): New variable.
22525 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
22526 (ilogb_test_data): New variable.
22527 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
22529 * math/libm-test.inc (scalbln_test): Correct function name in END
22532 * math/libm-test.inc (struct test_f_f1_data): Add comment.
22533 (RUN_TEST_LOOP_fI_f1): New macro.
22534 (frexp_test_data): New variable.
22535 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
22537 * math/libm-test.inc (struct test_fF_f1_data): New type.
22538 (RUN_TEST_LOOP_fF_f1): New macro.
22539 (modf_test_data): New variable.
22540 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
22542 * math/libm-test.inc (struct test_f_f1_data): New type.
22543 (RUN_TEST_LOOP_f_f1): New macro.
22544 (gamma_test_data): New variable.
22545 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22546 (lgamma_test_data): New variable.
22547 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22549 2013-05-13 Carlos O'Donell <carlos@redhat.com>
22551 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
22552 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
22553 (main): Comment "tls" pseudo-hwcap.
22555 2013-05-13 Joseph Myers <joseph@codesourcery.com>
22557 * math/libm-test.inc (struct test_fl_f_data): New type.
22558 (RUN_TEST_LOOP_fl_f): New variable.
22559 (scalbln_test_data): New variable.
22560 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
22562 * math/libm-test.inc (struct test_fi_f_data): New type.
22563 (RUN_TEST_LOOP_fi_f): New macro.
22564 (ldexp_test_data): New variable.
22565 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
22566 (scalbn_test_data): New variable.
22567 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
22569 * math/libm-test.inc (struct test_c_f_data): New type.
22570 (RUN_TEST_LOOP_c_f): New macro.
22571 (cabs_test_data): New variable.
22572 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
22573 (carg_test_data): New variable.
22574 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
22575 (cimag_test_data): New variable.
22576 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
22577 (creal_test_data): New variable.
22578 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
22580 * math/libm-test.inc (struct test_if_f_data): New type.
22581 (RUN_TEST_LOOP_if_f): New macro.
22582 (jn_test_data): New variable.
22583 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
22584 (yn_test_data): New variable.
22585 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
22587 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
22589 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22591 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
22592 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
22594 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22596 * benchtests/Makefile (CPPFLAGS-nonlib): Add
22597 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
22598 (bench-deps): Add bench-timing.h.
22599 * benchtests-bench-skeleton.c: Include bench-timing.h.
22600 (main): Use TIMING_* macros instead of clock_gettime.
22601 * benchtests/bench-timing.h: New file.
22604 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
22605 Renamed from _LIB_VERSION.
22606 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
22608 2013-05-12 Joseph Myers <joseph@codesourcery.com>
22610 * math/libm-test.inc (struct test_fff_f_data): New type.
22611 (RUN_TEST_LOOP_fff_f): New macro.
22612 (fma_test_data): New variable.
22613 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
22614 (fma_towardzero_test_data): New variable.
22615 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
22616 (fma_downward_test_data): New variable.
22617 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
22618 (fma_upward_test_data): New variable.
22619 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
22621 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
22622 (struct test_c_c_data): New type.
22623 (RUN_TEST_LOOP_c_c): New macro.
22624 (cacos_test_data): New variable.
22625 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
22626 (cacosh_test_data): New variable.
22627 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
22628 (casin_test_data): New variable.
22629 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
22630 (casinh_test_data): New variable.
22631 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
22632 (catan_test_data): New variable.
22633 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
22634 (catanh_test_data): New variable.
22635 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
22636 (ccos_test_data): New variable.
22637 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
22638 (ccosh_test_data): New variable.
22639 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
22640 (cexp_test_data): New variable.
22641 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
22642 (clog_test_data): New variable.
22643 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
22644 (clog10_test_data): New variable.
22645 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
22646 (conj_test_data): New variable.
22647 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
22648 (cproj_test_data): New variable.
22649 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
22650 (csin_test_data): New variable.
22651 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
22652 (csinh_test_data): New variable.
22653 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
22654 (csqrt_test_data): New variable.
22655 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
22656 (ctan_test_data): New variable.
22657 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
22658 (ctan_tonearest_test_data): New variable.
22659 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22660 (ctan_towardzero_test_data): New variable.
22661 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22662 (ctan_downward_test_data): New variable.
22663 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22664 (ctan_upward_test_data): New variable.
22665 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22666 (ctanh_test_data): New variable.
22667 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
22668 (ctanh_tonearest_test_data): New variable.
22669 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22670 (ctanh_towardzero_test_data): New variable.
22671 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22672 (ctanh_downward_test_data): New variable.
22673 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22674 (ctanh_upward_test_data): New variable.
22675 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22676 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
22679 * math/libm-test.inc (struct test_ff_f_data): New type.
22680 (struct test_ff_f_data_nexttoward): Likewise.
22681 (RUN_TEST_LOOP_2_f): New macro.
22682 (RUN_TEST_LOOP_ff_f): Likewise.
22683 (atan2_test_data): New variable.
22684 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
22685 (copysign_test_data): New variable.
22686 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
22687 (fdim_test_data): New variable.
22688 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
22689 (fmax_test_data): New variable.
22690 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
22691 (fmin_test_data): New variable.
22692 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
22693 (fmod_test_data): New variable.
22694 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
22695 (hypot_test_data): New variable.
22696 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
22697 (nextafter_test_data): New variable.
22698 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
22699 (nexttoward_test_data): New variable.
22700 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
22701 (pow_test_data): New variable.
22702 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
22703 (pow_tonearest_test_data): New variable.
22704 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
22705 (pow_towardzero_test_data): New variable.
22706 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
22707 (pow_downward_test_data): New variable.
22708 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
22709 (pow_upward_test_data): New variable.
22710 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
22711 (remainder_test_data): New variable.
22712 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
22713 (scalb_test_data): New variable.
22714 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
22715 * sysdeps/i386/fpu/libm-test-ulps: Update.
22717 2013-05-11 Joseph Myers <joseph@codesourcery.com>
22719 * math/libm-test.inc (fma_test): Use max_value instead of local
22721 (nextafter_test): Likewise.
22723 * math/libm-test.inc (acos_towardzero_test_data): New variable.
22724 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22725 (acos_downward_test_data): New variable.
22726 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22727 (acos_upward_test_data): New variable.
22728 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22729 (acosh_test_data): New variable.
22730 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
22731 (asin_test_data): New variable.
22732 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
22733 (asin_tonearest_test_data): New variable.
22734 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22735 (asin_towardzero_test_data): New variable.
22736 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22737 (asin_downward_test_data): New variable.
22738 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22739 (asin_upward_test_data): New variable.
22740 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22741 (asinh_test_data): New variable.
22742 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
22743 (atan_test_data): New variable.
22744 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
22745 (atanh_test_data): New variable.
22746 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
22747 (cbrt_test_data): New variable.
22748 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
22749 (ceil_test_data): New variable.
22750 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
22751 (cos_test_data): New variable.
22752 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
22753 (cos_tonearest_test_data): New variable.
22754 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22755 (cos_towardzero_test_data): New variable.
22756 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22757 (cos_downward_test_data): New variable.
22758 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22759 (cos_upward_test_data): New variable.
22760 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22761 (cosh_test_data): New variable.
22762 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
22763 (cosh_tonearest_test_data): New variable.
22764 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22765 (cosh_towardzero_test_data): New variable.
22766 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22767 (cosh_downward_test_data): New variable.
22768 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22769 (cosh_upward_test_data): New variable.
22770 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22771 (erf_test_data): New variable.
22772 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
22773 (erfc_test_data): New variable.
22774 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
22775 (exp_test_data): New variable.
22776 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
22777 (exp_tonearest_test_data): New variable.
22778 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22779 (exp_towardzero_test_data): New variable.
22780 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22781 (exp_downward_test_data): New variable.
22782 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22783 (exp_upward_test_data): New variable.
22784 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22785 (exp10_test_data): New variable.
22786 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
22787 (exp2_test_data): New variable.
22788 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
22789 (expm1_test_data): New variable.
22790 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
22791 (fabs_test_data): New variable.
22792 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
22793 (floor_test_data): New variable.
22794 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
22795 (j0_test_data): New variable.
22796 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
22797 (j1_test_data): New variable.
22798 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
22799 (log_test_data): New variable.
22800 (log_test): Run tests with RUN_TEST_LOOP_f_f.
22801 (log10_test_data): New variable.
22802 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
22803 (log1p_test_data): New variable.
22804 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
22805 (log2_test_data): New variable.
22806 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
22807 (logb_test_data): New variable.
22808 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
22809 (logb_downward_test_data): New variable.
22810 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22811 (nearbyint_test_data): New variable.
22812 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
22813 (rint_test_data): New variable.
22814 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
22815 (rint_tonearest_test_data): New variable.
22816 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22817 (rint_towardzero_test_data): New variable.
22818 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22819 (rint_downward_test_data): New variable.
22820 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22821 (rint_upward_test_data): New variable.
22822 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22823 (round_test_data): New variable.
22824 (round_test): Run tests with RUN_TEST_LOOP_f_f.
22825 (sin_test_data): New variable.
22826 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
22827 (sin_tonearest_test_data): New variable.
22828 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22829 (sin_towardzero_test_data): New variable.
22830 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22831 (sin_downward_test_data): New variable.
22832 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22833 (sin_upward_test_data): New variable.
22834 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22835 (sinh_test_data): New variable.
22836 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
22837 (sinh_tonearest_test_data): New variable.
22838 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22839 (sinh_towardzero_test_data): New variable.
22840 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22841 (sinh_downward_test_data): New variable.
22842 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22843 (sinh_upward_test_data): New variable.
22844 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22845 (sqrt_test_data): New variable.
22846 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
22847 (tan_test_data): New variable.
22848 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
22849 (tan_tonearest_test_data): New variable.
22850 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22851 (tan_towardzero_test_data): New variable.
22852 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22853 (tan_downward_test_data): New variable.
22854 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22855 (tan_upward_test_data): New variable.
22856 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22857 (tanh_test_data): New variable.
22858 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
22859 (tgamma_test_data): New variable.
22860 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
22861 (trunc_test_data): New variable.
22862 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
22863 (y0_test_data): New variable.
22864 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
22865 (y1_test_data): New variable.
22866 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
22867 (significand_test_data): New variable.
22868 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
22870 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
22873 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
22875 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
22877 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
22879 2013-05-10 Andreas Jaeger <aj@suse.de>
22882 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
22883 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
22885 2013-05-10 Joseph Myers <joseph@codesourcery.com>
22887 * math/gen-libm-test.pl (adjust_arg): New function.
22888 (special_functions): Handle generating output in both functions
22890 (parse_args): Likewise.
22891 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
22892 $in_func argument to parse_args.
22893 * math/libm-test.inc (struct test_f_f_data): New type.
22894 (IF_ROUND_INIT_): New macro.
22895 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
22896 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22897 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22898 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22899 (ROUND_RESTORE_): Likewise.
22900 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
22901 (ROUND_RESTORE_FE_TONEAREST): Likewise.
22902 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
22903 (ROUND_RESTORE_FE_UPWARD): Likewise.
22904 (RUN_TEST_LOOP_f_f): New macro.
22905 (acos_test_data): New variable.
22906 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
22907 (acos_tonearest_test_data): New variable.
22908 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22910 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22912 * benchtests/bench-skeleton.c (startup): Fix coding style.
22914 2013-05-10 Joseph Myers <joseph@codesourcery.com>
22917 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
22918 negative infinity argument.
22919 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
22920 negative infinity argument.
22921 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
22922 negative infinity argument.
22923 * math/libm-test.inc (tgamma_test): Expect errno to be set for
22926 2013-05-10 Florian Weimer <fweimer@redhat.com>
22928 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
22929 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
22930 * iconv/iconv_prog.c (main): Likewise.
22931 * locale/programs/charmap-dir.c (charmap_readdir)
22932 (fopen_uncompressed): Likewise.
22933 * locale/programs/locfile.c (siblings_uncached)
22934 (write_locale_data): Use lstat64 instead of lstat.
22935 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
22938 2013-05-10 Andreas Jaeger <aj@suse.de>
22941 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
22943 Include <locale.h>.
22945 2013-05-09 Carlos O'Donell <carlos@redhat.com>
22947 * elf/dl-close.c (_dl_close_worker): Add comments.
22949 2013-05-09 Joseph Myers <joseph@codesourcery.com>
22952 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
22954 (__ieee754_rem_pio2l): Update comments.
22957 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
22959 (__ieee754_rem_pio2l): Update comments.
22961 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
22962 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
22964 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
22967 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
22968 (M_PI_34_LOG10El): Likewise.
22969 (M_PI2_LOG10El): Likewise.
22970 (M_PI4_LOG10El): Likewise.
22971 (M_PI_LOG10El): Likewise.
22973 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22977 2013-05-08 Joseph Myers <joseph@codesourcery.com>
22979 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
22980 (MINUS_ZERO_INIT): Likewise.
22981 (PLUS_INFTY_INIT): Likewise.
22982 (MINUS_INFTY_INIT): Likewise.
22983 (QNAN_VALUE_INIT): Likewise.
22984 (MAX_VALUE_INIT): Likewise.
22985 (MIN_VALUE_INIT): Likewise.
22986 (MIN_SUBNORM_VALUE_INIT): Likewise.
22987 (plus_zero): Initialize with PLUS_ZERO_INIT.
22988 (minus_zero): Initialize with MINUS_ZERO_INIT.
22989 (plus_infty): Initialize with PLUS_INFTY_INIT.
22990 (minus_infty): Initialize with MINUS_INFTY_INIT.
22991 (qnan_value): Initialize with QNAN_VALUE_INIT.
22992 (max_value): Initialize with MAX_VALUE_INIT.
22993 (min_value): Initialize with MIN_VALUE_INIT.
22994 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
22996 * math/libm-test.inc (RUN_TEST_if_f): New macro.
22997 (jn_test): Use TEST_if_f instead of TEST_ff_f.
22998 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
22999 (yn_test): Use TEST_if_f instead of TEST_ff_f.
23001 * math/libm-test.inc (RUN_TEST_f_f): New macro.
23002 (RUN_TEST_2_f): Likewise.
23003 (RUN_TEST_ff_f): Likewise.
23004 (RUN_TEST_fi_f): Likewise.
23005 (RUN_TEST_fl_f): Likewise.
23006 (RUN_TEST_fff_f): Likewise.
23007 (RUN_TEST_c_f): Likewise.
23008 (RUN_TEST_f_f1): Likewise.
23009 (RUN_TEST_fF_f1): Likewise.
23010 (RUN_TEST_fI_f1): Likewise.
23011 (RUN_TEST_ffI_f1): Likewise.
23012 (RUN_TEST_c_c): Likewise.
23013 (RUN_TEST_cc_c): Likewise.
23014 (RUN_TEST_f_i): Likewise.
23015 (RUN_TEST_f_i_tg): Likewise.
23016 (RUN_TEST_ff_i_tg): Likewise.
23017 (RUN_TEST_f_b): Likewise.
23018 (RUN_TEST_f_b_tg): Likewise.
23019 (RUN_TEST_f_l): Likewise.
23020 (RUN_TEST_f_L): Likewise.
23021 (RUN_TEST_sincos): Likewise.
23022 * math/gen-libm-test.pl (new_test): Take new argument to indicate
23023 whether to show exceptions. Do not include ");\n" in return
23025 (special_functions): Output call to RUN_TEST_sincos instead of
23026 check_float calls. Update calls to new_test.
23027 (parse_args): Output call to single RUN_TEST_* macro instead of
23028 check_* calls and other assignments. Update calls to new_test.
23034 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23035 input to result for tgamma overflow.
23036 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
23037 (gamma_coeff): New variable.
23038 (NCOEFF): New macro.
23039 (gamma_positive): New function.
23040 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
23041 underflow here. Use gamma_positive instead of exp (lgamma) for
23043 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
23044 (gamma_coeff): New variable.
23045 (NCOEFF): New macro.
23046 (gammaf_positive): New function.
23047 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
23048 underflow here. Use gamma_positive instead of exp (lgamma) for
23050 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
23051 (gamma_coeff): New variable.
23052 (NCOEFF): New macro.
23053 (gammal_positive): New function.
23054 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
23055 underflow here. Use gamma_positive instead of exp (lgamma) for
23057 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
23058 (gamma_coeff): New variable.
23059 (NCOEFF): New macro.
23060 (gammal_positive): New function.
23061 (__ieee754_gammal_r): Handle positive infinity, overflow and
23062 underflow here. Handle NaN the same as positive infinity. Remove
23063 check x < 0xffffffff for negative integers. Use gamma_positive
23064 instead of exp (lgamma) for other arguments.
23065 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
23066 (gamma_coeff): New variable.
23067 (NCOEFF): New macro.
23068 (gammal_positive): New function.
23069 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
23070 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
23071 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
23072 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
23073 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
23074 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
23075 * sysdeps/generic/math_private.h (__gamma_productf): New
23077 (__gamma_product): Likewise.
23078 (__gamma_productl): Likewise.
23079 * math/Makefile (libm-calls): Add gamma_product.
23080 * math/libm-test.inc (tgamma_test): Add more tests.
23081 * sysdeps/i386/fpu/libm-test-ulps: Update.
23082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23084 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
23086 * benchtests/bench-skeleton.c (main): Preheat CPU.
23088 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
23090 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
23092 2013-05-07 Roland McGrath <roland@hack.frob.com>
23094 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
23095 and _dl_skip_args_internal.
23097 2013-05-07 Carlos O'Donell <carlos@redhat.com>
23099 * manual/message.texi (Message Translation): Talk about users.
23100 Message to key mapping impacts design.
23102 2013-05-06 Roland McGrath <roland@hack.frob.com>
23104 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
23106 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
23108 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
23109 * sysdeps/wordsize-64/glob64.c: ... here.
23111 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
23112 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
23115 * debug/getlogin_r_chk.c: Moved to ...
23116 * login/getlogin_r_chk.c: ... here.
23117 * debug/Makefile (routines): Move getlogin_r_chk to ...
23118 * login/Makefile (routines): ... here.
23119 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
23120 * login/Versions (libc: GLIBC_2.4): ... here.
23122 * io/poll.c (__poll): Renamed from poll.
23123 Add libc_hidden_def.
23124 (poll): Define as weak alias.
23126 * debug/ptsname_r_chk.c: Moved to ...
23127 * login/ptsname_r_chk.c: ... here.
23128 * debug/Makefile (routines): Move ptsname_r_chk to ...
23129 * login/Makefile (routines): ... here.
23130 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
23131 * login/Versions (libc: GLIBC_2.4): ... here.
23133 * posix/getlogin.c: Moved to ...
23134 * login/getlogin.c: ... here.
23135 * posix/getlogin_r.c: Moved to ...
23136 * login/getlogin_r.c: ... here.
23137 * posix/getlogin_r.c: Moved to ...
23138 * login/getlogin_r.c: ... here.
23139 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
23140 * login/Makefile (routines): ... here.
23141 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
23142 * login/Versions (libc: GLIBC_2.0): ... here.
23144 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
23145 (setrlimit): Define as weak alias.
23147 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
23148 Call __ names for open, ftruncate, and close.
23149 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
23150 (truncate): Define as weak alias.
23152 2013-05-06 Joseph Myers <joseph@codesourcery.com>
23154 * math/gen-libm-test.pl (parse_args): Initialize x before each
23155 test of frexp, modf and remquo.
23157 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
23158 test signgam value.
23160 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23164 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
23166 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23168 2013-05-06 Roland McGrath <roland@hack.frob.com>
23170 * elf/dl-writev.h: New file.
23171 * elf/dl-misc.c: Include it.
23172 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
23173 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
23175 2013-05-04 Joseph Myers <joseph@codesourcery.com>
23177 * math/libm-test.inc (noXFails): Remove variable.
23178 (noXPasses): Likewise.
23179 (BUILD_COMPLEX_INT): Remove macro.
23180 (print_screen): Remove xfail argument.
23181 (print_screen_max_error): Likewise.
23182 (update_stats): Likewise.
23183 (print_max_error): Likewise. Update calls to other affected
23185 (print_complex_max_error): Likewise.
23186 (test_single_exception): Update calls to print_screen.
23187 (test_single_errno): Likewise.
23188 (check_float_internal): Remove xfail argument. Update calls to
23189 other affected functions.
23190 (check_float): Likewise.
23191 (check_complex): Likewise.
23192 (check_int): Likewise.
23193 (check_long): Likewise.
23194 (check_bool): Likewise.
23195 (check_longlong): Likewise.
23196 (main): Don't print noXFails and noXPasses.
23197 * math/gen-libm-test.pl (top level): Don't mention expected
23198 failure handling in comment.
23199 (new_test): Don't handle expected failures.
23200 (parse_args): Don't mention expected failure handling in comment.
23201 (generate_testfile): Don't handle expected failures.
23202 (parse_ulps): Likewise.
23203 (print_ulps_file): Likewise.
23204 (get_failure): Remove function.
23205 (output_test): Don't handle expected failures.
23206 * make/README.libm-test: Don't mention expected failure handling.
23208 * math/libm-test.inc (plus_zero): Make const. Add initializer.
23209 (minus_zero): Likewise.
23210 (plus_infty): Likewise.
23211 (minus_infty): Likewise.
23212 (qnan_value): Likewise.
23213 (max_value): Likewise.
23214 (min_value): Likewise.
23215 (min_subnorm_value): Likewise.
23216 (initialize): Do not initialize those variables dynamically.
23218 2013-05-03 Roland McGrath <roland@hack.frob.com>
23220 * io/open.c (__open_2): Moved to ...
23221 * io/open_2.c: ... this new file.
23222 * io/open64.c (__open64_2): Moved to ...
23223 * io/open64_2.c: ... this new file.
23224 * io/openat.c (__openat_2): Moved to ...
23225 * io/openat_2.c: ... this new file.
23226 * io/openat64.c (__openat64_2): Moved to ...
23227 * io/openat64_2.c: ... this new file.
23228 * io/Makefile (routines): Add them.
23229 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
23230 * sysdeps/unix/sysv/linux/open_2.c: File removed.
23231 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
23232 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
23233 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
23234 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
23235 (__openat64): Add hidden_ver.
23236 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
23237 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
23239 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
23240 Separately conditionalize setting of GLRO(dl_sysinfo) so
23241 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
23242 as well, but the actual setting is only under [NEED_DL_SYSINFO].
23244 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23246 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
23247 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
23249 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
23250 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23251 (_libc_vdso_platform_setup): Add __vdso_time initialization.
23252 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
23253 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
23255 2013-05-03 Joseph Myers <joseph@codesourcery.com>
23257 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
23258 test signgam value.
23260 * math/libm-test.inc (hypot_test): Do not use
23261 IGNORE_ZERO_INF_SIGN.
23263 2013-05-03 Andreas Jaeger <aj@suse.de>
23265 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
23267 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
23268 (PF_MAX): Adjust for VSOCK change.
23270 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23274 2013-05-02 Carlos O'Donell <carlos@redhat.com>
23277 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
23278 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
23279 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
23281 2013-05-02 David S. Miller <davem@davemloft.net>
23283 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23285 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
23287 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
23289 2013-05-01 Roland McGrath <roland@hack.frob.com>
23291 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
23293 2013-05-01 Richard Smith <richard@metafoo.co.uk>
23296 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
23297 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23298 Use __attribute__ ((__gnu_inline__)).
23299 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23300 Don't use __attribute__ ((__gnu_inline__)).
23302 2013-05-01 Joseph Myers <joseph@codesourcery.com>
23305 * math/s_catan.c (__catan): Handle small real or imaginary part of
23306 input specially to avoid spurious underflow.
23307 * math/s_catanf.c (__catanf): Likewise.
23308 * math/s_catanh.c (__catanh): Likewise.
23309 * math/s_catanhf.c (__catanhf): Likewise.
23310 * math/s_catanhl.c (__catanhl): Likewise.
23311 * math/s_catanl.c (__catanl): Likewise.
23312 * math/libm-test.inc (catan_test): Add more tests.
23313 (catanh_test): Likewise.
23314 * sysdeps/i386/fpu/libm-test-ulps: Update.
23315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23317 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23321 2013-04-30 Joseph Myers <joseph@codesourcery.com>
23324 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
23325 accurately for denominator in atan2.
23326 * math/s_catanf.c (__catanf): Likewise.
23327 * math/s_catanh.c (__catanh): Likewise.
23328 * math/s_catanhf.c (__catanhf): Likewise.
23329 * math/s_catanhl.c (__catanhl): Likewise.
23330 * math/s_catanl.c (__catanl): Likewise.
23331 * math/libm-test.inc (catan_test): Add more tests.
23332 (catanh_test): Likewise.
23333 * sysdeps/i386/fpu/libm-test-ulps: Update.
23334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23336 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23338 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
23340 * benchtests/Makefile (bench): Remove slow benchmarks.
23341 * benchtests/atan-inputs: Add slow benchmark inputs.
23342 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
23343 (BENCH_FUNC): Accept variant offset.
23345 * benchtests/bench-skeleton.c (main): Run benchmark for each
23347 * benchtests/cos-inputs: Add slow benchmark inputs.
23348 * benchtests/exp-inputs: Likewise.
23349 * benchtests/pow-inputs: Likewise.
23350 * benchtests/sin-inputs: Likewise.
23351 * benchtests/slowatan-inputs: Remove.
23352 * benchtests/slowatan.c: Remove.
23353 * benchtests/slowcos-inputs: Remove.
23354 * benchtests/slowcos.c: Remove.
23355 * benchtests/slowexp-inputs: Remove.
23356 * benchtests/slowexp.c: Remove.
23357 * benchtests/slowpow-inputs: Remove.
23358 * benchtests/slowpow.c: Remove.
23359 * benchtests/slowsin-inputs: Remove.
23360 * benchtests/slowsin.c: Remove.
23361 * benchtests/slowtan-inputs: Remove.
23362 * benchtests/slowtan.c: Remove.
23363 * benchtests/tan-inputs: Add slow benchmark inputs.
23364 * scripts/bench.pl: Parse comments and directives.
23366 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
23368 ($(objpfx)bench-%.c): Remove *-ITER.
23369 * benchtests/bench-modf.c: Remove definition of ITER.
23370 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
23371 (main): Loop for DURATION seconds instead of fixed number of
23373 * scripts/bench.pl: Don't expect iterations in parameters.
23375 2013-04-29 Roland McGrath <roland@hack.frob.com>
23377 * io/fchdir.c (__fchdir): Renamed from fchdir.
23378 (fchdir): Define as weak alias.
23380 2013-04-29 Joseph Myers <joseph@codesourcery.com>
23382 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
23383 (ERRNO_EDOM): Likewise.
23384 (ERRNO_ERANGE): Likewise.
23385 (noErrnoTests): New variable.
23386 (init_max_error): Set errno to 0.
23387 (test_single_errno): New function.
23388 (test_errno): Likewise.
23389 (check_float_internal): Call test_errno. Set errno to 0.
23390 (check_complex): Refer to errno tests in comment.
23391 (check_int): Call test_errno. Set errno to 0.
23392 (check_long): Likewise.
23393 (check_bool): Likewise.
23394 (check_longlong): Likewise.
23395 (cos_test): Use ERRNO_* flags for errno tests instead of
23397 (expm1_test): Likewise.
23398 (fmod_test): Likewise.
23399 (ilogb_test): Likewise.
23400 (lgamma_test): Likewise.
23401 (pow_test): Likewise.
23402 (remainder_test): Likewise.
23403 (sin_test): Likewise.
23404 (tan_test): Likewise.
23405 (yn_test): Likewise.
23406 (initialize): Set errno to 0.
23407 (main): Print number of errno tests.
23408 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
23410 2013-04-29 Andreas Jaeger <aj@suse.de>
23413 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
23417 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
23418 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
23422 * stdlib/random.c (__initstate): Return NULL if
23426 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
23427 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
23430 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23434 2013-04-29 Joseph Myers <joseph@codesourcery.com>
23436 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
23437 of individual tests.
23438 (casin_test): Likewise.
23439 (casinh_test): Likewise.
23441 2013-04-27 Joseph Myers <joseph@codesourcery.com>
23444 * math/s_catan.c (__catan): Handle arguments with large real or
23445 imaginary part separately without squaring.
23446 * math/s_catanf.c (__catanf): Likewise.
23447 * math/s_catanh.c (__catanh): Likewise.
23448 * math/s_catanhf.c (__catanhf): Likewise.
23449 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23451 (__catanhl): Handle arguments with large real or imaginary part
23452 separately without squaring.
23453 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23455 (__catanl): Handle arguments with large real or imaginary part
23456 separately without squaring.
23457 * math/libm-test.inc (catan_test): Add more tests.
23458 (catanh_test): Likewise.
23459 * sysdeps/i386/fpu/libm-test-ulps: Update.
23460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23462 2013-04-27 Andreas Jaeger <aj@suse.de>
23465 * stdlib/stdlib.h: Update guards for qecvt.
23466 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
23469 2013-04-27 Allan McRae <allan@archlinux.org>
23471 * sysdeps/i386/fpu/libm-test-ulps: Update.
23473 2013-04-26 Joseph Myers <joseph@codesourcery.com>
23476 * math/s_catan.c: Include <float.h>.
23477 (__catan): Ensure underflow exception occurs for underflowed
23479 * math/s_catanf.c: Include <float.h>.
23480 (__catanf): Ensure underflow exception occurs for underflowed
23482 * math/s_catanh.c: Include <float.h>.
23483 (__catanh): Ensure underflow exception occurs for underflowed
23485 * math/s_catanhf.c: Include <float.h>.
23486 (__catanhf): Ensure underflow exception occurs for underflowed
23488 * math/s_catanhl.c: Include <float.h>.
23489 (__catanhl): Ensure underflow exception occurs for underflowed
23491 * math/s_catanl.c: Include <float.h>.
23492 (__catanl): Ensure underflow exception occurs for underflowed
23494 * math/libm-test.inc (catan_test): Add more tests.
23495 (catanh_test): Likewise.
23498 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
23499 underflowed result.
23500 * math/s_ccoshf.c (__ccoshf): Likewise.
23501 * math/s_ccoshl.c (__ccoshl): Likewise.
23502 * math/s_csin.c (__csin): Likewise.
23503 * math/s_csinf.c (__csinf): Likewise.
23504 * math/s_csinh.c (__csinh): Likewise.
23505 * math/s_csinhf.c (__csinhf): Likewise.
23506 * math/s_csinhl.c (__csinhl): Likewise.
23507 * math/s_csinl.c (__csinl): Likewise.
23508 * math/libm-test.inc (ccos_test): Add more tests.
23509 (ccosh_test): Likewise.
23510 (csin_test): Likewise.
23511 (csinh_test): Likewise.
23513 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23515 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
23516 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
23517 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
23518 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
23519 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
23520 powerpc/power5+/fpu folders.
23521 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
23524 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23526 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23528 2013-04-25 Joseph Myers <joseph@codesourcery.com>
23530 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
23531 additions to variable.
23532 [$(config-machine) = x86_64] (modules-names): Likewise.
23533 ($(objpfx)tst-audit3): Remove dependency.
23534 ($(objpfx)tst-audit3.out): Likewise.
23535 ($(objpfx)tst-audit4): Likewise.
23536 ($(objpfx)tst-audit4.out): Likewise.
23537 ($(objpfx)tst-audit5): Likewise.
23538 ($(objpfx)tst-audit5.out): Likewise.
23539 ($(objpfx)tst-audit6): Likewise.
23540 ($(objpfx)tst-audit6.out): Likewise.
23541 ($(objpfx)tst-audit7): Likewise.
23542 ($(objpfx)tst-audit7.out): Likewise.
23543 (tst-audit3-ENV): Remove variable.
23544 (tst-audit4-ENV): Likewise.
23545 (tst-audit5-ENV): Likewise.
23546 (tst-audit6-ENV): Likewise.
23547 (tst-audit7-ENV): Likewise.
23548 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
23549 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
23550 addition to variable.
23551 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
23552 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
23553 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
23554 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
23555 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
23556 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
23557 tst-audit3, tst-audit4 and tst-audit5.
23558 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
23559 tst-audit6 and tst-audit7.
23560 [$(subdir) = elf] (modules-names): Add audit modules for those
23562 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
23563 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
23564 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
23565 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
23566 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
23567 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
23568 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
23569 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
23570 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
23571 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
23572 [$(subdir) = elf] (tst-audit3-ENV): New variable.
23573 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
23574 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
23575 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
23576 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
23577 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
23579 [$(subdir) = elf && $(config-cflags-avx) = yes]
23580 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
23581 [$(subdir) = elf && $(config-cflags-avx) = yes]
23582 (CFLAGS-tst-auditmod4a.c): Likewise.
23583 [$(subdir) = elf && $(config-cflags-avx) = yes]
23584 (CFLAGS-tst-auditmod4b.c): Likewise.
23585 [$(subdir) = elf && $(config-cflags-avx) = yes]
23586 (CFLAGS-tst-auditmod6b.c): Likewise.
23587 [$(subdir) = elf && $(config-cflags-avx) = yes]
23588 (CFLAGS-tst-auditmod6c.c): Likewise.
23589 [$(subdir) = elf && $(config-cflags-avx) = yes]
23590 (CFLAGS-tst-auditmod7b.c): Likewise.
23591 * elf/tst-audit3.c: Move to ...
23592 * sysdeps/x86_64/tst-audit3.c: ... here.
23593 * elf/tst-audit4.c: Move to ...
23594 * sysdeps/x86_64/tst-audit4.c: ... here.
23595 * elf/tst-audit5.c: Move to ...
23596 * sysdeps/x86_64/tst-audit5.c: ... here.
23597 * elf/tst-audit6.c: Move to ...
23598 * sysdeps/x86_64/tst-audit6.c: ... here.
23599 * elf/tst-audit7.c: Move to ...
23600 * sysdeps/x86_64/tst-audit7.c: ... here.
23601 * elf/tst-auditmod3a.c: Move to ...
23602 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
23603 * elf/tst-auditmod3b.c: Move to ...
23604 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
23605 * elf/tst-auditmod4a.c: Move to ...
23606 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
23607 * elf/tst-auditmod4b.c: Move to ...
23608 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
23609 * elf/tst-auditmod5a.c: Move to ...
23610 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
23611 * elf/tst-auditmod5b.c: Move to ...
23612 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
23613 * elf/tst-auditmod6a.c: Move to ...
23614 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
23615 * elf/tst-auditmod6b.c: Move to ...
23616 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
23617 * elf/tst-auditmod6c.c: Move to ...
23618 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
23619 * elf/tst-auditmod7a.c: Move to ...
23620 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
23621 * elf/tst-auditmod7b.c: Move to ...
23622 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
23624 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
23627 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
23628 define unconditionally.
23629 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
23630 define unconditionally.
23631 (INT8_C, INT16_C, etc.): Likewise.
23633 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
23635 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
23636 __ehdr_start with hidden visibility.
23638 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
23640 2013-04-24 Carlos O'Donell <carlos@redhat.com>
23642 * math/libm-test.inc (cos_test): Use accurate hex constants.
23643 (sincost_test): Likewise.
23645 2013-04-24 Joseph Myers <joseph@codesourcery.com>
23647 * math/libm-test.inc (catan_test): Add more tests.
23648 (catanh_test): Likewise.
23650 * math/s_catanf.c (__catanf): Use suffixed floating-point
23652 * math/s_catanhf.c (__catanhf): Likewise.
23653 * math/s_catanhl.c (__catanhl): Likewise.
23654 * math/s_catanl.c (__catanl): Likewise.
23657 * math/s_catan.c (__catan): Calculate imaginary part of result
23658 with log1p not log unless computing log of number close to 0.
23659 * math/s_catanf.c (__catanf): Likewise.
23660 * math/s_catanl.c (__catanl): Likewise.
23661 * math/s_catanh.c (__catanh): Calculate real part of result with
23662 log1p not log unless computing log of number close to 0.
23663 * math/s_catanhf.c (__catanhf): Likewise.
23664 * math/s_catanhl.c (__catanhl): Likewise.
23665 * math/libm-test.inc (catan_test): Add more tests.
23666 (catanh_test): Likewise.
23667 * sysdeps/i386/fpu/libm-test-ulps: Update.
23668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23670 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23672 * benchtests/Makefile: Mention files in which fast and slow
23673 paths of math functions are implemented.
23675 2013-04-23 Roland McGrath <roland@hack.frob.com>
23677 * sysdeps/posix/timespec_get.c: New file.
23679 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23681 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
23683 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
23685 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
23686 powerpc/power5/fpu folders.
23687 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
23688 * benchtests/Makefile: Add modf testcase.
23689 * benchtests/bench-modf.c: New file: Benchmark test for mo
23691 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23694 * time/Makefile (tests): Add tst-strptime-whitespace.
23695 * time/strptime_l.c (get_number): Use ISSPACE.
23696 (__strptime_internal): Likewise.
23697 * time/tst-strptime-whitespace.c: New test case.
23699 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
23701 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
23703 (_nss_files_init): Set it here.
23705 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
23707 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
23708 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
23711 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
23713 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
23715 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23717 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
23720 2013-04-21 David S. Miller <davem@davemloft.net>
23722 * po/ru.po: Update Russion translation from translation project.
23724 2013-04-17 Adam Conrad <adconrad@0c3.net>
23726 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
23729 2013-04-17 Carlos O'Donell <carlos@redhat.com>
23731 * configure.in: Remove i386 configure warning. Remove i386 case.
23732 * configure: Regenerate.
23733 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
23734 Add example to error message.
23735 * sysdeps/i386/configure: Regenerate.
23737 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23739 * benchtests/Makefile (bench): Add cos, tan, slowcos and
23741 * benchtests/cos-inputs: New file.
23742 * benchtests/slowcos-inputs: New file.
23743 * benchtests/slowcos.c: New file.
23744 * benchtests/slowtan-inputs: New file.
23745 * benchtests/slowtan.c: New file.
23746 * benchtests/tan-inputs: New file.
23748 2013-04-16 Roland McGrath <roland@hack.frob.com>
23750 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
23753 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23755 * benchtests/Makefile: Include cppflags-iterator.mk to add
23756 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
23758 * Makefile.in (bench-clean): New target.
23759 * benchtests/Makefile (bench-clean): Likewise.
23761 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
23763 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
23765 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
23767 * stdio-common/tstdiomisc.c: Fix coding-style violation.
23769 2013-04-15 Andreas Schwab <schwab@suse.de>
23771 * nscd/grpcache.c (cache_addgr): Properly check for short write.
23772 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23773 * nscd/pwdcache.c (cache_addpw): Likewise.
23774 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
23777 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23779 * benchtests/Makefile (bench): Write all output to
23780 bench-out.tmp together.
23782 2013-04-15 Andreas Schwab <schwab@suse.de>
23784 * nscd/nscd.c (main): Don't fork again after closing files.
23786 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23788 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
23790 * benchtests/Rules (bench-deps): Collect dependencies into a
23791 single variable. Add Makefile to dependencies.
23792 ($(objpfx)bench-%.c): Depend on bench-deps.
23794 2013-04-12 Roland McGrath <roland@hack.frob.com>
23795 Xavier Roche <roche+kml2@exalead.com>
23798 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
23799 just that it's a file descriptor.
23800 * manual/llio.texi (Synchronizing AIO Operations): Update description
23801 for EBADF error from aio_fsync.
23803 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23805 * Rules (bench): Move target definition...
23806 * benchtests/Makefile: ... here.
23808 2013-04-11 Carlos O'Donell <carlos@redhat.com>
23810 * math/libm-test.inc (cos_test): Fix PI/2 test.
23811 (sincos_test): Likewise.
23812 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23813 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
23815 2013-04-11 Andreas Schwab <schwab@suse.de>
23818 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
23819 accept exponent character only when digits were seen.
23820 * stdio-common/Makefile (tests): Add bug26.
23821 * stdio-common/bug26.c: New file.
23824 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
23827 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23829 * Makeconfig (rtld-prefix): Define built linker prefix.
23830 * Rules (run-bench): Use it.
23831 * math/Makefile (run-regen-ulps): Likewise.
23833 * Rules (bench): Remove eval.
23835 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23836 Roland McGrath <roland@hack.frob.com>
23837 Ondrej Bilka <neleai@seznam.cz>
23840 * time/getdate.c: Include ctype.h and alloca.h.
23841 (__getdate_r): Trim leading and trailing spaces of input.
23842 * time/tst-getdate.c (tests): Add tests with leading and
23845 2013-04-08 Roland McGrath <roland@hack.frob.com>
23848 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
23849 when computing value.
23851 2013-04-06 Carlos O'Donell <carlos@redhat.com>
23853 * math/README.libm-test (How can I generate "libm-test-ulps"?):
23854 Use testrun.sh to run libm tests.
23857 * elf/dl-open.c (dl_open_worker): memset all of seen array.
23859 2013-04-06 Marko Myllynen <myllynen@redhat.com>
23862 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
23864 2013-04-06 Carlos O'Donell <carlos@redhat.com>
23866 * Makefile.in (regen-ulps): New target.
23867 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
23868 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
23869 [ifneq (no,$(PERL)] (regen-ulps): New target.
23870 [ifeq (no,$(PERL)] (regen-ulps): New target.
23871 * math/libm-test.inc (ulps_file_name): Define.
23872 (output_dir): New variable.
23873 (options): Add "output-dir" option.
23874 (parse_opt): Handle 'o' case.
23875 (main): If output_dir is non-NULL use it as a prefix
23877 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
23879 2013-04-06 Carlos O'Donell <carlos@redhat.com>
23881 [BZ #10060, #10062]
23882 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
23883 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
23884 fail configure if __sync_val_compare_and_swap is not inlined.
23885 * sysdeps/i386/configure: Regenerate.
23886 * configure.in: Build for i686 when configured for i386.
23887 * configure: Regenerate.
23888 * README: Remove i386 reference.
23890 2013-04-06 Carlos O'Donell <carlos@redhat.com>
23892 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
23893 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23895 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
23897 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
23898 (lmsnanval): New variables.
23899 (F): Add conversion tests.
23900 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
23901 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
23903 * stdio-common/tstdiomisc.c (F): Properly collect individual
23906 [BZ #14686, #15336]
23907 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
23908 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
23909 Instead, use input NaN values or generate a qNaN by arithmetic
23910 operation. Also fix bugs to comply with the standard.
23911 * math/libm-test.inc (remainder_test): Add more tests.
23913 [BZ #15335, #15342]
23914 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
23915 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
23916 input NaN values or generate a qNaN by arithmetic operation.
23918 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
23921 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
23924 2013-04-03 Joseph Myers <joseph@codesourcery.com>
23927 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
23928 underflowed result.
23929 * math/s_cexpf.c (__cexpf): Likewise.
23930 * math/s_cexpl.c (__cexpl): Likewise.
23931 * math/libm-test.inc (cexp_test): Add more tests.
23933 2013-04-03 Andreas Schwab <schwab@suse.de>
23936 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
23937 order arrays from heap if bigger than alloca cutoff.
23939 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
23941 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
23942 (SNAN_TESTS_double): Refer to GCC PR56831.
23943 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
23946 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23948 * Rules (bench): Move bench.out after the run is complete.
23950 * Rules (bench): Echo currently running benchmark.
23952 * benchtests/Makefile (bench): Add atan and slowatan.
23953 * benchtests/atan-inputs: New file.
23954 * benchtests/slowatan-inputs: New file.
23955 * benchtests/slowatan.c: New file.
23957 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
23958 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
23962 * sysdeps/unix/sysv/linux/kernel-features.h
23963 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
23964 __ASSUME_XFS_RESTRICTED_CHOWN.
23965 * sysdeps/unix/sysv/linux/pathconf.c
23966 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23967 Save and restore errno.
23969 2013-04-02 Joseph Myers <joseph@codesourcery.com>
23972 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
23973 arguments using __kernel_casinh.
23974 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
23975 arguments using __kernel_casinhf.
23976 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
23977 arguments using __kernel_casinhl.
23978 * math/libm-test.inc (cacosh_test): Add more tests.
23979 * sysdeps/i386/fpu/libm-test-ulps: Update.
23980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23982 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23984 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
23985 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
23987 * bench/Makefile (bench): Add sin and slowsin.
23988 * benchtests/sin-inputs: New file.
23989 * benchtests/slowsin-inputs: New file.
23990 * benchtests/slowsin.c: New file.
23992 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
23993 (bench): Add slowexp and slowpow.
23994 (exp-ITER): Increase iterations.
23995 (pow-ITER): Likewise.
23996 * benchtests/exp-inputs: Change input.
23997 * benchtests/pow-inputs: Likewise.
23998 * benchtests/slowexp-inputs: New file.
23999 * benchtests/slowexp.c: New file.
24000 * benchtests/slowpow-inputs: New file.
24001 * benchtests/slowpow.c: New file.
24003 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24005 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
24007 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24008 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
24009 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24010 * benchtests/Makefile: Add rint benchtest.
24011 * benchtests/rint-inputs: Input for rint benchtest.
24013 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
24015 * Versions.def (libm): Add GLIBC_2.18.
24016 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
24017 hidden libm prototypes.
24018 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
24019 * math/Makefile (libm-calls): Add s_issignaling.
24020 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
24021 __issignalingf, __issignalingl. Adjust all libm.abilist files.
24022 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
24024 * math/math.h [__USE_GNU] (issignaling): New macro.
24025 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
24026 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
24027 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
24028 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
24029 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
24030 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24031 * manual/arith.texi (issignaling): New section.
24032 * manual/libm-err-tab.pl (@all_functions): Update comment.
24033 * math/gen-libm-test.pl (parse_args): Apply special handling for
24035 * math/libm-test.inc (print_float, issignaling_test): New
24037 (check_float_internal): Add issignaling checks.
24038 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
24039 default definition.
24040 * sysdeps/powerpc/math-tests.h: New file.
24041 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
24043 * math/test-snan.c (TEST_FUNC): Likewise.
24045 2013-03-30 David S. Miller <davem@davemloft.net>
24047 * po/de.po: Update from translation team.
24049 2013-03-30 Joseph Myers <joseph@codesourcery.com>
24052 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24053 imaginary part less than 1.0 and real part less than 0.5
24055 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24056 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24057 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
24058 (cacos_test): Add more tests.
24059 (casin_test): Likewise.
24060 (casinh_test): Likewise.
24061 * sysdeps/i386/fpu/libm-test-ulps: Update.
24062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24064 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24066 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
24067 ONE with its value.
24069 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
24070 (__pow_mp): Replace ONE and MONE with their values.
24071 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24072 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
24073 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24074 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
24075 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24076 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24078 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
24080 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
24081 (__pow_mp): Replace ZERO and MZERO with their values.
24082 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24083 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24084 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24085 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24086 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24087 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
24090 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
24092 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
24094 2013-03-28 Roland McGrath <roland@hack.frob.com>
24096 * include/stdlib.h [!SHARED] (__call_tls_dtors):
24097 Declare with __attribute__ ((weak)).
24098 * stdlib/exit.c (__libc_atexit) [!SHARED]:
24099 Call __call_tls_dtors only if it's not NULL.
24101 2013-03-28 Roland McGrath <roland@hack.frob.com>
24103 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
24104 didn't do it already, then set _dl_phdr and _dl_phnum based on the
24105 magic __ehdr_start linker symbol if it's defined.
24106 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
24107 them up here if it was already done.
24109 * elf/dl-support.c (_dl_phdr): Make pointer to const.
24110 (_dl_aux_init): Use const in cast when setting it.
24111 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
24112 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
24113 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
24115 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
24117 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
24118 * csu/libc-tls.c: Nor here.
24119 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
24121 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
24122 (__libc_message): Never call vsyslog.
24124 2013-03-28 Alan Modra <amodra@gmail.com>
24126 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
24128 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
24131 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24134 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
24136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24138 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24141 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24142 Don't add gid passed as argument.
24144 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
24146 2013-03-27 Joseph Myers <joseph@codesourcery.com>
24149 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24150 imaginary part between 1.0 and 1.5 and real part less than 0.5
24152 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24153 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24154 * math/libm-test.inc (cacos_test): Add more tests.
24155 (casin_test): Likewise.
24156 (casinh_test): Likewise.
24157 * sysdeps/i386/fpu/libm-test-ulps: Update.
24158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24160 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24162 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
24165 (denorm): Likewise.
24166 (__dbl_mp): Likewise.
24167 (add_magnitudes): Likewise.
24168 (sub_magnitudes): Likewise.
24176 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
24178 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
24179 (__dubcos): Likewise.
24180 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
24181 (__ieee754_acos): Likewise.
24182 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24183 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
24184 (__exp1): Likewise.
24185 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24186 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24188 (my_log2): Likewise.
24189 (checkint): Likewise.
24190 * sysdeps/ieee754/dbl-64/e_remainder.c
24191 (__ieee754_remainder): Likewise.
24192 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24193 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24194 (bsloww): Likewise.
24195 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24197 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24198 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
24199 MANTISSA_STORE_T to store computations on mantissa. Use
24200 macros for rounding and division.
24201 (denorm): Likewise.
24202 (__dbl_mp): Likewise.
24203 (add_magnitudes): Likewise.
24204 (sub_magnitudes): Likewise.
24207 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24208 powers of two in terms of TWOPOW macro.
24209 (mp_no): Make type of mantissa as MANTISSA_T.
24210 [!RADIXI]: Define RADIXI.
24211 [!TWO52]: Define TWO52.
24212 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24214 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24216 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
24217 llroundl symbol when building for PPC32.
24219 2013-03-24 Mark H Weaver <mhw@netris.org>
24221 * manual/arith.texi (Normalization Functions): Fix prototypes for
24222 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
24224 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24227 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
24228 high value to check if expl overflow.
24229 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
24230 to check for underflow and overflow.
24231 * math/libm-test.inc: Add exp test.
24233 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
24236 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
24239 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24241 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
24244 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
24246 * math/gen-libm-test.pl (parse_args, special_functions): Properly
24247 wrap blocks consisting of several statements.
24249 * sysdeps/generic/math-tests.h: New file.
24250 * sysdeps/i386/fpu/math-tests.h: Likewise.
24251 * math/test-snan.c: Include it.
24252 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
24254 2013-03-21 Joseph Myers <joseph@codesourcery.com>
24257 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
24258 (__ieee754_j0l): Do not improve calculations using cos of twice
24259 input for inputs above LDBL_MAX / 2.0L.
24260 (__ieee754_y0l): Likewise.
24261 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
24262 (__ieee754_j1l): Do not improve calculations using cos of twice
24263 input for inputs above LDBL_MAX / 2.0L.
24264 (__ieee754_y1l): Likewise.
24265 * math/libm-test.inc (j0_test): Add another test.
24266 (j1_test): Likewise.
24267 (y0_test): Likewise.
24268 (y1_test): Likewise.
24269 * sysdeps/i386/fpu/libm-test-ulps: Update.
24271 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24273 * Rules ($(objpfx)bench-%.c): Include code from a C source
24276 2013-03-21 Joseph Myers <joseph@codesourcery.com>
24279 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24280 imaginary part 1.0 and real part less than 0.5 specially.
24281 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24282 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24283 * math/libm-test.inc (cacos_test): Add more tests.
24284 (casin_test): Likewise.
24285 (casinh_test): Likewise.
24286 * sysdeps/i386/fpu/libm-test-ulps: Update.
24287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24289 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24291 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
24292 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
24294 2013-03-20 Joseph Myers <joseph@codesourcery.com>
24296 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
24297 * config.make.in (config-cflags-sse4): Remove variable.
24298 (config-cflags-avx): Likewise.
24299 (config-cflags-sse2avx): Likewise.
24300 (config-cflags-novzeroupper): Likewise.
24301 (config-asflags-i686): Likewise.
24302 (have-mfma4): Likewise.
24303 (have-as-vis3): Likewise.
24305 * configure.in (MIG): Do not AC_SUBST.
24306 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
24307 (libc_cv_cc_sse4): Do not AC_SUBST.
24308 (libc_cv_cc_avx): Likewise.
24309 (libc_cv_cc_sse2avx): Likewise.
24310 (libc_cv_cc_novzeroupper): Likewise.
24311 (libc_cv_cc_fma4): Likewise.
24312 (libc_cv_as_i686): Likewise.
24313 (libc_cv_sparc_as_vis3): Likewise.
24314 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
24316 (config-asflags-i686): Likewise.
24317 (config-cflags-avx): Likewise.
24318 (config-cflags-sse2avx): Likewise.
24319 (have-mfma4): Likewise.
24320 (config-cflags-novzeroupper): Likewise.
24321 * sysdeps/mach/configure.in (MIG): Likewise.
24322 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
24323 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
24325 (config-cflags-avx): Likewise.
24326 (config-cflags-sse2avx): Likewise.
24327 (have-mfma4): Likewise.
24328 (config-cflags-novzeroupper): Likewise.
24329 * configure: Regenerated.
24330 * sysdeps/i386/configure: Likewise.
24331 * sysdeps/mach/configure: Likewise.
24332 * sysdeps/sparc/configure: Likewise.
24333 * sysdeps/x86_64/configure: Likewise.
24335 2013-03-20 Roland McGrath <roland@hack.frob.com>
24338 * locale/programs/localedef.c (options): Put N_ translation marker
24339 on argument names, not just descriptions.
24341 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24343 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
24345 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
24348 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
24350 2013-03-19 Roland McGrath <roland@hack.frob.com>
24352 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
24353 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
24354 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
24355 [!BEFORE_ABORT] (before_abort): New function.
24356 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
24357 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
24358 (writev_for_fatal): New function.
24359 (WRITEV_FOR_FATAL): New macro; call that.
24360 (backtrace_and_maps): New function.
24361 (BEFORE_ABORT): New macro; call that.
24362 (struct str_list): Type removed.
24363 (__libc_message, __libc_fatal): Functions removed.
24364 Include <sysdeps/posix/libc_fatal.c> instead.
24366 2013-03-19 Joseph Myers <joseph@codesourcery.com>
24368 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
24370 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
24373 2013-03-19 Andreas Schwab <schwab@suse.de>
24375 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
24376 * sysdeps/gnu/configure: Regenerate.
24378 * configure.in: Substitute libc_cv_rtlddir.
24379 * configure: Regenerate.
24380 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
24381 * Makeconfig (rtlddir, inst_rtlddir): New variables.
24382 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
24383 * elf/Makefile (install-others, CFLAGS-interp.c)
24384 (ldso_install, common-ldd-rewrite): Likewise.
24385 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
24386 $(inst_slibdir)/$(rtld-installed-name).
24387 * scripts/rellns-sh: Add -p option.
24388 * Makerules (make-shlib-link): Use rellns-sh to get relative name
24391 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24393 * manual/nptl.texi: Renamed to ...
24394 * manual/threads.texi: ... this.
24395 * manual/Makefile (chapters): Update.
24397 2013-03-18 Roland McGrath <roland@hack.frob.com>
24400 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
24401 on argument names, not just descriptions.
24402 * malloc/memusagestat.c (options): Likewise.
24403 * nss/getent.c (options): Likewise.
24405 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
24408 * iconv/iconv_prog.c (options): Put N_ translation marker
24409 on argument names, not just descriptions.
24410 * iconv/iconvconfig.c (options): Likewise.
24412 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
24414 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
24415 implementation which is faster on all x86_64 architectures.
24416 Tested on AMD, Intel Nehalem, SNB, IVB.
24417 * sysdeps/x86_64/strnlen.S: Likewise.
24419 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24420 Remove all multiarch strlen and strnlen versions.
24421 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24422 Remove strlen and strnlen related parts.
24424 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
24425 Inline strlen part.
24426 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24428 * sysdeps/x86_64/multiarch/strlen.S: Remove.
24429 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
24430 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
24431 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
24432 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24433 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
24435 2013-03-17 Carlos O'Donell <carlos@redhat.com>
24437 * manual/memory.texi (Malloc Tunable Parameters):
24438 Sort parameters alphabetically. Add comments for missing entries.
24440 2013-03-17 David S. Miller <davem@davemloft.net>
24442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24444 2013-03-16 Joseph Myers <joseph@codesourcery.com>
24447 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
24448 for arguments at most half maximum finite value.
24449 * math/libm-test.inc (j0_test): Add more tests.
24450 (j1_test): Likewise.
24451 (y0_test): Likewise.
24452 (y1_test): Likewise.
24453 * sysdeps/i386/fpu/libm-test-ulps: Update.
24454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24457 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
24458 1 / x and functions P and Q for arguments above 0x1p256L.
24459 (__ieee754_y0l): Likewise.
24460 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
24461 (__ieee754_y1l): Likewise.
24462 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
24463 (j1_test): Likewise.
24464 (y0_test): Likewise.
24465 (y1_test): Likewise.
24467 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
24469 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
24472 2013-03-15 Roland McGrath <roland@hack.frob.com>
24474 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
24475 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
24476 zero since it's initialized to EXEC_PAGESIZE.
24478 * sysdeps/unix/sysv/linux/ldsodefs.h
24479 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
24480 * sysdeps/generic/ldsodefs.h: ... here.
24482 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
24484 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
24486 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
24488 * math/test-snan.c: Renamed from
24489 sysdeps/powerpc/fpu/test-powerpc-snan.c.
24490 * math/Makefile (tests): Add test-snan.
24491 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
24494 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
24495 SUFFIX. Initialize qNaN_var with __builtin_nan family of
24497 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
24498 __builtin_nan family of functions.
24499 * math/libm-test.inc (initialize): Initialize qnan_value with
24500 __builtin_nan family of functions.
24501 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
24503 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
24505 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
24506 storage class. Initialize qNaN_var and sNaN_var with
24507 __builtin_nan and __builtin_nans families of functions,
24510 * math/libm-test.inc (acosh_test): Also test with qNaN input.
24511 (sqrt_test): Remove duplicate test with qNaN input.
24512 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
24513 (round_test, signbit_test, significand_test): Note missing +/-Inf
24514 as well as qNaN tests.
24516 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
24517 qNaN_var. Fix a few strings, too.
24518 * math/libm-test.inc (nan_value): Rename to qnan_value.
24519 * math/gen-libm-test.pl (%beautify): Adjust to that.
24520 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
24521 * math/test-misc.c (main): Likewise.
24522 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
24523 to __qnan_bytes, and __qnan_union, respectively.
24524 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
24526 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
24527 and lqnanval, respectively.
24528 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
24529 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
24530 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
24531 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
24533 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
24534 * math/test-misc.c (main) [__x86_64__]: Enable test for long
24537 * math/test-misc.c (main): Fix copy'n'pastos.
24538 * misc/tst-efgcvt.c (special): Likewise.
24540 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
24541 Remove declarations.
24543 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24545 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
24546 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
24547 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
24548 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
24550 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24552 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
24553 macro to return vdso values correctly in IFUNC implementations.
24554 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24555 Optimization by using IFUNC.
24557 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24558 Richard Henderson <rth@redhat.com>
24559 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24561 * Makefile.in (bench): New target.
24562 * NEWS: Mention the benchmark framework.
24563 * Rules (bench): Likewise.
24564 (binaries-bench): Generate binaries for functions to
24566 * benchtests/Makefile: New makefile for benchmark tests.
24567 * benchtests/bench-skeleton.c: New skeleton file for benchmark
24569 * benchtests/exp-inputs: New input file for EXP function.
24570 * benchtests/pow-inputs: New input file for POW function.
24571 * scripts/bench.pl: New script to generate source files for
24572 benchmark programs.
24574 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24576 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24577 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
24578 computations on mantissa. Use macros for rounding and
24580 (denorm): Likewise.
24581 (__dbl_mp): Likewise.
24582 (add_magnitudes): Likewise.
24583 (sub_magnitudes): Likewise.
24586 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24587 powers of two in terms of TWOPOW macro.
24588 (mp_no): Make type of mantissa as MANTISSA_T.
24589 [!RADIXI]: Define RADIXI.
24590 [!TWO52]: Define TWO52.
24591 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24593 * manual/nptl.texi (cindex): Modify threads to pthreads.
24595 2013-03-15 Joseph Myers <joseph@codesourcery.com>
24597 * sysdeps/x86_64/preconfigure: Regenerated.
24599 2013-03-14 Joseph Myers <joseph@codesourcery.com>
24602 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
24604 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
24605 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
24607 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
24608 * math/libm-test.inc (j0_test): Do not allow one spurious
24609 underflow exception.
24610 (y1_test): Likewise.
24612 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24614 * manual/Makefile (chapters): Add nptl.
24615 * manual/debug.texi (Debugging Support): Add link to Threads
24617 * manual/nptl.texi: New file.
24619 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
24621 2013-03-14 Petr Baudis <pasky@ucw.cz>
24623 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
24624 for non-NULL pointer before the memory validity test. Pointed
24625 out by Holger Brunck <holger.brunck@keymile.com>.
24627 2013-03-13 Andreas Schwab <schwab@suse.de>
24629 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
24632 2013-03-13 Joseph Myers <joseph@codesourcery.com>
24634 * timezone/zic.c: Update from tzcode 2013b.
24636 2013-03-12 Carlos O'Donell <carlos@redhat.com>
24638 * manual/install.texi (Configuring and compiling):
24639 Mention i686 and i586.
24640 * INSTALL: Regenerate.
24642 2013-03-12 Roland McGrath <roland@hack.frob.com>
24644 * sysdeps/init_array/elf-init.c: New file.
24646 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
24647 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
24649 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
24650 __gmon_start__ as global, but as static with a .preinit_array pointer.
24651 * sysdeps/init_array/gmon-start.c: New file. Use that.
24652 * sysdeps/init_array/crti.S: New file, empty except for comments.
24653 * sysdeps/init_array/crtn.S: Likewise.
24655 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
24657 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
24659 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24660 Remove Prefer_SSE_for_memop.
24661 * sysdeps/x86_64/multiarch/init-arch.h: Remove
24662 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
24663 HAS_PREFER_SSE_FOR_MEMOP.
24664 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
24666 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24667 Remove bzero, memset ifunc support.
24668 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
24669 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
24670 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24671 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24673 2013-03-11 Andreas Schwab <schwab@suse.de>
24676 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
24678 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
24679 (GLIBC_2.16): Remove pthread_atfork.
24681 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
24683 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
24684 (ptestcases.h): Likewise.
24686 2013-03-08 Roland McGrath <roland@hack.frob.com>
24688 * Makeconfig ($(common-objpfx)config.status): Depend on
24689 sysdeps/*/preconfigure{,.in} too.
24691 2013-03-08 Joseph Myers <joseph@codesourcery.com>
24693 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
24694 (__free_hook): Use void * instead of __malloc_ptr_t.
24695 (__malloc_hook): Likewise.
24696 (__realloc_hook): Likewise.
24697 (__memalign_hook): Likewise.
24698 (__after_morecore_hook): Likewise.
24699 * malloc/arena.c (save_malloc_hook): Likewise.
24700 (save_free_hook): Likewise.
24701 * malloc/hooks.c (malloc_hook_ini): Likewise.
24702 (realloc_hook_ini): Likewise.
24703 (memalign_hook_ini): Likewise.
24704 * malloc/malloc.c (malloc_hook_ini): Likewise.
24705 (realloc_hook_ini): Likewise.
24706 (memalign_hook_ini): Likewise.
24707 (__free_hook): Likewise.
24708 (__malloc_hook): Likewise.
24709 (__realloc_hook): Likewise.
24710 (__memalign_hook): Likewise.
24711 (__libc_malloc): Likewise.
24712 (__libc_free): Likewise.
24713 (__libc_realloc): Likewise.
24714 (__libc_memalign): Likewise.
24715 (__libc_valloc): Likewise.
24716 (__libc_pvalloc): Likewise.
24717 (__libc_calloc): Likewise.
24718 (__posix_memalign): Likewise.
24719 * malloc/morecore.c (__sbrk): Likewise.
24720 (__default_morecore): Likewise.
24722 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
24724 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
24725 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
24726 __malloc_ptrdiff_t.
24728 * malloc/malloc.h (__malloc_size_t): Remove macro.
24729 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
24731 (old_memalign_hook): Likewise.
24732 (old_realloc_hook): Likewise.
24733 (struct hdr): Likewise.
24735 (mallochook): Likewise.
24736 (memalignhook): Likewise.
24737 (reallochook): Likewise.
24738 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
24739 (tr_old_realloc_hook): Likewise.
24740 (tr_old_memalign_hook): Likewise.
24741 (tr_mallochook): Likewise.
24742 (tr_reallochook): Likewise.
24743 (tr_memalignhook): Likewise.
24745 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24747 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
24748 default_ldbl_pack and using as default implementation.
24749 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
24751 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
24752 redundant definition.
24753 (ldbl_insert_mantissa): Likewise.
24754 (ldbl_canonicalize): Likewise.
24755 (ldbl_nearbyint): Likewise.
24756 (ldbl_pack): Rename to ldbl_pack_ppc.
24757 (ldbl_unpack): Rename to ldbl_unpack_ppc.
24758 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
24759 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
24761 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24763 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
24764 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
24765 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
24766 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
24767 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
24768 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
24769 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
24770 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
24772 2013-03-07 Andreas Jaeger <aj@suse.de>
24774 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24777 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24779 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
24780 Include mpa.h and declare __MPEXP.
24781 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
24782 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24783 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24784 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
24785 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24786 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24787 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
24789 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
24790 (__slowpow): Use long double EXPL and LOGL functions to
24792 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24793 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24794 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
24795 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24796 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24797 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
24799 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
24800 intermediate variable to calculate exponent.
24802 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24806 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
24807 [!NO__SQR]: Define __sqr.
24808 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
24809 and NO__SQR. Remove all code except __mul and __sqr. Include
24810 sysdeps/ieee754/dbl-64/mpa.c.
24811 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24814 * posix/Makefile (tests): Add tst-pathconf.
24815 * posix/tst-pathconf.c: New test case.
24816 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
24818 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
24820 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
24822 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
24824 2013-03-06 Andreas Jaeger <aj@suse.de>
24826 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
24827 definition via __MAP_ANONYMOUS.
24829 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
24830 it's not part of Linux headers.
24832 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
24833 (MAP_HUGE_MASK): Define.
24835 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24837 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24838 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24840 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24841 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24843 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24844 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
24846 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24848 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
24849 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
24850 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
24851 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
24852 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
24853 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
24855 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24858 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24859 Handle f2fs and efivarfs.
24861 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
24864 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
24865 (EFIVARFS_MAGIC): Add.
24866 (F2FS_LINK_MAX): Add.
24868 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24870 * stdio-common/vfprintf.c: Replace __builtin_expect with
24873 2013-03-06 Joseph Myers <joseph@codesourcery.com>
24876 * sysdeps/generic/bp-sym.h: Remove file.
24877 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
24878 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
24879 <bp-sym.h> and <bp-asm.h>.
24880 (__longjmp): Don't use BP_SYM.
24881 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
24883 (memcpy): Don't use BP_SYM.
24884 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
24885 <bp-sym.h> and <bp-asm.h>.
24886 (memcpy): Don't use BP_SYM.
24887 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
24889 (memcpy): Don't use BP_SYM.
24890 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
24892 (memset): Don't use BP_SYM.
24893 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24894 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24895 (__bzero): Don't use BP_SYM.
24896 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24897 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24898 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
24899 <bp-sym.h> and <bp-asm.h>.
24900 (memcmp): Don't use BP_SYM. Remove comment about bounded
24902 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
24903 <bp-sym.h> and <bp-asm.h>.
24904 (memcpy): Don't use BP_SYM.
24905 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
24906 <bp-sym.h> and <bp-asm.h>.
24907 (memset): Don't use BP_SYM.
24908 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24909 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24910 (__bzero): Don't use BP_SYM.
24911 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24912 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24913 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
24914 <bp-sym.h> and <bp-asm.h>.
24915 (strncmp): Don't use BP_SYM. Remove comment about bounded
24917 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
24918 <bp-sym.h> and <bp-asm.h>.
24919 (memcpy): Don't use BP_SYM.
24920 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
24921 <bp-sym.h> and <bp-asm.h>.
24922 (memset): Don't use BP_SYM.
24923 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24924 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24925 (__bzero): Don't use BP_SYM.
24926 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24927 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24928 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
24929 <bp-sym.h> and <bp-asm.h>.
24930 (__memchr): Don't use BP_SYM.
24931 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
24932 <bp-sym.h> and <bp-asm.h>.
24933 (memcmp): Don't use BP_SYM. Remove comment about bounded
24935 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
24936 <bp-sym.h> and <bp-asm.h>.
24937 (memcpy): Don't use BP_SYM.
24938 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
24939 <bp-sym.h> and <bp-asm.h>.
24940 (__mempcpy): Don't use BP_SYM.
24941 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
24942 <bp-sym.h> and <bp-asm.h>.
24943 (__memrchr): Don't use BP_SYM.
24944 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
24945 <bp-sym.h> and <bp-asm.h>.
24946 (memset): Don't use BP_SYM.
24947 (__bzero): Likewise.
24948 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
24949 <bp-sym.h> and <bp-asm.h>.
24950 (__rawmemchr): Don't use BP_SYM.
24951 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
24952 <bp-sym.h> and <bp-asm.h>.
24953 (__STRCMP): Don't use BP_SYM.
24954 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
24955 <bp-sym.h> and <bp-asm.h>.
24956 (strchr): Don't use BP_SYM.
24957 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
24958 <bp-sym.h> and <bp-asm.h>.
24959 (__strchrnul): Don't use BP_SYM.
24960 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
24961 <bp-sym.h> and <bp-asm.h>.
24962 (strlen): Don't use BP_SYM.
24963 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
24964 <bp-sym.h> and <bp-asm.h>.
24965 (strncmp): Don't use BP_SYM. Remove comment about bounded
24967 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
24968 <bp-sym.h> and <bp-asm.h>.
24969 (__strnlen): Don't use BP_SYM.
24970 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
24971 <bp-sym.h> and <bp-asm.h>.
24972 (__GI__setjmp): Don't use BP_SYM.
24973 (_setjmp): Likewise.
24974 (__sigsetjmp): Likewise.
24975 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
24976 (L(start_addresses)): Don't use BP_SYM.
24977 (_start): Likewise.
24978 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
24980 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
24981 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
24982 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24983 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24984 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
24986 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
24987 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
24988 about bounded pointers.
24989 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24990 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24991 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
24993 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
24994 about bounded pointers. Remove GKM FIXME comments.
24995 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24996 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
24998 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
24999 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
25000 Remove GKM FIXME comments.
25001 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25002 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25003 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
25005 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25006 about bounded pointers. Remove GKM FIXME comment.
25007 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
25009 (strncmp): Don't use BP_SYM. Remove comment about bounded
25011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
25012 <bp-sym.h> and <bp-asm.h>.
25013 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
25015 <bp-sym.h> and <bp-asm.h>.
25016 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25019 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25021 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
25024 2013-03-05 David S. Miller <davem@davemloft.net>
25026 * po/es.po: Update from translation team.
25028 2013-03-05 Andreas Jaeger <aj@suse.de>
25030 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25031 <bits/mman-linux.h>.
25032 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25034 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25035 <bits/mman-linux.h> to end of file.
25036 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25038 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
25039 <bits/mman-linux.h> to end of file.
25040 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25042 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
25043 <bits/mman-linux.h> to end of file.
25045 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
25046 (MCL_CURRENT, MCL_FUTURE): Define here.
25048 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25051 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
25053 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25055 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25057 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
25058 fourth parameter needed for rt_sigprocmask syscall.
25059 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25060 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25061 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25062 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25063 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25064 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
25066 2013-03-04 Joseph Myers <joseph@codesourcery.com>
25069 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
25070 comment about bounded pointers.
25071 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
25072 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
25074 2013-03-04 Andreas Jaeger <aj@suse.de>
25076 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
25077 common definitions.
25079 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
25080 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
25081 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
25082 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25083 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25084 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25086 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25089 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25090 __ieee754_sqrl instead of __sqrl.
25092 2013-03-01 Joseph Myers <joseph@codesourcery.com>
25094 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
25095 * sysdeps/powerpc/fpu_control.h: ... here.
25096 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
25097 * sysdeps/powerpc/bits/fenvinline.h: ... here.
25098 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
25099 * sysdeps/powerpc/bits/mathinline.h: ... here.
25101 2013-03-01 Roland McGrath <roland@hack.frob.com>
25103 * elf/dl-hwcaps.c (_dl_important_hwcaps):
25104 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
25105 to just [NEED_DL_SYSINFO_DSO].
25106 * elf/dl-support.c: Likewise.
25107 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25108 * elf/rtld.c (dl_main): Likewise.
25109 * elf/setup-vdso.h (setup_vdso): Likewise.
25110 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
25111 * sysdeps/unix/sysv/linux/dl-sysdep.c
25112 (_dl_discover_osversion): Likewise.
25114 2013-03-01 Carlos O'Donell <carlos@redhat.com>
25116 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
25117 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25119 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
25121 * NEWS: Mention libm performance improvements and non-x86 PI
25124 * csu/libc-start.c (__pthread_initialize_minimal): Change
25125 function arguments.
25126 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25128 2013-02-28 Joseph Myers <joseph@codesourcery.com>
25131 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
25132 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
25133 <bp-sym.h> and <bp-asm.h>.
25134 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25135 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
25137 (memcpy): Don't use BP_SYM.
25138 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
25140 (__mpn_add_n): Don't use BP_SYM.
25141 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
25142 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
25144 (__mpn_addmul_1): Don't use BP_SYM.
25145 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25146 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
25148 (_setjmp): Don't use BP_SYM.
25149 (__novmx_setjmp): Likewise.
25150 (__GI__setjmp): Likewise.
25151 (__vmx_setjmp): Likewise.
25152 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
25154 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
25155 (__bzero): Don't use BP_SYM.
25156 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25157 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25158 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
25159 <bp-sym.h> and <bp-asm.h>.
25160 (memcpy): Don't use BP_SYM.
25161 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
25162 <bp-sym.h> and <bp-asm.h>.
25163 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25164 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
25165 <bp-sym.h> and <bp-asm.h>.
25166 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25167 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
25169 (__mpn_lshift): Don't use BP_SYM.
25170 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25171 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
25173 (memset): Don't use BP_SYM.
25174 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25175 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25176 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
25178 (__mpn_mul_1): Don't use BP_SYM.
25179 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25180 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
25181 <bp-sym.h> and <bp-asm.h>.
25182 (memcmp): Don't use BP_SYM.
25183 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
25184 <bp-sym.h> and <bp-asm.h>.
25185 (memcpy): Don't use BP_SYM.
25186 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
25187 <bp-sym.h> and <bp-asm.h>.
25188 (memset): Don't use BP_SYM.
25189 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
25190 <bp-sym.h> and <bp-asm.h>.
25191 (strncmp): Don't use BP_SYM.
25192 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
25193 <bp-sym.h> and <bp-asm.h>.
25194 (memcpy): Don't use BP_SYM.
25195 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
25196 <bp-sym.h> and <bp-asm.h>.
25197 (memset): Don't use BP_SYM.
25198 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
25199 <bp-sym.h> and <bp-asm.h>.
25200 (__memchr): Don't use BP_SYM.
25201 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
25202 <bp-sym.h> and <bp-asm.h>.
25203 (memcmp): Don't use BP_SYM.
25204 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
25205 <bp-sym.h> and <bp-asm.h>.
25206 (memcpy): Don't use BP_SYM.
25207 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
25208 <bp-sym.h> and <bp-asm.h>.
25209 (__mempcpy): Don't use BP_SYM.
25210 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
25211 <bp-sym.h> and <bp-asm.h>.
25212 (__memrchr): Don't use BP_SYM.
25213 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
25214 <bp-sym.h> and <bp-asm.h>.
25215 (memset): Don't use BP_SYM.
25216 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
25217 <bp-sym.h> and <bp-asm.h>.
25218 (__rawmemchr): Don't use BP_SYM.
25219 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
25220 <bp-sym.h> and <bp-asm.h>.
25221 (__STRCMP): Don't use BP_SYM.
25222 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
25223 <bp-sym.h> and <bp-asm.h>.
25224 (strchr): Don't use BP_SYM.
25225 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
25226 <bp-sym.h> and <bp-asm.h>.
25227 (__strchrnul): Don't use BP_SYM.
25228 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
25229 <bp-sym.h> and <bp-asm.h>.
25230 (strlen): Don't use BP_SYM.
25231 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
25232 <bp-sym.h> and <bp-asm.h>.
25233 (strncmp): Don't use BP_SYM.
25234 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
25235 <bp-sym.h> and <bp-asm.h>.
25236 (__strnlen): Don't use BP_SYM.
25237 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
25239 (__mpn_rshift): Don't use BP_SYM.
25240 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25241 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
25242 <bp-sym.h> and <bp-asm.h>.
25243 (__sigsetjmp): Don't use BP_SYM.
25244 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
25245 (L(start_addresses)): Don't use BP_SYM.
25246 (_start): Likewise.
25247 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
25249 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
25250 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25251 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25252 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
25254 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
25255 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25256 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25257 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
25259 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25261 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25262 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
25264 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
25266 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25267 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25268 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
25270 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25272 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
25274 (strncmp): Don't use BP_SYM,
25275 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
25277 (__mpn_sub_n): Don't use BP_SYM.
25278 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25279 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
25281 (__mpn_submul_1): Don't use BP_SYM.
25282 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
25284 <bp-sym.h> and <bp-asm.h>.
25285 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
25287 <bp-sym.h> and <bp-asm.h>.
25288 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25291 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25293 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
25294 Use ZK to minimize writes to Z.
25295 (sub_magnitudes): Simplify code a bit.
25296 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
25297 Use ZK to minimize writes to Z.
25298 (sub_magnitudes): Simplify code a bit.
25300 2013-02-27 Roland McGrath <roland@hack.frob.com>
25302 * csu/gmon-start.c: Add special exception to license text.
25304 2013-02-27 Richard Henderson <rth@redhat.com>
25306 * scripts/config.guess: Update from config.git.
25307 * scripts/config.sub: Likewise.
25309 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25311 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
25313 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
25315 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
25317 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
25319 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
25321 2013-02-26 Roland McGrath <roland@hack.frob.com>
25323 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
25324 [$(build-shared = yes].
25326 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25328 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
25329 (__mul): Reduce iterations for calculating mantissa.
25331 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
25333 (__mpranred): Likewise.
25336 * malloc/memusagestat.c (main): Draw graphs for heap and stack
25337 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
25339 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
25341 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
25342 Define __attribute__.
25344 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25346 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
25348 * posix/regex_internal.h (__attribute): Remove.
25349 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
25350 (re_string_context_at): Likewise.
25351 (bitset_not): Use __attribute__ and mark function as possibly
25353 (bitset_merge): Likewise.
25354 (bitset_mask): Likewise.
25355 (re_string_char_size_at): Likewise.
25356 (re_string_wchar_at): Likewise.
25357 (re_string_elem_size_at): Likewise.
25359 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25361 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
25365 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
25369 (denorm): Likewise.
25370 (__dbl_mp): Likewise.
25371 (add_magnitudes): Likewise.
25372 (sub_magnitudes): Likewise.
25376 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
25379 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
25382 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
25385 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
25386 up changes with default code.
25387 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
25390 2013-02-24 Allan McRae <allan@archlinux.org>
25392 * manual/socket.texi (The Internet Namespace): Order menu items
25393 to match that in the file.
25395 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
25396 node listing of the info page menu.
25398 2013-02-21 Joseph Myers <joseph@codesourcery.com>
25401 * sysdeps/i386/bp-asm.h: Remove file.
25402 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25403 (PARMS): Do not use macros from bp-asm.h.
25407 (__mpn_add_n): Do not use BP_SYM
25408 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
25410 (PARMS): Do not use macros from bp-asm.h.
25413 (__mpn_addmul_1): Do not use BP_SYM
25414 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
25416 (PARMS): Do not use macros from bp-asm.h.
25417 (SIGMSK): Likewise.
25418 (_setjmp): Likewise. Do not use BP_SYM.
25419 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
25421 (PARMS): Do not use macros from bp-asm.h.
25422 (SIGMSK): Likewise.
25423 (setjmp): Likewise. Do not use BP_SYM.
25424 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
25426 (PARMS): Do not use macros from bp-asm.h.
25427 (__frexp): Do not use BP_SYM.
25429 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
25431 (PARMS): Do not use macros from bp-asm.h.
25432 (__frexpf): Do not use BP_SYM.
25433 (frexpf): Likewise.
25434 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
25436 (PARMS): Do not use macros from bp-asm.h.
25437 (__frexpl): Do not use BP_SYM.
25438 (frexpl): Likewise.
25439 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
25441 (PARMS): Do not use macros from bp-asm.h.
25442 (__remquo): Do not use BP_SYM.
25443 (remquo): Likewise.
25444 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
25446 (PARMS): Do not use macros from bp-asm.h.
25447 (__remquof): Do not use BP_SYM.
25448 (remquof): Likewise.
25449 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
25451 (PARMS): Do not use macros from bp-asm.h.
25452 (__remquol): Do not use BP_SYM.
25453 (remquol): Likewise.
25454 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
25456 (PARMS): Do not use macros from bp-asm.h.
25459 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
25460 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
25462 (PARMS): Do not use macros from bp-asm.h.
25463 (strlen): Do not use BP_SYM.
25464 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
25466 (PARMS): Do not use macros from bp-asm.h.
25470 (__mpn_add_n): Do not use BP_SYM.
25471 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
25473 (PARMS): Do not use macros from bp-asm.h.
25476 (__mpn_addmul_1): Do not use BP_SYM.
25477 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
25480 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
25482 (PARMS): Do not use macros from bp-asm.h.
25485 (__mpn_lshift): Do not use BP_SYM.
25486 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
25488 (PARMS): Do not use macros from bp-asm.h.
25492 (memcpy): Likewise. Do not use BP_SYM.
25493 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
25494 libc_hidden_def and weak_alias.
25495 (mempcpy): Do not use BP_SYM in weak_alias.
25496 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
25498 (PARMS): Do not use macros from bp-asm.h.
25501 [!BZERO_P] (CHR): Likewise.
25502 (memset): Likewise. Do not use BP_SYM.
25503 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
25505 (PARMS): Do not use macros from bp-asm.h.
25508 (__mpn_mul_1): Do not use BP_SYM.
25509 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
25511 (PARMS): Do not use macros from bp-asm.h.
25514 (__mpn_rshift): Do not use BP_SYM.
25515 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
25517 (PARMS): Do not use macros from bp-asm.h.
25520 (strchr): Likewise. Do not use BP_SYM.
25521 (index): Do not use BP_SYM in weak_alias.
25522 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
25524 (PARMS): Do not use macros from bp-asm.h.
25527 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
25528 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
25530 (PARMS): Do not use macros from bp-asm.h.
25531 (strlen): Do not use BP_SYM.
25532 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
25534 (PARMS): Do not use macros from bp-asm.h.
25538 (__mpn_sub_n): Do not use BP_SYM.
25539 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
25541 (PARMS): Do not use macros from bp-asm.h.
25544 (__mpn_submul_1): Do not use BP_SYM.
25545 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
25547 (PARMS): Do not use macros from bp-asm.h.
25551 (__mpn_add_n): Do not use BP_SYM.
25552 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
25555 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
25557 (PARMS): Do not use macros from bp-asm.h.
25560 (memcmp): Do not use BP_SYM.
25561 (bcmp): Do not use BP_SYM in weak_alias.
25562 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
25564 (PARMS): Do not use macros from bp-asm.h.
25568 (memcpy): Likewise. Do not use BP_SYM.
25569 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
25571 (PARMS): Do not use macros from bp-asm.h.
25575 (memmove): Likewise. Do not use BP_SYM.
25576 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
25578 (PARMS): Do not use macros from bp-asm.h.
25582 (__mempcpy): Likewise. Do not use BP_SYM.
25583 (mempcpy): Do not use BP_SYM in weak_alias.
25584 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
25586 (PARMS): Do not use macros from bp-asm.h.
25589 [!BZERO_P] (CHR): Likewise.
25590 (memset): Likewise. Do not use BP_SYM.
25591 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
25593 (PARMS): Do not use macros from bp-asm.h.
25595 (strcmp): Do not use BP_SYM.
25596 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
25598 (PARMS): Do not use macros from bp-asm.h.
25601 [USE_AS_STRTOK_R] (SAVE): Likewise.
25602 (FUNCTION): Likewise. Do not use BP_SYM.
25603 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
25605 (strtok_r): Likewise.
25606 (__GI___strtok_r): Likewise.
25607 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25608 (PARMS): Do not use macros from bp-asm.h.
25611 (__mpn_lshift): Do not use BP_SYM.
25612 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25613 (PARMS): Do not use macros from bp-asm.h.
25616 (__memchr): Do not use BP_SYM.
25617 (memchr): Do not use BP_SYM in weak_alias.
25618 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25619 (PARMS): Do not use macros from bp-asm.h.
25622 (memcmp): Do not use BP_SYM.
25623 (bcmp): Do not use BP_SYM in weak_alias.
25624 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
25625 (PARMS): Do not use macros from bp-asm.h.
25628 (__mpn_mul_1): Do not use BP_SYM.
25629 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
25631 (PARMS): Do not use macros from bp-asm.h.
25634 (__rawmemchr): Do not use BP_SYM.
25635 (rawmemchr): Do not use BP_SYM in weak_alias.
25636 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25637 (PARMS): Do not use macros from bp-asm.h.
25640 (__mpn_rshift): Do not use BP_SYM.
25641 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25642 (PARMS): Do not use macros from bp-asm.h.
25643 (SIGMSK): Likewise.
25644 (__sigsetjmp): Likewise. Do not use BP_SYM.
25645 * sysdeps/i386/start.S: Do not include "bp-sym.h".
25646 (_start): Do not use BP_SYM.
25647 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
25648 (PARMS): Do not use macros from bp-asm.h.
25651 (__stpcpy): Likewise. Do not use BP_SYM.
25652 (stpcpy): Do not use BP_SYM in weak_alias.
25653 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
25655 (PARMS): Do not use macros from bp-asm.h.
25659 (__stpncpy): Likewise. Do not use BP_SYM.
25660 (stpncpy): Do not use BP_SYM in weak_alias.
25661 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25662 (PARMS): Do not use macros from bp-asm.h.
25665 (strchr): Likewise. Do not use BP_SYM.
25666 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
25668 (PARMS): Do not use macros from bp-asm.h.
25671 (__strchrnul): Likewise. Do not use BP_SYM.
25672 (strchrnul): Do not use BP_SYM in weak_alias.
25673 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
25675 (PARMS): Do not use macros from bp-asm.h.
25677 (strcspn): Do not use BP_SYM.
25678 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
25680 (PARMS): Do not use macros from bp-asm.h.
25683 (strpbrk): Likewise. Do not use BP_SYM.
25684 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
25686 (PARMS): Do not use macros from bp-asm.h.
25689 (strrchr): Likewise. Do not use BP_SYM.
25690 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
25691 (PARMS): Do not use macros from bp-asm.h.
25693 (strspn): Do not use BP_SYM.
25694 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
25695 (PARMS): Do not use macros from bp-asm.h.
25699 (FUNCTION): Likewise. Do not use BP_SYM.
25700 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
25702 (strtok_r): Likewise.
25703 (__GI___strtok_r): Likewise.
25704 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25705 (PARMS): Do not use macros from bp-asm.h.
25709 (__mpn_sub_n): Do not use BP_SYM.
25710 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
25712 (PARMS): Do not use macros from bp-asm.h.
25715 (__mpn_submul_1): Do not use BP_SYM.
25716 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
25718 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
25720 (PARMS): Do not use macros from bp-asm.h.
25725 (__clone): Do not use BP_SYM.
25726 (clone): Do not use BP_SYM in weak_alias.
25727 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
25729 (PARMS): Do not use macros from bp-asm.h.
25731 (__mmap64): Do not use BP_SYM.
25732 (mmap64): Do not use BP_SYM in weak_alias.
25733 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25734 <bp-sym.h> and <bp-asm.h>.
25735 (PARMS): Do not use macros from bp-asm.h.
25736 (__posix_fadvise64_l64): Do not use BP_SYM.
25737 * sysdeps/unix/sysv/linux/i386/semtimedop.S
25738 (PARMS): Do not use macros from bp-asm.h.
25740 (semtimedop): Do not use BP_SYM.
25741 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
25744 2013-02-21 Allan McRae <allan@archlinux.org>
25746 * manual/message.texi (Charset conversion in gettext):
25747 Move @end statement to beginning of line.
25749 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25751 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
25753 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25756 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
25757 (denorm): Likewise.
25758 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
25759 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
25761 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25763 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
25764 tail-call to the resolved function if pltexit isn't needed.
25766 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25768 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
25769 or Y being zero as being unlikely.
25770 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25773 2013-02-20 Carlos O'Donell <carlos@redhat.com>
25775 * manual/nss.texi (System Databases and Name Service Switch):
25776 Remove frobnicate @pxref.
25778 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
25780 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25781 __attribute__ ((unused)) to __attribute__ ((__unused__)).
25783 2013-02-20 Petr Machata <pmachata@redhat.com>
25785 * elf/elf.h (R_ARM_TARGET1): New macro.
25786 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
25787 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
25788 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
25789 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
25790 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
25791 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
25792 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
25793 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
25794 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
25795 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
25796 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
25797 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
25798 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
25799 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
25800 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
25801 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
25802 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
25803 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
25804 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
25805 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
25806 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
25807 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
25808 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
25809 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
25810 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
25811 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
25812 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
25813 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
25814 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
25815 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
25816 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
25817 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
25818 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
25819 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
25820 (R_ARM_THM_GOT_BREL12): Likewise.
25821 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
25822 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
25823 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
25824 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
25825 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
25826 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
25827 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
25828 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
25829 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
25831 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
25833 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25834 __attribute_used__ to __attribute__ ((unused)).
25836 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25838 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
25840 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
25841 comment formatting.
25842 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
25844 2013-02-19 Joseph Myers <joseph@codesourcery.com>
25847 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
25849 (ENTER): Remove both macro definitions.
25851 (CHECK_BOUNDS_LOW): Likewise.
25852 (CHECK_BOUNDS_HIGH): Likewise.
25853 (CHECK_BOUNDS_BOTH): Likewise.
25854 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
25855 (RETURN_BOUNDED_POINTER): Likewise.
25856 (RETURN_NULL_BOUNDED_POINTER): Likewise.
25857 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
25858 (POP_ERRNO_LOCATION_RETURN): Likewise.
25859 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
25860 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25861 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
25863 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25864 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
25865 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
25866 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
25867 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
25868 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
25869 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
25870 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
25871 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
25872 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
25873 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
25874 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
25875 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25876 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
25878 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25879 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
25881 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25882 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
25883 * sysdeps/i386/i586/memset.S (memset): Likewise.
25884 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
25885 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25886 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
25888 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25889 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
25890 Change uses of L(2) to L(out).
25891 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
25892 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
25893 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
25894 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25895 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
25897 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25898 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
25900 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25901 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
25902 (RETURN): Do not use macro LEAVE.
25903 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
25904 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
25905 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
25906 * sysdeps/i386/i686/memset.S (memset): Likewise.
25907 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
25908 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
25909 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25910 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
25912 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25913 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
25914 L(1_2) and L(1_3) into L(1).
25915 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25916 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
25917 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25918 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
25919 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25920 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
25921 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
25922 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25923 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
25925 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
25926 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25927 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
25928 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
25929 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
25930 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25931 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
25932 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
25933 * sysdeps/i386/strcspn.S (strcspn): Likewise.
25934 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
25935 * sysdeps/i386/strrchr.S (strrchr): Likewise.
25936 * sysdeps/i386/strspn.S (strspn): Likewise.
25937 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
25939 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25940 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
25941 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25942 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
25943 L(1_3) into L(1_1).
25944 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
25945 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25946 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
25948 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25950 2013-02-19 Jakub Jelinek <jakub@redhat.com>
25952 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
25955 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25957 * math/atest-exp.c (exp_mpn): Remove ROUND.
25958 * math/atest-exp2.c (exp_mpn): Likewise.
25959 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
25961 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
25962 * stdlib/tst-tls-atexit-lib.c: Likewise.
25963 * stdlib/tst-tls-atexit.c: Likewise.
25965 2013-02-18 Mike Frysinger <vapier@gentoo.org>
25967 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
25968 and __attribute_alloc_size__.
25970 2013-02-18 Mike Frysinger <vapier@gentoo.org>
25972 * include/programs/xmalloc.h: Change __attribute_alloc_size to
25973 __attribute_alloc_size__.
25974 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
25975 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
25977 2013-02-18 Mike Frysinger <vapier@gentoo.org>
25979 * include/programs/xmalloc.h: New file.
25980 * catgets/gencat.c: Include it.
25981 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
25982 * elf/pldd.c: Likewise.
25983 * iconv/iconv_charmap.c: Likewise.
25984 * iconv/iconvconfig.c: Likewise.
25985 * iconv/strtab.c: Likewise.
25986 * locale/programs/locale.c: Likewise.
25987 * locale/programs/localedef.h: Likewise.
25988 * locale/programs/simple-hash.c: Likewise.
25989 * nscd/nscd.h: Likewise.
25990 * nss/makedb.c: Likewise.
25991 * sysdeps/generic/ldconfig.h: Likewise.
25993 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25995 * Versions.def: Add GLIBC_2.18.
25996 * include/link.h (struct link_map): New member l_tls_dtor_count.
25997 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
25998 (__call_tls_dtors): Likewise.
25999 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
26000 __cxa_thread_atexit_impl.
26001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26007 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26009 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26010 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
26012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
26014 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26015 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26017 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26018 (tests): Add test case tst-tls-atexit.
26019 (modules-names): Add shared library for tst-tls-atexit.
26020 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
26021 (GLIBC_PRIVATE): Add __call_tls_dtors.
26022 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
26024 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
26025 * stdlib/tst-tls-atexit.c: New test case.
26026 * stdlib/tst-tls-atexit-lib.c: New test case.
26028 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
26030 * elf/Versions (ld): Add _dl_find_dso_for_object.
26031 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26032 * elf/dl-open.c (_dl_find_dso_for_object): New function.
26033 (dl_open_worker): Use _dl_find_dso_for_object.
26034 * elf/dl-sym.c (do_sym): Likewise.
26035 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
26037 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26039 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
26040 Syntactic changes only.
26041 (_dl_runtime_profile): Do a tail-call to the resolved function.
26043 2013-02-17 Joseph Myers <joseph@codesourcery.com>
26046 * sysdeps/x86_64/bp-asm.h: Remove file.
26047 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
26048 <bp-sym.h> and <bp-asm.h>.
26049 (__clone): Do not use BP_SYM.
26050 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
26051 <bp-sym.h> and <bp-asm.h>.
26052 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26053 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
26055 (_setjmp): Do not use BP_SYM.
26056 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
26058 (setjmp): Do not use BP_SYM.
26059 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
26061 (mempcpy): Do not use BP_SYM in weak_alias.
26062 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
26064 (strchr): Do not use BP_SYM.
26065 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
26067 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
26068 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
26069 (_start): Do not use BP_SYM.
26070 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
26072 (strcat): Do not use BP_SYM.
26073 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
26075 (STRCMP): Do not use BP_SYM.
26076 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
26078 (STRCPY): Do not use BP_SYM.
26079 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
26081 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
26083 (FUNCTION): Do not use BP_SYM.
26084 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
26086 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
26088 2013-02-17 Andreas Jaeger <aj@suse.de>
26090 * time/Versions: Sort entries.
26091 * string/Versions: Likewise.
26092 * resolv/Versions: Likewise.
26093 * posix/Versions: Likewise.
26094 * iconv/Versions: Likewise.
26095 * elf/Versions: Likewise.
26096 * wcsmbs/Versions: Likewise.
26098 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26100 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
26101 loop termination condition.
26103 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
26104 variable to calculate EZ.
26107 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
26108 the lower precision input.
26110 2013-02-15 Joseph Myers <joseph@codesourcery.com>
26113 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
26114 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
26115 (run-via-rtld-prefix): Do not handle %-bp tests.
26116 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
26117 (all-object-suffixes): Remove .ob.
26118 (bppfx): Remove variable.
26119 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
26120 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
26121 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
26122 [$(build-bounded) = yes] (libtype.ob): Likewise.
26123 * Makerules (elide-routines.ob): Remove variable.
26124 (do-tests-clean): Do not handle *-bp.out.
26125 (common-mostlyclean): Do not handle *-bp and *-bp.out.
26126 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
26127 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
26128 (tests): Do not include $(tests-bp.out).
26129 (xtests): Do not include $(xtests-bp.out).
26130 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
26131 [$(build-bounded) = yes] ($(addprefix
26132 $(objpfx),$(binaries-bounded))): Remove rule.
26133 ($(objpfx)%-bp.out): Remove rule.
26134 * config.make.in (build-bounded): Remove variable.
26135 * crypt/Makefile [$(build-bounded) = yes]
26136 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
26137 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
26138 append to variable.
26139 [$(build-bounded) = yes] (install-lib): Likewise.
26140 [$(build-bounded) = yes] (generated): Likewise.
26141 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
26143 * intl/Makefile [$(build-bounded) = yes]
26144 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
26145 * math/Makefile [$(build-bounded) = yes]
26146 ($(tests:%=$(objpfx)%-bp): Likewise.
26147 * misc/Makefile [$(build-bounded) = yes]
26148 ($(objpfx)tst-tsearch-bp): Likewise.
26149 * nptl/Makeconfig (bounded-thread-library): Remove variable.
26150 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
26152 * string/Makefile (o-objects.ob): Remove variable.
26153 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
26154 (CFLAGS-.ob): Remove variable.
26155 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
26156 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
26157 both definitions of variable.
26158 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
26159 (ASFLAGS-.ob): Remove variable.
26161 2013-02-14 Joseph Myers <joseph@codesourcery.com>
26164 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
26165 Remove __BOUNDED_POINTERS__ from condition.
26166 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
26167 * string/bits/string2.h [!__NO_STRING_INLINES &&
26168 !__BOUNDED_POINTERS__]: Likewise.
26169 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
26171 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
26172 Remove conditional code.
26173 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
26174 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
26175 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
26179 * csu/libc-start.c: Do not include <bp-sym.h>.
26180 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
26181 * elf/dl-open.c: Do not include <bp-sym.h>.
26182 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
26183 * math/fegetenv.c: Do not include <bp-sym.h>.
26184 (fegetenv): Do not use BP_SYM in versioned symbols.
26185 * nptl/sysdeps/pthread/bits/libc-lockP.h
26186 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
26188 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26189 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
26190 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26191 (__pthread_mutex_destroy): Likewise.
26192 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26193 (__pthread_mutex_lock): Likewise.
26194 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26195 (__pthread_mutex_trylock): Likewise.
26196 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26197 (__pthread_mutex_unlock): Likewise.
26198 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26199 (__pthread_mutexattr_init): Likewise.
26200 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26201 (__pthread_mutexattr_destroy): Likewise.
26202 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26203 (__pthread_mutexattr_settype): Likewise.
26204 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26205 (__pthread_rwlock_init): Likewise.
26206 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26207 (__pthread_rwlock_destroy): Likewise.
26208 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26209 (__pthread_rwlock_rdlock): Likewise.
26210 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26211 (__pthread_rwlock_tryrdlock): Likewise.
26212 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26213 (__pthread_rwlock_wrlock): Likewise.
26214 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26215 (__pthread_rwlock_trywrlock): Likewise.
26216 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26217 (__pthread_rwlock_unlock): Likewise.
26218 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26219 (__pthread_key_create): Likewise.
26220 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26221 (__pthread_setspecific): Likewise.
26222 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26223 (__pthread_getspecific): Likewise.
26224 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
26226 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26227 (_pthread_cleanup_push_defer): Likewise.
26228 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26229 (_pthread_cleanup_pop_restore): Likewise.
26230 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26231 (pthread_setcancelstate): Likewise.
26232 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
26234 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
26235 (memchr): Do not use BP_SYM in weak_alias.
26236 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
26237 (fegetenv): Do not use BP_SYM in versioned symbols.
26238 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
26239 (fesetenv): Do not use BP_SYM in versioned symbols.
26240 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26241 (feupdateenv): Do not use BP_SYM in versioned symbols.
26242 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26243 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26244 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
26245 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
26246 (open64): Do not use BP_SYM in weak_alias.
26247 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
26248 (fegetenv): Do not use BP_SYM in versioned symbols.
26249 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
26250 (fesetenv): Do not use BP_SYM in versioned symbols.
26251 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26252 (feupdateenv): Do not use BP_SYM in versioned symbols.
26253 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
26254 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
26255 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
26256 (feraiseexcept): Do not use BP_SYM in versioned symbols.
26257 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26258 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26259 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
26261 (__libc_start_main): Do not use BP_SYM.
26263 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26265 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
26266 redundant return line.
26268 (denorm): Likewise.
26269 (dbl_mp): Likewise.
26270 (sub_magnitudes): Likewise.
26276 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
26278 (denorm): Likewise.
26279 (dbl_mp): Likewise.
26280 (sub_magnitudes): Likewise.
26287 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
26289 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26290 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
26293 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
26294 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
26295 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
26296 of __mul for squares.
26297 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
26299 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
26301 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
26302 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26304 2013-02-13 Joseph Myers <joseph@codesourcery.com>
26307 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
26309 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
26310 prototype or function definition. Rename ubp_* variables and
26311 parameters. Remove argv definitions conditional on
26312 [__BOUNDED_POINTERS__].
26313 * debug/backtrace.c (__backtrace): Do not use __unbounded.
26314 * elf/dl-runtime.c (_dl_fixup): Likewise.
26315 * include/set-hooks.h (RUN_HOOK): Likewise.
26316 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
26318 * string/strcpy.c (strcpy): Do not use __unbounded.
26319 * sysdeps/generic/frame.h (struct layout): Likewise.
26320 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
26321 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
26322 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
26323 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
26324 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
26325 (__backtrace): Likewise.
26326 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
26328 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26329 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26330 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26332 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
26333 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
26334 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26335 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26336 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
26337 Do not use __unbounded.
26338 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
26339 Rename __unboundedrlimits parameter to rlimits in prototype.
26340 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
26341 Do not use __unbounded.
26342 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
26343 not use __ptrvalue.
26344 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26345 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
26346 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26347 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
26348 __ptrvalue or __unbounded.
26349 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
26350 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
26352 (__new_msgctl): Do not use __ptrvalue.
26353 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
26355 (__libc_msgrcv): Do not use __ptrvalue.
26356 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
26357 startup_info): Do not use __unbounded.
26358 (__libc_start_main): Likewise. Rename ubp_* variables and
26359 parameters. Remove argv definitions conditional on
26360 [__BOUNDED_POINTERS__].
26361 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
26363 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
26365 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
26367 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
26369 (__new_shmctl): Do not use __ptrvalue.
26370 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26371 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26373 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26374 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
26375 (__libc_sigaction): Likewise.
26376 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
26377 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
26379 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26381 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
26383 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
26385 * string/mempcpy.c: Implement by calling memcpy.
26387 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26389 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
26391 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
26394 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
26395 values in the mantissa.
26397 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
26398 minimize writes to Z.
26399 (sub_magnitudes): Simplify code a bit.
26401 2013-02-12 Roland McGrath <roland@hack.frob.com>
26403 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
26404 from the message. The linker prefixes all warnings with that already.
26406 2013-02-12 Andreas Schwab <schwab@suse.de>
26409 * posix/regexec.c (extend_buffers): Add parameter min_len.
26410 (check_matching): Pass minimum needed length.
26411 (clean_state_log_if_needed): Likewise.
26412 (get_subexp): Likewise.
26413 * posix/Makefile (tests): Add bug-regex34.
26414 (bug-regex34-ENV): Define.
26415 * posix/bug-regex34.c: New file.
26418 * posix/regcomp.c (parse_bracket_exp): When looking up collating
26419 elements compare against the byte sequence of it, not its name.
26420 * posix/Makefile (tests): Add bug-regex35.
26421 (bug-regex35-ENV): Define.
26422 * posix/bug-regex35.c: New file.
26424 2013-02-11 Tom de Vries <tom@codesourcery.com>
26426 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
26428 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
26429 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
26430 (CHECK_EOL): Add undef.
26432 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
26434 * bits/stdlib-bsearch.h: New file.
26435 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
26436 * stdlib/stdlib.h: Likewise.
26438 2013-02-11 Roland McGrath <roland@hack.frob.com>
26440 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
26441 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
26443 * manual/search.texi (Array Search Function): Add missing const in
26445 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
26446 declaration to use rlim_t.
26447 (Basic Scheduling Functions): Remove erroneous const from
26448 sched_getparam prototype. Remove erroneous * from
26449 sched_get_priority_max and sched_get_priority_min prototypes.
26450 (Resource Usage): Fix summary @comment on vtimes to refer to
26451 sys/vtimes.h rather than vtimes.h.
26452 Add missing *s in vtimes prototype.
26453 (Limits on Resources): Fix ulimit prototype to return long int.
26454 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
26455 prototypes to use long int rather than double.
26456 (BSD Random): Fix initstate and setstate to use char *, not void *.
26457 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
26458 prototype to make second argument 'struct aiocb64 *const[]'.
26459 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
26460 (Status of AIO Operations): Remove erroneous const in aio_return and
26461 aio_return64 prototypes.
26462 (Synchronizing I/O): Fix sync prototype to return void.
26463 * manual/startup.texi (Suboptions): Remove an erroneous const in
26464 getsubopt prototype.
26465 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
26466 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
26467 use size_t rather than int.
26468 (Scanning All Users): Likewise for getpwent_r.
26469 (Setting Groups): Add missing const to setgroups prototype.
26470 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
26471 * manual/socket.texi (Host Names): Fix gethostbyaddr and
26472 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
26473 'const void *' rather than 'const char *'.
26474 (Host Address Functions): Likewise for inet_ntop.
26475 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
26476 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
26477 ssize_t for return value.
26478 (Sending Data): Likewise for send, sendto, sendmsg.
26479 (Socket Option Functions): Add a missing const in setsockopt prototype.
26480 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
26481 use wchar_t for the argument.
26482 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
26483 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
26485 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
26486 double/float/long double for second argument.
26487 Fix return types of significand, significandf, significandl.
26488 * manual/filesys.texi (Setting Permissions): Use mode_t for second
26489 argument in fchmod prototype.
26490 (File Owner): Use uid_t and gid_t in fchown prototype.
26491 (File Times): Add const to utimes, futimes, and lutimes prototypes.
26492 (Making Special Files): Use mode_t and dev_t in mknod prototype.
26493 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
26494 use 'const struct dirent **' as argument types to CMP function pointer
26496 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
26497 (File Times): Fix summary magic @comment for struct utimbuf and utime
26498 to refer to utime.h, not time.h.
26499 * manual/string.texi (Argz Functions): Add missing const in
26500 argz_extract and argz_next prototypes.
26501 (Finding Tokens in a String): Likewise for basename.
26502 (String/Array Comparison): Fix typo in wcscasecmp prototype.
26503 (Copying and Concatenation): Fix typo in wmemmove prototype.
26504 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
26505 (Signal Stack): Remove erroneous const in sigstack prototype.
26506 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
26508 (Simple Calendar Time): Likewise for stime.
26509 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
26511 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
26512 say sys/sysctl.h instead.
26513 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
26514 and vsyslog prototypes.
26516 2013-02-11 Tom de Vries <tom@codesourcery.com>
26518 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
26521 2013-02-11 Roland McGrath <roland@hack.frob.com>
26523 * misc/sys/mman.h: Fix typo in mremap comment.
26525 2013-02-08 Roland McGrath <roland@hack.frob.com>
26527 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
26528 the '\0' terminator.
26530 2013-02-08 Joseph Myers <joseph@codesourcery.com>
26533 * debug/segfault.c: Don't include <bp-checks.h>.
26534 * sysdeps/generic/bp-checks.h: Remove file.
26535 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
26536 (__GETDENTS): Don't use CHECK_N.
26537 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
26538 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26539 (__getgroups): Don't use CHECK_N.
26540 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
26541 (setgroups): Don't use CHECK_N.
26542 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
26543 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
26544 (__libc_msgrcv): Don't use CHECK_N.
26545 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
26546 (__libc_msgsnd): Don't use CHECK_N.
26547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
26549 (__libc_pread): Don't use CHECK_N.
26550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
26551 include <bp-checks.h>.
26552 (__libc_pread64): Don't use CHECK_N.
26553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
26554 include <bp-checks.h>.
26555 (__libc_pwrite): Don't use CHECK_N.
26556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
26557 include <bp-checks.h>.
26558 (__libc_pwrite64): Don't use CHECK_N.
26559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
26561 (__libc_pread): Don't use CHECK_N.
26562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
26563 include <bp-checks.h>.
26564 (__libc_pread64): Don't use CHECK_N.
26565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
26566 include <bp-checks.h>.
26567 (__libc_pwrite): Don't use CHECK_N.
26568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
26569 include <bp-checks.h>.
26570 (__libc_pwrite64): Don't use CHECK_N.
26571 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
26572 (do_pread): Don't use CHECK_N.
26573 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
26574 (do_pread64): Don't use CHECK_N.
26575 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
26576 (do_pwrite): Don't use CHECK_N.
26577 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
26578 (do_pwrite64): Don't use CHECK_N.
26579 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
26580 (__libc_readv): Don't use CHECK_N.
26581 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
26582 (semop): Don't use CHECK_N.
26583 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
26585 (semtimedop): Don't use CHECK_N.
26586 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
26587 (__libc_pread): Don't use CHECK_N.
26588 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
26590 (__libc_pread64): Don't use CHECK_N.
26591 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
26593 (__libc_pwrite): Don't use CHECK_N.
26594 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
26596 (__libc_pwrite64): Don't use CHECK_N.
26597 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
26599 (__libc_msgrcv): Don't use CHECK_N.
26600 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
26601 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
26602 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
26603 (__libc_writev): Don't use CHECK_N.
26605 2013-02-08 Roland McGrath <roland@hack.frob.com>
26607 * string/strcpy.c: Removed unused variable.
26609 * Makeconfig (+sysdep-includes): Define with := rather than =.
26610 Use an existing include/ subdir of each sysdeps dir before it.
26612 2013-02-08 Carlos O'Donell <carlos@redhat.com>
26614 * nscd/connection.c (register_traced_file): Comment function.
26615 [HAVE_INOTIFY] (union __inev): Define.
26616 [HAVE_INOTIFY] (inotify_check_files): New function.
26617 [HAVE_INOTIFY] (clear_db_cache): Likewise.
26618 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
26620 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
26622 2013-02-08 Carlos O'Donell <carlos@redhat.com>
26624 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
26625 loaded if not already and that a failure is permanent.
26627 2013-02-08 Carlos O'Donell <carlos@redhat.com>
26630 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
26631 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
26633 2013-02-08 Joseph Myers <joseph@codesourcery.com>
26636 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
26637 (CHECK_1_NULL_OK): Likewise.
26638 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
26639 (__fxstat): Do not use CHECK_1.
26640 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
26642 (___fxstat64): Do not use CHECK_1.
26643 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26645 (__fxstatat): Do not use CHECK_1.
26646 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26648 (__fxstatat64): Do not use CHECK_1.
26649 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
26651 (__fxstat): Do not use CHECK_1.
26652 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26654 (__fxstatat): Do not use CHECK_1.
26655 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26657 (__getresgid): Do not use CHECK_1.
26658 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26660 (__getresuid): Do not use CHECK_1.
26661 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
26663 (__lxstat): Do not use CHECK_1.
26664 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26666 (__old_msgctl): Do not use CHECK_1.
26667 (__new_msgctl): Likewise.
26668 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
26670 (__new_setrlimit): Do not use CHECK_1.
26671 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26673 (__old_shmctl): Do not use CHECK_1.
26674 (__new_shmctl): Likewise.
26675 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
26677 (__xstat): Do not use CHECK_1.
26678 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
26679 (__lxstat): Do not use CHECK_1.
26680 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
26682 (___lxstat64): Do not use CHECK_1.
26683 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
26684 (__old_msgctl): Do not use CHECK_1.
26685 (__new_msgctl): Likewise.
26686 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
26688 (__gettimeofday): Do not use CHECK_1.
26689 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
26690 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
26691 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
26693 (__gettimeofday): Do not use CHECK_1.
26694 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
26695 (__old_shmctl): Do not use CHECK_1_NULL_OK.
26696 (__new_shmctl): Do not use CHECK_1.
26697 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
26699 (do_sigtimedwait): Do not use CHECK_1.
26700 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
26702 (do_sigwaitinfo): Do not use CHECK_1.
26703 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
26705 (msgctl): Do not use CHECK_1.
26706 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
26708 (shmctl): Do not use CHECK_1.
26709 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
26710 (ustat): Do not use CHECK_1.
26711 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
26713 (__fxstat): Do not use CHECK_1.
26714 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26716 (__fxstatat): Do not use CHECK_1.
26717 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
26719 (__lxstat): Do not use CHECK_1.
26720 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
26722 (__xstat): Do not use CHECK_1.
26723 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
26724 (__xstat): Do not use CHECK_1.
26725 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
26726 (___xstat64): Do not use CHECK_1.
26729 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
26731 (CHECK_BOUNDS_HIGH): Likewise.
26732 * string/strcpy.c: Do not include <bp-checks.h>.
26733 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
26735 2013-02-07 Roland McGrath <roland@hack.frob.com>
26737 * nscd/nscd-client.h (__nscd_drop_map_ref):
26738 Add __attribute__ ((unused)).
26739 * nis/nss-nisplus.h (niserr2nss): Likewise.
26741 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
26742 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
26744 * csu/libc-tls.c (init_static_tls, init_slotinfo):
26745 Remove inline keyword.
26746 * include/rounding-mode.h (round_away): Likewise.
26747 * libio/wfileops.c (adjust_wide_data): Likewise.
26748 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
26749 (__m128i_strloadu_tolower): Likewise.
26750 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
26751 (__m128i_strloadu_tolower): Likewise.
26752 * time/mktime.c (ydhms_diff): Likewise.
26753 * locale/elem-hash.h (elem_hash): Likewise.
26754 * locale/setlocale.c (setdata): Likewise.
26755 * posix/regex_internal.h (re_string_char_size_at): Likewise.
26756 (re_string_wchar_at): Likewise.
26757 (bitset_not, bitset_merge, bitset_mask): Likewise.
26758 [!(__GNUC__ > 3)] (inline): Remove macro.
26759 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
26760 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
26761 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
26762 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
26763 * string/memcmp.c (memcmp_bytes): Likewise.
26764 * locale/programs/locarchive.c (compute_hashval): Likewise.
26765 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
26766 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
26767 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
26768 * nss/getent.c (print_rpc, print_protocols): Likewise.
26769 (print_passwd, print_group, print_aliases): Likewise.
26770 * nis/nss-nisplus.h (niserr2nss): Likewise.
26771 * nscd/connections.c (restart_p): Likewise.
26772 Change return type to bool.
26774 2013-02-05 Roland McGrath <roland@hack.frob.com>
26776 * Makeconfig (all-Depend-files): Add existing
26777 $(sorted-subdirs:=/Depend) files.
26778 (all-subdirs): Remove nss.
26779 * sysdeps/unix/inet/Subdirs: Add it here instead.
26780 * hesiod/Depend: New file.
26782 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
26783 instead of calling alloca.
26785 * io/lseek.c (__lseek): Rename to __libc_lseek.
26786 Define __lseek as an alias.
26788 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
26790 2013-02-04 Carlos O'Donell <carlos@redhat.com>
26792 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
26793 else clause and remove check for non-standard endianness.
26795 2013-02-04 David S. Miller <davem@davemloft.net>
26797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26799 2013-02-04 Joseph Myers <joseph@codesourcery.com>
26802 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
26803 (__ubp_memchr): Remove prototype.
26804 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
26805 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26806 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
26807 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26808 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
26810 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
26811 (__ubp_memchr): Likewise.
26812 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
26813 (__ubp_memchr): Likewise.
26814 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
26815 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
26816 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
26817 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
26819 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26820 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
26821 (__getcwd): Do not use CHECK_STRING.
26822 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26824 (__real_chown): Do not use CHECK_STRING.
26825 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
26827 (fchownat): Do not use CHECK_STRING.
26828 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
26830 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26832 (__lchown): Do not use CHECK_STRING.
26833 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26834 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26835 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26836 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
26837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26838 include <bp-checks.h>.
26839 (truncate64): Do not use CHECK_STRING.
26840 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26842 (__real_chown): Do not use CHECK_STRING.
26843 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26845 (__lchown): Do not use CHECK_STRING.
26846 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26848 (__chown): Do not use CHECK_STRING.
26849 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
26851 (truncate64): Do not use CHECK_STRING.
26852 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
26854 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
26855 (__xmknod): Do not use CHECK_STRING.
26856 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26858 (__xmknodat): Do not use CHECK_STRING.
26859 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26860 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
26862 2013-02-04 Andreas Schwab <schwab@suse.de>
26865 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
26866 * include/netdb.h: Likewise for h_errno.
26867 * elf/tst-stackguard1.c: Include <tls.h>.
26869 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
26871 * elf/link.h (struct link_map): Extend the l_addr comment.
26872 * include/link.h (struct link_map): Likewise.
26874 2013-02-01 Joseph Myers <joseph@codesourcery.com>
26877 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
26878 (BOUNDED_1): Remove macro.
26879 * debug/backtrace.c: Don't include <bp-checks.h>.
26880 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
26881 (__backtrace): Likewise.
26882 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
26884 (__backtrace): Don't use BOUNDED_1.
26885 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
26887 (__backtrace): Don't use BOUNDED_1.
26888 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
26889 (__backtrace): Don't use BOUNDED_1.
26890 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
26891 (shmat): Don't use BOUNDED_N.
26893 2013-01-31 Joseph Myers <joseph@codesourcery.com>
26896 * sysdeps/generic/bp-start.h: Remove file.
26897 * csu/libc-start.c: Don't include <bp-start.h>.
26898 (LIBC_START_MAIN): Set up __environ directly instead of using
26899 INIT_ARGV_and_ENVIRON.
26900 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
26904 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
26906 (CHECK_FCNTL): Likewise.
26907 (CHECK_N_PAGES): Likewise.
26910 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
26912 (CHECK_SIGSET_NULL_OK): Likewise.
26913 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
26915 (sigpending): Don't use CHECK_SIGSET.
26916 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
26918 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26919 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
26921 (do_sigsuspend): Don't use CHECK_SIGSET.
26922 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
26924 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
26925 (do_sigwait): Don't use CHECK_SIGSET.
26926 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
26928 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
26929 include <bp-checks.h>.
26930 (sigpending): Don't use CHECK_SIGSET.
26931 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
26932 include <bp-checks.h>.
26933 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26934 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
26936 (sigpending): Don't use CHECK_SIGSET.
26937 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
26939 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26942 * sysdeps/generic/bp-semctl.h: Remove file.
26943 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
26944 <bp-checks.h> and <bp-semctl.h>.
26945 (__old_semctl): Don't use CHECK_SEMCTL.
26946 (__new_semctl): Likewise.
26947 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
26949 (__old_semctl): Don't use CHECK_SEMCTL.
26950 (__new_semctl): Likewise.
26951 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
26952 <bp-checks.h> and <bp-semctl.h>.
26953 (__old_semctl): Don't use CHECK_SEMCTL.
26954 (__new_semctl): Likewise.
26955 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
26956 <bp-checks.h> and <bp-semctl.h>.
26957 (semctl): Don't use CHECK_SEMCTL.
26960 * Makerules (elide-bp-thunks): Remove variable.
26961 (elide-routines.oS): Don't use $(elide-bp-thunks).
26962 (elide-routines.os): Likewise.
26963 (elide-routines.o): Likewise.
26964 (elide-routines.op): Likewise.
26965 (elide-routines.og): Likewise.
26966 (objects): Don't use $(bp-thunks).
26967 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
26969 (common-generated): Do not add s-proto-bp.d.
26970 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
26973 Do not generate makefile rules for bounded-pointer thunks.
26974 * sysdeps/generic/bp-thunks.h: Remove file.
26975 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
26976 * sysdeps/unix/s-proto-bp.S: Likewise.
26979 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
26980 parts of result separately when argument is not close to line from
26981 -i to i and one part of argument is small.
26982 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26983 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26984 * math/libm-test.inc (cacos_test): Add more tests.
26985 (casin_test): Likewise.
26986 (casinh_test): Likewise.
26987 * sysdeps/i386/fpu/libm-test-ulps: Update.
26988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26990 2013-01-31 David S. Miller <davem@davemloft.net>
26992 * po/de.po: Update from translation team.
26994 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
26996 * time/tzfile.c: Include stdint.h for SIZE_MAX.
26998 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
27000 * configure.in (_AC_PROG_CC_C89): New definition.
27001 * configure: Regenerate.
27003 * configure.in (AC_PROG_CPP): New definition.
27004 * configure: Regenerate.
27006 2013-01-23 Joseph Myers <joseph@codesourcery.com>
27008 * debug/tst-backtrace.h: New file.
27009 * debug/tst-backtrace2.c: Include tst-backtrace.h.
27010 (ret): Remove variable.
27012 (FAIL): Remove macro.
27013 (NO_INLINE): Likewise.
27014 (fn1): Use match function instead of strstr.
27015 * debug/tst-backtrace3.c: Include tst-backtrace.h.
27016 (ret): Remove variable.
27018 (FAIL): Remove macro.
27019 (NO_INLINE): Likewise.
27020 (fn): Use match function instead of strstr.
27021 * debug/tst-backtrace4.c: Include tst-backtrace.h.
27022 (ret): Remove variable.
27024 (FAIL): Remove macro.
27025 (NO_INLINE): Likewise.
27026 (handle_signal): Use match function instead of strstr.
27027 * debug/tst-backtrace5.c: Include tst-backtrace.h.
27028 (ret): Remove variable.
27030 (FAIL): Remove macro.
27031 (NO_INLINE): Likewise.
27032 (handle_signal): Use match function instead of strstr.
27034 2013-01-23 Roland McGrath <roland@hack.frob.com>
27036 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
27038 2013-01-23 David S. Miller <davem@davemloft.net>
27040 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
27041 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
27042 argument of CAS if possible.
27043 * sysdeps/sparc/sparc64/bits/atomic.h
27044 (__arch_compare_and_exchange_val_32_acq): Likewise.
27045 (__arch_compare_and_exchange_val_64_acq): Likewise.
27047 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
27049 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
27050 * sysdeps/posix/ulimit.c: ... this.
27051 Include <limits.h>.
27052 * sysdeps/unix/bsd/ulimit.c: Remove file.
27054 2013-01-23 Adam Conrad <adconrad@0c3.net>
27056 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
27057 (LDFLAGS-tst-array5): Likewise.
27059 2013-01-23 Joseph Myers <joseph@codesourcery.com>
27062 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
27063 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
27064 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
27065 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
27067 2013-01-21 David S. Miller <davem@davemloft.net>
27069 * sysdeps/sparc/backtrace.c: New file.
27070 * sysdeps/sparc/sparc32/backtrace.h: New file.
27071 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
27072 * sysdeps/sparc/sparc64/backtrace.h: New file.
27073 * sysdeps/sparc/sparc64/backtrace.c: Delete.
27074 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
27077 2013-01-21 Andreas Schwab <schwab@suse.de>
27080 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
27083 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
27085 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
27087 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27089 2013-01-18 Joseph Myers <joseph@codesourcery.com>
27090 Mark Mitchell <mark@codesourcery.com>
27091 Tom de Vries <tom@codesourcery.com>
27092 Paul Pluzhnikov <ppluzhnikov@google.com>
27094 * debug/tst-backtrace2.c: New file.
27095 * debug/tst-backtrace3.c: Likewise.
27096 * debug/tst-backtrace4.c: Likewise.
27097 * debug/tst-backtrace5.c: Likewise.
27098 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
27099 (CFLAGS-tst-backtrace3.c): Likewise.
27100 (CFLAGS-tst-backtrace4.c): Likewise.
27101 (CFLAGS-tst-backtrace5.c): Likewise.
27102 (LDFLAGS-tst-backtrace2): Likewise.
27103 (LDFLAGS-tst-backtrace3): Likewise.
27104 (LDFLAGS-tst-backtrace4): Likewise.
27105 (LDFLAGS-tst-backtrace5): Likewise.
27106 (tests): Add new tests tst-backtrace2, tst-backtrace3,
27107 tst-backtrace4 and tst-backtrace5.
27109 2013-01-18 Anton Blanchard <anton@samba.org>
27110 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27112 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
27113 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
27114 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
27115 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
27116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27117 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
27118 "+r" and remove output regs list as redundant. Add explicit inline
27119 asm to specify register of return val to work around compiler codegen
27120 bug. Remove (int) cast on return value. Add return type parameter to
27121 use in macro so that this macro does not truncate return value for
27123 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
27124 pass to INTERNAL_VSYSCALL_NCS.
27125 (INLINE_VSYSCALL): Add 'long int' as return type to
27126 INTERNAL_VSYSCALL_NCS macro invocation.
27127 (INTERNAL_VSYSCALL): Add 'long int' as return type to
27128 INTERNAL_VSYSCALL_NCS macro invocation.
27129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27131 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27134 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
27135 Fix application of SIMD FP exception mask.
27137 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
27138 mp_no from a power of two.
27139 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
27140 __mpexp_twomm1. Use __pow_mp.
27142 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
27145 2013-01-17 David S. Miller <davem@davemloft.net>
27147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27149 2013-01-17 Joseph Myers <joseph@codesourcery.com>
27152 * include/complex.h: Condition contents on [!_COMPLEX_H].
27153 (__kernel_casinhf): New prototype.
27154 (__kernel_casinh): Likewise.
27155 (__kernel_casinhl): Likewise.
27156 * math/Makefile (libm_calls): Add k_casinh.
27157 * math/k_casinh.c: New file.
27158 * math/k_casinhf.c: Likewise.
27159 * math/k_casinhl.c: Likewise.
27160 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
27161 finite nonzero arguments.
27162 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
27163 finite nonzero arguments.
27164 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
27165 finite nonzero arguments.
27166 * math/s_casinh.c: Do not include <float.h>.
27167 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
27168 * math/s_casinhf.c: Do not include <float.h>.
27169 (__casinhf): Move code for finite nonzero arguments to
27171 * math/s_casinhl.c: Do not include <float.h>.
27172 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
27174 (__casinhl): Move code for finite nonzero arguments to
27176 * math/libm-test.inc (cacos_test): Add more tests.
27177 * sysdeps/i386/fpu/libm-test-ulps: Update.
27178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27180 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
27182 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
27183 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
27184 [!HAVE_MREMAP]: Remove [defined linux] case.
27185 * malloc/arena.c: Do not include <malloc-sysdep.h>.
27187 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27189 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
27191 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
27193 * elf/elf.h (R_386_SIZE32): New relocation.
27194 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
27196 (elf_machine_rela): Likewise.
27197 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27198 R_X86_64_SIZE64 and R_X86_64_SIZE32.
27200 2013-01-17 Joseph Myers <joseph@codesourcery.com>
27202 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
27203 (FP_FAST_FMA): Do not define.
27204 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
27205 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
27206 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
27207 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
27208 !_SOFT_FLOAT]: Likewise.
27209 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
27210 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
27212 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
27213 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
27214 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
27215 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
27216 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
27217 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
27220 2013-01-16 Andreas Schwab <schwab@suse.de>
27223 * include/stdlib.h (__mktemp): Add declaration.
27224 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
27225 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
27227 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27229 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
27231 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27232 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
27233 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
27235 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
27236 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
27238 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
27240 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
27241 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
27242 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
27244 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
27245 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
27247 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27249 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
27251 2013-01-15 David S. Miller <davem@davemloft.net>
27253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27254 trunc{,f} to libm-sysdep_routes.
27255 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
27258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
27259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
27261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
27263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
27264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
27265 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
27266 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
27267 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
27268 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
27269 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
27270 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
27272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27273 nearbyint{,f} to libm-sysdep_routes.
27274 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
27277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
27279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
27281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
27283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
27284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
27285 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
27287 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
27288 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
27290 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
27291 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
27292 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
27294 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27295 libc_feholdexcept and libc_fesetenv.
27297 2013-01-15 Mike Frysinger <vapier@gentoo.org>
27299 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
27301 2013-01-14 David S. Miller <davem@davemloft.net>
27303 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
27304 (SPARC_ASM_VIS2_IFUNC): Likewise.
27305 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
27306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
27307 use of 'siam' instruction.
27308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
27310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
27312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
27314 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
27315 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
27316 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
27317 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
27318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
27320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
27322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
27324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
27326 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
27327 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
27328 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
27329 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
27330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
27332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27336 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27337 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27338 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27339 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
27341 routines to libm-sysdep_routines.
27342 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27345 fdim/fdimf to libm-sysdep_routines.
27346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
27348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
27349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
27351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
27352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
27353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
27354 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
27355 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
27356 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
27357 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
27359 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27361 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
27362 to optimize copies.
27364 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
27365 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27366 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27368 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
27369 local variable MPTWO.
27370 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27373 2013-01-13 Mike Frysinger <vapier@gentoo.org>
27375 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
27378 2013-01-13 Mike Frysinger <vapier@gentoo.org>
27380 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
27382 2013-01-13 Mike Frysinger <vapier@gentoo.org>
27384 * manual/pattern.texi (glob_t): Document gl_flags.
27385 (glob64_t): Likewise.
27387 2013-01-11 David S. Miller <davem@davemloft.net>
27389 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
27390 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
27391 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
27392 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
27393 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
27394 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
27395 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
27396 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
27397 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
27398 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
27399 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
27400 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
27401 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
27403 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27404 sparc V9 rather than using V8 code.
27405 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27406 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27408 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27410 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
27413 2013-01-11 Roland McGrath <roland@hack.frob.com>
27415 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
27416 not in the main loop.
27417 * configure: Regenerated.
27419 2013-01-11 Joseph Myers <joseph@codesourcery.com>
27421 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
27422 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
27424 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
27425 [!__GLIBC_HAVE_LONG_LONG] case.
27426 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
27427 condition to just #else.
27428 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
27429 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
27430 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
27431 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
27433 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
27434 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27435 #elif condition to just #else.
27436 * sysdeps/unix/sysv/linux/sys/sysmacros.h
27437 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
27438 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27439 #elif condition to just #else.
27441 2013-01-11 Steve Ellcey <sellcey@mips.com>
27443 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
27444 (EF_MIPS_ARCH_64): Fix value.
27445 (EF_MIPS_ARCH_32R2): New.
27446 (EF_MIPS_ARCH_64R2): New.
27448 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
27450 * Makeconfig (+link-pie-before-libc): New.
27451 (+link-pie-after-libc): Likewise.
27452 (+link-pie-tests): Likewise.
27453 (+link-pie): Rewritten.
27454 (link-before-libc): Remove $(config-LDFLAGS).
27455 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
27456 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
27457 (config-LDFLAGS): Renamed to ...
27458 (rtld-LDFLAGS): This.
27459 (rtld-tests-LDFLAGS): New macro.
27460 (link-libc-rpath-link): Likewise.
27461 (link-libc-tests-rpath-link): Likewise.
27462 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
27463 (link-libc): Prepand $(link-libc-rpath-link).
27464 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
27465 (test-program-prefix): New macro.
27466 (test-via-rtld-prefix): Likewise.
27467 (test-program-cmd): Likewise.
27468 (host-test-program-cmd): Likewise.
27469 * Makefile ($(common-objpfx)testrun.sh): Replace
27470 $(run-program-prefix) with $(test-program-prefix).
27471 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
27473 ($(common-objpfx)shlib.lds): Likewise.
27474 (build-module-helper): Likewise.
27475 ($(common-objpfx)format.lds): Likewise.
27476 * Rules (binaries-pie-tests): New.
27477 (binaries-pie-notests): Likewise.
27478 (binaries-pie): Rewritten.
27479 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
27480 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
27481 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
27482 (make-test-out): Replace $(host-built-program-cmd) with
27483 $(host-test-program-cmd).
27484 * config.make.in (build-hardcoded-path-in-tests): New variable.
27485 * configure.in (--enable-hardcoded-path-in-tests): New configure
27487 (hardcoded_path_in_tests): New AC_SUBST.
27488 * configure: Regenerated.
27489 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
27490 $(built-program-cmd) with $(test-program-cmd).
27491 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
27492 (test_program_cmd): This.
27493 * elf/Makefile ($(objpfx)order.out): Run test with
27494 $(test-program-prefix).
27495 ($(objpfx)order2.out): Likewise.
27496 ($(objpfx)tst-initorder.out): Likewise.
27497 ($(objpfx)tst-initorder2.out): Likewise.
27498 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
27499 $(test-program-cmd).
27500 ($(objpfx)tst-array1-static.out): Likewise.
27501 ($(objpfx)tst-array2.out): Likewise.
27502 ($(objpfx)tst-array3.out): Likewise.
27503 ($(objpfx)tst-array4.out): Likewise.
27504 ($(objpfx)tst-array5.out): Likewise.
27505 ($(objpfx)tst-array5-static.out): Likewise.
27506 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
27507 $(test-program-cmd).
27508 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
27509 $(run-program-prefix) with $(test-program-prefix).
27510 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
27511 (test_program_prefix): This.
27512 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
27513 $(run-program-prefix) with $(test-program-prefix).
27514 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
27515 (test_program_prefix): This.
27516 * iconvdata/tst-tables.sh: Likewise.
27517 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
27518 $(run-program-prefix) with $(test-program-prefix).
27519 ($(objpfx)tst-translit.out): Likewise.
27520 ($(objpfx)tst-gettext2.out): Likewise.
27521 ($(objpfx)tst-gettext4.out): Likewise.
27522 ($(objpfx)tst-gettext6.out): Likewise.
27523 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
27524 (test_program_prefix): This.
27525 * intl/tst-gettext2.sh: Likewise.
27526 * intl/tst-gettext4.sh Likewise.
27527 * intl/tst-gettext6.sh: Likewise.
27528 * intl/tst-translit.sh: Likewise.
27529 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
27530 with $(test-program-cmd).
27531 * libio/Makefile ($(objpfx)test-freopen.out): Replace
27532 $(run-program-prefix) with $(test-program-prefix).
27533 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
27534 (test_program_prefix): This.
27535 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
27536 $(run-program-prefix) with $(test-program-prefix).
27537 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
27538 (test_program_prefix): This.
27539 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
27540 * posix/Makefile ($(objpfx)globtest.out): Replace
27541 $(run-via-rtld-prefix) and $(test-wrapper) with
27542 $(test-program-prefix) and $(test-via-rtld-prefix).
27543 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
27544 $(test-program-prefix).
27545 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
27546 $(host-test-program-cmd).
27547 (tst-spawn-ARGS): Likewise.
27548 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
27549 $(test-program-prefix).
27550 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
27551 (test_via_rtld_prefix): This.
27552 (test_wrapper): Renamed to ...
27553 (test_program_prefix): This.
27554 (run_program_prefix): Replaced by test_program_prefix.
27555 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
27556 (test_program_prefix): This.
27557 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
27558 with $(host-test-program-cmd).
27559 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
27560 $(run-program-prefix) with $(test-program-prefix).
27561 ($(objpfx)tst-printf.out): Likewise.
27562 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
27563 $(test-program-cmd).
27564 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
27565 (test_program_prefix): This.
27566 * stdio-common/tst-unbputc.sh: Likewise.
27567 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
27568 $(run-program-prefix) with $(test-program-prefix).
27569 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
27570 (test_program_prefix): This.
27571 * string/Makefile ($(objpfx)tst-svc.out): Replace
27572 $(built-program-cmd) with $(test-program-cmd).
27574 2013-01-11 Andreas Jaeger <aj@suse.de>
27577 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
27578 value. Sync with Linux 3.7.
27580 2013-01-10 David S. Miller <davem@davemloft.net>
27582 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
27583 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27584 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27586 2013-01-10 Roland McGrath <roland@hack.frob.com>
27588 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
27590 * configure: Regenerated.
27592 2013-01-10 David S. Miller <davem@davemloft.net>
27594 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27595 sparc V9 rather than using V8 code.
27596 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27597 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27599 2013-01-10 Roland McGrath <roland@hack.frob.com>
27601 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
27602 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
27603 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
27604 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
27605 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
27606 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
27607 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
27608 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
27609 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
27610 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
27611 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
27612 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
27613 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
27614 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
27615 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
27616 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
27617 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
27618 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
27619 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
27620 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
27621 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
27622 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
27623 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
27624 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
27625 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
27626 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
27627 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
27629 2013-01-10 David S. Miller <davem@davemloft.net>
27631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27633 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27635 * posix/Makefile (tests-static): New variable.
27636 (tests): Add $(tests-static).
27637 (tst-exec-static-ARGS): New variable.
27638 (tst-spawn-static-ARGS): Likewise.
27639 * posix/tst-exec-static.c: New file.
27640 * posix/tst-spawn-static.c: Likewise.
27641 * posix/tst-exec.c: Support run directly.
27642 * posix/tst-spawn.c: Likewise.
27644 2013-01-10 Joseph Myers <joseph@codesourcery.com>
27646 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
27648 * math/bits/mathcalls.h (llrint): Likewise.
27649 (llround): Likewise.
27650 * stdlib/stdlib.h (struct drand48_data): Likewise.
27651 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
27652 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
27653 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
27655 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
27657 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
27658 (elf_greg_t): Likewise.
27659 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
27660 (__jmp_buf): Likewise.
27661 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
27663 (llrint): Likewise, for all definitions.
27664 (llrintl): Likewise.
27666 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
27667 Remove [__GNUC__] condition.
27668 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
27669 condition to just [__USE_ISOC99].
27670 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
27672 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27675 * sysdeps/unix/sysv/linux/x86/bits/environments.h
27676 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
27678 (_POSIX_V6_ILP32_OFF32): Likewise.
27679 (_XBS5_ILP32_OFF32): Likewise.
27680 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
27681 (__ILP32_OFFBIG_LDFLAGS): Likewise.
27683 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27685 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
27687 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
27688 doubles __mpexp_twomm1. Adjust usage.
27689 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
27692 2013-01-10 Andreas Schwab <schwab@suse.de>
27695 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
27696 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
27698 2013-01-09 David S. Miller <davem@davemloft.net>
27701 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
27702 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
27703 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
27704 (TCP_FASTOPEN): Define.
27705 (tcp_repair_opt): New structure.
27706 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
27708 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
27709 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
27710 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
27711 (tcp_cookie_transactions): New structure.
27713 2013-01-09 Anton Blanchard <anton@samba.org>
27715 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
27716 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
27717 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
27718 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
27720 2013-01-09 Joseph Myers <joseph@codesourcery.com>
27722 * include/features.h (__USE_ANSI): Remove.
27724 2013-01-09 Roland McGrath <roland@hack.frob.com>
27726 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
27728 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
27730 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
27732 * sysdeps/s390/fpu/libm-test-ulps: Update.
27734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27736 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
27740 (denorm): Likewise.
27741 (__mp_dbl): Likewise.
27742 (__dbl_mp): Likewise.
27743 (add_magnitudes): Likewise.
27744 (sub_magnitudes): Likewise.
27750 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
27754 (denorm): Likewise.
27755 (__mp_dbl): Likewise.
27756 (__dbl_mp): Likewise.
27757 (add_magnitudes): Likewise.
27758 (sub_magnitudes): Likewise.
27764 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
27768 (denorm): Likewise.
27769 (__mp_dbl): Likewise.
27770 (__dbl_mp): Likewise.
27771 (add_magnitudes): Likewise.
27772 (sub_magnitudes): Likewise.
27779 2013-01-08 Joseph Myers <joseph@codesourcery.com>
27781 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
27782 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
27783 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
27784 2 && __USE_EXTERN_INLINES]: Likewise.
27786 2013-01-08 Andreas Jaeger <aj@suse.de>
27789 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
27791 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27792 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27794 2013-01-07 Anton Blanchard <anton@samba.org>
27796 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
27797 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27798 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
27799 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27800 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
27801 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27802 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
27803 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27804 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27805 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27806 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27807 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27808 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27809 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27810 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27811 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27812 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27813 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27814 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27815 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
27816 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27817 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
27818 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27819 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27820 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
27821 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
27822 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27823 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27824 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
27825 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27826 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27827 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27828 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27829 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27830 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27831 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27832 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27833 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27834 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
27835 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27836 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
27837 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27838 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27840 2013-01-07 Joseph Myers <joseph@codesourcery.com>
27842 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
27843 (__MALLOC_PMT): Likewise.
27844 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
27845 [__GNUC__], only on [_LIBC].
27846 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27847 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
27848 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27849 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
27850 forward declaration.
27851 (realloc_hook_ini): Likewise.
27852 (memalign_hook_ini): Likewise.
27853 (__libc_memalign): Do not use __MALLOC_PMT in variable
27855 (__libc_valloc): Likewise.
27856 (__libc_pvalloc): Likewise.
27857 (__libc_calloc): Likewise.
27858 (__posix_memalign): Likewise.
27861 * math/s_casinh.c: Include <float.h>.
27862 (__casinh): Do not do computation with squaring and square root
27863 for large arguments.
27864 * math/s_casinhf.c: Include <float.h>.
27865 (__casinhf): Do not do computation with squaring and square root
27866 for large arguments.
27867 * math/s_casinhl.c: Include <float.h>.
27868 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
27869 (__casinhl): Do not do computation with squaring and square root
27870 for large arguments.
27871 * math/libm-test.inc (casin_test): Add more tests.
27872 (casinh_test): Likewise.
27873 * sysdeps/i386/fpu/libm-test-ulps: Update.
27874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27876 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
27878 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
27879 (__x86_64_raw_data_cache_size): Likewise.
27880 (__x86_64_data_cache_size_half): Likewise.
27881 (__x86_64_raw_data_cache_size_half): Likewise.
27882 (__x86_64_shared_cache_size): Likewise.
27883 (__x86_64_raw_shared_cache_size): Likewise.
27884 (__x86_64_shared_cache_size_half): Likewise.
27885 (__x86_64_raw_shared_cache_size_half): Likewise.
27886 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
27888 (__x86_data_cache_size): This.
27889 (__x86_64_raw_data_cache_size): Renamed to ...
27890 (__x86_raw_data_cache_size): This.
27891 (__x86_64_data_cache_size_half): Renamed to ...
27892 (__x86_data_cache_size_half): This.
27893 (__x86_64_raw_data_cache_size_half): Renamed to ...
27894 (__x86_raw_data_cache_size_half): This.
27895 (__x86_64_shared_cache_size): Renamed to ...
27896 (__x86_shared_cache_size): This.
27897 (__x86_64_raw_shared_cache_size): Renamed to ...
27898 (__x86_raw_shared_cache_size): This.
27899 (__x86_64_shared_cache_size_half): Renamed to ...
27900 (__x86_shared_cache_size_half): This.
27901 (__x86_64_raw_shared_cache_size_half): Renamed to ...
27902 (__x86_raw_shared_cache_size_half): This.
27903 * sysdeps/x86_64/memcpy.S: Updated.
27904 * sysdeps/x86_64/memset.S: Likewise.
27905 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27906 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27907 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27909 2013-01-04 David S. Miller <davem@davemloft.net>
27911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27913 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
27915 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
27916 1 to avoid redefinition warning.
27917 (__USE_GNU): Don't define.
27918 (init_signaling_nan): Protoize.
27920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27922 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27924 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
27925 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
27926 (__cpymn): Likewise.
27927 (norm): Remove commented code.
27928 (denorm): Likewise.
27929 (__mp_dbl): Likewise.
27931 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
27932 (__cpymn): Likewise.
27933 (norm): Remove commented code.
27934 (denorm): Likewise.
27935 (__mp_dbl): Likewise.
27938 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
27939 mp_no value for 1.0 and 2.0.
27940 (norm): Use RADIXI instead of radixi.d.
27941 (denorm): Likewise.
27942 (__mul): Use 0.0 instead of zero.d.
27943 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
27944 mp_no value for 1.0 and 2.0.
27945 (norm): Use RADIXI instead of radixi.d.
27946 (denorm): Likewise.
27947 (__mul): Use 0.0 instead of zero.d.
27949 2013-01-04 Joseph Myers <joseph@codesourcery.com>
27952 * math/s_casinh.c (__casinh): Reduce finite argument to first
27953 quadrant then set signs of results at the end.
27954 * math/s_casinhf.c (__casinhf): Likewise.
27955 * math/s_casinhl.c (__casinhl): Likewise.
27956 * math/libm-test.inc (casin_test): Add more tests.
27957 (casinh_test): Likewise.
27958 * sysdeps/i386/fpu/libm-test-ulps: Update.
27959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27961 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27963 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
27965 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
27967 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
27969 (denorm): Likewise.
27970 (__mp_dbl): Likewise.
27973 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
27974 and adjust the header comment.
27976 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
27977 variable name from declaration.
27979 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
27981 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27982 Initialize COMMON_CPUID_INDEX_7 element.
27983 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
27984 (CPUID_RTM): Likewise.
27985 (HAS_RTM): Likewise.
27986 (COMMON_CPUID_INDEX_7): New enum.
27988 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
27991 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
27992 size is zero, record memory as freed.
27994 2013-01-03 Andreas Jaeger <aj@suse.de>
27996 * po/ia.po: Add new Interlingua translation.
27998 2012-01-03 Allan McRae <allan@archlinux.org>
28000 * locale/programs/localedef.c: Fix description of '--posix' flag.
28002 2013-01-02 Joseph Myers <joseph@codesourcery.com>
28004 * NEWS: Update dates in second copyright notice.
28005 * README: Update copyright dates in example.
28006 * manual/libc.texinfo: Update copyright dates.
28007 * scripts/test-installation.pl: Update copyright date in --version
28010 * hurd/ctty-input.c: Fix copyright notice formatting.
28011 * hurd/ctty-output.c: Likewise.
28012 * hurd/dtable.c: Likewise.
28013 * hurd/hurd-raise.c: Likewise.
28014 * hurd/hurdprio.c: Likewise.
28015 * hurd/msgportdemux.c: Likewise.
28016 * misc/sys/file.h: Likewise.
28017 * misc/sys/ioctl.h: Likewise.
28018 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28019 * sysdeps/mach/hurd/chdir.c: Likewise.
28020 * sysdeps/mach/hurd/fchdir.c: Likewise.
28021 * sysdeps/mach/hurd/rename.c: Likewise.
28022 * sysdeps/mach/hurd/rmdir.c: Likewise.
28023 * sysdeps/mach/hurd/seekdir.c: Likewise.
28024 * sysdeps/mach/hurd/setsid.c: Likewise.
28025 * sysdeps/posix/wait3.c: Likewise.
28027 * All files with FSF copyright notices: Update copyright dates
28028 using scripts/update-copyrights.
28029 * intl/plural.c: Regenerated.
28030 * locale/programs/charmap-kw.h: Likewise.
28031 * locale/programs/locfile-kw.h: Likewise.
28033 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28035 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
28038 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
28039 calculation loop and add branch prediction.
28041 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
28042 check access beyond bounds of m1np.
28044 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28046 (__inv): Remove local variable MPTWO to use the global
28048 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
28049 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28051 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
28052 MP3HALFS static const.
28054 2013-01-01 David S. Miller <davem@davemloft.net>
28056 * po/ca.po: Update from translation team.
28058 2013-01-01 Joseph Myers <joseph@codesourcery.com>
28060 * scripts/update-copyrights: New file.
28061 * Makeconfig: Reformat copyright notice.
28062 * ctype/ctype.h: Likewise.
28063 * debug/swprintf_chk.c: Likewise.
28064 * elf/dl-cache.c: Likewise.
28065 * elf/dl-debug.c: Likewise.
28066 * elf/dl-object.c: Likewise.
28067 * grp/initgroups.c: Likewise.
28068 * hurd/Makefile: Likewise.
28069 * hurd/hurd/signal.h: Likewise.
28070 * hurd/hurdfault.c: Likewise.
28071 * hurd/hurdioctl.c: Likewise.
28072 * hurd/hurdlookup.c: Likewise.
28073 * hurd/intr-msg.c: Likewise.
28074 * iconv/gconv_open.c: Likewise.
28075 * libio/swprintf.c: Likewise.
28076 * locale/lc-ctype.c: Likewise.
28077 * locale/nl_langinfo.c: Likewise.
28078 * mach/Machrules: Likewise.
28079 * mach/Makefile: Likewise.
28080 * malloc/obstack.h: Likewise.
28081 * manual/Makefile: Likewise.
28082 * manual/tsort.awk: Likewise.
28083 * misc/bits/stab.def: Likewise.
28084 * nis/nis_print_group_entry.c: Likewise.
28085 * nis/nis_table.c: Likewise.
28086 * nis/nss_compat/compat-pwd.c: Likewise.
28087 * nis/nss_compat/compat-spwd.c: Likewise.
28088 * po/Makefile: Likewise.
28089 * posix/fnmatch.c: Likewise.
28090 * posix/regex.h: Likewise.
28091 * resolv/Makefile: Likewise.
28092 * resolv/nss_dns/dns-network.c: Likewise.
28093 * resolv/res_hconf.c: Likewise.
28094 * scripts/gen-sorted.awk: Likewise.
28095 * soft-fp/soft-fp.h: Likewise.
28096 * stdio-common/printf.h: Likewise.
28097 * stdlib/monetary.h: Likewise.
28098 * stdlib/random.c: Likewise.
28099 * stdlib/random_r.c: Likewise.
28100 * sysdeps/generic/Makefile: Likewise.
28101 * sysdeps/gnu/Makefile: Likewise.
28102 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28103 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28104 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28105 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28106 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28107 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28108 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28109 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28110 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28111 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28112 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28113 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28114 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28115 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28116 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
28117 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28118 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28119 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28120 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28121 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28122 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28123 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28124 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28125 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28126 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
28127 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28128 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28129 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
28130 * sysdeps/mach/hurd/errnos.awk: Likewise.
28131 * sysdeps/mach/hurd/fork.c: Likewise.
28132 * sysdeps/mach/hurd/getcwd.c: Likewise.
28133 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
28134 * sysdeps/mach/hurd/mmap.c: Likewise.
28135 * sysdeps/mach/hurd/utimes.c: Likewise.
28136 * sysdeps/mach/hurd/xmknod.c: Likewise.
28137 * sysdeps/posix/profil.c: Likewise.
28138 * sysdeps/posix/readdir_r.c: Likewise.
28139 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28140 * sysdeps/powerpc/bits/setjmp.h: Likewise.
28141 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
28142 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28143 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28144 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28145 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28146 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28147 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28148 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28149 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28150 * sysdeps/pthread/lio_listio.c: Likewise.
28151 * sysdeps/sparc/dl-procinfo.h: Likewise.
28152 * sysdeps/unix/i386/sysdep.S: Likewise.
28153 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
28154 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
28155 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
28156 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
28157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28158 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28159 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28160 * sysdeps/unix/sysv/linux/speed.c: Likewise.
28161 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28162 * sysdeps/wordsize-32/divdi3.c: Likewise.
28163 * time/sys/time.h: Likewise.
28164 * wcsmbs/Makefile: Likewise.
28166 2013-01-01 David S. Miller <davem@davemloft.net>
28168 * po/fr.po: Update from translation team.
28170 * catgets/gencat.c: Update copyright year.
28171 * csu/version.c: Likewise.
28172 * debug/catchsegv.sh: Likewise.
28173 * debug/pcprofiledump.c: Likewise.
28174 * debug/xtrace.sh: Likewise.
28175 * elf/ldconfig.c: Likewise.
28176 * elf/ldd.bash.in: Likewise.
28177 * elf/pldd.c: Likewise.
28178 * elf/sotruss.ksh: Likewise.
28179 * elf/sprof.c: Likewise.
28180 * iconv/iconv_prog.c: Likewise.
28181 * iconv/iconvconfig.c: Likewise.
28182 * locale/programs/locale.c: Likewise.
28183 * locale/programs/localedef.c: Likewise.
28184 * login/programs/pt_chown.c: Likewise.
28185 * malloc/memusage.sh: Likewise.
28186 * malloc/memusagestat.c: Likewise.
28187 * malloc/mtrace.pl: Likewise.
28188 * nscd/nscd.c: Likewise.
28189 * nss/getent.c: Likewise.
28190 * nss/makedb.c: Likewise.
28191 * posix/getconf.c: Likewise.
28193 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28195 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
28198 2012-12-30 Mike Frysinger <vapier@gentoo.org>
28200 * math/bits/mathcalls.h (modf): Use __nonnull.
28202 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28204 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
28205 (split): Use macro CN instead of the bare value.
28206 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
28208 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
28209 instead of the bare value.
28210 (power1): Likewise.
28212 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28214 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
28216 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28218 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
28220 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28221 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28222 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
28223 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28225 2012-12-28 Andreas Jaeger <aj@suse.de>
28227 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
28228 values are from Linux 3.7.
28230 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
28231 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
28233 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28235 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
28238 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
28240 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
28241 variables with preprocessor constants.
28242 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28243 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28244 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28246 2012-12-27 Bruno Haible <bruno@clisp.org>
28249 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
28252 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28254 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
28255 and use variable directly.
28256 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
28258 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28260 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
28261 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28263 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28264 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28265 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
28266 include directive. Remove local variable MPONE.
28267 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
28268 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
28269 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28271 2012-12-25 David S. Miller <davem@davemloft.net>
28273 * version.h (RELEASE): Set to "development".
28274 (VERSION): Set to "2.17.90".
28275 * NEWS: Add 2.18 section.
28277 2012-12-21 David S. Miller <davem@davemloft.net>
28279 * po/hr.po: Update from translation team.
28281 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28283 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
28285 2012-12-19 Steve Ellcey <sellcey@mips.com>
28287 * NEWS: Mention new memcpy for MIPS.
28289 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28291 * manual/contrib.texi (Contributors): Spelling correction.
28293 2012-12-15 David S. Miller <davem@davemloft.net>
28295 * po/ru.po: Update from translation team.
28297 2012-12-13 David S. Miller <davem@davemloft.net>
28299 * NEWS: Mention IFUNC testsuite enhancements.
28301 * po/pl.po: Update from translation team.
28302 * po/bg.po: Likewise.
28304 * manual/contrib.texi (Contributors): Update entries for Hongjiu
28305 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
28307 2012-12-11 David S. Miller <davem@davemloft.net>
28309 * po/sv.po: Update from translation team.
28311 * po/vi.po: Update from translation team.
28313 * po/cs.po: Update from translation team.
28315 * po/de.po: Update from translation team.
28316 * po/eo.po: Likewise.
28317 * po/nl.po: Likewise.
28319 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28322 * manual/argp.texi (Argp Helper Functions): Move node to follow
28323 Argp Parsing State.
28326 * manual/conf.texi (Limits on File System Capacity): Mention if
28327 terminating null is included in the max size.
28329 2012-12-10 Andreas Jaeger <aj@suse.de>
28331 * po/cs.po: Update from translation team.
28333 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28335 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
28336 void pointer and cast to uintptr_t.
28337 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
28339 * sysdeps/s390/s390-64/memcpy.S: Likewise.
28340 * sysdeps/s390/s390-64/memset.S: Likewise.
28342 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
28345 * menual/message.texi (Message Translation): Fix typos.
28346 (Helper programs for gettext): Likewise.
28348 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
28351 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
28354 2012-12-07 David S. Miller <davem@davemloft.net>
28356 * po/libc.pot: Update.
28358 2012-12-07 Richard Henderson <rth@redhat.com>
28361 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
28362 normal/normal case to before the switch.
28363 (_FP_DIV): Likewise.
28365 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
28366 Mike Frysinger <vapier@gentoo.org>
28368 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
28369 check for __NR_fadvise64_64.
28371 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
28373 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
28374 0, not just to plain "0" as a statement.
28375 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
28378 2012-12-06 Joseph Myers <joseph@codesourcery.com>
28380 * NEWS: Use sourceware.org in Bugzilla URL.
28382 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28385 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28387 * stdio-common/tst-put-error.c (do_test): Add newline to the
28388 padded test to ensure flush.
28390 2012-12-05 Jeff Law <law@redhat.com>
28392 * sunrpc/etc.rpc (fedfs_admin): Add entry.
28394 2012-12-05 Joseph Myers <joseph@codesourcery.com>
28396 * README: Don't refer to ports add-on as distributed separately.
28397 Mention AArch64 in list of systems supported in the ports add-on.
28399 * LICENSES: Add more non-FSF copyright and license notices.
28401 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
28404 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
28406 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
28407 10000 as width of padded output.
28409 2012-12-04 Joseph Myers <joseph@codesourcery.com>
28411 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
28413 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
28414 variable LX with __attribute__ ((unused)).
28415 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28417 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28418 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28419 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
28420 with __attribute__ ((unused)).
28422 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
28424 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
28426 2012-12-04 Joseph Myers <joseph@codesourcery.com>
28428 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
28429 (CFLAGS-nldbl-acos.c): New variable.
28430 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
28431 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
28432 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
28433 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
28434 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
28435 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
28436 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
28437 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
28438 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
28439 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
28440 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
28441 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
28442 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
28443 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
28444 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
28445 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
28446 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
28447 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
28448 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
28449 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
28450 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
28451 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
28452 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
28453 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
28454 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
28455 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
28456 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
28457 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
28458 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
28459 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
28460 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
28461 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
28462 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
28463 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
28464 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
28465 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
28466 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
28467 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
28468 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
28469 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
28470 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
28471 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
28472 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
28473 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
28474 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
28475 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
28476 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
28477 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
28478 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
28479 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
28480 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
28481 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
28482 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
28483 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
28484 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
28485 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
28486 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
28487 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
28488 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
28489 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
28490 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
28491 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
28492 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
28493 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
28494 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
28495 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
28496 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
28497 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
28498 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
28499 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
28500 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
28501 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
28502 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
28503 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
28504 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
28505 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
28506 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
28507 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
28508 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
28509 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
28510 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
28511 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
28512 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
28513 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
28514 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
28515 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
28516 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
28517 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
28518 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
28519 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
28520 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
28521 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
28522 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
28523 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
28524 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
28525 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
28526 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
28528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28529 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28532 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
28533 whole low double instead of just low 47 bits when splitting values
28536 2012-12-03 Allan McRae <allan@archlinux.org>
28538 * manual/stdio.texi (Predefined Printf Handlers): Remove
28539 @hsep and @vsep usage.
28541 2012-12-03 Mike Frysinger <vapier@gentoo.org>
28543 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
28544 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
28546 2012-12-03 Jeff Law <law@redhat.com>
28548 * time/sys/time.h (settimeofday): Do not mark TV argument
28551 2012-12-01 Mike Frysinger <vapier@gentoo.org>
28553 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
28554 when currently writing and seek to current position when not.
28555 * libio/Makefile (tests): Remove bug-fclose1.
28556 * libio/bug-fclose1.c: Delete.
28558 2012-12-01 Joseph Myers <joseph@codesourcery.com>
28560 * manual/arith.texi (feenableexcept): Fix typo.
28561 (fedisableexcept): Likewise.
28563 2012-11-30 Roland McGrath <roland@hack.frob.com>
28565 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
28566 second, differently-typed declaration, rather than a cast.
28568 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28570 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
28571 * include/rpc/svc.h: ... here.
28573 2012-11-30 Aurelien Jarno <aurel32@debian.org>
28576 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
28577 depending n and resplen2 to catch cases where answer
28580 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
28582 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
28583 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
28585 2012-11-29 Mike Frysinger <vapier@gentoo.org>
28587 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
28589 2012-11-29 Roland McGrath <roland@hack.frob.com>
28591 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
28593 2012-11-28 Jeff Law <law@redhat.com>
28596 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
28597 dataset_temporary. Track alloca usage into alloca_used.
28598 If dataset is large allocate and release it via malloc/free.
28600 2012-06-04 Florian Weimer <fweimer@redhat.com>
28603 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
28605 2012-11-28 David S. Miller <davem@davemloft.net>
28607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28609 2012-11-28 Joseph Myers <joseph@codesourcery.com>
28612 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
28613 of pi/2 rounded to nearest to 64 bits.
28614 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
28615 nearest to 64 bits.
28616 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
28619 2012-11-28 Jeff Law <law@redhat.com>
28620 Martin Osvald <mosvald@redhat.com>
28623 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
28624 * sunrpc/svc.c: Include time.h.
28625 (__svc_accept_failed): New function.
28626 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
28627 any reason other than EINTR, call __svc_accept_failed.
28628 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
28629 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
28631 2012-11-28 Andreas Schwab <schwab@suse.de>
28633 * scripts/abilist.awk: Also handle indirect functions in .opd
28636 2012-11-28 Joseph Myers <joseph@codesourcery.com>
28639 * sysdeps/x86/fpu/powl_helper.c: New file.
28640 * sysdeps/x86/fpu/Makefile: Likewise.
28641 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
28643 (__ieee754_powl): Use __powl_helper for finite arguments except
28644 integer exponents below 8.
28645 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
28647 (__ieee754_powl): Use __powl_helper for finite arguments except
28648 integer exponents below 8.
28649 * math/libm-test.inc (pow_test): Add more tests and enable some
28650 previously disabled tests.
28651 * sysdeps/i386/fpu/libm-test-ulps: Update.
28652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28654 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28655 Carlos O'Donell <carlos_odonell@mentor.com>
28657 * nss/makedb.c (is_prime): Assert that input is odd and greater
28658 than 4. Note that fact in a comment too.
28659 (next_prime): Add 4 to input.
28661 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28664 * libio/Makefile (tests): Add test case tst-fwrite-error.
28665 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
28666 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
28667 * libio/tst-fwrite-error.c: New test case.
28669 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
28671 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
28672 before casting to void *.
28673 * include/libc-internal.h (__pointer_type): New macro.
28674 (__integer_if_pointer_type_sub): Likewise.
28675 (__integer_if_pointer_type): Likewise.
28676 (cast_to_integer): Likewise.
28677 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
28678 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
28679 before casting to atomic64_t.
28680 (atomic_exchange_acq): Likewise.
28681 (__arch_exchange_and_add_body): Likewise.
28682 (__arch_add_body): Likewise.
28683 (atomic_add_negative): Likewise.
28684 (atomic_add_zero): Likewise.
28686 2012-11-26 Joseph Myers <joseph@codesourcery.com>
28688 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
28689 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
28690 (add_fdes): Likewise.
28691 (linear_search_fdes): Likewise.
28692 (binary_search_unencoded_fdes): Likewise.
28694 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
28696 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
28698 2012-11-24 Adam Conrad <adconrad@0c3.net>
28700 * configure.in: Autodetect C++ header directories.
28701 * configure: Regenerated.
28703 2012-11-23 Mike Frysinger <vapier@gentoo.org>
28705 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
28707 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
28709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28711 2012-11-22 Joseph Myers <joseph@codesourcery.com>
28713 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
28714 LDBL_MANT_DIG == 106]: Disable some tests.
28715 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28717 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28721 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
28722 input for small inputs. Return +/- pi/2 for large inputs.
28723 * math/libm-test.inc (atan_test): Add more tests.
28725 * sysdeps/generic/unwind-dw2-fde-glibc.c
28726 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
28727 __attribute__ ((unused)).
28730 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
28731 x * y if x and y are nonzero and z is zero.
28734 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
28735 nonzero exponents with absolute value below 0x1p-117 to +/-
28739 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
28740 up arguments below 2**-450, not just those below 2**-500.
28741 * math/libm-test.inc (hypot_test): Add another test.
28744 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
28745 Return a+b for ratio over 2**120, not 2**60.
28746 * math/libm-test.inc (hypot_test): Add another test.
28748 * math/libm-test.inc (clog_test): Use
28749 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
28750 (clog10_test): Likewise.
28753 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
28755 2012-11-22 Andreas Schwab <schwab@suse.de>
28757 * sysdeps/i386/fpu/libm-test-ulps: Update.
28759 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
28761 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
28762 printf output with newline.
28764 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
28767 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
28768 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
28769 -z nodlopen, -z initfirst and -z execstack support.
28770 * configure: Regenerated.
28772 * elf/elf.h (DF_1_NODIRECT): New macro.
28773 (DF_1_IGNMULDEF): Likewise.
28774 (DF_1_NOKSYMS): Likewise.
28775 (DF_1_NOHDR): Likewise.
28776 (DF_1_EDITED): Likewise.
28777 (DF_1_NORELOC): Likewise.
28778 (DF_1_SYMINTPOSE): Likewise.
28779 (DF_1_GLOBAUDIT): Likewise.
28780 (DF_1_SINGLETON): Likewise.
28781 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
28782 DT_1_SUPPORTED_MASK bits.
28783 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
28785 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
28787 * sysdeps/unix/make-syscalls.sh: Document prefixes.
28789 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
28791 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
28794 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
28795 (sendmmsg): Move declarations...
28796 * socket/sys/socket.h: ... here.
28797 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
28798 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
28800 * socket/recvmmsg.c: ... this new file.
28801 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
28802 (sendmmsg): Rename to __sendmmsg, create weak alias and make
28803 definition of __sendmmsg hidden.
28804 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
28805 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
28806 Move ENOSYS stub into and include it from...
28807 * socket/sendmmsg.c: ... this new file.
28808 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
28809 (sysdep_routines): Move recvmmsg and sendmmsg...
28810 * socket/Makefile (routines): ... here.
28811 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
28812 (GLIBC_PRIVATE): Add __sendmmsg.
28813 * include/sys/socket.h (__sendmmsg): Add declarations.
28814 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
28817 2012-11-20 Joseph Myers <joseph@codesourcery.com>
28819 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
28820 variable I1 with __attribute__ ((unused)).
28821 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28823 2012-11-19 Joseph Myers <joseph@codesourcery.com>
28825 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
28826 DUMMY variables with __attribute__ ((unused)).
28828 * bits/byteswap.h: Include <bits/types.h>.
28829 (__bswap_64): Use __uint64_t instead of unsigned long long int.
28831 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
28833 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
28834 string_t. Do not manually set errno.
28835 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
28836 length with __strnlen. Make sure to both set errno and return it on
28839 2012-11-19 David S. Miller <davem@davemloft.net>
28841 With help from Joseph Myers.
28842 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
28843 very large arguments properly.
28844 * math/libm-test.inc (atan_test): New tests.
28845 (atan2_test): New tests.
28846 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28847 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28849 2012-11-19 Joseph Myers <joseph@codesourcery.com>
28852 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
28855 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
28856 [POSIX] (EADDRNOTAVAIL): Likewise.
28857 [POSIX] (EAFNOSUPPORT): Likewise.
28858 [POSIX] (EALREADY): Likewise.
28859 [POSIX] (ECONNABORTED): Likewise.
28860 [POSIX] (ECONNREFUSED): Likewise.
28861 [POSIX] (ECONNRESET): Likewise.
28862 [POSIX] (EDESTADDRREQ): Likewise.
28863 [POSIX] (EDQUOT): Likewise.
28864 [POSIX] (EHOSTUNREACH): Likewise.
28865 [POSIX] (EIDRM): Likewise.
28866 [POSIX] (EISCONN): Likewise.
28867 [POSIX] (ELOOP): Likewise.
28868 [POSIX] (EMULTIHOP): Likewise.
28869 [POSIX] (ENETDOWN): Likewise.
28870 [POSIX] (ENETUNREACH): Likewise.
28871 [POSIX] (ENOBUFS): Likewise.
28872 [POSIX] (ENODATA): Likewise.
28873 [POSIX] (ENOLINK): Likewise.
28874 [POSIX] (ENOMSG): Likewise.
28875 [POSIX] (ENOPROTOOPT): Likewise.
28876 [POSIX] (ENOSR): Likewise.
28877 [POSIX] (ENOSTR): Likewise.
28878 [POSIX] (ENOTCONN): Likewise.
28879 [POSIX] (ENOTSOCK): Likewise.
28880 [POSIX] (EOPNOTSUPP): Likewise.
28881 [POSIX] (EOVERFLOW): Likewise.
28882 [POSIX] (EPROTO): Likewise.
28883 [POSIX] (EPROTONOSUPPORT): Likewise.
28884 [POSIX] (EPROTOTYPE): Likewise.
28885 [POSIX] (ESTALE): Likewise.
28886 [POSIX] (ETIME): Likewise.
28887 [POSIX] (ETXTBSY): Likewise.
28888 [POSIX] (EWOULDBLOCK): Likewise.
28889 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
28890 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
28891 [POSIX] (SEEK_CUR): Likewise.
28892 [POSIX] (SEEK_END): Likewise.
28893 [POSIX || UNIX98] (mode_t): Do not require.
28894 [POSIX] (off_t): Likewise.
28895 [POSIX] (pid_t): Likewise.
28896 [POSIX] (sys/stat.h): Do not allow header.
28897 [POSIX] (unistd.h): Likewise.
28898 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
28899 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
28900 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
28901 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
28903 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
28904 sigevent): Specify elements.
28905 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
28907 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
28908 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
28910 * conform/data/cpio.h-data [POSIX]: Disable whole file.
28911 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
28912 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
28913 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
28914 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
28915 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
28916 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
28917 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
28918 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
28919 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
28920 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
28921 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
28922 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
28923 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
28925 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
28927 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
28929 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
28931 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
28932 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
28933 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
28934 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
28935 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
28936 Specify lower bound on value.
28937 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
28938 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
28939 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
28940 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
28941 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
28942 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
28943 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
28944 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
28946 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
28948 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
28949 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
28950 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
28951 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
28952 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
28953 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
28954 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
28955 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
28956 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
28957 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
28958 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
28959 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
28960 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
28961 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
28962 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
28963 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
28965 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
28967 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
28968 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
28969 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
28970 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
28971 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
28972 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
28974 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
28975 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
28976 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
28977 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
28978 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
28979 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
28980 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
28982 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
28983 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
28984 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
28985 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
28986 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
28987 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
28988 specify as optional.
28989 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
28990 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
28991 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
28992 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
28993 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
28994 [XPG3] (NL_LANGMAX): Likewise.
28995 [POSIX || XPG3] (NL_MSGMAX): Likewise.
28996 [POSIX || XPG3] (NL_NMAX): Likewise.
28997 [POSIX || XPG3] (NL_SETMAX): Likewise.
28998 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
28999 [XPG3] (NZERO): Likewise.
29000 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
29001 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
29002 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
29003 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
29004 (REG_ERANGE): Expect.
29005 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
29007 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
29008 Use (void) in prototype.
29009 [POSIX] (*_t): Allow.
29010 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
29011 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
29012 (WRDE_BADVAL): Expect.
29014 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
29016 [XPG3 || XPG4] (O_RSYNC): Likewise.
29017 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
29019 [XPG3 || XPG4] (pthread_sigmask): Likewise.
29020 [XPG3 || XPG4] (sigqueue): Likewise.
29021 [XPG3 || XPG4] (sigtimedwait): Likewise.
29022 [XPG3 || XPG4] (sigwaitinfo): Likewise.
29023 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
29024 [XPG3 || XPG4] (vsnprintf): Likewise.
29025 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
29027 [XPG3 || XPG4] (blksize_t): Likewise.
29028 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
29030 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29031 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29032 [XPG3 || XPG4] (struct itimerspec): Likewise.
29033 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29034 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29035 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
29036 [XPG3 || XPG4] (clockid_t): Likewise.
29037 [XPG3 || XPG4] (timer_t): Likewise.
29038 [XPG3 || XPG4] (clock_getres): Likewise.
29039 [XPG3 || XPG4] (clock_gettime): Likewise.
29040 [XPG3 || XPG4] (clock_settime): Likewise.
29041 [XPG3 || XPG4] (nanosleep): Likewise.
29042 [XPG3 || XPG4] (timer_create): Likewise.
29043 [XPG3 || XPG4] (timer_delete): Likewise.
29044 [XPG3 || XPG4] (timer_gettime): Likewise.
29045 [XPG3 || XPG4] (timer_getoverrun): Likewise.
29046 [XPG3 || XPG4] (timer_settime): Likewise.
29047 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
29048 [XPG3 || XPG4] (getlogin_r): Likewise.
29049 [XPG3 || XPG4] (pread): Likewise.
29050 [XPG3 || XPG4] (pthread_atfork): Likewise.
29051 [XPG3 || XPG4] (pwrite): Likewise.
29054 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
29057 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29059 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
29060 finalizing MALLSTREAM.
29062 * sysdeps/mach/hurd/syncfs.c: New file.
29064 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29067 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
29068 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
29069 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
29070 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
29071 (_nss_dns_gethostbyname4_r): Likewise.
29072 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
29073 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
29075 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
29078 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
29080 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
29082 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
29083 * elf/cache.c (print_entry): Print ",AArch64" for
29086 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
29087 * elf/cache.c (print_entry): Print ",hard-float" for
29090 2012-11-18 David S. Miller <davem@davemloft.net>
29092 With help from Joseph Myers.
29093 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
29095 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
29097 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
29098 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
29100 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
29101 * math/libm-test.inc (y0_test): New tests.
29102 (y1_test): New tests.
29103 * sysdeps/i386/fpu/libm-test-ulps: Update.
29104 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29105 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29107 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
29109 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
29111 * configure: Regenerated.
29113 2012-11-17 David S. Miller <davem@davemloft.net>
29116 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
29117 nonzero exponents with absolute value below 0x1p-128 to +/-
29120 2012-11-17 Joseph Myers <joseph@codesourcery.com>
29122 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
29124 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
29126 * posix/getconf-speclist.c: New file.
29127 * posix/posix-envs.def: Likewise.
29128 * posix/confstr.c (START_ENV_GROUP): New macro.
29129 (END_ENV_GROUP): Likewise.
29130 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29131 (KNOWN_PRESENT_ENV_STRING): Likewise.
29132 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29133 (UNKNOWN_ENVIRONMENT): Likewise.
29134 (confstr): Include posix-envs.def instead of handling
29135 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
29136 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
29137 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
29138 (END_ENV_GROUP): Likewise.
29139 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29140 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29141 (UNKNOWN_ENVIRONMENT): Likewise.
29142 (__sysconf): Include posix-envs.def instead of handling associated
29143 cases directly here.
29144 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
29145 preprocessing getconf-speclist.c rather than running getconf or
29146 generating empty file.
29148 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
29150 * scripts/check-local-headers.sh: Ignore 'mach' headers.
29152 2012-11-16 Andrej Lajovic <natrij@gmail.com>
29155 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
29157 2012-11-16 David S. Miller <davem@davemloft.net>
29159 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
29160 smaller than LDBL_EPSILON/2.0L, just return xm1.
29162 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
29164 * elf/tst-array1.c (init): Set constructor priority to 1000.
29165 (fini): Set destructor priority to 1000.
29166 * elf/tst-array2dep.c: Likewise.
29168 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29171 * libio/fileops.c (_IO_new_file_write): Correctly return error.
29172 (_IO_new_file_xsputn): Also return EOF if none of the input
29173 data was written when overflow failed.
29174 * libio/iopadn.c (_IO_padn): Likewise.
29175 * libio/iowpadn.c (_IO_wpadn): Likewise.
29176 * stdio-common/tst-put-error.c: Add copyright notice.
29177 (do_test): Add case for printing padded string.
29178 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
29179 _IO_padn returned error.
29180 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
29181 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
29184 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29186 * libio/libioP.h: Add comment note that the references to C++
29187 bits are now obsolete.
29189 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29191 * math/libm-test.inc (check_complex): Use asprintf.
29193 2012-11-14 Joseph Myers <joseph@codesourcery.com>
29195 * debug/pcprofiledump.c (print_version): Update copyright year.
29196 * malloc/memusagestat.c (print_version): Likewise.
29198 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
29201 * elf/Makefile (tests): Add tst-audit8.
29202 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
29203 ($(objpfx)tst-audit8.out): New target.
29204 (tst-audit8-ENV): New variable.
29205 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
29206 audit if l_reloc_result is NULL.
29207 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
29208 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
29209 * elf/tst-audit8.c: New file.
29211 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29213 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
29214 * misc/Makefile (CFLAGS-select.c): Define.
29215 * posix/Makefile (CFLAGS-pause.c): Define.
29217 2012-11-13 David S. Miller <davem@davemloft.net>
29219 * crypt/Makefile: Move test targets after toplevel Rules
29220 inclusion. Grab any necessary sysdep routines when linking.
29221 * crypt/md5.c (md5_process_block): Remove define, we will always
29222 name it __md5_process_block.
29223 (md5_finish_ctx): Update md5_process_block call.
29224 (md5_stream): Likewise.
29225 (md5_process_bytes): Likewise.
29226 (md5_process_block): Rename to __md5_process_block and move to ...
29227 * crypt/md5-block.c: ... here.
29228 * crypt/sha256.c (sha256_process_block): Move to ...
29229 * crypt/sha256-block.c: ... here.
29230 * crypt/sha512.c (sha512_process_block): Move to ...
29231 * crypt/sha512-block.c: ... here.
29232 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
29234 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
29235 * sysdeps/sparc/sparc64/multiarch/Makefile
29236 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
29238 (localedef-aux): Add md5 crypto assembler when in locale subdir.
29239 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
29241 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
29242 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
29243 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
29244 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
29245 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
29246 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
29247 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
29248 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
29249 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
29251 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
29252 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
29254 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
29256 2012-11-13 Joseph Myers <joseph@codesourcery.com>
29258 * timezone/tzselect.ksh: Update from tzcode git revision
29259 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
29260 * timezone/zdump.c: Likewise.
29261 * timezone/zic.c: Likewise.
29262 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
29263 in TZVERSION setting, not $(PKGVERSION).
29264 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
29265 REPORT_BUGS_TO settings.
29268 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
29271 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29273 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
29274 detection to immediately after _FP_ROUND().
29275 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
29278 2012-11-11 David S. Miller <davem@davemloft.net>
29280 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
29282 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
29283 __close rather than their public counterparts.
29285 2012-11-10 Joseph Myers <joseph@codesourcery.com>
29287 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
29289 [UNIX98] (sem_timedwait): Do not expect.
29290 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
29291 [XPG4 || UNIX98] (sockatmark): Do not expect.
29292 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
29293 (clock_getcpuclockid): Do not expect.
29294 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
29295 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
29297 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
29298 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
29299 [UNIX98] (vwscanf): Likewise.
29300 [UNIX98] (vswscanf): Likewise.
29302 2012-11-09 Joseph Myers <joseph@codesourcery.com>
29304 * timezone/version.h: Remove file.
29305 * timezone/README: Do not refer to version.h.
29306 * timezone/Makefile ($(objpfx)zic.o): New dependency on
29307 $(objpfx)version.h.
29308 ($(objpfx)zdump.o): Likewise.
29309 ($(objpfx)version.h): New target.
29311 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
29313 * timezone/README: Don't mention modification to tzselect.ksh.
29314 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
29315 work on unmodified tzselect.ksh. Substitute version numbers in
29318 * Makefile (format-me): Remove.
29319 (INSTALL): Adjust indentation. Use commands directly instead of
29320 using $(format-me).
29322 * aclocal.m4 (ACX_PKGVERSION): New macro.
29323 (ACX_BUGURL): Likewise.
29324 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
29325 (PKGVERSION): New AC_DEFINE_UNQUOTED.
29326 (REPORT_BUGS_TO): Likewise.
29327 * configure: Regenerated.
29328 * config.h.in (PKGVERSION): New macro.
29329 (REPORT_BUGS_TO): Likewise.
29330 * config.make.in (PKGVERSION): New variable.
29331 (PKGVERSION_TEXI): Likewise.
29332 (REPORT_BUGS_TO): Likewise.
29333 (REPORT_BUGS_TEXI): Likewise.
29334 * Makefile (format-me): Use -I$(common-objpfx)manual.
29335 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
29336 ($(common-objpfx)manual/%): New target.
29337 (manual/%): Remove target.
29338 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
29339 (print_version): Use PKGVERSION.
29340 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
29341 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
29342 and REPORT_BUGS_TO.
29343 ($(objpfx)xtrace): Likewise.
29344 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
29345 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
29346 (print_version): Use PKGVERSION.
29347 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
29348 (do_version): Use PKGVERSION.
29349 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
29351 (common-ldd-rewrite): Likewise.
29352 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
29353 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
29354 (print_version): Use PKGVERSION.
29355 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
29356 * elf/pldd.c (argp_program_bug_address): Remove variable.
29357 (more_help): New function.
29358 (argp): Use more_help.
29359 (print_version): Use PKGVERSION.
29360 * elf/sln.c (main): Use PKGVERSION.
29361 (usage): Use REPORT_BUGS_TO.
29362 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
29363 (top level): Use PKGVERSION.
29364 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
29365 (print_version): Use PKGVERSION.
29366 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
29367 (print_version): Use PKGVERSION.
29368 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
29369 (print_version): Use PKGVERSION.
29370 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
29371 (print_version): Use PKGVERSION.
29372 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
29373 (print_version): Use PKGVERSION.
29374 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
29375 (print_version): Use PKGVERSION.
29376 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
29378 ($(objpfx)memusage): Likewise.
29379 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
29380 (do_version): Use PKGVERSION.
29381 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
29382 (print_version): Use PKGVERSION.
29383 * malloc/mtrace.pl ($PACKAGE): Remove variable.
29384 ($PKGVERSION): New variable.
29385 ($REPORT_BUGS_TO): Likewise.
29386 (usage): Use $REPORT_BUGS_TO.
29387 (top level): Use $PKGVERSION.
29388 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
29389 ($(objpfx)pkgvers.texi): New rule.
29390 ($(objpfx)stamp-pkgvers): Likewise.
29391 * manual/install.texi: Include pkgvers.texi.
29392 (--with-pkgversion): Document new configure option.
29393 (--with-bugurl): Likewise.
29394 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
29395 than necessarily for this particular distribution. Use
29396 REPORT_BUGS_TO for where to report bugs.
29397 * INSTALL: Regenerated.
29398 * manual/libc.texinfo: Include pkgvers.texi.
29399 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
29400 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
29401 (print_version): Use PKGVERSION.
29402 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
29403 (print_version): Use PKGVERSION.
29404 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
29405 (print_version): Use PKGVERSION.
29406 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
29407 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
29409 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
29410 (print_version): Use PKGVERSION.
29411 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
29412 (print_version): Use PKGVERSION.
29413 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
29416 * timezone/checktab.awk: Update from tzcode 2012i.
29417 * timezone/ialloc.c: Likewise.
29418 * timezone/private.h: Likewise.
29419 * timezone/scheck.c: Likewise.
29420 * timezone/tzfile.h: Likewise.
29421 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
29422 (TZVERSION): Hardcode tzcode version number.
29423 * timezone/zdump.c: Update from tzcode 2012i.
29424 * timezone/zic.c: Likewise.
29425 * timezone/version.h: New file.
29426 * timezone/README: Describe version.h. Update upstream location.
29429 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
29430 (mktemp): Enable declaration.
29431 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
29432 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
29433 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
29434 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
29436 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
29438 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
29440 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
29442 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
29444 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
29448 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
29449 offset in buffer as u_int32_t not u_long. Consistently use memcpy
29450 for copies of such integer values.
29451 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29452 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29454 2012-11-09 Andreas Jaeger <aj@suse.de>
29456 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
29457 definitions and declarations that are provided by
29458 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29460 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29462 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
29463 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
29464 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
29467 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29469 * elf/elf.h: Update comment before AArch64 relocations.
29471 2012-11-07 David S. Miller <davem@davemloft.net>
29473 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
29474 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29475 (__start_context): Declare.
29476 (__makecontext_ret): Delete.
29477 (__makecontext): Hook up __start_context instead of
29479 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
29480 (sysdep_routines): Add __start_context when in stdlib.
29482 2012-11-07 Joseph Myers <joseph@codesourcery.com>
29484 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
29485 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
29486 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
29488 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
29489 (READELF): New variable. Use it instead of hardcoded "readelf".
29491 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
29493 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
29494 * sysdeps/x86/Makefile: Here.
29495 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
29496 * sysdeps/x86/tst-xmmymm.sh: This.
29498 2012-11-07 Joseph Myers <joseph@codesourcery.com>
29500 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
29502 [UNIX98] (pthread_barrier_t): Do not expect.
29503 [UNIX98] (pthread_barrierattr_t): Likewise.
29504 [UNIX98] (pthread_spinlock_t): Likewise.
29505 [UNIX98] (pthread_barrier_destroy): Likewise.
29506 [UNIX98] (pthread_barrier_init): Likewise.
29507 [UNIX98] (pthread_barrier_wait): Likewise.
29508 [UNIX98] (pthread_barrierattr_destroy): Likewise.
29509 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
29510 [UNIX98] (pthread_barrierattr_init): Likewise.
29511 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
29512 [UNIX98] (pthread_getcpuclockid): Likewise.
29513 [UNIX98] (pthread_mutex_timedlock): Likewise.
29514 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
29515 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
29516 [UNIX98] (pthread_sigmask): Likewise.
29517 [UNIX98] (pthread_spin_destroy): Likewise.
29518 [UNIX98] (pthread_spin_init): Likewise.
29519 [UNIX98] (pthread_spin_lock): Likewise.
29520 [UNIX98] (pthread_spin_trylock): Likewise.
29521 [UNIX98] (pthread_spin_unlock): Likewise.
29522 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
29524 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
29525 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
29526 [XPG3 || XPG4] (pthread_cond_t): Likewise.
29527 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
29528 [XPG3 || XPG4] (pthread_key_t): Likewise.
29529 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
29530 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
29531 [XPG3 || XPG4] (pthread_once_t): Likewise.
29532 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
29533 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
29534 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
29535 [XPG3 || XPG4] (pthread_t): Likewise.
29537 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
29539 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
29541 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
29542 Change function return type to int.
29544 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
29545 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
29546 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
29547 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
29548 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
29549 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
29550 [!POSIX] (posix_madvise): Likewise.
29551 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
29553 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
29554 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
29555 (mode_t): Likewise.
29556 (posix_mem_offset): Likewise.
29557 (posix_typed_mem_get_info): Likewise.
29558 (posix_typed_mem_open): Likewise.
29560 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
29561 Change condition to [XOPEN2K8].
29563 * conform/conformtest.pl: Preprocess allow-header data with -x c
29564 instead of from stdin.
29565 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
29566 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
29567 [C99-based standards] (cerfc): Likewise.
29568 [C99-based standards] (cexp2): Likewise.
29569 [C99-based standards] (cexpm1): Likewise.
29570 [C99-based standards] (clog10): Likewise.
29571 [C99-based standards] (clog1p): Likewise.
29572 [C99-based standards] (clog2): Likewise.
29573 [C99-based standards] (clgamma): Likewise.
29574 [C99-based standards] (ctgamma): Likewise.
29575 [C99-based standards] (cerff): Likewise.
29576 [C99-based standards] (cerfcf): Likewise.
29577 [C99-based standards] (cexp2f): Likewise.
29578 [C99-based standards] (cexpm1f): Likewise.
29579 [C99-based standards] (clog10f): Likewise.
29580 [C99-based standards] (clog1pf): Likewise.
29581 [C99-based standards] (clog2f): Likewise.
29582 [C99-based standards] (clgammaf): Likewise.
29583 [C99-based standards] (ctgammaf): Likewise.
29584 [C99-based standards] (cerfl): Likewise.
29585 [C99-based standards] (cerfcl): Likewise.
29586 [C99-based standards] (cexp2l): Likewise.
29587 [C99-based standards] (cexpm1l): Likewise.
29588 [C99-based standards] (clog10l): Likewise.
29589 [C99-based standards] (clog1pl): Likewise.
29590 [C99-based standards] (clog2l): Likewise.
29591 [C99-based standards] (clgammal): Likewise.
29592 [C99-based standards] (ctgammal): Likewise.
29593 * conform/data/inttypes.h-data [C99-based standards]: Include
29594 stdint.h-data. Remove all expectations for stdint.h contents.
29595 [C99-based standards] (PRI*): Do not allow.
29596 [C99-based standards] (SCN*): Likewise.
29597 [C99-based standards] (*_t): Likewise.
29598 [C99-based-standards] (PRId8): Expect macro.
29599 [C99-based-standards] (PRIi8): Likewise.
29600 [C99-based-standards] (PRIo8): Likewise.
29601 [C99-based-standards] (PRIu8): Likewise.
29602 [C99-based-standards] (PRIx8): Likewise.
29603 [C99-based-standards] (PRIX8): Likewise.
29604 [C99-based-standards] (SCNd8): Likewise.
29605 [C99-based-standards] (SCNi8): Likewise.
29606 [C99-based-standards] (SCNo8): Likewise.
29607 [C99-based-standards] (SCNu8): Likewise.
29608 [C99-based-standards] (SCNx8): Likewise.
29609 [C99-based-standards] (PRIdLEAST8): Likewise.
29610 [C99-based-standards] (PRIiLEAST8): Likewise.
29611 [C99-based-standards] (PRIoLEAST8): Likewise.
29612 [C99-based-standards] (PRIuLEAST8): Likewise.
29613 [C99-based-standards] (PRIxLEAST8): Likewise.
29614 [C99-based-standards] (PRIXLEAST8): Likewise.
29615 [C99-based-standards] (SCNdLEAST8): Likewise.
29616 [C99-based-standards] (SCNiLEAST8): Likewise.
29617 [C99-based-standards] (SCNoLEAST8): Likewise.
29618 [C99-based-standards] (SCNuLEAST8): Likewise.
29619 [C99-based-standards] (SCNxLEAST8): Likewise.
29620 [C99-based-standards] (PRIdFAST8): Likewise.
29621 [C99-based-standards] (PRIiFAST8): Likewise.
29622 [C99-based-standards] (PRIoFAST8): Likewise.
29623 [C99-based-standards] (PRIuFAST8): Likewise.
29624 [C99-based-standards] (PRIxFAST8): Likewise.
29625 [C99-based-standards] (PRIXFAST8): Likewise.
29626 [C99-based-standards] (SCNdFAST8): Likewise.
29627 [C99-based-standards] (SCNiFAST8): Likewise.
29628 [C99-based-standards] (SCNoFAST8): Likewise.
29629 [C99-based-standards] (SCNuFAST8): Likewise.
29630 [C99-based-standards] (SCNxFAST8): Likewise.
29631 [C99-based-standards] (PRId16): Likewise.
29632 [C99-based-standards] (PRIi16): Likewise.
29633 [C99-based-standards] (PRIo16): Likewise.
29634 [C99-based-standards] (PRIu16): Likewise.
29635 [C99-based-standards] (PRIx16): Likewise.
29636 [C99-based-standards] (PRIX16): Likewise.
29637 [C99-based-standards] (SCNd16): Likewise.
29638 [C99-based-standards] (SCNi16): Likewise.
29639 [C99-based-standards] (SCNo16): Likewise.
29640 [C99-based-standards] (SCNu16): Likewise.
29641 [C99-based-standards] (SCNx16): Likewise.
29642 [C99-based-standards] (PRIdLEAST16): Likewise.
29643 [C99-based-standards] (PRIiLEAST16): Likewise.
29644 [C99-based-standards] (PRIoLEAST16): Likewise.
29645 [C99-based-standards] (PRIuLEAST16): Likewise.
29646 [C99-based-standards] (PRIxLEAST16): Likewise.
29647 [C99-based-standards] (PRIXLEAST16): Likewise.
29648 [C99-based-standards] (SCNdLEAST16): Likewise.
29649 [C99-based-standards] (SCNiLEAST16): Likewise.
29650 [C99-based-standards] (SCNoLEAST16): Likewise.
29651 [C99-based-standards] (SCNuLEAST16): Likewise.
29652 [C99-based-standards] (SCNxLEAST16): Likewise.
29653 [C99-based-standards] (PRIdFAST16): Likewise.
29654 [C99-based-standards] (PRIiFAST16): Likewise.
29655 [C99-based-standards] (PRIoFAST16): Likewise.
29656 [C99-based-standards] (PRIuFAST16): Likewise.
29657 [C99-based-standards] (PRIxFAST16): Likewise.
29658 [C99-based-standards] (PRIXFAST16): Likewise.
29659 [C99-based-standards] (SCNdFAST16): Likewise.
29660 [C99-based-standards] (SCNiFAST16): Likewise.
29661 [C99-based-standards] (SCNoFAST16): Likewise.
29662 [C99-based-standards] (SCNuFAST16): Likewise.
29663 [C99-based-standards] (SCNxFAST16): Likewise.
29664 [C99-based-standards] (PRId32): Likewise.
29665 [C99-based-standards] (PRIi32): Likewise.
29666 [C99-based-standards] (PRIo32): Likewise.
29667 [C99-based-standards] (PRIu32): Likewise.
29668 [C99-based-standards] (PRIx32): Likewise.
29669 [C99-based-standards] (PRIX32): Likewise.
29670 [C99-based-standards] (SCNd32): Likewise.
29671 [C99-based-standards] (SCNi32): Likewise.
29672 [C99-based-standards] (SCNo32): Likewise.
29673 [C99-based-standards] (SCNu32): Likewise.
29674 [C99-based-standards] (SCNx32): Likewise.
29675 [C99-based-standards] (PRIdLEAST32): Likewise.
29676 [C99-based-standards] (PRIiLEAST32): Likewise.
29677 [C99-based-standards] (PRIoLEAST32): Likewise.
29678 [C99-based-standards] (PRIuLEAST32): Likewise.
29679 [C99-based-standards] (PRIxLEAST32): Likewise.
29680 [C99-based-standards] (PRIXLEAST32): Likewise.
29681 [C99-based-standards] (SCNdLEAST32): Likewise.
29682 [C99-based-standards] (SCNiLEAST32): Likewise.
29683 [C99-based-standards] (SCNoLEAST32): Likewise.
29684 [C99-based-standards] (SCNuLEAST32): Likewise.
29685 [C99-based-standards] (SCNxLEAST32): Likewise.
29686 [C99-based-standards] (PRIdFAST32): Likewise.
29687 [C99-based-standards] (PRIiFAST32): Likewise.
29688 [C99-based-standards] (PRIoFAST32): Likewise.
29689 [C99-based-standards] (PRIuFAST32): Likewise.
29690 [C99-based-standards] (PRIxFAST32): Likewise.
29691 [C99-based-standards] (PRIXFAST32): Likewise.
29692 [C99-based-standards] (SCNdFAST32): Likewise.
29693 [C99-based-standards] (SCNiFAST32): Likewise.
29694 [C99-based-standards] (SCNoFAST32): Likewise.
29695 [C99-based-standards] (SCNuFAST32): Likewise.
29696 [C99-based-standards] (SCNxFAST32): Likewise.
29697 [C99-based-standards] (PRId64): Likewise.
29698 [C99-based-standards] (PRIi64): Likewise.
29699 [C99-based-standards] (PRIo64): Likewise.
29700 [C99-based-standards] (PRIu64): Likewise.
29701 [C99-based-standards] (PRIx64): Likewise.
29702 [C99-based-standards] (PRIX64): Likewise.
29703 [C99-based-standards] (SCNd64): Likewise.
29704 [C99-based-standards] (SCNi64): Likewise.
29705 [C99-based-standards] (SCNo64): Likewise.
29706 [C99-based-standards] (SCNu64): Likewise.
29707 [C99-based-standards] (SCNx64): Likewise.
29708 [C99-based-standards] (PRIdLEAST64): Likewise.
29709 [C99-based-standards] (PRIiLEAST64): Likewise.
29710 [C99-based-standards] (PRIoLEAST64): Likewise.
29711 [C99-based-standards] (PRIuLEAST64): Likewise.
29712 [C99-based-standards] (PRIxLEAST64): Likewise.
29713 [C99-based-standards] (PRIXLEAST64): Likewise.
29714 [C99-based-standards] (SCNdLEAST64): Likewise.
29715 [C99-based-standards] (SCNiLEAST64): Likewise.
29716 [C99-based-standards] (SCNoLEAST64): Likewise.
29717 [C99-based-standards] (SCNuLEAST64): Likewise.
29718 [C99-based-standards] (SCNxLEAST64): Likewise.
29719 [C99-based-standards] (PRIdFAST64): Likewise.
29720 [C99-based-standards] (PRIiFAST64): Likewise.
29721 [C99-based-standards] (PRIoFAST64): Likewise.
29722 [C99-based-standards] (PRIuFAST64): Likewise.
29723 [C99-based-standards] (PRIxFAST64): Likewise.
29724 [C99-based-standards] (PRIXFAST64): Likewise.
29725 [C99-based-standards] (SCNdFAST64): Likewise.
29726 [C99-based-standards] (SCNiFAST64): Likewise.
29727 [C99-based-standards] (SCNoFAST64): Likewise.
29728 [C99-based-standards] (SCNuFAST64): Likewise.
29729 [C99-based-standards] (SCNxFAST64): Likewise.
29730 [C99-based-standards] (PRIdMAX): Likewise.
29731 [C99-based-standards] (PRIiMAX): Likewise.
29732 [C99-based-standards] (PRIoMAX): Likewise.
29733 [C99-based-standards] (PRIuMAX): Likewise.
29734 [C99-based-standards] (PRIxMAX): Likewise.
29735 [C99-based-standards] (PRIXMAX): Likewise.
29736 [C99-based-standards] (SCNdMAX): Likewise.
29737 [C99-based-standards] (SCNiMAX): Likewise.
29738 [C99-based-standards] (SCNoMAX): Likewise.
29739 [C99-based-standards] (SCNuMAX): Likewise.
29740 [C99-based-standards] (SCNxMAX): Likewise.
29741 [C99-based-standards] (PRIdPTR): Likewise.
29742 [C99-based-standards] (PRIiPTR): Likewise.
29743 [C99-based-standards] (PRIoPTR): Likewise.
29744 [C99-based-standards] (PRIuPTR): Likewise.
29745 [C99-based-standards] (PRIxPTR): Likewise.
29746 [C99-based-standards] (PRIXPTR): Likewise.
29747 [C99-based-standards] (SCNdPTR): Likewise.
29748 [C99-based-standards] (SCNiPTR): Likewise.
29749 [C99-based-standards] (SCNoPTR): Likewise.
29750 [C99-based-standards] (SCNuPTR): Likewise.
29751 [C99-based-standards] (SCNxPTR): Likewise.
29752 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
29754 * conform/data/stdint.h-data: Update comments to clarify
29756 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
29758 [C99-based standards] (INT8_MAX): Likewise.
29759 [C99-based standards] (INT16_MIN): Likewise.
29760 [C99-based standards] (INT16_MAX): Likewise.
29761 [C99-based standards] (INT32_MIN): Likewise.
29762 [C99-based standards] (INT32_MAX): Likewise.
29763 [C99-based standards] (INT64_MIN): Likewise.
29764 [C99-based standards] (INT64_MAX): Likewise.
29765 [C99-based standards] (UINT8_MAX): Likewise.
29766 [C99-based standards] (UINT16_MAX): Likewise.
29767 [C99-based standards] (UINT32_MAX): Likewise.
29768 [C99-based standards] (UINT64_MAX): Likewise.
29769 [C99-based standards] (INT_LEAST8_MIN): Likewise.
29770 [C99-based standards] (INT_LEAST8_MAX): Likewise.
29771 [C99-based standards] (INT_LEAST16_MIN): Likewise.
29772 [C99-based standards] (INT_LEAST16_MAX): Likewise.
29773 [C99-based standards] (INT_LEAST32_MIN): Likewise.
29774 [C99-based standards] (INT_LEAST32_MAX): Likewise.
29775 [C99-based standards] (INT_LEAST64_MIN): Likewise.
29776 [C99-based standards] (INT_LEAST64_MAX): Likewise.
29777 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
29778 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
29779 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
29780 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
29781 [C99-based standards] (INT_FAST8_MIN): Likewise.
29782 [C99-based standards] (INT_FAST8_MAX): Likewise.
29783 [C99-based standards] (INT_FAST16_MIN): Likewise.
29784 [C99-based standards] (INT_FAST16_MAX): Likewise.
29785 [C99-based standards] (INT_FAST32_MIN): Likewise.
29786 [C99-based standards] (INT_FAST32_MAX): Likewise.
29787 [C99-based standards] (INT_FAST64_MIN): Likewise.
29788 [C99-based standards] (INT_FAST64_MAX): Likewise.
29789 [C99-based standards] (UINT_FAST8_MAX): Likewise.
29790 [C99-based standards] (UINT_FAST16_MAX): Likewise.
29791 [C99-based standards] (UINT_FAST32_MAX): Likewise.
29792 [C99-based standards] (UINT_FAST64_MAX): Likewise.
29793 [C99-based standards] (INTPTR_MIN): Likewise.
29794 [C99-based standards] (INTPTR_MAX): Likewise.
29795 [C99-based standards] (UINTPTR_MAX): Likewise.
29796 [C99-based standards] (INTMAX_MIN): Likewise.
29797 [C99-based standards] (INTMAX_MAX): Likewise.
29798 [C99-based standards] (UINTMAX_MAX): Likewise.
29799 [C99-based standards] (PTRDIFF_MIN): Likewise.
29800 [C99-based standards] (PTRDIFF_MAX): Likewise.
29801 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
29802 [C99-based standards] (SIZE_MAX): Likewise.
29803 [C99-based standards] (WCHAR_MAX): Likewise.
29804 [C99-based standards] (WINT_MAX): Likewise.
29805 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
29806 constraint on value.
29807 [C99-based standards] (WCHAR_MIN): Likewise.
29808 [C99-based standards] (WINT_MIN): Likewise.
29809 [C99-based standards] (*_t): Allow.
29810 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
29811 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
29812 Include math.h-data and complex.h-data. Remove all expectations
29813 of math.h and complex.h contents.
29814 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
29816 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
29817 (struct tm): Expect tag.
29818 [C99-based-standards] (wcstof): Expect function.
29819 [C99-based-standards] (wcstold): Likewise.
29820 [C99-based-standards] (wcstoll): Likewise.
29821 [C99-based-standards] (wcstoull): Likewise.
29822 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
29823 macro-int-constant. Specify type.
29824 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
29825 constraint on value.
29826 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29828 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
29830 [ISO C standards]: Do not allow headers.
29831 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
29832 wcs[abcdefghijklmnopqrstuvwxyz]*.
29833 [ISO C standards] (*_t): Do not allow.
29834 * conform/data/wctype.h-data [C99-based standards] (iswblank):
29836 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
29837 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29839 [ISO C standards]: Do not allow headers.
29840 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
29841 is[abcdefghijklmnopqrstuvwxyz]*.
29842 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
29843 to[abcdefghijklmnopqrstuvwxyz]*.
29844 [ISO C standards] (*_t): Do not allow.
29845 * conform/data/stdalign.h-data: New file.
29846 * conform/data/stdbool.h-data: Likewise.
29847 * conform/data/stdnoreturn.h-data: Likewise.
29849 2012-11-07 Roland McGrath <roland@hack.frob.com>
29852 * manual/filesys.texi (Directory Entries): Typo fix.
29853 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
29855 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29857 * elf/elf.h (EM_AARCH64): New macro.
29858 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
29859 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
29860 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
29861 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
29862 (R_AARCH64_TLSDESC): Likewise.
29863 (NT_ARM_TLS): Likewise.
29864 (NT_ARM_HW_BREAK): Likewise.
29865 (NT_ARM_HW_WATCH): Likewise.
29867 2012-11-07 Joseph Myers <joseph@codesourcery.com>
29870 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
29871 (__ieee754_powl): Saturate nonzero exponents with absolute value
29872 below 0x1p-79 to +/- 0x1p-79.
29873 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
29874 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
29875 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
29876 nonzero exponents with absolute value below 0x1p-32 to +/-
29878 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
29879 (__ieee754_powl): Saturate nonzero exponents with absolute value
29880 below 0x1p-79 to +/- 0x1p-79.
29881 * math/libm-test.inc (pow_test): Add more tests.
29883 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29885 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
29886 _dl_s390_cap_flags with kernel. Increase string length.
29887 (_dl_s390_platforms): Add z196 and zEC12.
29889 2012-11-07 Joseph Myers <joseph@codesourcery.com>
29891 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
29892 Change XOPEN21K to XOPEN2K.
29894 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
29896 * string/memmove.c: Use memcpy when possible.
29898 2012-11-06 Andreas Jaeger <aj@suse.de>
29900 * po/eo.po: Update from translation team.
29902 2012-11-06 Joseph Myers <joseph@codesourcery.com>
29905 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
29906 exponent and small x and y exponents, scale x or y up. Increase
29907 by 2 the exponent used in scaling up.
29908 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29909 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29910 * math/libm-test.inc (fma_test): Add more tests.
29911 (fma_test_towardzero): Likewise.
29912 (fma_test_downward): Likewise.
29913 (fma_test_upward): Likewise.
29915 2012-11-05 Joseph Myers <joseph@codesourcery.com>
29918 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
29922 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
29923 namespace for names of struct fields.
29924 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
29926 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
29927 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
29929 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
29932 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
29934 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
29936 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
29940 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
29943 2012-11-04 Joseph Myers <joseph@codesourcery.com>
29946 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
29947 definitely overflow as x * y not x * y + z.
29948 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29949 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29950 * math/libm-test.inc (fma_test): Add more tests.
29951 (fma_test_towardzero): Likewise.
29952 (fma_test_downward): Likewise.
29953 (fma_test_upward): Likewise.
29955 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
29959 * include/stub-tag.h: Remove file.
29960 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
29962 * manual/maint.texi (Porting): Don't reference it.
29963 * Makerules ($(objpfx)stubs): Likewise.
29964 * dirent/closedir.c: Don't include <stub-tag.h>.
29965 * dirent/dirfd.c: Likewise.
29966 * dirent/fdopendir.c: Likewise.
29967 * dirent/getdents.c: Likewise.
29968 * dirent/getdents64.c: Likewise.
29969 * dirent/opendir.c: Likewise.
29970 * dirent/readdir.c: Likewise.
29971 * dirent/readdir64.c: Likewise.
29972 * dirent/readdir64_r.c: Likewise.
29973 * dirent/readdir_r.c: Likewise.
29974 * dirent/rewinddir.c: Likewise.
29975 * dirent/seekdir.c: Likewise.
29976 * dirent/telldir.c: Likewise.
29977 * gmon/profil.c: Likewise.
29978 * grp/setgroups.c: Likewise.
29979 * inet/if_index.c: Likewise.
29980 * io/access.c: Likewise.
29981 * io/chdir.c: Likewise.
29982 * io/chmod.c: Likewise.
29983 * io/chown.c: Likewise.
29984 * io/close.c: Likewise.
29985 * io/dup.c: Likewise.
29986 * io/dup2.c: Likewise.
29987 * io/dup3.c: Likewise.
29988 * io/euidaccess.c: Likewise.
29989 * io/faccessat.c: Likewise.
29990 * io/fchdir.c: Likewise.
29991 * io/fchmod.c: Likewise.
29992 * io/fchmodat.c: Likewise.
29993 * io/fchown.c: Likewise.
29994 * io/fchownat.c: Likewise.
29995 * io/fcntl.c: Likewise.
29996 * io/flock.c: Likewise.
29997 * io/fstatfs.c: Likewise.
29998 * io/fstatfs64.c: Likewise.
29999 * io/fstatvfs.c: Likewise.
30000 * io/fstatvfs64.c: Likewise.
30001 * io/futimens.c: Likewise.
30002 * io/fxstat.c: Likewise.
30003 * io/fxstat64.c: Likewise.
30004 * io/fxstatat.c: Likewise.
30005 * io/fxstatat64.c: Likewise.
30006 * io/getcwd.c: Likewise.
30007 * io/isatty.c: Likewise.
30008 * io/lchmod.c: Likewise.
30009 * io/lchown.c: Likewise.
30010 * io/link.c: Likewise.
30011 * io/linkat.c: Likewise.
30012 * io/lseek.c: Likewise.
30013 * io/lseek64.c: Likewise.
30014 * io/lxstat64.c: Likewise.
30015 * io/mkdir.c: Likewise.
30016 * io/mkdirat.c: Likewise.
30017 * io/mkfifo.c: Likewise.
30018 * io/mkfifoat.c: Likewise.
30019 * io/open.c: Likewise.
30020 * io/open64.c: Likewise.
30021 * io/openat.c: Likewise.
30022 * io/openat64.c: Likewise.
30023 * io/pipe.c: Likewise.
30024 * io/pipe2.c: Likewise.
30025 * io/poll.c: Likewise.
30026 * io/posix_fadvise.c: Likewise.
30027 * io/posix_fadvise64.c: Likewise.
30028 * io/posix_fallocate.c: Likewise.
30029 * io/posix_fallocate64.c: Likewise.
30030 * io/read.c: Likewise.
30031 * io/readlink.c: Likewise.
30032 * io/readlinkat.c: Likewise.
30033 * io/rmdir.c: Likewise.
30034 * io/sendfile.c: Likewise.
30035 * io/sendfile64.c: Likewise.
30036 * io/statfs.c: Likewise.
30037 * io/statfs64.c: Likewise.
30038 * io/statvfs.c: Likewise.
30039 * io/statvfs64.c: Likewise.
30040 * io/symlink.c: Likewise.
30041 * io/symlinkat.c: Likewise.
30042 * io/ttyname.c: Likewise.
30043 * io/ttyname_r.c: Likewise.
30044 * io/umask.c: Likewise.
30045 * io/unlink.c: Likewise.
30046 * io/unlinkat.c: Likewise.
30047 * io/utime.c: Likewise.
30048 * io/utimensat.c: Likewise.
30049 * io/write.c: Likewise.
30050 * io/xmknod.c: Likewise.
30051 * io/xmknodat.c: Likewise.
30052 * io/xstat.c: Likewise.
30053 * io/xstat64.c: Likewise.
30054 * login/getpt.c: Likewise.
30055 * login/grantpt.c: Likewise.
30056 * login/unlockpt.c: Likewise.
30057 * math/e_acoshl.c: Likewise.
30058 * math/e_acosl.c: Likewise.
30059 * math/e_asinl.c: Likewise.
30060 * math/e_atan2l.c: Likewise.
30061 * math/e_atanhl.c: Likewise.
30062 * math/e_coshl.c: Likewise.
30063 * math/e_expl.c: Likewise.
30064 * math/e_fmodl.c: Likewise.
30065 * math/e_gammal_r.c: Likewise.
30066 * math/e_hypotl.c: Likewise.
30067 * math/e_j0l.c: Likewise.
30068 * math/e_j1l.c: Likewise.
30069 * math/e_jnl.c: Likewise.
30070 * math/e_lgammal_r.c: Likewise.
30071 * math/e_log10l.c: Likewise.
30072 * math/e_log2l.c: Likewise.
30073 * math/e_logl.c: Likewise.
30074 * math/e_powl.c: Likewise.
30075 * math/e_rem_pio2l.c: Likewise.
30076 * math/e_sinhl.c: Likewise.
30077 * math/e_sqrtl.c: Likewise.
30078 * math/fclrexcpt.c: Likewise.
30079 * math/fedisblxcpt.c: Likewise.
30080 * math/feenablxcpt.c: Likewise.
30081 * math/fegetenv.c: Likewise.
30082 * math/fegetexcept.c: Likewise.
30083 * math/fegetround.c: Likewise.
30084 * math/feholdexcpt.c: Likewise.
30085 * math/fesetenv.c: Likewise.
30086 * math/fesetround.c: Likewise.
30087 * math/feupdateenv.c: Likewise.
30088 * math/fgetexcptflg.c: Likewise.
30089 * math/fraiseexcpt.c: Likewise.
30090 * math/fsetexcptflg.c: Likewise.
30091 * math/ftestexcept.c: Likewise.
30092 * math/k_cosl.c: Likewise.
30093 * math/k_rem_pio2l.c: Likewise.
30094 * math/k_sinl.c: Likewise.
30095 * math/k_tanl.c: Likewise.
30096 * math/s_asinhl.c: Likewise.
30097 * math/s_atanl.c: Likewise.
30098 * math/s_cbrtl.c: Likewise.
30099 * math/s_erfl.c: Likewise.
30100 * math/s_expm1l.c: Likewise.
30101 * math/s_log1pl.c: Likewise.
30102 * math/s_tanhl.c: Likewise.
30103 * misc/acct.c: Likewise.
30104 * misc/brk.c: Likewise.
30105 * misc/chflags.c: Likewise.
30106 * misc/chroot.c: Likewise.
30107 * misc/fchflags.c: Likewise.
30108 * misc/fgetxattr.c: Likewise.
30109 * misc/flistxattr.c: Likewise.
30110 * misc/fremovexattr.c: Likewise.
30111 * misc/fsetxattr.c: Likewise.
30112 * misc/fsync.c: Likewise.
30113 * misc/ftruncate.c: Likewise.
30114 * misc/futimes.c: Likewise.
30115 * misc/futimesat.c: Likewise.
30116 * misc/getdomain.c: Likewise.
30117 * misc/getdtsz.c: Likewise.
30118 * misc/gethostid.c: Likewise.
30119 * misc/gethostname.c: Likewise.
30120 * misc/getloadavg.c: Likewise.
30121 * misc/getpagesize.c: Likewise.
30122 * misc/getsysstats.c: Likewise.
30123 * misc/getxattr.c: Likewise.
30124 * misc/gtty.c: Likewise.
30125 * misc/ioctl.c: Likewise.
30126 * misc/lgetxattr.c: Likewise.
30127 * misc/listxattr.c: Likewise.
30128 * misc/llistxattr.c: Likewise.
30129 * misc/lremovexattr.c: Likewise.
30130 * misc/lsetxattr.c: Likewise.
30131 * misc/lutimes.c: Likewise.
30132 * misc/madvise.c: Likewise.
30133 * misc/mincore.c: Likewise.
30134 * misc/mlock.c: Likewise.
30135 * misc/mlockall.c: Likewise.
30136 * misc/mmap.c: Likewise.
30137 * misc/mprotect.c: Likewise.
30138 * misc/msync.c: Likewise.
30139 * misc/munlock.c: Likewise.
30140 * misc/munlockall.c: Likewise.
30141 * misc/munmap.c: Likewise.
30142 * misc/preadv.c: Likewise.
30143 * misc/preadv64.c: Likewise.
30144 * misc/ptrace.c: Likewise.
30145 * misc/pwritev.c: Likewise.
30146 * misc/pwritev64.c: Likewise.
30147 * misc/readv.c: Likewise.
30148 * misc/reboot.c: Likewise.
30149 * misc/remap_file_pages.c: Likewise.
30150 * misc/removexattr.c: Likewise.
30151 * misc/revoke.c: Likewise.
30152 * misc/select.c: Likewise.
30153 * misc/setdomain.c: Likewise.
30154 * misc/setegid.c: Likewise.
30155 * misc/seteuid.c: Likewise.
30156 * misc/sethostid.c: Likewise.
30157 * misc/sethostname.c: Likewise.
30158 * misc/setregid.c: Likewise.
30159 * misc/setreuid.c: Likewise.
30160 * misc/setxattr.c: Likewise.
30161 * misc/sstk.c: Likewise.
30162 * misc/stty.c: Likewise.
30163 * misc/swapoff.c: Likewise.
30164 * misc/swapon.c: Likewise.
30165 * misc/sync.c: Likewise.
30166 * misc/syncfs.c: Likewise.
30167 * misc/syscall.c: Likewise.
30168 * misc/truncate.c: Likewise.
30169 * misc/ualarm.c: Likewise.
30170 * misc/usleep.c: Likewise.
30171 * misc/ustat.c: Likewise.
30172 * misc/utimes.c: Likewise.
30173 * misc/vhangup.c: Likewise.
30174 * misc/writev.c: Likewise.
30175 * posix/_exit.c: Likewise.
30176 * posix/alarm.c: Likewise.
30177 * posix/execve.c: Likewise.
30178 * posix/fexecve.c: Likewise.
30179 * posix/fork.c: Likewise.
30180 * posix/fpathconf.c: Likewise.
30181 * posix/getaddrinfo.c: Likewise.
30182 * posix/getegid.c: Likewise.
30183 * posix/geteuid.c: Likewise.
30184 * posix/getgid.c: Likewise.
30185 * posix/getgroups.c: Likewise.
30186 * posix/getlogin.c: Likewise.
30187 * posix/getlogin_r.c: Likewise.
30188 * posix/getpgid.c: Likewise.
30189 * posix/getpid.c: Likewise.
30190 * posix/getppid.c: Likewise.
30191 * posix/getresgid.c: Likewise.
30192 * posix/getresuid.c: Likewise.
30193 * posix/getsid.c: Likewise.
30194 * posix/getuid.c: Likewise.
30195 * posix/glob64.c: Likewise.
30196 * posix/nanosleep.c: Likewise.
30197 * posix/pathconf.c: Likewise.
30198 * posix/pause.c: Likewise.
30199 * posix/posix_madvise.c: Likewise.
30200 * posix/pread.c: Likewise.
30201 * posix/pread64.c: Likewise.
30202 * posix/pwrite.c: Likewise.
30203 * posix/pwrite64.c: Likewise.
30204 * posix/sched_getaffinity.c: Likewise.
30205 * posix/sched_getp.c: Likewise.
30206 * posix/sched_gets.c: Likewise.
30207 * posix/sched_primax.c: Likewise.
30208 * posix/sched_primin.c: Likewise.
30209 * posix/sched_rr_gi.c: Likewise.
30210 * posix/sched_setaffinity.c: Likewise.
30211 * posix/sched_setp.c: Likewise.
30212 * posix/sched_sets.c: Likewise.
30213 * posix/sched_yield.c: Likewise.
30214 * posix/setgid.c: Likewise.
30215 * posix/setlogin.c: Likewise.
30216 * posix/setpgid.c: Likewise.
30217 * posix/setresgid.c: Likewise.
30218 * posix/setresuid.c: Likewise.
30219 * posix/setsid.c: Likewise.
30220 * posix/setuid.c: Likewise.
30221 * posix/sleep.c: Likewise.
30222 * posix/spawni.c: Likewise.
30223 * posix/sysconf.c: Likewise.
30224 * posix/times.c: Likewise.
30225 * posix/wait.c: Likewise.
30226 * posix/wait3.c: Likewise.
30227 * posix/wait4.c: Likewise.
30228 * posix/waitpid.c: Likewise.
30229 * resolv/gai_sigqueue.c: Likewise.
30230 * resource/getpriority.c: Likewise.
30231 * resource/getrlimit.c: Likewise.
30232 * resource/getrusage.c: Likewise.
30233 * resource/nice.c: Likewise.
30234 * resource/setpriority.c: Likewise.
30235 * resource/setrlimit.c: Likewise.
30236 * resource/ulimit.c: Likewise.
30237 * rt/aio_cancel.c: Likewise.
30238 * rt/aio_fsync.c: Likewise.
30239 * rt/aio_read.c: Likewise.
30240 * rt/aio_sigqueue.c: Likewise.
30241 * rt/aio_suspend.c: Likewise.
30242 * rt/aio_write.c: Likewise.
30243 * rt/clock_getres.c: Likewise.
30244 * rt/clock_gettime.c: Likewise.
30245 * rt/clock_nanosleep.c: Likewise.
30246 * rt/clock_settime.c: Likewise.
30247 * rt/lio_listio.c: Likewise.
30248 * rt/mq_close.c: Likewise.
30249 * rt/mq_getattr.c: Likewise.
30250 * rt/mq_notify.c: Likewise.
30251 * rt/mq_open.c: Likewise.
30252 * rt/mq_receive.c: Likewise.
30253 * rt/mq_send.c: Likewise.
30254 * rt/mq_setattr.c: Likewise.
30255 * rt/mq_timedreceive.c: Likewise.
30256 * rt/mq_timedsend.c: Likewise.
30257 * rt/mq_unlink.c: Likewise.
30258 * rt/shm_open.c: Likewise.
30259 * rt/shm_unlink.c: Likewise.
30260 * rt/timer_create.c: Likewise.
30261 * rt/timer_delete.c: Likewise.
30262 * rt/timer_getoverr.c: Likewise.
30263 * rt/timer_gettime.c: Likewise.
30264 * rt/timer_settime.c: Likewise.
30265 * setjmp/__longjmp.c: Likewise.
30266 * setjmp/setjmp.c: Likewise.
30267 * signal/kill.c: Likewise.
30268 * signal/killpg.c: Likewise.
30269 * signal/raise.c: Likewise.
30270 * signal/sigaction.c: Likewise.
30271 * signal/sigaltstack.c: Likewise.
30272 * signal/sigblock.c: Likewise.
30273 * signal/sigignore.c: Likewise.
30274 * signal/sigintr.c: Likewise.
30275 * signal/signal.c: Likewise.
30276 * signal/sigpause.c: Likewise.
30277 * signal/sigpending.c: Likewise.
30278 * signal/sigqueue.c: Likewise.
30279 * signal/sigreturn.c: Likewise.
30280 * signal/sigset.c: Likewise.
30281 * signal/sigsetmask.c: Likewise.
30282 * signal/sigstack.c: Likewise.
30283 * signal/sigsuspend.c: Likewise.
30284 * signal/sigtimedwait.c: Likewise.
30285 * signal/sigvec.c: Likewise.
30286 * signal/sigwait.c: Likewise.
30287 * signal/sigwaitinfo.c: Likewise.
30288 * signal/sysv_signal.c: Likewise.
30289 * socket/accept.c: Likewise.
30290 * socket/accept4.c: Likewise.
30291 * socket/bind.c: Likewise.
30292 * socket/connect.c: Likewise.
30293 * socket/getpeername.c: Likewise.
30294 * socket/getsockname.c: Likewise.
30295 * socket/getsockopt.c: Likewise.
30296 * socket/isfdtype.c: Likewise.
30297 * socket/listen.c: Likewise.
30298 * socket/recv.c: Likewise.
30299 * socket/recvfrom.c: Likewise.
30300 * socket/recvmsg.c: Likewise.
30301 * socket/send.c: Likewise.
30302 * socket/sendmsg.c: Likewise.
30303 * socket/sendto.c: Likewise.
30304 * socket/setsockopt.c: Likewise.
30305 * socket/shutdown.c: Likewise.
30306 * socket/sockatmark.c: Likewise.
30307 * socket/socket.c: Likewise.
30308 * socket/socketpair.c: Likewise.
30309 * stdio-common/ctermid.c: Likewise.
30310 * stdio-common/cuserid.c: Likewise.
30311 * stdio-common/remove.c: Likewise.
30312 * stdio-common/rename.c: Likewise.
30313 * stdio-common/renameat.c: Likewise.
30314 * stdio-common/tempname.c: Likewise.
30315 * stdlib/getcontext.c: Likewise.
30316 * stdlib/makecontext.c: Likewise.
30317 * stdlib/setcontext.c: Likewise.
30318 * stdlib/swapcontext.c: Likewise.
30319 * stdlib/system.c: Likewise.
30320 * streams/fattach.c: Likewise.
30321 * streams/fdetach.c: Likewise.
30322 * streams/getmsg.c: Likewise.
30323 * streams/getpmsg.c: Likewise.
30324 * streams/putmsg.c: Likewise.
30325 * streams/putpmsg.c: Likewise.
30326 * sysdeps/unix/bsd/getpt.c: Likewise.
30327 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
30328 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
30329 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30332 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
30333 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30334 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30335 * sysvipc/msgctl.c: Likewise.
30336 * sysvipc/msgget.c: Likewise.
30337 * sysvipc/msgrcv.c: Likewise.
30338 * sysvipc/msgsnd.c: Likewise.
30339 * sysvipc/semctl.c: Likewise.
30340 * sysvipc/semget.c: Likewise.
30341 * sysvipc/semop.c: Likewise.
30342 * sysvipc/semtimedop.c: Likewise.
30343 * sysvipc/shmat.c: Likewise.
30344 * sysvipc/shmctl.c: Likewise.
30345 * sysvipc/shmdt.c: Likewise.
30346 * sysvipc/shmget.c: Likewise.
30347 * termios/tcdrain.c: Likewise.
30348 * termios/tcflow.c: Likewise.
30349 * termios/tcflush.c: Likewise.
30350 * termios/tcgetattr.c: Likewise.
30351 * termios/tcgetpgrp.c: Likewise.
30352 * termios/tcsendbrk.c: Likewise.
30353 * termios/tcsetattr.c: Likewise.
30354 * termios/tcsetpgrp.c: Likewise.
30355 * time/adjtime.c: Likewise.
30356 * time/clock.c: Likewise.
30357 * time/getitimer.c: Likewise.
30358 * time/gettimeofday.c: Likewise.
30359 * time/setitimer.c: Likewise.
30360 * time/settimeofday.c: Likewise.
30361 * time/stime.c: Likewise.
30362 * time/time.c: Likewise.
30364 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
30366 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
30369 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
30371 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
30373 2012-11-03 Joseph Myers <joseph@codesourcery.com>
30376 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
30377 FE_TONEAREST before applying Dekker multiplication and Knuth
30378 addition. Clear inexact exceptions and check for exact zero
30379 results afterwards.
30380 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30381 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30382 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30383 * math/libm-test.inc (fma_test): Add more tests.
30384 (fma_test_towardzero): Likewise.
30385 (fma_test_downward): Likewise.
30386 (fma_test_upward): Likewise.
30387 * sysdeps/generic/math_private.h (default_libc_fesetround): New
30389 (libc_fesetround): New macro.
30390 (libc_fesetroundf): Likewise.
30391 (libc_fesetroundl): Likewise.
30392 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
30394 (libc_fesetround_387): Likewise.
30395 (libc_fesetroundf): New macro.
30396 (libc_fesetround): Likewise.
30397 (libc_fesetroundl): Likewise.
30398 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
30400 (libc_fesetroundf): New macro.
30401 (libc_fesetround): Likewise.
30402 (libc_fesetroundl): Likewise.
30403 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
30404 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
30405 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
30407 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
30408 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
30410 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
30411 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
30413 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
30417 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
30418 integer constant usable in #if and use that to give value to enum
30420 (FE_DIVBYZERO): Likewise.
30421 (FE_UNDERFLOW): Likewise.
30422 (FE_OVERFLOW): Likewise.
30423 (FE_INVALID): Likewise.
30424 (FE_INVALID_SNAN): Likewise.
30425 (FE_INVALID_ISI): Likewise.
30426 (FE_INVALID_IDI): Likewise.
30427 (FE_INVALID_ZDZ): Likewise.
30428 (FE_INVALID_IMZ): Likewise.
30429 (FE_INVALID_COMPARE): Likewise.
30430 (FE_INVALID_SOFTWARE): Likewise.
30431 (FE_INVALID_SQRT): Likewise.
30432 (FE_INVALID_INTEGER_CONVERSION): Likewise.
30433 (FE_TONEAREST): Likewise.
30434 (FE_TOWARDZERO): Likewise.
30435 (FE_UPWARD): Likewise.
30436 (FE_DOWNWARD): Likewise.
30437 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
30438 (FE_DIVBYZERO): Likewise.
30439 (FE_OVERFLOW): Likewise.
30440 (FE_UNDERFLOW): Likewise.
30441 (FE_INEXACT): Likewise.
30442 (FE_TONEAREST): Likewise.
30443 (FE_DOWNWARD): Likewise.
30444 (FE_UPWARD): Likewise.
30445 (FE_TOWARDZERO): Likewise.
30446 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
30447 (FE_UNDERFLOW): Likewise.
30448 (FE_OVERFLOW): Likewise.
30449 (FE_DIVBYZERO): Likewise.
30450 (FE_INVALID): Likewise.
30451 (FE_TONEAREST): Likewise.
30452 (FE_TOWARDZERO): Likewise.
30453 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
30454 (FE_OVERFLOW): Likewise.
30455 (FE_UNDERFLOW): Likewise.
30456 (FE_DIVBYZERO): Likewise.
30457 (FE_INEXACT): Likewise.
30458 (FE_TONEAREST): Likewise.
30459 (FE_TOWARDZERO): Likewise.
30460 (FE_UPWARD): Likewise.
30461 (FE_DOWNWARD): Likewise.
30462 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
30463 (FE_DIVBYZERO): Likewise.
30464 (FE_OVERFLOW): Likewise.
30465 (FE_UNDERFLOW): Likewise.
30466 (FE_INEXACT): Likewise.
30467 (FE_TONEAREST): Likewise.
30468 (FE_DOWNWARD): Likewise.
30469 (FE_UPWARD): Likewise.
30470 (FE_TOWARDZERO): Likewise.
30472 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
30474 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
30476 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
30478 * scripts/cross-test-ssh.sh (command): Use newlines to separate
30479 commands. Quote $PWD.
30480 (blacklist_exports): Don't use remove_newlines. Replace "declare
30482 (remove_newlines): Remove.
30484 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
30486 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
30487 * stdlib/stdlib.h (atof): Moved to ...
30488 * include/bits/stdlib-float.h: Here. New file.
30489 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
30490 * stdlib/bits/stdlib-float.h: New file.
30491 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
30493 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
30496 2012-11-02 Joseph Myers <joseph@codesourcery.com>
30498 * conform/conformtest.pl (@headers): Add fenv.h.
30499 * conform/data/fenv.h-data: New file.
30500 * include/fenv.h [_ISOMAC]: Disable all contents of file except
30501 include of <math/fenv.h>.
30503 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
30504 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
30505 && !UNIX98]. Enables tests for XOPEN2K8.
30506 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
30507 POSIX2008]: Likewise.
30509 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
30510 (struct rusage): Do not expect type or its members.
30513 * math/math.h (FP_NAN): Define macro to integer constant usable in
30514 #if and use that to give value to enum constant.
30515 (FP_INFINITE): Likewise.
30516 (FP_ZERO): Likewise.
30517 (FP_SUBNORMAL): Likewise.
30518 (FP_NORMAL): Likewise.
30520 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
30522 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
30523 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
30526 2012-11-02 Roland McGrath <roland@hack.frob.com>
30528 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
30529 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
30530 autoconf-time if not.
30531 * configure.in: Remove AC_PREREQ.
30533 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30535 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
30536 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
30537 of the internal implementation.
30539 2012-11-02 Joseph Myers <joseph@codesourcery.com>
30541 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
30542 except include of <misc/sys/syslog.h>.
30544 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
30547 function returns with a NULL context exit with zero.
30549 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30551 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
30553 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
30555 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
30556 (run_program_cmd): This.
30557 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
30558 (tst_langinfo): New variable. Use it.
30560 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
30562 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
30563 floating point opcodes.
30565 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30567 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
30570 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
30572 * sysdeps/mach/hurd/powerpc: Remove directory.
30573 * sysdeps/mach/powerpc: Likewise.
30575 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30577 * scripts/check-local-headers.sh: Ignore c++ headers.
30579 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30581 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
30582 __libc_cleanup_region_start argument.
30584 2012-11-01 Joseph Myers <joseph@codesourcery.com>
30588 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
30589 x * y using scaling, not as x * y + z.
30590 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30591 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30592 * math/libm-test.inc (fma_test): Add more tests.
30593 (fma_test_towardzero): Likewise.
30594 (fma_test_downward): Likewise.
30595 (fma_test_upward): Likewise.
30597 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30599 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
30601 2012-10-31 Joseph Myers <joseph@codesourcery.com>
30603 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
30606 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
30608 * rt/tst-shm.c (worker): Correct checking for mmap failure.
30610 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30617 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30620 Fix the order of the list for glibc 2.17.
30621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30624 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30626 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30628 2012-10-31 Joseph Myers <joseph@codesourcery.com>
30631 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
30632 for low part of x being zero before using __atanl (y).
30633 * math/libm-test.inc (atan2_test): Add another test.
30635 * manual/install.texi (Configuring and compiling): Document
30636 general use of test-wrapper and test-wrapper-env.
30637 * INSTALL: Regenerated.
30639 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
30640 (__fma): Do not extract and scale down low bits on after-rounding
30641 systems when result rounded to normal precision would have normal
30643 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
30644 (__fmal): Do not extract and scale down low bits on after-rounding
30645 systems when result rounded to normal precision would have normal
30647 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
30648 (__fmal): Do not extract and scale down low bits on after-rounding
30649 systems when result rounded to normal precision would have normal
30651 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
30653 (fma_test): Add more tests.
30654 (fma_test_towardzero): Likewise.
30655 (fma_test_downward): Likewise.
30656 (fma_test_upward): Likewise.
30658 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
30660 * sysdeps/i386/tininess.h: Renamed to ...
30661 * sysdeps/x86/tininess.h: This.
30662 * sysdeps/x86_64/tininess.h: Removed.
30664 2012-10-30 Joseph Myers <joseph@codesourcery.com>
30666 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
30667 input. Use $(build-program-cmd).
30668 ($(objpfx)tst-array1-static.out): Likewise.
30669 ($(objpfx)tst-array2.out): Likewise.
30670 ($(objpfx)tst-array3.out): Likewise.
30671 ($(objpfx)tst-array4.out): Likewise.
30672 ($(objpfx)tst-array5.out): Likewise.
30673 ($(objpfx)tst-array5-static.out): Likewise.
30675 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
30677 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
30680 * nss/nsswitch.h (nss_interface_function): Provide new
30681 macro for use with NSS functions.
30682 * grp/initgroups.c: Use new macro.
30683 * nss/getXXbyYY.c: Likewise.
30684 * nss/getXXbyYY_r.c: Likewise.
30685 * nss/getXXent.c: Likewise.
30686 * nss/getXXent_r.c: Likewise.
30687 * sysdeps/posix/getaddrinfo.c: Likewise.
30689 2012-10-30 Andreas Jaeger <aj@suse.de>
30691 * po/ru.po: Update Russion translation from translation project.
30693 2012-10-30 Joseph Myers <joseph@codesourcery.com>
30697 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
30698 result and shift together with sticky bit instead of replicating
30699 round-to-nearest rounding.
30700 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30701 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30702 * math/libm-test.inc (fma_test): Add more tests. Do not permit
30703 missing underflow exceptions.
30704 (fma_test_towardzero): Add more tests.
30705 (fma_test_downward): Likewise.
30706 (fma_test_upward): Likewise.
30709 * sysdeps/generic/tininess.h: New file.
30710 * sysdeps/i386/tininess.h: Likewise.
30711 * sysdeps/sh/tininess.h: Likewise.
30712 * sysdeps/x86_64/tininess.h: Likewise.
30713 * stdlib/tst-strtod-underflow.c: Likewise.
30714 * stdlib/tst-tininess.c: Likewise.
30715 * stdlib/strtod_l.c: Include <tininess.h>.
30716 (round_and_return): Do not set errno for exact underflow cases.
30717 Force an underflow exception when setting errno for underflow.
30718 Determine underflow based on rounding to normal precision if
30719 TININESS_AFTER_ROUNDING.
30720 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
30721 ERANGE for exact underflow cases.
30722 * stdlib/Makefile (tests): Add tst-tininess and
30723 tst-strtod-underflow.
30724 ($(objpfx)tst-tininess): Use $(link-libm).
30725 ($(objpfx)tst-strtod-underflow): Likewise.
30727 2012-10-30 Andreas Jaeger <aj@suse.de>
30730 * elf/Makefile (tests): Remove conditional for have-initfini-array
30731 since this is now always required and the variable does not exist
30733 (tests-static): Likewise.
30734 (modules-names): Likewise.
30736 * po/eo.po: Add Esperanto translation from translation project.
30738 * elf/tst-array1.c (fini_array): Make writeable so that it can be
30739 merged with constructor/destructor.
30740 (init_array): Likewise.
30741 * elf/tst-array2dep.c (fini_array): Likewise.
30742 (init_array): Likewise.
30744 2012-10-29 Mike Frysinger <vapier@gentoo.org>
30746 * manual/message.texi: Delete @cartouche tags.
30748 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
30750 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
30752 * sysdeps/mach/hurd/fsync.c: Likewise.
30754 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
30755 [_POSIX_REALTIME_SIGNALS]: Change condition to
30756 [_POSIX_REALTIME_SIGNALS > 0].
30758 2012-10-27 Andreas Jaeger <aj@suse.de>
30760 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
30761 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
30762 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
30763 [__WORDSIZE != 64]: Likewise.
30765 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
30767 * iconvdata/tst-table.sh: Remove ${SHELL}.
30768 * iconvdata/tst-tables.sh: Likewise.
30770 2012-10-25 David S. Miller <davem@davemloft.net>
30772 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30773 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
30776 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
30778 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30779 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
30780 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
30783 2012-10-25 Roland McGrath <roland@hack.frob.com>
30785 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30786 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
30789 2012-10-25 Joseph Myers <joseph@codesourcery.com>
30790 Jim Blandy <jimb@codesourcery.com>
30792 * scripts/cross-test-ssh.sh: New file.
30793 * manual/install.texi (Configuring and compiling): Document use of
30795 * INSTALL: Regenerated.
30797 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
30799 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
30802 2012-10-25 Joseph Myers <joseph@codesourcery.com>
30804 * Makeconfig (run-program-prefix): Fix comment.
30806 2012-10-24 Joseph Myers <joseph@codesourcery.com>
30807 Jim Blandy <jimb@codesourcery.com>
30809 * Makeconfig (test-wrapper): New variable,
30810 (test-wrapper-env): Likewise.
30811 [$(cross-compiling) = yes && $(test-wrapper) != ""]
30812 (run-built-tests): Define to yes.
30813 (run-program-prefix): Use $(test-wrapper).
30814 (built-program-cmd): Likewise.
30815 * Rules (make-test-out): Use $(test-wrapper-env) and
30816 $(host-built-program-cmd).
30817 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
30818 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
30820 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
30821 $(test-wrapper-env) to tst-rtld-load-self.sh.
30822 ($(objpfx)order2.out): Use $(test-wrapper).
30823 ($(objpfx)tst-initorder.out): Likewise.
30824 ($(objpfx)tst-initorder2.out): Likewise.
30825 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
30826 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
30827 (test_wrapper_env): New variable. Use it to run ld.so.
30828 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
30829 Use it to run ld.so.
30830 (test_wrapper_env): Likewise.
30831 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
30832 $(test-wrapper) to run-iconv-test.sh.
30833 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
30834 (ICONV): Use $test_wrapper.
30835 * posix/Makefile ($(objpfx)globtest.out): Pass
30836 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
30837 globtest.sh, not $(run-program-prefix).
30838 * posix/globtest.sh (run_via_rtld_prefix): New variable.
30839 (test_wrapper): Likewise.
30840 (test_wrapper_env): Likewise. Use it to run globtest with HOME
30841 set together with run_via_rtld_prefix.
30842 (run_program_prefix): Define in terms of test_wrapper and
30843 run_via_rtld_prefix.
30845 2012-10-24 Roland McGrath <roland@hack.frob.com>
30847 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
30848 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
30852 * include/time.h: Remove librt_hidden_proto (clock_gettime).
30853 Declare __clock_getres, __clock_gettime, __clock_settime,
30854 __clock_nanosleep, and __clock_getcpuclockid.
30855 * rt/clock_gettime.c: Define __clock_gettime as an alias.
30856 Remove librt_hidden_def (clock_gettime).
30857 * sysdeps/unix/clock_gettime.c: Likewise.
30858 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
30859 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30860 * rt/clock_getres.c: Define __clock_getres as an alias.
30861 * sysdeps/posix/clock_getres.c: Likewise.
30862 * rt/clock_settime.c: Define __clock_settime as an alias.
30863 * sysdeps/unix/clock_settime.c: Likewise.
30864 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
30865 * sysdeps/unix/clock_nanosleep.c: Likewise.
30866 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30867 * rt/clock-compat.c: New file.
30868 * rt/Makefile (librt-routines): Add clock-compat and move
30869 $(clock-routines) to ...
30870 (routines): ... here, new variable.
30871 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
30872 Don't add get_clockfreq here.
30873 * rt/Versions (libc: GLIBC_2.17): New version set.
30874 Add clock_* symbols here.
30875 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
30876 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
30877 (GLIBC_2.17): Add clock_* symbols.
30878 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30880 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30885 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30886 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30889 * NEWS: Mention the move.
30891 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
30892 Use __open, __read, __close rather than their public counterparts.
30893 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30894 (__get_clockfreq_via_cpuinfo): Likewise.
30895 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
30896 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
30898 * config.h.in (HAVE_IFUNC): New #undef.
30899 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
30901 * configure: Regenerated.
30903 2012-10-24 Mike Frysinger <vapier@gentoo.org>
30905 * configure.in: Move READELF check to start of file.
30906 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
30907 libc_cv_asm_gnu_indirect_function in the process.
30908 * configure: Regenerated.
30910 2012-10-24 Mike Frysinger <vapier@gentoo.org>
30912 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
30913 send the output to /dev/null.
30914 (libc_cv_cc_with_libunwind): Likewise.
30915 (libc_cv_as_noexecstack): Likewise.
30916 * configure: Regenerate.
30918 2012-10-24 Joseph Myers <joseph@codesourcery.com>
30920 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
30922 * posix/globtest.sh (TMPDIR): Do not set.
30923 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
30924 (testout): Likewise.
30926 2012-10-24 Andreas Jaeger <aj@suse.de>
30928 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
30929 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
30930 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
30931 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
30932 posix_fadvise64, posix_fallocate64.
30934 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
30935 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
30936 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
30938 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
30940 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
30942 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
30943 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
30944 <bits/fcntl-linux.h>.
30945 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
30947 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
30948 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
30949 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
30950 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
30951 [__WORDSIZE != 64]: Likewise.
30953 2012-10-23 Joseph Myers <joseph@codesourcery.com>
30955 * Makeconfig (run-built-tests): New variable.
30956 * Rules [$(cross-compiling) = yes]: Change condition to
30957 [$(run-built-tests) = no].
30958 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
30959 to [$(run-built-tests) = yes].
30960 * elf/Makefile [$(cross-compiling) = no]: Likewise
30961 * grp/Makefile [$(cross-compiling) = no]: Likewise.
30962 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
30963 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
30964 * intl/Makefile [$(cross-compiling) = no]: Likewise.
30965 * io/Makefile [$(cross-compiling) = no]: Likewise.
30966 * libio/Makefile [$(cross-compiling) = no]: Likewise.
30967 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
30968 * misc/Makefile [$(cross-compiling) = no]: Likewise.
30969 * posix/Makefile [$(cross-compiling) = no]: Likewise.
30970 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
30971 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
30972 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
30973 * string/Makefile [$(cross-compiling) = no]: Likewise.
30975 * posix/Makefile ($(objpfx)globtest.out): Pass
30976 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
30977 $(rtld-installed-name).
30978 * posix/globtest.sh (elf_objpfx): Remove variable.
30979 (rtld_installed_name): Likewise.
30980 (library_path): Likewise.
30981 (run_program_prefix): New variable. Use for running globtest
30984 2012-10-23 Jim Blandy <jimb@codesourcery.com>
30985 Joseph Myers <joseph@codesourcery.com>
30987 * Makeconfig (host-built-program-cmd): New variable.
30988 * elf/Makefile (tst-stackguard1-ARGS): Use
30989 $(host-built-program-cmd).
30990 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
30991 (tst-spawn-ARGS): Likewise.
30992 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
30994 2012-10-23 Joseph Myers <joseph@codesourcery.com>
30995 Jim Blandy <jimb@codesourcery.com>
30997 * Makeconfig (run-via-rtld-prefix): New variable.
30998 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
30999 (built-program-cmd): Likewise.
31001 2012-10-22 Andreas Jaeger <aj@suse.de>
31003 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
31004 __O_RSYNC if it exists, otherwise to O_SYNC.
31006 2012-10-22 Jim Blandy <jimb@codesourcery.com>
31007 Joseph Myers <joseph@codesourcery.com>
31009 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
31011 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
31013 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
31016 2012-10-22 Andreas Jaeger <aj@suse.de>
31018 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
31020 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
31022 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31023 bits/fcntl-linux.h.
31025 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
31026 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
31028 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
31030 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31033 2012-10-21 Jim Blandy <jimb@codesourcery.com>
31034 Joseph Myers <joseph@codesourcery.com>
31036 * config.make.in (NM): New variable.
31038 2012-10-21 Andreas Jaeger <aj@suse.de>
31040 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
31041 definitions and declarations that are provided by
31042 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31044 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31047 * elf/Makefile (tests-static): Add tst-leaks1-static.
31048 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
31049 ($(objpfx)tst-leaks1-static): New rule.
31050 ($(objpfx)tst-leaks1-static-mem): Likewise.
31051 (tst-leaks1-static-ENV): New macro.
31052 * elf/dl-open.c (dl_open_worker): Check the main application
31053 only if SHARED is defined.
31054 * elf/tst-leaks1-static.c: New file.
31056 2012-10-20 Andreas Jaeger <aj@suse.de>
31058 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
31059 generic values for Linux.
31060 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
31061 and declarations that are provided by <bits/fcntl-linux.h> and
31062 include <bits/fcntl-linux.h>.
31063 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31064 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31066 2012-10-20 Roland McGrath <roland@hack.frob.com>
31068 * io/fcntl.h: Move include of <bits/types.h> to the top and
31069 include it unconditionally.
31071 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31073 * wcsmbs/Makefile (tests-ifunc): New variable.
31074 (tests): Add $(tests-ifunc).
31075 * wcsmbs/test-wcschr-ifunc.c: New file.
31076 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31077 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31078 * wcsmbs/test-wcslen-ifunc.c: Likewise.
31079 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31080 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31082 * string/Makefile (tests-ifunc): New variable.
31083 (tests): Add $(tests-ifunc).
31084 * string/test-memccpy.c (TEST_NAME): New macro.
31085 * string/test-memchr.c (TEST_NAME): Likewise.
31086 * string/test-memcmp.c (TEST_NAME): Likewise.
31087 * string/test-memcpy.c (TEST_NAME): Likewise.
31088 * string/test-memmem.c (TEST_NAME): Likewise.
31089 * string/test-memmove.c (TEST_NAME): Likewise.
31090 * string/test-memset.c (TEST_NAME): Likewise.
31091 * string/test-rawmemchr.c (TEST_NAME): Likewise.
31092 * string/test-stpcpy.c (TEST_NAME): Likewise.
31093 * string/test-stpncpy.c (TEST_NAME): Likewise.
31094 * string/test-strcasecmp.c (TEST_NAME): Likewise.
31095 * string/test-strcasestr.c (TEST_NAME): Likewise.
31096 * string/test-strcat.c (TEST_NAME): Likewise.
31097 * string/test-strchr.c (TEST_NAME): Likewise.
31098 * string/test-strcmp.c(TEST_NAME): Likewise.
31099 * string/test-strcpy.c (TEST_NAME): Likewise.
31100 * string/test-strcspn.c (TEST_NAME): Likewise.
31101 * string/test-strlen.c (TEST_NAME): Likewise.
31102 * string/test-strncasecmp.c (TEST_NAME): Likewise.
31103 * string/test-strncmp.c (TEST_NAME): Likewise.
31104 * string/test-strncpy.c (TEST_NAME): Likewise.
31105 * string/test-strnlen.c (TEST_NAME): Likewise.
31106 * string/test-strpbrk.c (TEST_NAME): Likewise.
31107 * string/test-strrchr.c (TEST_NAME): Likewise.
31108 * string/test-strspn.c (TEST_NAME): Likewise.
31109 * string/test-strstr.c (TEST_NAME): Likewise.
31110 * string/test-bcopy-ifunc.c: New file.
31111 * string/test-bzero-ifunc.c: Likewise.
31112 * string/test-memccpy-ifunc.c: Likewise.
31113 * string/test-memchr-ifunc.c: Likewise.
31114 * string/test-memcmp-ifunc.c: Likewise.
31115 * string/test-memcpy-ifunc.c: Likewise.
31116 * string/test-memmem-ifunc.c: Likewise.
31117 * string/test-memmove-ifunc.c: Likewise.
31118 * string/test-mempcpy-ifunc.c: Likewise.
31119 * string/test-memset-ifunc.c: Likewise.
31120 * string/test-rawmemchr-ifunc.c: Likewise.
31121 * string/test-stpcpy-ifunc.c: Likewise.
31122 * string/test-stpncpy-ifunc.c: Likewise.
31123 * string/test-strcasecmp-ifunc.c: Likewise.
31124 * string/test-strcasestr-ifunc.c: Likewise.
31125 * string/test-strcat-ifunc.c: Likewise.
31126 * string/test-strchr-ifunc.c: Likewise.
31127 * string/test-strchrnul-ifunc.c: Likewise.
31128 * string/test-strcmp-ifunc.c: Likewise.
31129 * string/test-strcpy-ifunc.c: Likewise.
31130 * string/test-strcspn-ifunc.c: Likewise.
31131 * string/test-strlen-ifunc.c: Likewise.
31132 * string/test-strncasecmp-ifunc.c: Likewise.
31133 * string/test-strncat-ifunc.c: Likewise.
31134 * string/test-strncmp-ifunc.c: Likewise.
31135 * string/test-strncpy-ifunc.c: Likewise.
31136 * string/test-strnlen-ifunc.c: Likewise.
31137 * string/test-strpbrk-ifunc.c: Likewise.
31138 * string/test-strrchr-ifunc.c: Likewise.
31139 * string/test-strspn-ifunc.c: Likewise.
31140 * string/test-strstr-ifunc.c: Likewise.
31142 * debug/Makefile (tests-ifunc): New variable.
31143 (tests): Add $(tests-ifunc).
31144 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
31145 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
31146 * debug/test-stpcpy_chk-ifunc.c: New file.
31147 * debug/test-strcpy_chk-ifunc.c: Likewise.
31149 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31152 * elf/dl-load.c (open_verify): Retry read if the entire ELF
31153 header is not read in.
31155 2012-10-19 Joseph Myers <joseph@codesourcery.com>
31157 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
31158 script to $(SHELL) as $<. Pass $(common-objpfx) to script
31159 directly. Pass built executable to script as
31160 $(built-program-cmd).
31161 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
31162 $testprogram without using LD_LIBRARY_PATH and $ldso.
31164 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
31165 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
31166 $(rtld-installed-name).
31167 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
31168 (rtld_installed_name): Likewise.
31169 (library_path): Likewise.
31170 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
31171 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
31172 $(run-program-prefix) to tst-tables.sh.
31173 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
31174 it to run tst-table-from and tst-table-to.
31175 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
31176 Pass it to tst-table.sh.
31177 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
31178 $(run-program-prefix) to tst-gettext.sh.
31179 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
31181 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
31183 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
31184 to run tst-gettext.
31185 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
31186 to run tst-gettext2.
31187 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
31188 to run tst-translit.
31189 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
31190 $(run-program-prefix) to tst-mtrace.sh.
31191 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
31193 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
31194 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
31195 $(rtld-installed-name).
31196 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
31197 (rtld_installed_name): Likewise.
31198 (run_program_prefix): New variable. Use it to run wordexp-test.
31200 * Makeconfig (ARCH): Remove all definitions.
31201 (machine): Likewise.
31202 [ARCH]: Remove conditional code.
31203 [!objdir]: Give error.
31204 [!objdir] (objpfx): Remove.
31205 [!objdir] (common-objpfx): Likewise.
31206 [!objdir] (common-objdir): Likewise.
31207 * configure.in (config_makefile): Remove. Hardcode Makefile in
31208 AC_CONFIG_FILES call.
31209 * configure: Regenerated.
31212 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
31214 (testout): Likewise.
31216 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
31217 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
31218 $(rtld-installed-name).
31219 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
31220 (rtld_installed_name): Likwise.
31221 (runit): Remove function.
31222 (run_getconf): New variable, Use it for running getconf binary.
31224 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
31227 * string/test-memmem.c (check_result): New function.
31228 (do_one_test): Use it.
31229 (check1): New function.
31230 (test_main): Use it.
31232 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
31234 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
31236 2012-10-18 Joseph Myers <joseph@codesourcery.com>
31238 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
31239 (_G_LSEEK64): Likewise.
31240 (_G_MMAP64): Likewise.
31241 (_G_FSTAT64): Likewise.
31242 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
31243 (_G_LSEEK64): Likewise.
31244 (_G_MMAP64): Likewise.
31245 (_G_FSTAT64): Likewise.
31246 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
31247 unconditional. Call __mmap64 directly.
31248 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
31249 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
31250 __lseek64 directly.
31251 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
31252 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
31254 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
31255 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
31256 __lseek64 directly.
31257 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
31258 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
31259 __lseek64 directly.
31260 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
31261 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
31262 __lseek64 directly.
31263 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
31264 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
31265 __fxstat64 directly.
31266 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
31267 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
31269 (freopen64) [!_G_OPEN64]: Remove conditional code.
31270 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
31272 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
31273 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
31275 (ftello64) [!_G_LSEEK64]: Remove conditional code.
31276 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
31278 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31279 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
31281 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
31282 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
31284 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31285 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
31287 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31288 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
31290 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31292 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31295 * manual/memory.texi (Malloc Tunable Parameters): Add note
31296 about free list pointers overwriting some perturb bytes.
31297 Wording suggested by Roland McGrath.
31299 2012-10-17 Joseph Myers <joseph@codesourcery.com>
31301 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
31302 (lgamma_test): Likewise.
31303 (tgamma_test): Likewise.
31305 2012-10-16 Florian Weimer <fweimer@redhat.com>
31308 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
31309 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
31311 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
31313 * NEWS: Mention BZ #14716.
31314 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
31315 when removing AVAILABLE1_USES_J macro.
31317 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
31319 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
31320 (__bswap_64): __uint64_t for unsigned 64-bit int.
31322 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
31324 * include/string.h (memmem): Declare libc hidden alias.
31325 * string/memmem.c (memmem): Define libc hidden alias.
31326 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
31327 __read, __close instead of open, read, close.
31329 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
31331 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
31332 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
31334 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
31335 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
31336 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
31338 (__rawmemchr_sse2): Likewise.
31339 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
31340 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
31341 (__strchr_sse2): Likewise.
31342 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
31343 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
31344 (__strcasecmp_sse2): Likewise.
31345 (__strncasecmp_sse2): Likewise.
31346 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
31347 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
31348 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
31349 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
31350 (__strrchr_sse2): Likewise.
31351 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
31353 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31354 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31355 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31356 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31357 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31358 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31359 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31360 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31361 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
31362 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
31363 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
31364 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
31365 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
31366 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31367 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31368 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31369 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31370 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31371 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
31372 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
31373 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
31374 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
31375 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
31376 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31377 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
31378 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31379 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31380 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31381 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31382 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31384 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
31386 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
31387 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
31388 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
31389 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
31391 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
31393 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
31394 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
31395 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
31396 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
31398 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31399 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31400 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31401 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31402 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31403 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31404 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31405 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31406 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31407 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31408 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31409 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31410 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31411 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31412 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31413 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31414 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31415 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
31416 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31417 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31418 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31419 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31420 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31421 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31422 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31423 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31424 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31425 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31426 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31427 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31428 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31429 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31430 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31431 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
31432 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31433 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31434 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31435 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31436 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31437 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31438 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
31440 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
31441 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
31442 * include/ifunc-impl-list.h: New file.
31443 * misc/ifunc-impl-list.c: Likewise.
31444 * misc/Makefile (routines): Add ifunc-impl-list.
31445 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
31446 * string/test-string.h: Include <ifunc-impl-list.h>.
31447 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
31448 TEST_NAME]: New variables.
31449 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
31451 (test_init): Call __libc_ifunc_impl_list to initialize
31452 func_list if TEST_IFUNC and TEST_NAME are defined.
31454 * string/Makefile (strop-tests): Add bcopy and bzero.
31455 * string/test-bcopy.c: New file.
31456 * string/test-bzero.c: Likewise.
31457 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
31459 * string/test-memset.c: Support bzero test if TEST_BZERO is
31461 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
31463 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
31465 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
31468 2012-10-10 Joseph Myers <joseph@codesourcery.com>
31470 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
31471 * configure: Regenerated.
31473 * Makeconfig (+link-static-before-libc): Don't include
31474 $(link-static-libc).
31476 * libio/libio.h (_IO_pos_t): Remove.
31478 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
31480 * NEWS: Add note about FIPS mode. Wording suggested by Roland
31483 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
31485 * crypt/crypt-entry.c: Include fips-private.h.
31486 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
31487 * crypt/md5c-test.c (main): Tolerate disabled MD5.
31488 * sysdeps/unix/sysv/linux/fips-private.h: New file.
31489 * sysdeps/generic/fips-private.h: New file, dummy fallback.
31491 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
31493 * crypt/crypt-private.h: Include stdbool.h.
31494 (_ufc_setup_salt_r): Return bool.
31495 * crypt/crypt-entry.c: Include errno.h.
31496 (__crypt_r): Return NULL with EINVAL for bad salt.
31497 * crypt/crypt_util.c (bad_for_salt): New.
31498 (_ufc_setup_salt_r): Check that salt is long enough and within
31499 the specified alphabet.
31500 * crypt/badsalttest.c: New file.
31501 * crypt/Makefile (tests): Add it.
31502 ($(objpfx)badsalttest): New.
31504 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
31506 * NEWS: Add entry for BZ #14602.
31508 2012-10-09 Joseph Myers <joseph@codesourcery.com>
31510 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
31512 * math/libm-test.inc: Update comment listing what functions and
31514 (isgreater_test): New function.
31515 (isgreaterequal_test): Likewise.
31516 (isless_test): Likewise.
31517 (islessequal_test): Likewise.
31518 (islessgreater_test): Likewise.
31519 (isunordered_test): Likewise.
31520 (main): Call the new functions.
31522 2012-10-09 Roland McGrath <roland@hack.frob.com>
31524 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
31525 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
31526 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
31527 * sysdeps/i386/configure: Regenerated.
31528 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
31529 * sysdeps/mach/configure: Regenerated.
31530 * sysdeps/mach/hurd/configure: Regenerated.
31531 * sysdeps/powerpc/configure: Regenerated.
31532 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31533 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31534 * sysdeps/s390/s390-32/configure: Regenerated.
31535 * sysdeps/s390/s390-64/configure: Regenerated.
31536 * sysdeps/sh/configure: Regenerated.
31537 * sysdeps/sparc/configure: Regenerated.
31538 * sysdeps/unix/sysv/linux/configure: Regenerated.
31539 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31540 * sysdeps/x86_64/configure: Regenerated.
31542 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
31543 defined. Don't check if MAP is NULL.
31545 2012-10-09 Joseph Myers <joseph@codesourcery.com>
31547 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
31548 (_G_stat64): Likewise.
31549 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
31550 (_G_stat64): Likewise.
31551 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
31552 instead of struct _G_stat64.
31553 * libio/fileops.c (mmap_remap_check): Likewise.
31554 (decide_maybe_mmap): Likewise.
31555 (_IO_new_file_seekoff): Likewise.
31556 (_IO_file_stat): Likewise.
31557 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
31559 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
31560 instead of struct _G_stat64.
31561 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31563 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
31566 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31568 (CHECK_EOL): New macro.
31569 (two_way_short_needle): Check beginning of haystack for EOL. Use
31571 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31572 Replace with CHECK_EOL.
31573 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31574 Replace with CHECK_EOL.
31576 2012-10-08 Joseph Myers <joseph@codesourcery.com>
31578 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
31580 * math/libm-test.inc: Update comment listing what functions and
31582 (finite_test): New function.
31583 (isinf_test): Likewise.
31584 (isnan_test): Likewise.
31585 (fpclassify_test): Test subnormal input.
31586 (isfinite_test): Likewise.
31587 (isnormal_test): Likewise.
31588 (main): Call the new functions.
31590 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
31593 * Makerules (%.dynsym): Force C locale when running
31594 $(OBJDUMP) --dynamic-syms.
31596 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
31598 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
31601 2012-10-06 David S. Miller <davem@davemloft.net>
31603 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
31604 upper 32-bits of the length value in %o2 since we use branch-on-register
31605 tests which consider the entire 64-bit register.
31607 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
31609 * string/test-strstr.c (check2): Add a test for page boundary.
31611 2012-10-05 David S. Miller <davem@davemloft.net>
31613 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
31614 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
31616 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31618 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31619 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
31620 and bzero when HWCAP_SPARC_CRYPTO is present.
31622 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
31625 * string/test-strstr.c (check2): New function.
31626 (test_main): Call check2.
31628 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
31630 * string/bug-strcasestr1.c (do_test): Moved to ...
31631 * string/test-strcasestr.c (check1): Here. New function.
31632 (do_one_test): Break out result checking code into ...
31633 (check_result): This. New function.
31634 (do_one_test): Call check_result.
31635 (test_main): Call check1.
31636 * string/bug-strchr1.c (do_test): Moved to ...
31637 * string/test-strchr.c (check1): Here. New function.
31638 (do_one_test): Break out result checking code into ...
31639 (check_result): This. New function.
31640 (do_one_test): Call check_result.
31641 (test_main): Call check1.
31642 * string/bug-strstr1.c (main): Moved to ...
31643 * string/test-strstr.c (check1): Here. New function.
31644 (do_one_test): Break out result checking code into ...
31645 (check_result): This. New function.
31646 (do_one_test): Call check_result.
31647 (test_main): Call check1.
31648 * string/bug-strcasestr1.c: Removed.
31649 * string/bug-strchr1.c: Likewise.
31650 * string/bug-strstr1.c: Likewise.
31652 * elf/Makefile (dl-routines): Add hwcaps.
31653 * elf/dl-support.c (_dl_important_hwcaps): Removed.
31654 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
31655 (_dl_important_hwcaps): Moved to ...
31656 * elf/dl-hwcaps.c: Here. New file.
31657 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
31660 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
31661 if IS_IN_rtld isn't defined.
31663 * elf/dl-support.c (_dl_sysinfo_map): New.
31664 Include "get-dynamic-info.h" and "setup-vdso.h".
31665 (_dl_non_dynamic_init): Call setup_vdso.
31666 * elf/dynamic-link.h: Don't include <assert.h>.
31667 (elf_get_dynamic_info): Moved to ...
31668 * elf/get-dynamic-info.h: Here. New file.
31669 * elf/dynamic-link.h: Include "get-dynamic-info.h".
31670 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
31671 * elf/setup-vdso.h: Here. New file.
31672 * elf/rtld.c: Include "setup-vdso.h".
31673 (dl_main): Call setup_vdso.
31675 2012-10-05 Joseph Myers <joseph@codesourcery.com>
31677 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
31678 creal in comment listing functions tested. List finite, isinf,
31679 isnan, isless, islessequal, isgreater, isgreaterequal,
31680 islessgreater, isunordered, lgamma_r and pow10 as functions and
31681 macros not tested. Mention which functions not tested are aliases
31682 for other functions. Fix typo. Note that signs of NaNs are not
31685 * scripts/config.guess: Update from config.git.
31686 * scripts/config.sub: Likewise.
31688 2012-10-04 Roland McGrath <roland@hack.frob.com>
31690 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
31691 * misc/madvise.c (madvise): Renamed to __madvise.
31692 Make madvise a weak alias.
31693 * include/sys/mman.h: Declare __madvise.
31694 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
31695 * sysdeps/unix/syscalls.list
31696 (madvise): Make __madvise the strong name, and madvise a weak alias.
31697 * sysdeps/unix/sysv/linux/syscalls.list
31698 (madvise, mmap): Remove redundant entries.
31699 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
31700 * malloc/malloc.c (mtrim): Likewise.
31701 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
31703 2012-10-03 Roland McGrath <roland@hack.frob.com>
31705 * sysdeps/mach/hurd/dl-cache.c: File removed.
31706 * config.h.in (USE_LDCONFIG): New #undef.
31707 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
31708 * configure: Regenerated.
31709 * elf/Makefile (dl-routines): Add dl-cache only under
31710 [$(use-ldconfig) = yes].
31711 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
31712 cache on [USE_LDCONFIG].
31713 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
31715 * elf/rtld.c (dl_main): Likewise.
31717 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
31719 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
31720 _SC_LEVEL4_CACHE_LINESIZE.
31722 2012-10-03 Roland McGrath <roland@hack.frob.com>
31724 * sysdeps/unix/bsd/confstr.h: File removed.
31726 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
31728 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
31731 2012-10-02 Roland McGrath <roland@hack.frob.com>
31733 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
31734 Make 'mapoff' field ElfW(Off) rather than off_t.
31736 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
31738 * nscd/Makefile: Remove nscd-cflags and all its users.
31739 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
31740 (CFLAGS-nonlib): Add compiler flags for nscd modules.
31743 * malloc.c (malloc_printerr): Clarify error message.
31745 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
31748 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31749 Set bit_FMA_Usable if FMA is supported.
31750 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
31752 (bit_FMA4_Usable): Updated.
31753 (index_FMA_Usable): New macro.
31754 (CPUID_FMA): Likewise
31755 (HAS_FMA): Defined with bit_FMA_Usable.
31757 2012-10-01 Roland McGrath <roland@hack.frob.com>
31759 * bits/types.h (__swblk_t): Type removed.
31760 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
31761 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
31762 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31763 (__SWBLK_T_TYPE): Likewise.
31764 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31765 (__SWBLK_T_TYPE): Likewise.
31766 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31767 (__SWBLK_T_TYPE): Likewise.
31768 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31769 (__SWBLK_T_TYPE): Likewise.
31771 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
31772 Honza Horak <hhorak@redhat.com>
31774 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
31775 (xdr_mapname): Use YPMAXMAP as maxsize.
31776 (xdr_peername): Use YPMAXPEER as maxsize.
31777 (xdr_keydat): Use YPAXRECORD as maxsize.
31778 (xdr_valdat): Use YPMAXRECORD as maxsize.
31780 2012-10-01 Roland McGrath <roland@hack.frob.com>
31782 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
31784 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
31785 * csu/init-first.c: ... here.
31786 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
31787 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
31788 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
31789 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
31790 * sysdeps/i386/init-first.c: File removed.
31791 * sysdeps/sh/init-first.c: File removed.
31793 2012-10-01 Joseph Myers <joseph@codesourcery.com>
31796 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
31797 if x * y might underflow to zero and z is zero.
31798 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31799 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31800 * math/libm-test.inc (min_subnorm_value): New variable.
31801 (fma_test): Add more tests.
31802 (fma_test_towardzero): Likewise.
31803 (fma_test_downward): Likewise
31804 (fma_test_upward): Likewise.
31805 (initialize): Set min_subnorm_value.
31807 2012-09-29 Joseph Myers <joseph@codesourcery.com>
31810 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
31812 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
31813 mode for addition resulting in exact zero.
31814 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
31815 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
31817 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31818 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31819 * math/libm-test.inc (fma_test): Add more tests.
31820 (fma_test_towardzero): New function.
31821 (fma_test_downward): Likewise.
31822 (fma_test_upward): Likewise.
31823 (main): Call the new functions.
31825 2012-09-28 David S. Miller <davem@davemloft.net>
31827 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
31829 2012-09-28 Roland McGrath <roland@hack.frob.com>
31831 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
31832 instead of SIGALRM.
31834 * sysdeps/gnu/_G_config.h: Moved to ...
31835 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
31836 * sysdeps/mach/hurd/_G_config.h: Moved to ...
31837 * sysdeps/generic/_G_config.h: ... here.
31839 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
31841 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
31843 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
31844 Conditionalize target on [libnss_test1.so-version].
31846 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
31848 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
31849 (elfobjdir): Move out of conditionals.
31851 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
31852 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
31853 (__nss_lookup_function): Conditionalize label remove_from_tree on
31854 [!DO_STATIC_NSS || SHARED], matching its only use.
31856 2012-09-28 David S. Miller <davem@davemloft.net>
31858 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
31859 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
31861 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31863 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31864 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
31865 when HWCAP_SPARC_CRYPTO is present.
31867 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31869 * io/tst-mknodat.c: Create a FIFO instead of a socket.
31871 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
31874 * stdio-common/vfprintf.c (process_string_arg): Revert
31877 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
31879 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
31881 * stdio-common/tst-sprintf.c: Include <locale.h>
31882 (main): Test sprintf's handling of incomplete multibyte
31885 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
31887 * elf/dl-runtime.c (VERSYMIDX): Removed.
31888 * elf/dl-version.c (VERSYMIDX): Likewise.
31889 * elf/do-rel.h (VERSYMIDX): Likewise.
31890 (VALIDX): Likewise.
31891 * elf/dynamic-link.h (VERSYMIDX): Likewise.
31892 * elf/rtld.c (VALIDX): Likewise.
31893 (ADDRIDX): Likewise.
31894 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
31895 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
31896 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
31897 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
31898 (VALIDX): Likewise.
31899 (ADDRIDX): Likewise.
31901 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31903 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
31905 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
31908 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
31910 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
31911 addresses are in the same scope as 192.0.2/24.
31912 * posix/gai.conf: Document new scope table defaults.
31914 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31917 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
31918 for ftell. Compute offsets from write pointers instead.
31919 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31921 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31924 * libio/Makefile (tests): New test case tst-fseek.
31925 * libio/tst-fseek.c: New test case to verify that fseek/ftell
31926 combination works in wide mode.
31927 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
31928 state when the external buffer state changes.
31930 2012-09-27 David S. Miller <davem@davemloft.net>
31933 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
31934 pass reloc->r_addend in as the 'high' argument to
31935 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
31937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31939 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31941 * rt/tst-aio2.c: Include <pthread.h>.
31942 * rt/tst-aio3.c: Likewise.
31944 2012-09-27 Steve Ellcey <sellcey@mips.com>
31946 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
31948 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
31950 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
31951 contents on [SHARED].
31953 2012-09-26 Marek Polacek <polacek@redhat.com>
31957 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
31958 for C++ and GCC <4.3 as well as for non GCC compilers.
31960 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
31962 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31964 2012-09-25 Roland McGrath <roland@hack.frob.com>
31966 * Makefile.in (all, install): Declare with .PHONY.
31967 Reported by Michael Hope <michael.hope@linaro.org>.
31969 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31971 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
31972 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
31974 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
31976 (sydep_routines): Add the new and the internal functions.
31977 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
31978 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
31979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
31980 (GLIBC_2.17): Add the new function.
31981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31982 (GLIBC_2.17): Likewise.
31983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
31984 (GLIBC_2.17): Likewise.
31985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
31986 (GLIBC_2.17): Likewise.
31987 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
31989 2012-09-25 Alan Modra <amodra@gmail.com>
31991 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
31992 Add release barrier before setting once_control to say
31993 initialisation is done. Add hints on lwarx. Use macro in
31995 (clear_once_control): Add release barrier.
31997 2012-09-25 Joseph Myers <joseph@codesourcery.com>
32000 * math/s_clog.c (__clog): Handle more values close to |z| = 1
32002 * math/s_clog10.c (__clog10): Likewise.
32003 * math/s_clog10f.c (__clog10f): Likewise.
32004 * math/s_clog10l.c (__clog10l): Likewise.
32005 * math/s_clogf.c (__clogf): Likewise.
32006 * math/s_clogl.c (__clogl): Likewise.
32007 * math/Makefile (libm-calls): Add x2y2m1.
32008 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
32009 (__x2y2m1): Likewise.
32010 (__x2y2m1l): Likewise.
32011 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
32012 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
32013 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
32014 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32015 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
32016 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
32017 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
32018 * sysdeps/i386/fpu/libm-test-ulps: Update.
32019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32022 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
32023 int as type of variable DEPTH.
32024 (glob): Use size_t instead of int as type of variables NEWCOUNT
32027 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32029 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32030 Add s_sincosf-sse2.
32031 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32032 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32033 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32034 macros for using routine as __sincosf_ia32.
32035 Use macro for function declaration and weak_alias.
32036 * sysdeps/i386/fpu/libm-test-ulps: Update.
32038 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
32039 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32041 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
32042 subnormal argument.
32043 * math/s_cexpf.c (__cexpf): Likewise.
32044 * math/s_csinf.c (__csinf): Likewise.
32045 * math/s_csinhf.c (__csinhf): Likewise.
32046 * math/s_ctanf.c (__ctanf): Likewise.
32047 * math/s_ctanhf.c (__ctanhf): Likewise.
32048 * math/s_ccosh.c (__ccoshf): Likewise.
32049 * math/s_cexp.c (__cexpl): Likewise.
32050 * math/s_csin.c (__csin): Likewise.
32051 * math/s_csinh.c (__csinh): Likewise.
32052 * math/s_ctan.c (__ctan): Likewise.
32053 * math/s_ctanh.c (ctanh): Likewise.
32054 * math/s_ccoshl.c (__ccoshl): Likewise.
32055 * math/s_cexpl.c (__cexpl): Likewise.
32056 * math/s_csinl.c (__csinl): Likewise.
32057 * math/s_csinhl.c (__csinhl): Likewise.
32058 * math/s_ctanl.c (__ctanl): Likewise.
32059 * math/s_ctanhl.c (__ctanhl): Likewise.
32061 2012-09-25 Joseph Myers <joseph@codesourcery.com>
32063 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
32064 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
32065 (_IO_off_t): Define to __off_t, not _G_off_t.
32066 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
32067 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
32068 (_IO_wint_t): Define to wint_t, not _G_wint_t.
32069 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
32070 type of __dummy and __dummy2 fields.
32071 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
32072 (_G_ssize_t): Likewise.
32073 (_G_off_t): Likewise.
32074 (_G_pid_t): Likewise.
32075 (_G_uid_t): Likewise.
32076 (_G_wchar_t): Likewise.
32077 (_G_wint_t): Likewise.
32078 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
32079 (_G_ssize_t): Likewise.
32080 (_G_off_t): Likewise.
32081 (_G_pid_t): Likewise.
32082 (_G_uid_t): Likewise.
32083 (_G_wchar_t): Likewise.
32084 (_G_wint_t): Likewise.
32085 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
32086 (_G_ssize_t): Likewise.
32087 (_G_off_t): Likewise.
32088 (_G_pid_t): Likewise.
32089 (_G_uid_t): Likewise.
32090 (_G_wchar_t): Likewise.
32091 (_G_wint_t): Likewise.
32093 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32095 * malloc/arena.c: Include malloc-sysdep.h.
32096 (shrink_heap): Use check_may_shrink_heap to decide if madvise
32097 is sufficient to shrink the heap or an unmap is needed.
32098 * sysdeps/generic/malloc-sysdep.h: New file. Define
32099 new function check_may_shrink_heap.
32100 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
32101 new function check_may_shrink_heap.
32103 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32105 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
32108 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
32110 * catgets/test-gencat.sh: Add "set -e".
32111 * elf/tst-pathopt.sh: Likewise.
32112 * grp/tst_fgetgrent.sh: Likewise.
32113 * iconvdata/run-iconv-test.sh: Likewise.
32114 * intl/tst-gettext.sh: Likewise.
32115 * intl/tst-gettext2.sh: Likewise.
32116 * intl/tst-gettext4.sh: Likewise.
32117 * intl/tst-gettext6.sh: Likewise.
32118 * intl/tst-translit.sh: Likewise.
32119 * io/ftwtest-sh: Likewise.
32120 * libio/test-freopen.sh: Likewise.
32121 * malloc/tst-mtrace.sh: Likewise.
32122 * posix/globtest.sh: Likewise.
32123 * posix/tst-getconf.sh: Likewise.
32124 * posix/wordexp-tst.sh: Likewise.
32125 * stdio-common/tst-printf.sh: Likewise.
32126 * stdio-common/tst-unbputc.sh: Likewise.
32127 * stdlib/tst-fmtmsg.sh: Likewise.
32128 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32129 * catgets/Makefile: Do not specify -e option when running
32130 testsuite shell scripts.
32131 * elf/Makefile: Likewise.
32132 * grp/Makefile: Likewise.
32133 * iconvdata/Makefile: Likewise.
32134 * intl/Makefile: Likewise.
32135 * io/Makefile: Likewise.
32136 * libio/Makefile: Likewise.
32137 * malloc/Makefile: Likewise.
32138 * posix/Makefile: Likewise.
32139 * stdio-common/Makefile: Likewise.
32140 * stdlib/Makefile: Likewise.
32141 * sysdeps/x86_64/Makefile: Likewise.
32143 * io/ftwtest-sh: Add copyright header.
32144 * posix/globtest.sh: Likewise.
32145 * posix/tst-getconf.sh: Likewise.
32146 * posix/wordexp-tst.sh: Likewise.
32147 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32149 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
32152 * Makeconfig (+link): Defined as $(+link-static) if
32153 $(build-shared) isn't yes.
32154 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
32156 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
32158 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
32161 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
32162 new chunk size with MALLOC_ALIGN_MASK.
32164 2012-09-24 Joseph Myers <joseph@codesourcery.com>
32167 * stdio-common/printf_fphex.c: Include <stdbool.h> and
32169 (__printf_fphex): Determine rounding using get_rounding_mode and
32171 * stdio-common/tst-printf-round.c (struct hex_test): New
32173 (hex_tests): New variable.
32174 (test_hex_in_one_mode): New function.
32175 (do_test): Also run tests for hex float output.
32177 2012-09-21 Joseph Myers <joseph@codesourcery.com>
32179 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32180 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32181 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
32182 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32183 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32184 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
32185 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32186 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32188 2012-09-20 Joseph Myers <joseph@codesourcery.com>
32190 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
32191 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
32192 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
32193 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
32195 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
32198 * elf/rtld.c (dl_main): Limit the check for self loading to normal
32200 * elf/tst-rtld-load-self.sh: New test.
32201 * elf/Makefile: Run it.
32203 2012-09-18 Joseph Myers <joseph@codesourcery.com>
32205 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
32206 (tst-writev-ENV): Remove.
32207 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
32209 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
32211 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
32213 2012-09-17 Joseph Myers <joseph@codesourcery.com>
32215 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
32217 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
32219 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
32220 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
32221 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
32224 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
32227 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
32228 * config.make.in (have-cpp-asm-debuginfo): Removed.
32229 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
32230 * configure: Regenerated.
32232 2012-09-14 Joseph Myers <joseph@codesourcery.com>
32235 * stdio-common/printf_fp.c: Include <stdbool.h> and
32237 (___printf_fp): Determine rounding using get_rounding_mode and
32239 * stdio-common/tst-printf-round.c: New file.
32240 * stdio-common/Makefile (tests): Add tst-printf-round.
32241 (link-libm): New variable.
32242 ($(objpfx)tst-printf-round): Depend in $(link-libm).
32244 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
32247 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
32248 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
32250 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
32253 2012-09-13 Joseph Myers <joseph@codesourcery.com>
32255 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
32256 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32257 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32258 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32260 2012-09-12 Joseph Myers <joseph@codesourcery.com>
32263 * include/rounding-mode.h: New file.
32264 * sysdeps/generic/get-rounding-mode.h: Likewise.
32265 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
32266 * stdlib/strtod_l.c: Include <rounding-mode.h>.
32267 (MAX_VALUE): New macro.
32268 (MIN_VALUE): Likewise.
32269 (overflow_value): New function.
32270 (underflow_value): Likewise.
32271 (round_and_return): Use overflow_value and underflow_value to
32272 determine return values in overflow and underflow cases. Use
32273 round_away to determine rounding depending on rounding mode.
32274 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
32275 determine return values in overflow and underflow cases.
32276 * stdlib/tst-strtod-round.c: Include <fenv.h>.
32277 (struct test_results): New structure.
32278 (struct test): Use struct test_results to store expected results
32279 for all rounding modes.
32280 (TEST): Include expected results for all rounding modes.
32281 (test_in_one_mode): New function.
32282 (do_test): Use test_in_one_mode to compute and check results.
32283 Check results for all rounding modes.
32284 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
32287 2012-12-09 Allan McRae <allan@archlinux.org>
32289 * sysdeps/i386/fpu/libm-test-ulps: Update
32291 2012-09-11 Joseph Myers <joseph@codesourcery.com>
32293 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
32294 (_G_int32_t): Likewise.
32295 (_G_uint16_t): Likewise.
32296 (_G_uint32_t): Likewise.
32297 (_G_HAVE_BOOL): Likewise.
32298 (_G_HAVE_ATEXIT): Likewise.
32299 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32300 (_G_HAVE_IO_FILE_OPEN): Likewise.
32301 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
32302 (_G_int32_t): Likewise.
32303 (_G_uint16_t): Likewise.
32304 (_G_uint32_t): Likewise.
32305 (_G_HAVE_BOOL): Likewise.
32306 (_G_HAVE_ATEXIT): Likewise.
32307 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32308 (_G_HAVE_IO_FILE_OPEN): Likewise.
32309 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
32310 (_G_int32_t): Likewise.
32311 (_G_uint16_t): Likewise.
32312 (_G_uint32_t): Likewise.
32313 (_G_HAVE_BOOL): Likewise.
32314 (_G_HAVE_ATEXIT): Likewise.
32315 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32316 (_G_HAVE_IO_FILE_OPEN): Likewise.
32318 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
32320 * csu/libc-tls.c: Update copyright years.
32322 2012-09-10 Joseph Myers <joseph@codesourcery.com>
32324 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
32325 [!_G_USING_THUNKS]: Remove conditional code.
32326 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
32327 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
32329 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
32330 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
32331 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32332 (_G_VTABLE_LABEL_PREFIX): Likewise.
32333 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32334 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32335 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32336 (_G_VTABLE_LABEL_PREFIX): Likewise.
32337 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32338 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32339 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32340 (_G_VTABLE_LABEL_PREFIX): Likewise.
32341 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32343 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
32345 * libio/Makefile: Include ../Makeconfig before tests.
32346 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
32347 only if $(build-shared) is yes.
32349 * iconv/gconv_db.c: Update copyright years.
32351 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32353 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
32354 unwind info if defined PIC. Fix special cases description.
32355 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
32357 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
32359 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
32361 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
32363 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
32365 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
32368 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
32369 (LDLIBS-tst-chk4): This.
32370 (LDFLAGS-tst-chk5): Renamed to ...
32371 (LDLIBS-tst-chk5): This.
32372 (LDFLAGS-tst-chk6): Renamed to ...
32373 (LDLIBS-tst-chk6): This.
32374 (LDFLAGS-tst-lfschk4): Renamed to ...
32375 (LDLIBS-tst-lfschk4): This.
32376 (LDFLAGS-tst-lfschk5): Renamed to ...
32377 (LDLIBS-tst-lfschk5): This.
32378 (LDFLAGS-tst-lfschk6): Renamed to ...
32379 (LDLIBS-tst-lfschk6): This.
32381 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
32382 on $(common-objpfx)soversions.mk.
32384 2012-09-07 Joseph Myers <joseph@codesourcery.com>
32387 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
32390 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
32392 * malloc/arena.c (arena_get_retry): New function that gets
32393 another arena for the caller to try its request on.
32394 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
32395 current arena cannot fulfill the request.
32396 (__libc_memalign): Likewise.
32397 (__libc_memalign): Likewise.
32398 (__libc_pvalloc): Likewise.
32399 (__libc_calloc): Likewise.
32401 2012-09-05 John Tobey <john.tobey@gmail.com>
32404 * manual/arith.texi (Operations on Complex): Fix description
32405 of carg branch cut.
32407 2012-09-06 Joseph Myers <joseph@codesourcery.com>
32410 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
32414 * manual/memory.texi (Memory): Make order of menu items match
32417 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32419 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
32420 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
32421 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
32423 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32425 * csu/libc-tls.c (static_dtv): Renamed to ...
32426 (_dl_static_dtv): This. Make it global.
32427 (_dl_initial_dtv): Removed.
32428 (__libc_setup_tls): Updated.
32429 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
32430 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
32433 2012-09-06 Petr Machata <pmachata@redhat.com>
32435 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
32436 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
32437 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
32438 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
32440 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32443 * csu/libc-tls.c (_dl_initial_dtv): New variable.
32444 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
32447 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32450 * Makeconfig (link-static-before-libc): Replace $(+prector)
32452 (link-static-after-libc): Replace $(+postctor) with
32454 (link-bounded): Replace $(+prector)/$(+postctor) with
32455 $(+prectorT)/$(+postctorT).
32456 (+prectorT): New macro.
32457 (+postctorT): Likewise.
32459 2012-09-06 Joseph Myers <joseph@codesourcery.com>
32461 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
32462 (round_str): Handle values above the maximum for IBM long double
32464 * stdlib/tst-strtod-round.c (tests): Regenerated.
32466 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32468 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
32470 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
32471 zarch_nohighgprs around the zarch optimized routines.
32472 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32473 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32474 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
32477 2012-09-05 David S. Miller <davem@davemloft.net>
32479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32481 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
32482 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
32483 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
32484 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32487 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32489 * malloc/arena.c: Fold copyright years.
32490 * malloc/mcheck.c, malloc/memusage.c: Likewise.
32492 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32494 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
32496 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32498 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
32500 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32502 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
32503 change internal state upon failure.
32505 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32507 * malloc/mcheck.c (mcheck_check_all): Fix typo.
32508 * malloc/memusage.c (mmap): Likewise.
32509 (mmap64, mremap): Likewise. Adjust name in comment.
32511 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32513 * libio/fileops.c: Fix typos in comments.
32514 * libio/oldfileops.c: Likewise.
32515 * libio/wfileops.c: Likewise.
32517 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32520 * malloc/Makefile (tests): Add tst-malloc-usable test case.
32521 (tst-malloc-usable-ENV): Set environment for test case.
32522 * malloc/hooks.c (malloc_check_get_size): New function to get
32524 * malloc/malloc.c (musable): Use malloc_check_get_size.
32525 * malloc/tst-malloc-usable.c: New test case.
32527 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32529 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
32531 2012-09-05 Allan McRae <allan@archlinux.org>
32534 * configure.in (CXX_SYSINCLUDES): Use compiler output to
32535 determine header location.
32536 * configure: Regenerated.
32538 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32540 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
32542 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
32543 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
32545 (test): Regenerate.
32547 2012-09-04 David S. Miller <davem@davemloft.net>
32549 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
32550 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
32551 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
32553 2012-09-04 Florian Weimer <fweimer@redhat.com>
32555 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
32558 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
32560 2012-09-04 Joseph Myers <joseph@codesourcery.com>
32563 * libio/iogetdelim.c: Include <limits.h>.
32564 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
32565 + len + 1 would overflow.
32567 2012-09-03 Andreas Jaeger <aj@suse.de>
32569 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32570 * sysdeps/i386/fpu/libm-test-ulps: Update.
32572 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32574 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32575 Add s_sinf-sse2, s_conf-sse2.
32577 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
32578 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
32579 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
32580 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
32582 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
32583 for using routine as __sinf_ia32.
32584 Use macro for function declaration and weak_alias.
32585 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
32586 for using routine as __cosf_ia32.
32587 Use macro for function declaration and weak_alias.
32589 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
32590 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
32592 * sysdeps/x86_64/fpu/s_sinf.S: New file.
32593 * sysdeps/x86_64/fpu/s_cosf.S: New file.
32594 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32596 * math/libm-test.inc (cos_test): Add more test cases.
32597 (sin_test): Likewise.
32598 (sincos_test): Likewise.
32600 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32602 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32603 (IFUNC_RESOLVE): Make pointers to the specialized implementations
32605 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32607 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
32610 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
32611 first element of the GOT.
32612 (elf_machine_load_address): Return the difference between
32613 the runtime address of _DYNAMIC and elf_machine_dynamic ().
32615 2012-09-01 Allan McRae <allan@archlinux.org>
32618 * configure.in (AWK): Require gawk version 3.0 or later.
32619 * configure: Regenerated.
32621 2012-09-01 Joseph Myers <joseph@codesourcery.com>
32623 * sysdeps/unix/sysv/linux/kernel-features.h
32624 (__ASSUME_POSIX_CPU_TIMERS): Remove.
32625 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32626 [__NR_clock_getres]: Make code unconditional.
32627 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
32628 (clock_getcpuclockid): Remove code left unreachable by removal of
32630 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
32631 code unconditional.
32632 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32633 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32634 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
32635 Make code unconditional.
32636 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32637 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32638 * sysdeps/unix/sysv/linux/clock_settime.c
32639 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
32641 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
32642 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32644 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
32647 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
32648 scripts/test-installation.pl.
32650 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
32651 and $ld_so_version if it is set.
32653 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32656 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
32657 failure if reading from procfs failed.
32658 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
32660 2012-08-27 Joseph Myers <joseph@codesourcery.com>
32662 * sysdeps/unix/sysv/linux/kernel-features.h
32663 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
32664 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32665 Remove conditional code.
32666 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32667 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
32668 Remove conditional code.
32669 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32670 * sysdeps/unix/sysv/linux/i386/fxstat.c
32671 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32672 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32673 * sysdeps/unix/sysv/linux/i386/fxstatat.c
32674 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32675 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32676 * sysdeps/unix/sysv/linux/i386/lxstat.c
32677 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32678 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32679 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
32680 Remove conditional code.
32681 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32682 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32683 Remove conditional code.
32684 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32685 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
32686 <kernel-features.h>.
32687 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
32689 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
32690 Remove conditional code.
32691 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32692 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
32693 Remove conditional.
32695 2012-08-27 Mike Frysinger <vapier@gentoo.org>
32698 * NEWS: Add fixed bug number.
32700 2012-08-27 Joseph Myers <joseph@codesourcery.com>
32703 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
32704 underflowing exponent in case of negative sign.
32705 * stdlib/tst-strtod-round-data: Add more tests.
32706 * stdlib/tst-strtod-round.c (tests): Regenerated.
32709 * stdlib/strtod_l.c (NDIG): Remove.
32710 (HEXNDIG): Likewise.
32711 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
32712 smallest representable value.
32713 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
32714 lie within an exact representation of 1/2 ulp of the result.
32715 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
32717 (TENS_P9_IDX): Define unconditionally.
32718 (TENS_P9_SIZE): Likewise.
32719 (TENS_P10_IDX): Likewise.
32720 (TENS_P10_SIZE): Likewise.
32721 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
32722 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
32723 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
32724 entries for 10^2^13 and 10^2^14.
32725 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
32726 (TENS_P13_IDX): Define.
32727 (TENS_P13_SIZE): Likewise.
32728 (TENS_P14_IDX): Likewise.
32729 (TENS_P14_SIZE): Likewise.
32730 (_fpioconst_pow10): Change array size to
32731 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
32733 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
32734 1024]: Add entries for 10^2^13 and 10^2^14.
32735 [LAST_POW10 > _LAST_POW10]: Remove #error.
32736 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
32737 (_fpioconst_pow10): Change array size to
32738 FPIOCONST_POW10_ARRAY_SIZE.
32739 * stdlib/gen-fpioconst.c: New file.
32740 * stdlib/gen-tst-strtod-round.c: Likewise.
32741 * stdlib/tst-strtod-round-data: Likewise.
32742 * stdlib/tst-strtod-round.c: Likewise.
32743 * stdlib/Makefile (tests): Add tst-strtod-round.
32746 * stdlib/strtod_l.c: Include <stdint.h>.
32747 (NDEBUG): Do not define.
32748 (round_and_return): Change EXPONENT parameter to type intmax_t.
32749 Rearrange calculations to avoid internal overflow possibilities.
32750 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
32751 Rearrange calculations to avoid internal overflow possibilities.
32752 Assert that number fits inside MPNSIZE limbs.
32753 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
32754 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
32755 calculations and add assertions to avoid internal overflow
32756 possibilities. Add casts to avoid signed/unsigned operations.
32757 * stdlib/tst-strtod-overflow.c: New file.
32758 * stdlib/Makefile (tests): Add tst-strtod-overflow.
32760 2012-08-25 Marek Polacek <polacek@redhat.com>
32762 * time/time.h: Fix some typos in comments.
32764 2012-08-23 Roland McGrath <roland@hack.frob.com>
32766 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
32767 * posix/tst-rfc3484-2.c: Likewise.
32768 * posix/tst-rfc3484-3.c: Likewise.
32770 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
32772 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
32773 (EF_ARM_ABI_FLOAT_HARD): Likewise.
32775 2012-08-23 Joseph Myers <joseph@codesourcery.com>
32777 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
32778 #include of fxstatat64.c.
32780 2012-08-22 Roland McGrath <roland@hack.frob.com>
32782 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
32783 * shadow/getspent_r.c: Likewise.
32784 * shadow/getspnam.c: Likewise.
32785 * shadow/getspnam_r.c: Likewise.
32786 * gshadow/getsgent.c: Likewise.
32787 * gshadow/getsgent_r.c: Likewise.
32788 * gshadow/getsgnam.c: Likewise.
32789 * gshadow/getsgnam_r.c: Likewise.
32790 * inet/getnetbyad.c: Likewise.
32791 * inet/getnetbyad_r.c: Likewise.
32792 * inet/getnetbynm.c: Likewise.
32793 * inet/getnetbynm_r.c: Likewise.
32794 * inet/getnetent.c: Likewise.
32795 * inet/getnetent_r.c: Likewise.
32796 * inet/getproto.c: Likewise.
32797 * inet/getproto_r.c: Likewise.
32798 * inet/getprtent.c: Likewise.
32799 * inet/getprtent_r.c: Likewise.
32800 * inet/getprtname.c: Likewise.
32801 * inet/getprtname_r.c: Likewise.
32802 * inet/getrpcbyname.c: Likewise.
32803 * inet/getrpcbyname_r.c: Likewise.
32804 * inet/getrpcbynumber.c: Likewise.
32805 * inet/getrpcbynumber_r.c: Likewise.
32806 * inet/getrpcent.c: Likewise.
32807 * inet/getrpcent_r.c: Likewise.
32808 * inet/getaliasent.c: Likewise.
32809 * inet/getaliasent_r.c: Likewise.
32810 * inet/getaliasname.c: Likewise.
32811 * inet/getaliasname_r.c: Likewise.
32812 * nscd/getgrgid_r.c: Likewise.
32813 * nscd/getgrnam_r.c: Likewise.
32814 * nscd/gethstbyad_r.c: Likewise.
32815 * nscd/gethstbynm3_r.c: Likewise.
32816 * nscd/getpwnam_r.c: Likewise.
32817 * nscd/getpwuid_r.c: Likewise.
32818 * nscd/getsrvbynm_r.c: Likewise.
32819 * nscd/getsrvbypt_r.c: Likewise.
32820 * nscd/gai.c: Likewise.
32822 * configure.in (build_nscd): New substituted variable, set
32823 by --disable-build-nscd and defaults to $use_nscd.
32824 * configure: Regenerated.
32825 * config.make.in (build-nscd): New substituted variable.
32826 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
32827 Change conditional to require [$(build-nscd) = yes] as well.
32828 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
32831 * configure.in (use_nscd): New substituted variable, set by
32832 --disable-nscd. If enabled, define USE_NSCD.
32833 * configure: Regenerated.
32834 * config.h.in: Add USE_NSCD.
32835 * config.make.in (use-nscd): New substituted variable.
32836 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
32837 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
32838 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
32839 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
32840 (CFLAGS-getgrnam_r.c): Likewise.
32841 (CFLAGS-initgroups.c): Likewise.
32842 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
32843 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
32845 * inet/getnetgrent_r.c
32846 (nscd_setnetgrent): New function, broken out of ...
32847 (setnetgrent): ... here. Call it.
32848 (innetgr): Conditionalize nscd bits on [USE_NSCD].
32849 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
32850 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
32851 * nscd/Makefile (routines, aux): Move definitions after include of
32852 Makeconfig. Conditionalize on [$(use-nscd) != no].
32853 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
32854 Conditionalize on [USE_NSCD].
32855 (is_nscd, nscd_init_cb): Likewise.
32856 (nss_load_library): Conditionalize init callback on [USE_NSCD].
32857 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
32858 * nss/nss_db/db-init.c: Likewise.
32859 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
32861 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
32862 (make_request): Use it.
32863 (cache_valid_p): New function.
32864 (__check_pf): Use it.
32865 * NEWS: Add item for --disable-nscd.
32867 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
32869 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
32870 to support sed >= 4.2.1-20-ga9bf076.
32871 * configure: Regenerated.
32873 2012-08-22 Roland McGrath <roland@hack.frob.com>
32875 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
32876 Conditionalize whole body on [IREL].
32878 2012-08-22 Jeff Law <law@redhat.com>
32881 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
32882 if the family is PF_UNSPEC.
32884 2012-08-22 Mike Frysinger <vapier@gentoo.org>
32886 * Makerules (lib-version): Rename from V.
32887 (install-lib-nosubdir): Change V to lib-version.
32889 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
32892 * powerpc32/power6/wcschr.c: New file.
32893 * powerpc32/power6/wcscpy.c: New file.
32894 * powerpc32/power6/wcsrchr.c: New file.
32895 * powerpc64/power6/wcschr.c: New file.
32896 * powerpc64/power6/wcscpy.c: New file.
32897 * powerpc64/power6/wcsrchr.c: New file.
32899 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
32901 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
32902 (two_way_short_needle): Use it.
32903 * string/strstr.c (AVAILABLE1_USES_J): Define.
32904 * string/strcasestr.c: Likewise.
32906 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
32908 * string/strcasestr.c (TOLOWER): Make side-effect safe.
32911 * NEWS: Add an entry.
32912 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
32913 define their defaults.
32914 (two_way_short_needle): Detect end-of-string on-the-fly.
32915 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
32916 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
32917 * string/bug-strcasestr1.c: New test.
32918 * string/Makefile: Run it.
32920 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
32923 * string/str-two-way.h (two_way_short_needle): Optimize matching of
32924 the first character.
32926 2012-08-21 Roland McGrath <roland@hack.frob.com>
32928 * csu/elf-init.c (__libc_csu_irel): Function removed.
32929 * csu/libc-start.c (apply_irel): New function.
32930 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
32932 2012-08-21 Joseph Myers <joseph@codesourcery.com>
32934 * sysdeps/unix/sysv/linux/kernel-features.h
32935 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
32936 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32937 <kernel-features.h>.
32938 [__NR_fadvise64_64]: Make code unconditional.
32939 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
32940 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32941 !__NR_fadvise64_64)]: Likewise.
32942 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32943 !__NR_fadvise64_64))]: Likewise.
32944 [__NR_fadvise64]: Make code unconditional.
32945 [!__NR_fadvise64]: Remove conditional code.
32946 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
32947 <kernel-features.h>.
32948 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32950 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
32953 not include <kernel-features.h>.
32954 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32956 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32958 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
32959 include <kernel-features.h>.
32960 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32962 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32965 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32967 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
32968 slight instruction rearrangements per scrollpipe analysis.
32969 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32971 2012-08-20 Roland McGrath <roland@hack.frob.com>
32973 * manual/syslog.texi (syslog; vsyslog, closelog):
32974 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
32975 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
32977 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
32978 DSOCAPS to match condition on defining it.
32980 2012-08-20 Joseph Myers <joseph@codesourcery.com>
32982 * sysdeps/unix/sysv/linux/kernel-features.h
32983 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
32984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
32985 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32986 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
32988 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32989 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
32991 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32992 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32994 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
32995 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
32997 * sysdeps/unix/sysv/linux/kernel-features.h
32998 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
32999 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
33001 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33002 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
33003 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33004 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33005 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
33006 Make code unconditional.
33007 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33008 (__mmap64) [!__NR_mmap2]: Likewise.
33009 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
33010 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33011 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33012 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
33013 [__NR_mmap2]: Make code unconditional.
33014 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33015 (__mmap64) [!__NR_mmap2]: Likewise.
33017 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33019 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
33021 2012-08-18 Andreas Jaeger <aj@suse.de>
33023 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
33025 2012-08-18 Mike Frysinger <vapier@gentoo.org>
33027 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
33028 * include/unistd.h (__have_sock_cloexec): Likewise.
33029 (__have_pipe2): Likewise.
33030 (__have_dup3): Likewise.
33032 2012-08-18 Mike Frysinger <vapier@gentoo.org>
33035 * include/unistd.h (__have_pipe2): Change define into an extern int.
33036 (__have_dup3): Likewise.
33037 * socket/have_sock_cloexec.c: Include fcntl.h.
33038 (__have_pipe2): New variable.
33039 (__have_dup3): Likewise.
33041 2012-08-17 Mike Frysinger <vapier@gentoo.org>
33043 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
33045 2012-08-17 Marek Polacek <polacek@redhat.com>
33047 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
33048 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
33050 2012-08-17 Roland McGrath <roland@hack.frob.com>
33052 * configure.in: Add AC_SUBST for sysheaders.
33053 * configure: Regenerated.
33054 * config.make.in (sysheaders): New substituted variable.
33056 * sysdeps/unix/mkfifo.c: Moved ...
33057 * sysdeps/posix/mkfifo.c: ... here.
33058 * sysdeps/unix/mkfifoat.c: Moved ...
33059 * sysdeps/posix/mkfifoat.c: ... here.
33061 * sysdeps/unix/utime.c: Moved ...
33062 * sysdeps/posix/utime.c: ... here.
33064 * sysdeps/unix/time.c: Moved ...
33065 * sysdeps/posix/time.c: ... here.
33066 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
33067 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
33069 * sysdeps/unix/nice.c: Moved ...
33070 * sysdeps/posix/nice.c: ... here.
33072 * sysdeps/unix/alarm.c: Moved ...
33073 * sysdeps/posix/alarm.c: ... here.
33075 * intl/Makefile ($(codeset_mo)): Depend on the input file.
33077 2012-08-17 Jeff Law <law@redhat.com>
33079 * intl/Makefile (codeset_mo): New variable.
33080 ($(codeset_mo)): New target.
33081 (tst-codeset.out): Depend on that. Remove explicit rule.
33082 (tst-gettext3.out, tst-gettext5.out): Likewise.
33083 (LOCPATH-ENV, tst-codeset-ENV): New variables.
33084 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
33085 * intl/tst-codeset.sh: Remove.
33086 * intl/tst-gettext3.sh: Likewise.
33087 * intl/tst-gettext5.sh: Likewise.
33089 2012-08-17 Roland McGrath <roland@hack.frob.com>
33091 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
33092 * sysdeps/unix/syscalls.list: ... here.
33094 * sysdeps/posix/getaddrinfo.c
33095 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
33096 (gaiconf_init, gaiconf_reload): Use them.
33097 [!_STATBUF_ST_NSEC]
33098 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
33099 Define using time_t rather than struct timespec.
33101 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
33102 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
33104 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
33106 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
33107 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
33110 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
33111 __libc_cleanup_push argument.
33113 * bits/param.h: New file.
33114 * misc/sys/param.h: New file.
33115 * include/sys/param.h: New file.
33116 * misc/Makefile (headers): Add bits/param.h.
33117 * sysdeps/generic/sys/param.h: File removed.
33118 * sysdeps/unix/sysv/linux/bits/param.h: New file.
33119 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
33120 * sysdeps/mach/hurd/bits/param.h: New file.
33121 * sysdeps/mach/hurd/sys/param.h: File removed.
33123 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
33126 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
33128 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
33129 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
33132 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
33133 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
33134 rather than -D_IO_MTSAFE_IO conditionally.
33135 * stdio-common/Makefile (CPPFLAGS): Likewise.
33136 * wcsmbs/Makefile (CPPFLAGS): Likewise.
33137 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
33138 Use $(libio-mtsafe).
33139 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
33140 of -D_IO_MTSAFE_IO.
33141 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
33142 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
33143 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
33144 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
33145 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
33146 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
33147 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
33148 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
33149 (CFLAGS-fread_u_chk.c): Likewise.
33150 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
33151 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
33152 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
33153 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
33154 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
33155 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
33156 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
33157 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
33158 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
33160 * libio/Makefile: Test [$(libc-reentrant) = yes]
33161 instead of [$(filter %REENTRANT, $(defines)) nonempty].
33164 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
33165 * sysdeps/pthread/configure: File removed.
33166 * sysdeps/pthread/Makeconfig: New file.
33167 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
33168 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
33170 2012-08-16 Gary Benson <gbenson@redhat.com>
33172 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
33173 unmapping the first object in a namespace.
33175 2012-08-16 Roland McGrath <roland@hack.frob.com>
33177 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
33178 (__internal_setnetgrent): ... this. Add internal_function to
33179 definition. Add libc_hidden_def.
33180 (setnetgrent): Update caller.
33181 (internal_endnetgrent): Renamed to ...
33182 (__internal_endnetgrent): ... this. Add internal_function to
33183 definition. Add libc_hidden_def.
33184 (endnetgrent): Update caller.
33185 (internal_getnetgrent_r): Renamed to ...
33186 (__internal_getnetgrent_r): ... this. Add internal_function to
33187 definition. Add libc_hidden_def.
33188 (__getnetgrent_r): Update caller.
33189 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
33191 2012-08-16 Joseph Myers <joseph@codesourcery.com>
33193 * stdlib/longlong.h: Update from GCC.
33195 2012-08-16 Roland McGrath <roland@hack.frob.com>
33197 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
33198 on _QL, which is set by umul_ppmm but never used.
33199 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
33200 variables, which are set by GMP macros but never used.
33201 * stdio-common/_itowa.c (_itowa): Likewise.
33202 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
33203 * stdlib/mod_1.c (mpn_mod_1): Likewise.
33205 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
33207 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
33208 struct La_sh_regs is not constant.
33209 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
33210 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
33211 and struct La_sparc64_regs are not constant.
33213 2012-08-16 Joseph Myers <joseph@codesourcery.com>
33215 * sysdeps/unix/sysv/linux/kernel-features.h
33216 (__ASSUME_POSIX_TIMERS): Remove.
33217 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33218 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33219 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
33220 Make code unconditional.
33221 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33222 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
33223 Make code unconditional.
33224 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33225 * sysdeps/unix/sysv/linux/clock_nanosleep.c
33226 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
33227 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33228 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
33229 Make code unconditional.
33230 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33231 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
33232 (__libc_missing_posix_timers): Remove.
33234 2012-08-15 Roland McGrath <roland@hack.frob.com>
33236 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
33237 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
33239 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
33241 * elf/dl-sym.c: Include <stdlib.h>.
33243 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
33244 constants, which avoids warnings in 32-bit builds.
33246 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
33247 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
33249 * misc/lseek.c: File moved to ...
33250 * io/lseek.c: ... here.
33252 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
33254 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
33255 shifting LEN more than 31 bits at once.
33257 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33260 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
33261 segmentation fault for a case of two empty input strings.
33262 * string/test-strncasecmp.c (check1): Renamed to...
33263 (bz12205): ...this.
33264 (bz14195): Add new testcase for two empty input strings and N > 0.
33265 (test_main): Call new testcase, adapt for renamed function.
33267 2012-08-15 Andreas Jaeger <aj@suse.de>
33270 * crypt/md5test2.c: New test, based on test supplied by Serge
33271 Belyshev <belyshev@depni.sinp.msu.ru>.
33272 * crypt/Makefile (xtests): Add md5test-giant..
33273 * crypt/Makefile ($(objpfx)md5test-giant): Add.
33275 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
33278 * crypt/md5.c (md5_process_block): Don't assume the buffer
33279 length is less than 2**32.
33280 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
33281 length is less than 2**64.
33283 2012-08-15 Roland McGrath <roland@hack.frob.com>
33285 * string/str-two-way.h: Include <sys/param.h>.
33286 (MAX): Macro removed.
33288 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
33289 Move #define and #undef of memmove to just before and after
33290 including <string.h>.
33292 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
33293 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
33294 and after including <string.h>. Move declarations of
33295 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
33296 to before #include "string/memmove.c".
33298 * include/dirent.h: Declare __getdirentries.
33300 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
33301 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
33303 2012-08-14 Mike Frysinger <vapier@gentoo.org>
33305 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
33306 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
33307 * sysdeps/i386/configure: Regenerated.
33308 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
33309 STABS_CURRENT_FILE, and STABS_FUN.
33310 (END): Remove call to STABS_FUN_END.
33311 (STABS_CURRENT_FILE1): Delete.
33312 (STABS_CURRENT_FILE): Likewise.
33313 (STABS_FUN): Likewise.
33314 (STABS_FUN_END): Likewise.
33315 (STABS_FUN2): Likewise.
33316 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
33317 * sysdeps/x86_64/configure: Regenerated.
33319 2012-08-14 Roland McGrath <roland@hack.frob.com>
33321 * elf/dl-open.c: Include <atomic.h>.
33322 * elf/dl-lookup.c: Likewise.
33324 2012-08-14 Joseph Myers <joseph@codesourcery.com>
33326 * sysdeps/unix/sysv/linux/kernel-features.h
33327 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
33328 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
33330 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
33332 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
33333 condition on __ASSUME_CLONE_THREAD_FLAGS.
33335 2012-08-14 Andreas Jaeger <aj@suse.de>
33337 * sysdeps/i386/fpu/libm-test-ulps: Update.
33339 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
33341 * include/atomic.h (atomic_exchange_and_add): Split into ...
33342 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
33345 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
33347 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33349 2012-08-13 Jeff Law <law@redhat.com>
33351 * manual/stdio.texi (snprintf): Clarify handling of the trailing
33352 null byte in the output string.
33354 2012-08-10 Joseph Myers <joseph@codesourcery.com>
33356 * sysdeps/unix/sysv/linux/kernel-features.h
33357 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
33358 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
33359 (__ASSUME_ARG_MAX_STACK_BASED): Define.
33360 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33361 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
33362 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
33363 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
33365 2012-08-09 Jeff Law <law@redhat.com>
33368 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
33369 When avoid_arena is set, don't retry in the that arena. Pick the
33370 next one, whatever it might be.
33371 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
33372 (arena_lock): Pass in new parameter to arena_get2.
33373 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
33375 (__libc_malloc): Unify retrying after main arena failure with
33376 __libc_memalign version.
33377 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
33379 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
33382 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
33383 to __redirect_strstr.
33384 (__strstr_sse42): Use typeof __redirect_strstr.
33385 (__strstr_ia32): Likewise.
33386 (__libc_strstr): New prototype.
33387 (strstr): Renamed to ...
33388 (__libc_strstr): This.
33389 (strstr): New strong alias of __libc_strstr.
33390 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33391 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
33394 (__libc_time): New prototype.
33395 (time_ifunc): Replace time with __libc_time.
33396 (time): New strong alias and hidden definition of __libc_time.
33397 (__GI_time): Remove strong alias.
33398 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
33399 Include <stddef.h>.
33400 (memmove): Redefined to __redirect_memmove.
33401 (__memmove_sse2): Use typeof __redirect_memmove.
33402 (__memmove_ssse3): Likewise.
33403 (__memmove_ssse3_back): Likewise.
33404 (__libc_memmove): New prototype.
33405 (memmove): Renamed to ...
33406 (__libc_memmove): This.
33407 (memmove): New strong alias of __libc_memmove.
33409 2012-08-08 Mark Salter <msalter@redhat.com>
33412 (R_MN10300_TLS_GD): Define.
33413 (R_MN10300_TLS_LD): Likewise.
33414 (R_MN10300_TLS_LDO): Likewise.
33415 (R_MN10300_TLS_GOTIE): Likewise.
33416 (R_MN10300_TLS_IE): Likewise.
33417 (R_MN10300_TLS_LE): Likewise.
33418 (R_MN10300_TLS_DTPMOD): Likewise.
33419 (R_MN10300_TLS_DTPOFF): Likewise.
33420 (R_MN10300_TLS_TPOFF): Likewise.
33421 (R_MN10300_SYM_DIFF): Likewise.
33422 (R_MN10300_ALIGN): Likewise.
33423 (R_MN10300_NUM): Update.
33425 2012-08-08 Joseph Myers <joseph@codesourcery.com>
33427 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
33430 2012-08-08 Roland McGrath <roland@hack.frob.com>
33432 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
33434 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
33435 sysdeps/unix -> sysdeps/posix move.
33436 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33438 2012-08-07 Allan McRae <allan@archlinux.org>
33441 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
33442 (SUNOS_CPP): Likewise.
33443 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
33445 (open_input): Call CPP using execvp.
33447 2012-08-07 Joseph Myers <joseph@codesourcery.com>
33449 * sysdeps/unix/sysv/linux/kernel-features.h
33450 (__ASSUME_PROT_GROWSUPDOWN): Remove.
33451 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33452 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33453 (__ASSUME_WAITID_SYSCALL): Likewise.
33454 * sysdeps/unix/sysv/linux/dl-execstack.c
33455 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
33456 code unconditional.
33457 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
33459 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
33460 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
33461 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
33463 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
33465 [__ASSUME_WAITID_SYSCALL]: Likewise.
33466 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
33468 2012-08-07 Roland McGrath <roland@hack.frob.com>
33470 * sysdeps/unix/closedir.c: Renamed to ...
33471 * sysdeps/posix/closedir.c: ... here.
33472 * sysdeps/unix/dirfd.c: Renamed to ...
33473 * sysdeps/posix/dirfd.c: ... here.
33474 * sysdeps/unix/dirstream.h: Renamed to ...
33475 * sysdeps/posix/dirstream.h: ... here.
33476 * sysdeps/unix/fdopendir.c: Renamed to ...
33477 * sysdeps/posix/fdopendir.c: ... here.
33478 * sysdeps/unix/opendir.c: Renamed to ...
33479 * sysdeps/posix/opendir.c: ... here.
33480 * sysdeps/unix/readdir.c: Renamed to ...
33481 * sysdeps/posix/readdir.c: ... here.
33482 * sysdeps/unix/readdir_r.c: Renamed to ...
33483 * sysdeps/posix/readdir_r.c: ... here.
33484 * sysdeps/unix/rewinddir.c: Renamed to ...
33485 * sysdeps/posix/rewinddir.c: ... here.
33486 * sysdeps/unix/seekdir.c: Renamed to ...
33487 * sysdeps/posix/seekdir.c: ... here.
33488 * sysdeps/unix/telldir.c: Renamed to ...
33489 * sysdeps/posix/telldir.c: ... here.
33490 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
33491 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
33492 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33493 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
33495 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
33496 * bits/fcntl.h: ... here.
33498 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
33500 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
33501 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
33502 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
33503 (struct flock): Move l_start, l_len to the beginning.
33504 Use __pid_t for l_pid.
33505 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
33506 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
33507 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
33508 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
33509 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
33510 [__USE_LARGEFILE64] (struct flock64): New type.
33511 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
33513 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
33514 * bits/dirent.h: ... here.
33516 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
33517 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
33519 2012-08-07 Joseph Myers <joseph@codesourcery.com>
33521 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33522 Change from 2.6.0 to 2.6.16.
33523 * sysdeps/unix/sysv/linux/configure: Regenerated.
33524 * sysdeps/unix/sysv/linux/kernel-features.h
33525 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
33526 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
33528 (__ASSUME_UTIMES): Likewise.
33529 (__ASSUME_CLONE_STOPPED): Remove.
33530 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
33531 architectures, not kernel version.
33532 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
33533 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33534 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33535 (__ASSUME_WAITID_SYSCALL): Likewise.
33536 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
33537 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
33538 * README: State 2.6.16 as minimum Linux kernel version. Do not
33539 refer to older versions.
33541 2012-08-06 Roland McGrath <roland@hack.frob.com>
33543 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
33544 Define alphasort64 as an alias.
33545 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
33546 Define versionsort64 as an alias.
33547 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
33548 Define scandir64 as an alias.
33549 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
33550 Define scandirat64 as an alias.
33551 * dirent/alphasort64.c (alphasort64):
33552 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
33553 * dirent/versionsort64.c: Likewise.
33554 * dirent/scandir64.c: Likewise.
33555 * dirent/scandirat64.c: Likewise.
33556 * sysdeps/wordsize-64/alphasort.c: File removed.
33557 * sysdeps/wordsize-64/alphasort64.c: File removed.
33558 * sysdeps/wordsize-64/scandir.c: File removed.
33559 * sysdeps/wordsize-64/scandir64.c: File removed.
33560 * sysdeps/wordsize-64/scandirat.c: File removed.
33561 * sysdeps/wordsize-64/scandirat64.c: File removed.
33562 * sysdeps/wordsize-64/versionsort.c: File removed.
33563 * sysdeps/wordsize-64/versionsort64.c: File removed.
33564 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
33565 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
33566 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
33567 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
33568 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
33569 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
33570 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
33571 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
33573 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
33574 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33575 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
33576 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33577 [defined __arch64__ || defined __sparcv9]
33578 (__INO_T_MATCHES_INO64_T): New macro.
33579 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33580 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
33581 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
33582 * sysdeps/unix/sysv/linux/bits/dirent.h
33583 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
33584 (_DIRENT_MATCHES_DIRENT64): New macro.
33586 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
33587 Define lockf64 as an alias.
33588 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
33589 Define fseeko64 as an alias.
33590 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
33591 Define ftello64 as an alias.
33592 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
33593 Define _IO_fgetpos64 and fgetpos64 as aliases.
33594 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
33595 Define _IO_fsetpos64 and fsetpos64 as aliases.
33596 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
33597 Conditionalize body on this.
33598 * libio/fseeko64.c: Likewise.
33599 * libio/ftello64.c: Likewise.
33600 * libio/iofgetpos64.c: Likewise.
33601 * libio/iofsetpos64.c: Likewise.
33602 * sysdeps/wordsize-64/lockf.c: File removed.
33603 * sysdeps/wordsize-64/lockf64.c: File removed.
33604 * sysdeps/wordsize-64/fseeko.c: File removed.
33605 * sysdeps/wordsize-64/fseeko64.c: File removed.
33606 * sysdeps/wordsize-64/ftello.c: File removed.
33607 * sysdeps/wordsize-64/ftello64.c: File removed.
33608 * sysdeps/wordsize-64/iofgetpos.c: File removed.
33609 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
33610 * sysdeps/wordsize-64/iofsetpos.c: File removed.
33611 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
33612 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
33613 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
33614 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
33615 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
33616 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
33617 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
33618 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
33619 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
33620 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
33621 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
33623 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33624 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33625 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
33626 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33627 [defined __arch64__ || defined __sparcv9]
33628 (__OFF_T_MATCHES_OFF64_T): New macro.
33629 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33630 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33631 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33632 (__OFF_T_MATCHES_OFF64_T): New macro.
33634 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33636 * stdlib/secure-getenv.c (__secure_getenv): Replace
33637 GLIBC_2_16 with GLIBC_2_17.
33639 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33641 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
33642 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33644 2012-08-03 David S. Miller <davem@davemloft.net>
33646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33648 2012-08-03 Joseph Myers <joseph@codesourcery.com>
33650 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
33652 (__ASSUME_CORRECT_SI_PID): Likewise.
33653 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
33654 (__ASSUME_TMPFS_NAME): Likewise.
33655 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
33656 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
33657 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
33658 (HAVE_AUX_SECURE): Make definition unconditional.
33659 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
33660 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
33662 2012-08-03 Roland McGrath <roland@hack.frob.com>
33664 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
33665 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
33666 * sysdeps/mach/hurd/eloop-threshold.h: New file.
33667 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33668 __eloop_threshold instead of SYMLOOP_MAX.
33670 * sysdeps/generic/eloop-threshold.h: New file.
33671 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
33673 * elf/chroot_canon.c (chroot_canon): Likewise.
33675 2012-08-03 Joseph Myers <joseph@codesourcery.com>
33678 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33679 Change to 2.6.0 everywhere.
33680 * sysdeps/unix/sysv/linux/configure: Regenerated.
33681 * sysdeps/unix/sysv/linux/kernel-features.h
33682 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
33683 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
33685 (__ASSUME_POSIX_TIMERS): Define unconditionally.
33686 (__ASSUME_FUTEX_REQUEUE): Remove.
33687 (__ASSUME_STATFS64): Define unconditionally.
33688 (__ASSUME_AT_SECURE): Likewise.
33689 (__ASSUME_CORRECT_SI_PID): Likewise.
33690 (__ASSUME_TGKILL): Define without depending on kernel version for
33692 (__ASSUME_UTIMES): Likewise.
33693 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
33695 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
33696 (__ASSUME_TMPFS_NAME): Likewise.
33697 * README: Update reference to Linux kernel versions.
33699 2012-08-02 Marek Polacek <polacek@redhat.com>
33702 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
33703 libc_cv_asm_type_prefix with %.
33704 * configure: Regenerated.
33705 * include/libc-symbols.h: Remove comment about
33706 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33707 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
33708 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
33709 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
33710 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
33711 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33712 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
33713 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
33714 * elf/tst-unique2mod1.c: Likewise.
33715 * elf/tst-unique1mod2.c: Likewise.
33716 * elf/tst-unique1mod1.c: Likewise.
33717 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
33718 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
33719 Replace ASM_TYPE_DIRECTIVE with .type.
33720 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33721 * sysdeps/i386/sysdep.h: Likewise.
33722 * sysdeps/x86_64/sysdep.h: Likewise.
33723 * sysdeps/sh/sysdep.h: Likewise.
33724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33725 Do not define ASM_TYPE_DIRECTIVE.
33726 * sysdeps/powerpc/sysdep.h: Likewise.
33727 * sysdeps/powerpc/powerpc32/sysdep.h:
33728 Replace ASM_TYPE_DIRECTIVE with .type.
33729 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33730 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33731 * sysdeps/i386/fpu/e_powf.S: Likewise.
33732 * sysdeps/i386/fpu/e_expl.S: Likewise.
33733 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33734 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33735 * sysdeps/i386/fpu/e_pow.S: Likewise.
33736 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
33737 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33738 * sysdeps/i386/fpu/s_expm1.S: Likewise.
33739 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
33740 * sysdeps/i386/fpu/e_log2.S: Likewise.
33741 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33742 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33743 * sysdeps/i386/fpu/e_powl.S: Likewise.
33744 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33745 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
33746 * sysdeps/i386/fpu/e_logl.S: Likewise.
33747 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
33748 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
33749 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
33750 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33751 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33752 * sysdeps/i386/fpu/e_log.S: Likewise.
33753 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33754 * sysdeps/i386/fpu/e_logf.S: Likewise.
33755 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33756 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33757 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
33758 * sysdeps/i386/fpu/e_log10.S: Likewise.
33759 * sysdeps/i386/fpu/s_frexp.S: Likewise.
33760 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33761 * sysdeps/i386/fpu/s_asinh.S: Likewise.
33762 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
33763 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33764 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
33765 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
33766 * sysdeps/i386/i686/strtok.S: Likewise.
33767 * sysdeps/i386/i386-mcount.S: Likewise.
33768 * sysdeps/i386/strtok.S: Likewise.
33769 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
33770 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33771 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33772 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33773 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33774 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33775 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
33776 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
33777 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33778 * sysdeps/x86_64/_mcount.S: Likewise.
33779 * sysdeps/x86_64/strtok.S: Likewise.
33780 * sysdeps/sh/_mcount.S: Likewise.
33782 2012-08-01 Roland McGrath <roland@hack.frob.com>
33784 * libio/iofopen.c: Include <fcntl.h>.
33785 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
33786 (_IO_fopen64, fopen64): Define as aliases.
33787 * libio/iofopen64.c: Include <fcntl.h>.
33788 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
33789 Conditionalize body on this.
33790 * sysdeps/wordsize-64/iofopen.c: File removed.
33791 * sysdeps/wordsize-64/iofopen64.c: File removed.
33793 2012-08-01 Marek Polacek <polacek@redhat.com>
33795 * libc/Makeconfig: Use elf in place of binfmt-subdir.
33796 Use dlfcn directly instead of a variable.
33797 (binfmt-subdir): Do not define.
33800 2012-08-01 Joseph Myers <joseph@codesourcery.com>
33802 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
33803 Remove all definitions.
33804 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
33805 <kernel-features.h>.
33806 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33807 (miss_F_GETOWN_EX): Remove all definitions.
33808 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
33810 [!__ASSUME_FCNTL64]: Remove conditional code.
33811 [__ASSUME_FCNTL64]: Make code unconditional.
33812 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
33813 <kernel-features.h>.
33814 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33815 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
33816 (lockf64) [__NR_fcntl64]: Make code unconditional.
33817 (lockf64) [__ASSUME_FCNTL64]: Likewise.
33819 * sysdeps/unix/sysv/linux/kernel-features.h
33820 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
33821 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
33822 Make code unconditional.
33823 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33824 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
33826 [__NR_vfork]: Make code unconditional.
33827 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33828 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
33830 [__NR_vfork]: Make code unconditional.
33831 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33832 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33834 2012-08-01 Roland McGrath <roland@hack.frob.com>
33836 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
33837 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
33839 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33840 Define mkstemp64 as an alias.
33841 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33842 Define mkstemps64 as an alias.
33843 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33844 Define mkostemp64 as an alias.
33845 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33846 Define mkostemps64 as an alias.
33847 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
33848 Conditionalize body on this.
33849 * misc/mkostemp64.c: Likewise.
33850 * misc/mkostemps64.c: Likewise.
33851 * misc/mkstemps64.c: Likewise.
33852 * sysdeps/wordsize-64/mkstemp64.c: File removed.
33853 * sysdeps/wordsize-64/mkostemp64.c: File removed.
33854 * sysdeps/wordsize-64/mkostemp.c: File removed.
33855 * sysdeps/wordsize-64/mkstemp.c: File removed.
33856 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
33857 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
33858 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
33859 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
33862 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
33863 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
33864 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
33865 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
33867 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
33868 compat_symbol macros from <shlib-compat.h> rather than the underlying
33869 default_symbol_version and symbol_version macros, so that DEFAULT
33870 lines in shlib-versions are respected.
33871 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
33873 2012-08-01 Florian Weimer <fweimer@redhat.com>
33875 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
33876 Declare with warn_unused_result.
33877 (setgid, setregid, setegid, setresgid): Likewise.
33878 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
33880 * WUR-REPORT: Remove set*id functions.
33882 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
33884 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
33886 2012-07-31 Roland McGrath <roland@hack.frob.com>
33889 * include/sys/socket.h (__libc_accept, __libc_accept4):
33890 Add attribute_hidden.
33891 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
33893 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
33895 * inet/getnetgrent_r.c (setup): Likewise.
33897 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
33899 2012-07-31 David S. Miller <davem@davemloft.net>
33901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33903 2012-07-31 Joseph Myers <joseph@codesourcery.com>
33906 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
33907 value between 1.0 and 2.0 and smaller part has absolute value less
33909 * math/s_clog10.c (__clog10): Likewise.
33910 * math/s_clog10f.c (__clog10f): Likewise.
33911 * math/s_clog10l.c (__clog10l): Likewise.
33912 * math/s_clogf.c (__clogf): Likewise.
33913 * math/s_clogl.c (__clogl): Likewise.
33914 * math/libm-test.inc (clog_test): Add more tests.
33915 (clog10_test): Likewise.
33916 * sysdeps/i386/fpu/libm-test-ulps: Update.
33917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33919 2012-07-31 Florian Weimer <fweimer@redhat.com>
33921 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
33922 Exit with zero in case no suitable GID is found, and write a
33923 message to standard error.
33925 2012-07-30 Roland McGrath <roland@hack.frob.com>
33927 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
33929 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
33930 (MAXPATHLEN): Removed.
33931 (NOGROUP, NODEV): New macros.
33932 (setbit, clrbit, isset, isclr): New macros.
33933 (howmany, roundup, powerof2): New macros.
33934 (DEV_BSIZE): New macro.
33936 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
33937 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
33939 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
33940 definition on [!__NO_LONG_DOUBLE_MATH].
33942 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
33943 PTR_MANGLE and PTR_DEMANGLE.
33945 * socket/accept4.c (accept4): Rename to __libc_accept4.
33946 Define accept4 as a weak alias.
33948 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
33949 on [_DIRENT_HAVE_D_TYPE].
33950 * io/ftw.c (ftw_dir): Likewise.
33952 * io/xmknod.c (__xmknod): Don't check PATH for being null.
33954 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
33956 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
33957 Use the BSD numbers rather than the arbitrary ones we had.
33958 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
33959 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
33960 (SIGXCPU, SIGXFSZ): New macros.
33963 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
33964 initializer on [_LIBC_REENTRANT].
33966 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
33967 definitions inside [_POSIX_MAPPED_FILES].
33969 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
33971 * dirent/opendir.c: Include <fcntl.h>.
33973 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
33974 (__libc_getspecific): Likewise.
33975 (__libc_key_create): Likewise.
33977 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
33978 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
33979 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
33980 (tmpfile64): Define as alias.
33981 * sysdeps/wordsize-64/tmpfile.c: File removed.
33982 * sysdeps/wordsize-64/tmpfile64.c: File removed.
33983 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
33984 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
33986 * stdio-common/vfscanf.c: Include <stdbool.h>.
33987 * nss/makedb.c: Likewise.
33988 * stdio-common/_i18n_number.h: Likewise.
33989 * argp/argp-help.c: Likewise.
33990 * posix/wordexp.c: Likewise.
33991 * sysdeps/posix/spawni.c: Likewise.
33992 * nss/nss_files/files-initgroups.c: Likewise.
33993 * stdio-common/reg-modifier.c: Include <stdlib.h>.
33994 * nss/nss_files/files-initgroups.c: Likewise.
33995 * nss/nss_db/db-netgrp.c: Likewise.
33996 * nss/nss_db/db-initgroups.c: Likewise.
33997 * io/fchmodat.c: Include <sys/stat.h>.
33999 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
34000 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
34002 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
34005 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
34006 Add multiple inclusion protection.
34008 2012-07-27 David S. Miller <davem@davemloft.net>
34010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34012 2012-07-27 Gary Benson <gbenson@redhat.com>
34015 * elf/rtld.c: Include <stap-probe.h>.
34016 (dl_main): Added static probes "init_start" and "init_complete".
34017 * elf/dl-load.c: Include <stap-probe.h>.
34018 (lose): Take new parameter "nsid".
34019 Added static probe "map_failed".
34020 (_dl_map_object_from_fd): Pass namespace id to lose.
34021 Added static probe "map_start".
34022 (open_verify): Pass namespace id to lose.
34023 * elf/dl-open.c: Include <stap-probe.h>.
34024 (dl_open_worker) Added static probes "map_complete", "reloc_start"
34025 and "reloc_complete".
34026 * elf/dl-close.c: Include <stap-probe.h>.
34027 (_dl_close_worker): Added static probes "unmap_start" and
34029 * elf/rtld-debugger-interface.txt: New file documenting the above.
34031 2012-07-26 Roland McGrath <roland@hack.frob.com>
34033 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34034 rather than a string variable.
34035 * sunrpc/rpc_main.c (h_output): Likewise.
34036 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
34038 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
34040 * inet/check_native.c: New file.
34042 2012-07-26 Joseph Myers <joseph@codesourcery.com>
34045 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
34046 if larger part has absolute value 1.0.
34047 * math/s_clog10.c (__clog10): Likewise.
34048 * math/s_clog10f.c (__clog10f): Likewise.
34049 * math/s_clog10l.c (__clog10l): Likewise.
34050 * math/s_clogf.c (__clogf): Likewise.
34051 * math/s_clogl.c (__clogl): Likewise.
34052 * math/libm-test.inc (clog_test): Add more tests.
34053 (clog10_test): Likewise.
34054 * sysdeps/i386/fpu/libm-test-ulps: Update.
34055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34057 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
34058 (pltexit): Likewise.
34059 (La_regs): Likewise.
34060 (La_retval): Likewise.
34061 (int_retval): Likewise.
34062 Update #error for removed macros to refer only to definitions in
34064 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
34066 (pltexit): Likewise.
34067 (La_regs): Likewise.
34068 (La_retval): Likewise.
34069 (int_retval): Likewise.
34070 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
34072 (pltexit): Likewise.
34073 (La_regs): Likewise.
34074 (La_retval): Likewise.
34075 (int_retval): Likewise.
34076 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
34078 (pltexit): Likewise.
34079 (La_regs): Likewise.
34080 (La_retval): Likewise.
34081 (int_retval): Likewise.
34082 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
34084 (pltexit): Likewise.
34085 (La_regs): Likewise.
34086 (La_retval): Likewise.
34087 (int_retval): Likewise.
34088 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
34090 (pltexit): Likewise.
34091 (La_regs): Likewise.
34092 (La_retval): Likewise.
34093 (int_retval): Likewise.
34094 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
34096 (pltexit): Likewise.
34097 (La_regs): Likewise.
34098 (La_retval): Likewise.
34099 (int_retval): Likewise.
34100 * sysdeps/generic/tst-audit.h: Update comment to refer only to
34101 macro definitions in tst-audit.h.
34102 * sysdeps/i386/tst-audit.h: New file.
34103 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
34104 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
34105 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
34106 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
34107 * sysdeps/sh/tst-audit.h: Likewise.
34108 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
34109 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
34110 * sysdeps/x86_64/tst-audit.h: Likewise.
34112 2012-07-26 Andreas Jaeger <aj@suse.de>
34114 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
34117 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
34118 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
34119 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
34121 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
34122 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
34123 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
34125 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
34128 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
34130 (si_call_addr, si_syscall, si_arch): Define new macro.
34131 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
34133 (si_call_addr, si_syscall, si_arch): Define new marcro.
34134 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
34136 (si_call_addr, si_syscall, si_arch): Define new macro.
34137 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
34139 (si_call_addr, si_syscall, si_arch): Define new macro.
34141 2012-07-25 Joseph Myers <joseph@codesourcery.com>
34144 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34145 Change to 2.4.21 where previously 2.4.1.
34146 * sysdeps/unix/sysv/linux/configure: Regenerated.
34147 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
34148 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
34149 Linux kernel version.
34150 (__ASSUME_STD_AUXV): Remove.
34151 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
34153 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
34154 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
34155 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
34156 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
34157 (__ASSUME_NETLINK_SUPPORT): Likewise.
34158 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
34159 (__no_netlink_support): Remove conditional definition.
34160 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
34162 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34163 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
34164 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
34165 (if_nameindex_ioctl): Remove.
34166 (if_nameindex_netlink): Do not handle __no_netlink_support.
34167 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34169 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
34170 Remove conditional code.
34171 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34173 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
34175 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34176 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
34177 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
34179 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
34180 [!__ASSUME_STD_AUXV]: Remove conditional code.
34181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
34182 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
34183 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
34184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
34185 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
34186 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34188 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34190 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
34191 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34193 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34195 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34198 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
34201 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34202 code unconditional.
34203 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34205 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34207 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34210 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34212 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34215 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34216 code unconditional.
34217 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34219 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34221 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34224 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34225 code unconditional.
34226 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34228 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34230 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34233 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
34235 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
34236 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
34237 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34238 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
34239 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
34240 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34241 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34242 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
34243 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
34244 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34245 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
34246 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
34247 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
34248 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34249 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
34250 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
34251 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
34252 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
34253 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
34254 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
34255 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
34256 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
34257 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34259 2012-07-25 Florian Weimer <fweimer@redhat.com>
34261 * Versions.def: Add GLIBC_2.17.
34262 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
34263 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
34264 Introduce __libc_secure_getenv.
34265 * stdlib/Versions (2.17): Add secure_getenv
34266 (GLIBC_PRIVATE): Add __libc_secure_getenv.
34267 * stdlib/secure-getenv.c: Rename __secure_getenv to
34268 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
34269 symbol __secure_getenv for GLIBC_2.0.
34270 * stdlib/tst-secure-getenv.c: New.
34271 * stdlib/Makefile (tests): Add testcase.
34272 * manual/startup.texi (Environment Access): Document
34274 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
34275 __libc_secure_getenv.
34276 * inet/ruserpass.c (ruserpass): Likewise.
34277 * malloc/mtrace.c (mtrace): Likewise.
34278 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
34279 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
34280 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
34281 * sysdeps/posix/tempname.c: Likewise. Evaluate
34282 HAVE_SECURE_GETENV.
34283 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
34284 __secure_getenv to __libc_secure_getenv.
34285 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
34286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34292 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34293 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34294 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34298 2012-07-25 Joseph Myers <joseph@codesourcery.com>
34300 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
34301 (struct La_i86_retval): Likewise.
34302 (struct La_x86_64_regs): Likewise.
34303 (struct La_x86_64_retval): Likewise.
34304 (struct La_x32_regs): Likewise.
34305 (struct La_x32_retval): Likewise.
34306 (struct La_ppc32_regs): Likewise.
34307 (struct La_ppc32_retval): Likewise.
34308 (struct La_ppc64_regs): Likewise.
34309 (struct La_ppc64_retval): Likewise.
34310 (struct La_sh_regs): Likewise.
34311 (struct La_sh_retval): Likewise.
34312 (struct La_s390_32_regs): Likewise.
34313 (struct La_s390_32_retval): Likewise.
34314 (struct La_s390_64_regs): Likewise.
34315 (struct La_s390_64_retval): Likewise.
34316 (struct La_sparc32_regs): Likewise.
34317 (struct La_sparc32_retval): Likewise.
34318 (struct La_sparc64_regs): Likewise.
34319 (struct La_sparc64_retval): Likewise.
34320 (struct audit_ifaces): Remove architecture-specific pltenter and
34322 * sysdeps/i386/ldsodefs.h: New file.
34323 * sysdeps/powerpc/ldsodefs.h: Likewise.
34324 * sysdeps/s390/ldsodefs.h: Likewise.
34325 * sysdeps/sh/ldsodefs.h: Likewise.
34326 * sysdeps/sparc/ldsodefs.h: Likewise.
34327 * sysdeps/x86_64/ldsodefs.h: Likewise.
34329 2012-07-25 Marek Polacek <polacek@redhat.com>
34332 * math/libm-test.inc (yn_test): Add another test.
34333 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
34334 to ERANGE when the result is +-Inf.
34335 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34336 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34337 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
34338 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
34340 2012-07-24 Joseph Myers <joseph@codesourcery.com>
34342 * conform/data/time.h-data (NULL): Use macro-constant. Require
34344 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
34346 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
34348 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
34350 * configure.in <sysdeps resolving>: Correct printing
34352 * configure: Regenerate.
34354 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
34356 * math/w_ilogb.c: Include <limits.h>.
34357 * math/w_ilogbl.c: Likewise.
34359 2012-07-20 Joseph Myers <joseph@codesourcery.com>
34361 * manual/lang.texi (__va_copy): Document primarily as ISO C99
34362 va_copy. Document allowing for unavailable va_copy only as
34363 pre-C99 compatibility.
34364 * manual/string.texi (Copying and Concatenation): Use va_copy
34365 instead of __va_copy in concat example.
34367 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
34369 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
34370 (__sendto): Use create_address_port. Initialize APORT and deallocate
34373 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
34374 with O_NOLINK passed to __file_name_lookup.
34376 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
34377 with O_NOLINK passed to __file_name_lookup.
34379 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
34380 negative N or less than NGIDS.
34382 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
34383 type to string_t. Set ERANGE as errno and return it if NAME is not big
34384 enough. Use memcpy instead of strncpy.
34386 2012-07-20 Joseph Myers <joseph@codesourcery.com>
34388 * elf/Makefile (check-data): Remove.
34389 (localplt.data): New vpath directive.
34390 ($(objpfx)check-localplt.out): Use localplt.data from vpath
34391 instead of $(check-data).
34392 * scripts/data/localplt-generic.data: Move to ...
34393 * sysdeps/generic/localplt.data: ... here.
34394 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
34395 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
34396 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
34397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34399 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
34400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34402 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
34403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
34405 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
34406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
34408 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
34409 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
34411 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
34412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
34415 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34417 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
34418 PPC32 and PPC64 files.
34419 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
34420 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
34422 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34424 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
34425 __makecontext_ret to ...
34426 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34427 ... here and call exit if uc_link is NULL. New file.
34428 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
34429 __makecontext_ret.S.
34430 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
34431 __makecontext_ret to ...
34432 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34433 ... here and call exit if uc_link is NULL. New file.
34434 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
34435 __makecontext_ret.S.
34437 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34439 * elf/elf.h (R_390_IRELATIVE): New definition.
34440 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
34441 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
34442 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
34443 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34444 (elf_machine_lazy_rel): Likewise.
34445 * sysdeps/s390/dl-irel.h: New file.
34446 * sysdeps/s390/s390-64/memcpy.S: New asm code.
34447 * sysdeps/s390/s390-64/memset.S: New asm code.
34448 * sysdeps/s390/s390-64/memcmp.S: New asm code.
34449 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
34450 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
34451 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
34452 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
34453 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
34454 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
34455 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
34456 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
34457 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
34458 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
34459 * sysdeps/s390/s390-32/memcpy.S: New asm code.
34460 * sysdeps/s390/s390-32/memset.S: New asm code.
34461 * sysdeps/s390/s390-32/memcmp.S: New asm code.
34463 2012-07-17 Marek Polacek <polacek@redhat.com>
34466 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
34467 * sysdeps/s390/s390-64/configure.in: Likewise.
34468 * sysdeps/sparc/configure.in: Likewise.
34469 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
34470 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
34471 * sysdeps/i386/configure.in: Likewise.
34472 * sysdeps/x86_64/configure.in: Likewise.
34473 * sysdeps/sh/configure.in: Likewise.
34474 * sysdeps/s390/s390-32/configure: Regenerated.
34475 * sysdeps/s390/s390-64/configure: Likewise.
34476 * sysdeps/x86_64/configure: Likewise.
34477 * sysdeps/sh/configure: Likewise.
34478 * sysdeps/powerpc/powerpc64/configure: Likewise.
34479 * sysdeps/powerpc/powerpc32/configure: Likewise.
34480 * sysdeps/sparc/configure: Likwise.
34481 * sysdeps/i386/configure: Likewise.
34483 * elf/dl-open.c: Comment fixes.
34485 2012-07-17 Joseph Myers <joseph@codesourcery.com>
34487 * Makefile [CXX] (check-data): Remove.
34488 [CXX] (c++-types.data): New vpath directive.
34489 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
34490 vpath. Do not allow for C++ type data being missing.
34491 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
34492 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
34493 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
34494 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
34495 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
34496 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
34497 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
34498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34500 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
34501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34503 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
34504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
34506 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
34507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
34509 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
34510 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
34512 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
34513 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
34515 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
34516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
34518 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
34519 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
34521 * elf/tls-macros.h (TLS_LE): Move architecture-specific
34522 definitions to architecture-specific files.
34523 (TLS_IE): Likewise.
34524 (TLS_LD): Likewise.
34525 (TLS_GD): Likewise.
34526 * sysdeps/i386/tls-macros.h: New file.
34527 * sysdeps/powerpc/tls-macros.h: Likewise.
34528 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
34529 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
34530 * sysdeps/sh/tls-macros.h: Likewise.
34531 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
34532 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
34533 * sysdeps/x86_64/tls-macros.h: Likewise.
34535 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34537 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
34538 zero value for regular exit case.
34540 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
34541 (__start_context): Preserve zero value for regular exit case.
34543 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34544 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34546 * manual/setjmp.texi (setcontext): Clarify normal process
34547 termination when uc_link is the null pointer.
34548 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
34551 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
34553 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
34554 preprocessor. Test for each exception mask separately.
34556 2012-07-16 Andreas Jaeger <aj@suse.de>
34558 * po/ru.po: Update from translation team.
34560 2012-07-15 Joseph Myers <joseph@codesourcery.com>
34562 * conform/data/string.h-data (NULL): Use macro-constant. Require
34564 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34565 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34566 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
34567 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
34568 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34570 2012-07-13 Andreas Jaeger <aj@suse.de>
34572 * po/fr.po: Update from translation team.
34574 2012-07-12 Marek Polacek <polacek@redhat.com>
34577 * math/libm-test.inc (yn_test): Add test for BZ #14173.
34578 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
34581 2012-07-12 Joseph Myers <joseph@codesourcery.com>
34584 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34585 Change to 2.4.1 where previously 2.4.0.
34586 * sysdeps/unix/sysv/linux/configure: Regenerated.
34587 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
34588 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
34590 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
34591 (__ASSUME_AT_CLKTCK): Remove.
34592 (__ASSUME_AT_PAGESIZE): Likewise.
34593 (__ASSUME_AT_XID): Likewise.
34594 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
34595 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
34596 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
34598 (HAVE_AUX_PAGESIZE): Likewise.
34599 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
34600 [__ASSUME_AT_CLKTCK]: Make code unconditional.
34601 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
34603 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
34606 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
34607 the temporary buffer used to invoke __gethostbyname2_r,
34608 __gethostbyaddr_r and gethostbyname4_r to make room for struct
34609 host_data / struct gaih_addrtuple.
34610 * resolv/nss_dns/dns-host.c (global scope): Move definition of
34611 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
34612 header file nss/nsswitch.h.
34613 * nss/nsswitch.h (global scope): Add definition of implementation
34614 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
34615 resolv/nss_dns/dns-host.c).
34617 2012-07-11 Andreas Jaeger <aj@suse.de>
34619 * po/fr.po: Update from translation team.
34621 * po/sv.po: Update from translation team
34622 * po/fr.po: Another update from translation team.
34624 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34626 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
34627 for subnormals or multiply small sinh result by itself.
34628 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34629 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34631 2012-07-11 David S. Miller <davem@davemloft.net>
34633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34635 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
34638 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
34639 (INTERNAL_MARK): Shift it here.
34641 2012-07-10 Marek Polacek <polacek@redhat.com>
34644 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
34645 libc_cv_asm_global_directive with .globl.
34646 * configure: Regenerated.
34647 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
34649 * sysdeps/i386/configure: Regenerated.
34650 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
34652 * sysdeps/x86_64/configure: Regenerated.
34653 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
34654 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
34655 * elf/tst-unique2mod2.c: Likewise.
34656 * elf/tst-unique2mod1.c: Likewise.
34657 * elf/tst-unique1mod2.c: Likewise.
34658 * elf/tst-unique1mod1.c: Likewise.
34659 * sysdeps/s390/s390-32/sysdep.h: Likewise.
34660 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34661 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34662 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34663 * sysdeps/mach/sysdep.h: Likewise.
34664 * sysdeps/i386/sysdep.h: Likewise.
34665 * sysdeps/i386/i386-mcount.S: Likewise.
34666 * sysdeps/x86_64/_mcount.S: Likewise.
34667 * sysdeps/x86_64/sysdep.h: Likewise.
34668 * sysdeps/sh/_mcount.S: Likewise.
34669 * sysdeps/sh/sysdep.h: Likewise.
34670 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
34671 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
34672 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
34673 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34674 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
34675 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
34676 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
34677 * locale/localeinfo.h: Likewise.
34678 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
34679 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
34681 2012-07-09 Roland McGrath <roland@hack.frob.com>
34684 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
34686 * manual/message.texi (The Uniforum approach): Likewise.
34687 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
34688 (glibc iconv Implementation): Likewise.
34690 2012-07-09 Joseph Myers <joseph@codesourcery.com>
34693 * math/s_clog.c (__clog): Avoid scaling a value down where that
34694 could result in underflow.
34695 * math/s_clog10.c (__clog10): Likewise.
34696 * math/s_clog10f.c (__clog10f): Likewise.
34697 * math/s_clog10l.c (__clog10l): Likewise.
34698 * math/s_clogf.c (__clogf): Likewise.
34699 * math/s_clogl.c (__clogl): Likewise.
34700 * math/libm-test.inc (clog_test): Add more tests.
34701 (clog10_test): Likewise.
34702 * sysdeps/i386/fpu/libm-test-ulps: Update.
34703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34705 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
34708 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
34709 by 7 not 8 to examine high bit of fractional part.
34712 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
34713 for call to __mcount_internal.
34714 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
34715 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
34716 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
34718 2012-07-06 Joseph Myers <joseph@codesourcery.com>
34721 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
34722 approximation for values within 0x1p-13f of an odd multiple of
34724 * math/libm-test.inc (tan_test): Do not allow spurious underflow
34725 exception. Add more tests.
34726 * sysdeps/i386/fpu/libm-test-ulps: Update.
34729 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
34730 inputs and return -1 for them. Do not check for +Inf in case not
34731 reachable for +Inf.
34732 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
34733 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
34734 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34735 and return -1 for them. Do not check for +Inf in case not
34736 reachable for +Inf.
34737 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
34739 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34740 and return -1 for them. Do not check for +Inf in case not
34741 reachable for +Inf.
34742 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
34743 spurious underflow.
34744 * sysdeps/i386/fpu/libm-test-ulps: Update.
34745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34747 2012-07-06 Mike Frysinger <vapier@gentoo.org>
34749 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
34751 2012-07-05 Joseph Myers <joseph@codesourcery.com>
34755 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
34756 could result in spurious underflow. Scale down values above
34757 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
34758 * math/s_csqrtf.c (__csqrtf): Likewise.
34759 * math/s_csqrtl.c (__csqrtl): Likewise.
34760 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
34761 spurious underflow.
34762 * sysdeps/i386/fpu/libm-test-ulps: Update.
34763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34765 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
34767 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
34769 * catgets/xopen-msg.awk: New file.
34770 * catgets/xopen-msg.sed: Removed.
34772 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
34774 * intl/po2test.awk: New file.
34775 * intl/po2test.sed: Removed.
34777 2012-07-04 Joseph Myers <joseph@codesourcery.com>
34780 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
34781 or multiply small sinh result by itself.
34782 * math/s_ctanf.c (__ctanf): Likewise.
34783 * math/s_ctanh.c (__ctanh): Likewise.
34784 * math/s_ctanhf.c (__ctanhf): Likewise.
34785 * math/s_ctanhl.c (__ctanhl): Likewise.
34786 * math/s_ctanl.c (__ctanl): Likewise.
34787 * math/libm-test.inc (ctan_test_tonearest): New function.
34788 (ctan_test_towardzero): Likewise.
34789 (ctan_test_downward): Likewise.
34790 (ctan_test_upward): Likewise.
34791 (ctanh_test_tonearest): Likewise.
34792 (ctanh_test_towardzero): Likewise.
34793 (ctanh_test_downward): Likewise.
34794 (ctanh_test_upward): Likewise.
34795 (main): Call these new functions.
34796 * sysdeps/i386/fpu/libm-test-ulps: Update.
34797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34799 2012-07-03 Mike Frysinger <vapier@gentoo.org>
34801 * .gitignore: Delete /ports entry.
34803 2012-07-03 Andreas Jaeger <aj@suse.de>
34805 * po/bg.po: Update from translation team.
34806 * po/cs.po: Likewise.
34807 * po/de.po: Likewise.
34808 * po/hr.po: Likewise.
34809 * po/nl.pl: Likewise.
34810 * po/pl.po: Likewise.
34811 * po/vi.po: Likewise.
34813 2012-07-03 Joseph Myers <joseph@codesourcery.com>
34815 * Makeconfig [!+link] (+link-before-libc): New variable.
34816 [!+link] (+link-after-libc): Likewise.
34817 [!+link] (+link-tests): Likewise.
34818 [!+link] (+link): Define in terms of $(+link-before-libc) and
34819 $(+link-after-libc).
34820 [!+link-static] (+link-static-before-libc): New variable.
34821 [!+link-static] (+link-static-after-libc): Likewise.
34822 [!+link-static] (+link-static-tests): Likewise.
34823 [!+link-static] (+link-static): Define in terms of
34824 $(+link-static-before-libc) and $(+link-static-after-libc).
34825 [build-shared] (link-libc-before-gnulib): New variable.
34826 [build-shared] (link-libc-tests): Likewise.
34827 [build-shared] (link-libc): Define in terms of
34828 $(link-libc-before-gnulib).
34829 [!build-shared] (link-libc-tests): New variable.
34830 (link-libc-static-tests): New variable.
34831 [!gnulib] (gnulib-arch): New variable.
34832 [!gnulib] (gnulib-tests): Likewise.
34833 [!gnulib] (static-gnulib-arch): Likewise.
34834 [!gnulib] (static-gnulib-tests): Likewise.
34835 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
34836 Define with "=" instead of ":=".
34837 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
34838 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
34839 * Rules (binaries-all-notests): New variable.
34840 (binaries-all-tests): Likewise.
34841 (binaries-static-notests): Likewise.
34842 (binaries-static-tests): Likewise.
34843 (binaries-all): Define using $(binaries-all-notests) and
34844 $(binaries-all-tests).
34845 (binaries-static): Define using $(binaries-static-notests) and
34846 $(binaries-static-tests).
34847 (binaries-shared-tests): New variable.
34848 (binaries-shared-notests): Likewise.
34849 (binaries-shared): Remove variable.
34850 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
34851 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
34852 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
34853 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
34854 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
34855 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
34856 * elf/Makefile (sln-modules): New variable.
34857 (extra-objs): Add $(sln-modules:=.o).
34858 (ldconfig-modules): Add static-stubs.
34859 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
34860 * elf/static-stubs.c: New file.
34863 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
34864 by 7 not 8 to examine high bit of fractional part. Use volatile
34865 variables when splitting into final array of floats if
34866 __FLT_EVAL_METHOD__ != 0.
34867 * math/libm-test.inc (cos_test): Add another test.
34868 (sin_test): Likewise.
34869 * sysdeps/i386/fpu/libm-test-ulps: Update.
34872 * math/libm-test.inc (cosh_test): Add more tests.
34874 * version.h (RELEASE): Set to "development".
34875 (VERSION): Set to "2.16.90".
34877 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
34879 * NEWS: Update copyright. Remove last-updated date.
34880 Mention math library bug fixes and timezone data changes.
34881 * README: Mention GNU/Hurd, x32, and HPPA support status.
34883 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
34885 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
34887 2012-06-27 Andreas Jaeger <aj@suse.de>
34889 * manual/contrib.texi (Contributors): Add Samuel Thibault.
34891 2012-06-25 Andreas Jaeger <aj@suse.de>
34893 * sysdeps/s390/fpu/libm-test-ulps: Update.
34895 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
34896 Thomas Schwinge <thomas@codesourcery.com>
34898 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
34899 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
34900 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
34903 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
34905 * sysdeps/mach/start.c: Remove file.
34906 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
34907 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
34908 * sysdeps/sh/init-first.c: Likewise.
34910 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
34911 registers for frame unwinding purposes, add CFI directives.
34912 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34913 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
34914 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
34917 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
34918 __fortify_fail returning.
34919 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34921 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
34922 sysdeps/sh/____longjmp_chk.S.
34923 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
34924 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
34925 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
34926 (gen-as-const-headers): Append sigaltstack-offsets.sym.
34928 * sysdeps/sh/abort-instr.h: New file.
34929 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
34930 process in case exit returns.
34932 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
34933 initialize the GOT register before use.
34935 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
34936 calculation of ARGC > 4.
34938 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
34939 meaningful names to some local labels.
34941 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34942 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34944 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
34945 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
34946 (__arch_compare_and_exchange_val_16_acq): Likewise.
34947 (__arch_compare_and_exchange_val_32_acq): Likewise.
34948 (atomic_exchange_and_add): Fix gUSA sequence.
34949 (atomic_add): Likewise.
34950 (atomic_add_negative): Likewise.
34951 (atomic_add_zero): Likewise.
34952 (atomic_bit_test_set): Likewise.
34954 2012-06-22 Andreas Schwab <schwab@redhat.com>
34957 * include/link.h (struct link_map): Add l_free_initfini.
34958 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
34960 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
34961 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
34962 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
34965 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
34967 * configure.in: Use AC_LANG_SOURCE.
34968 * configure: Regenerate.
34970 2012-06-22 Roland McGrath <roland@hack.frob.com>
34972 * configure.in (libc_cv_localstatedir): New substituted variable.
34973 * configure: Regenerated.
34974 * config.make.in (localstatedir): New variable, substituted from
34975 libc_cv_localstatedir.
34976 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
34977 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
34978 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
34979 * sysdeps/gnu/configure: Regenerated.
34981 2012-06-21 Jeff Law <law@redhat.com>
34984 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
34985 free. Simplify list management for _LIBC case.
34987 2012-06-21 Joseph Myers <joseph@codesourcery.com>
34990 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
34991 Clear sign bit of 64-bit integer value before comparing against
34994 * sysdeps/mach/configure: Regenerated.
34996 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
34999 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
35001 2012-06-21 Jeff Law <law@redhat.com>
35004 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
35005 uint16_t for elements in the "seen" array to avoid char overflows.
35006 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35007 * elf/dl-open.c (dl_open_worker): Likewise.
35009 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
35011 * scripts/list-sources.sh: Scan PORTS for translations.
35012 * po/libc.pot: Regenerated.
35014 2012-06-21 Andreas Jaeger <aj@suse.de>
35017 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
35019 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
35020 * bits/byteswap-16.h (__bswap_16): Likewise.
35021 * bits/byteswap.h (__bswap_constant_16): Likewise.
35023 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
35026 * sysdeps/i386/fpu_control.h: Removed.
35027 * sysdeps/x86_64/fpu_control.h: Moved to ...
35028 * sysdeps/x86/fpu_control.h: Here.
35030 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35031 (_FPU_SETCW): Likewise.
35033 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
35036 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
35037 * sysdeps/x86/fpu/bits/mathinline.h: This.
35038 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
35042 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
35043 functions if __x86_64__ is defined.
35045 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
35047 * string/endian.h: Add !__ASSEMBLER__ condition for including
35048 conversion interfaces.
35050 2012-06-15 Joseph Myers <joseph@codesourcery.com>
35053 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
35054 of ABS(x) in calculating zero to negative powers other than odd
35056 * math/libm-test.inc (pow_test): Add more tests.
35058 2012-06-15 Andreas Jaeger <aj@suse.de>
35060 * manual/contrib.texi (Contributors): Update entry of Liubov
35061 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
35064 2012-06-15 Cyril Hrubis <metan@ucw.cz>
35066 * string/string.h: Add __wur to GNU version of strerror_r.
35068 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
35071 * string/Makefile (tests): Add tst-strtok_r.
35072 * string/tst-strtok_r.c: New file.
35073 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
35074 RAX_LP/RDX_LP on SAVE_PTR.
35076 2012-06-14 Roland McGrath <roland@hack.frob.com>
35078 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
35080 2012-06-14 Joseph Myers <joseph@codesourcery.com>
35082 * libm_test.inc (csqrt_test): Allow more spurious underflow
35084 (j0_test): Likewise.
35085 (j1_test): Likewise.
35086 (y0_test): Likewise.
35087 (y1_test): Likewise.
35089 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
35091 * po/Makefile (libc.pot): Use UTF-8 charset.
35093 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
35096 Suppress sign-conversion warning from FD_SET.
35097 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
35098 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
35099 not unsigned long int.
35100 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
35102 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
35106 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
35107 __extern_always_inline instead of __extern_inline.
35108 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
35109 (__signbit): Likewise.
35110 (__signbitl): Support C++ namespace.
35111 (lrintf): New inline function.
35113 (llrintf): Likewise.
35114 (llrint): Likewise.
35124 (floorf): Likewise.
35125 (nearbyint): Likewise.
35126 (nearbyintf): Likewise.
35128 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
35130 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
35131 non-default versions.
35133 2012-06-11 Roland McGrath <roland@hack.frob.com>
35136 * manual/argp.texi (Argp): Reword argp_parse description slightly.
35138 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
35140 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
35141 (FE_UPWARD, FE_DOWNWARD): Don't define.
35142 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
35143 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35145 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
35147 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35148 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35150 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35152 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35153 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
35154 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
35155 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
35157 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
35160 * sysdeps/i386/fpu/bits/fenv.h: Removed.
35161 * sysdeps/i386/fpu/Implies: New file.
35162 * sysdeps/x86_64/fpu/Implies: Likewise.
35163 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
35164 * sysdeps/x86/fpu/bits/fenv.h: This.
35166 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
35169 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35172 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
35173 character 0xffff that matches the last element of the
35176 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35178 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
35181 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35183 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
35184 values higher than 25.6283.
35186 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35188 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
35189 subnormal exponent extraction and add some __builtin_expect.
35190 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
35191 Fix for subnormal mantissa calculation.
35193 2012-06-04 Mike Frysinger <vapier@gentoo.org>
35195 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
35196 cpu2 is -1 and errno is not ENOSYS.
35198 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
35201 * sysdeps/i386/i486/bits/string.h: Renamed to ...
35202 * sysdeps/x86/bits/string.h: This.
35203 * sysdeps/x86_64/bits/string.h: Removed.
35205 * sysdeps/i386/i486/bits/string.h: Define inline functions only
35206 if not compiling for x86-64, but compiling for >= i486.
35208 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
35209 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
35211 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
35212 New macro from Linux kernel 3.4.0.
35213 (FP_XSTATE_MAGIC2): Likewise.
35214 (FP_XSTATE_MAGIC2_SIZE): Likewise.
35215 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
35216 (struct _fpx_sw_bytes): New struct.
35217 (struct _xsave_hdr): Likewise.
35218 (struct _ymmh_state): Likewise.
35219 (struct _xstate): Likewise.
35221 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
35222 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
35223 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
35224 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
35225 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
35226 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
35228 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
35229 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
35230 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
35231 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
35232 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
35233 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
35235 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35238 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
35239 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
35240 (sysdep_headers): Include sys/platform/ppc.h.
35241 * sysdeps/powerpc/test-gettimebase.c: Test for
35242 __ppc_get_timebase() to catch future ISA opcode/insn changes.
35243 * manual/Makefile (appendices): Include platform.texi.
35244 * manual/contrib.texi (Contributors): Update @node pointers.
35245 * manual/maint.texi (Maintenance): Likewise.
35246 (Platform): New node.
35247 * manual/platform.texi: New file. Document the new features.
35249 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35250 Jakub Jelinek <jakub@redhat.com>
35253 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
35254 where __builtin_expect is unavailable.
35256 2012-06-03 David S. Miller <davem@davemloft.net>
35258 * stdlib/longlong.h: Updated from GCC.
35260 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
35263 * sysdeps/powerpc/powerpc32/mcount.c: New file.
35264 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
35266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35267 (GLIBC_2.16): Likewise.
35269 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35271 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
35273 2012-06-01 Joseph Myers <joseph@codesourcery.com>
35275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
35276 (default-abi): New variable.
35277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
35278 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
35280 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
35282 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
35284 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
35287 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
35288 definition. Document in comment.
35290 2012-06-01 David S. Miller <davem@davemloft.net>
35292 * stdlib/longlong.h: Updated from GCC.
35294 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35297 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
35298 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
35299 sys/debugreg.h sys/io.h here.
35300 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
35301 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
35303 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
35304 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
35305 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
35306 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
35307 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
35308 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
35310 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
35311 Define only if __x86_64__ is defined.
35313 2012-06-01 Joseph Myers <joseph@codesourcery.com>
35316 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
35317 Use int64_t for variable i.
35318 * math/libm-test.inc (fmod_test): Add more tests.
35320 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
35321 z computation is not scheduled after fetestexcept.
35322 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
35323 Use math_force_eval instead of asm to ensure calculation scheduled
35324 before exception test.
35325 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
35326 Ensure a1 + u.d computation is not scheduled after fetestexcept.
35328 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
35330 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
35331 computation is not scheduled after fetestexcept.
35333 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35336 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
35337 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
35339 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35341 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
35342 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35344 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35347 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
35349 (__WCHAR_MIN): Support __WORDSIZE == 64.
35350 (__WCHAR_MAX): Likewise.
35352 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
35353 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
35356 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
35357 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
35360 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
35361 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
35363 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
35364 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
35366 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
35367 Defined to 1 if __x86_64__ isn't defined.
35368 (_STAT_VER_LINUX_OLD): New.
35369 (st_atime): Remove duplicate.
35370 (st_mtime): Likewise.
35371 (st_ctime): Likewise.
35373 2012-05-31 David S. Miller <davem@davemloft.net>
35375 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
35378 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
35380 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
35384 * elf/dl-reloc.c: Include <_itoa.h>.
35385 (_dl_reloc_bad_type): Remove use of INTUSE.
35386 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
35387 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
35388 * stdio-common/psiginfo.c (psiginfo): Likewise.
35389 * stdio-common/psignal.c (psignal): Likewise.
35390 * string/strsignal.c (strsignal): Likewise.
35391 * include/signal.h (_sys_siglist): Declare hidden proto.
35392 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
35393 INTVARDEF with libc_hidden_data_def.
35394 * stdio-common/itoa-udigits.c: Likewise.
35395 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
35396 (_itoa_lower_digits_internal): Remove declaration.
35397 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
35398 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
35399 (_sys_sigabbrev_internal): Remove aliases.
35400 (_sys_siglist): Define hidden alias.
35402 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
35404 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35407 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35410 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
35411 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
35413 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
35414 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
35415 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
35416 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
35417 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
35418 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
35420 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
35421 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
35422 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
35424 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
35432 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
35433 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
35434 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
35436 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
35437 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
35438 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
35439 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
35440 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
35441 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
35443 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
35444 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
35446 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
35447 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
35449 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
35450 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
35451 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
35453 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
35454 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
35456 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
35458 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
35459 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
35460 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
35462 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
35464 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
35466 2012-05-31 Joseph Myers <joseph@codesourcery.com>
35468 * math/math.h (M_El): Use two more decimal places.
35469 (M_LOG2El): Likewise.
35470 (M_LOG10El): Likewise.
35471 (M_LN2l): Likewise.
35472 (M_LN10l): Likewise.
35474 (M_PI_2l): Likewise.
35475 (M_PI_4l): Likewise.
35476 (M_1_PIl): Likewise.
35477 (M_2_PIl): Likewise.
35478 (M_2_SQRTPIl): Likewise.
35479 (M_SQRT2l): Likewise.
35480 (M_SQRT1_2l): Likewise.
35482 2012-05-31 David S. Miller <davem@davemloft.net>
35484 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
35485 values between float registers.
35486 * sysdeps/sparc/sparc64/memset.S: Likewise.
35487 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35489 2012-05-31 Mike Frysinger <vapier@gentoo.org>
35491 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
35492 -D_FORTIFY_SOURCE=1.
35493 (CPPFLAGS-tst-longjmp_chk.c): Define.
35494 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
35495 (CPPFLAGS-tst-longjmp_chk2.c): Define.
35496 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
35497 CFLAGS-tst-wchar-h.c.
35499 2012-05-31 Marek Polacek <polacek@redhat.com>
35502 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
35503 __endmntent_internal): Remove declaration.
35504 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
35505 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
35506 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
35508 2012-05-30 David S. Miller <davem@davemloft.net>
35510 * sysdeps/sparc/sparc32/soft-fp/q_util.c
35511 (___Q_simulate_exceptions): Use real FP ops rather than writing
35513 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
35516 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35519 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
35520 * sysdeps/x86/bits/xtitypes.h: This.
35522 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
35523 * sysdeps/x86/bits/wordsize.h: This.
35525 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
35526 * sysdeps/x86/bits/huge_vall.h: This.
35528 * sysdeps/i386/bits/select.h: Removed.
35529 * sysdeps/x86_64/bits/select.h: Renamed to ...
35530 * sysdeps/x86/bits/select.h: This.
35532 * sysdeps/i386/bits/setjmp.h: Removed.
35533 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
35534 * sysdeps/x86/bits/setjmp.h: This.
35536 * sysdeps/i386/bits/mathdef.h: Removed.
35537 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
35538 * sysdeps/x86/bits/mathdef.h: This.
35540 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
35543 * include/sys/socket.h (__connect_internal)
35544 (__libc_sa_len_internal): Remove declaration.
35545 (__connect, __libc_sa_len): Declare hidden_proto.
35546 (SA_LEN): Remove use of INTUSE.
35547 * socket/connect.c: Add libc_hidden_def.
35548 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
35549 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
35550 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
35552 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35553 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
35554 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
35555 of adding _internal alias.
35557 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35560 * sysdeps/i386/bits/link.h: Removed.
35561 * sysdeps/i386/bits/linkmap.h: Likewise.
35562 * sysdeps/x86_64/bits/link.h: Renamed to ...
35563 * sysdeps/x86/bits/link.h: This.
35564 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
35565 * sysdeps/x86/bits/linkmap.h: This.
35567 * sysdeps/i386/bits/endian.h: Removed.
35568 * sysdeps/x86_64/bits/endian.h: Renamed to ...
35569 * sysdeps/x86/bits/endian.h: This.
35571 * sysdeps/i386/bits/byteswap.h: Removed.
35572 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35573 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
35574 * sysdeps/x86/bits/byteswap.h: This.
35575 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
35576 * sysdeps/x86/bits/byteswap-16.h: This.
35577 * sysdeps/i386/Implies: Add x86.
35578 * sysdeps/x86_64/Implies: Likewise.
35580 2012-05-30 David S. Miller <davem@davemloft.net>
35582 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
35583 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
35584 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35585 (FP_TRAPPING_EXCEPTIONS): Define.
35586 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35587 (FP_TRAPPING_EXCEPTIONS): Define.
35588 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
35589 subnormals only when inexact has been signalled or underflow
35590 exceptions are enabled.
35591 (_FP_PACK_CANONICAL): Likewise.
35593 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35596 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
35597 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
35599 2012-05-30 Richard Henderson <rth@twiddle.net>
35601 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
35602 with #ifndef NOT_IN_libc.
35604 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
35605 marked to avoid plt entry.
35607 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35610 * Makeconfig (default-abi): New macro.
35611 (abi-includes): Likewise.
35612 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
35613 $(abi-$(default-abi)-lib-soname) for soname if defined.
35614 ($(common-objpfx)gnu/lib-names.stmp): Generate from
35616 * Makefile (installed-stubs): Likewise.
35617 * include/stubs-biarch.h: Removed.
35618 * scripts/lib-names.awk: Only handle one library at a time.
35619 * scripts/soversions.awk: Remove WORDSIZE support.
35620 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
35622 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
35624 (syscall-list-default-condition): Likewise.
35625 (syscall-list-default-condition): Likewise.
35626 (syscall-list-includes): Likewise.
35627 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
35628 syscall-list-* with abi-*. Handle undefined abi-variants.
35629 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
35630 * sysdeps/unix/sysv/linux/i386/Implies: New file.
35631 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
35632 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
35633 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
35634 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
35636 (syscall-list-32-options): Likewise.
35637 (syscall-list-32-condition): Likewise.
35638 (syscall-list-64-options): Likewise.
35639 (syscall-list-64-condition): Likewise.
35640 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
35642 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
35645 (abi-64-ld-soname): New macro.
35646 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
35647 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
35650 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
35651 * sysdeps/x86_64/x32/shlib-versions: Likewise.
35653 2012-05-30 Joseph Myers <joseph@codesourcery.com>
35655 * sysdeps/unix/sysv/linux/kernel-features.h
35656 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
35657 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
35658 include <kernel-features.h>.
35659 [!__NR_ftruncate64]: Remove conditional code.
35660 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35661 [__NR_ftruncate64]: Make code unconditional.
35662 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35663 * sysdeps/unix/sysv/linux/truncate64.c: Do not
35664 include <kernel-features.h>.
35665 [!__NR_ftruncate64]: Remove conditional code.
35666 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35667 [__NR_ftruncate64]: Make code unconditional.
35668 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
35670 include <kernel-features.h>.
35671 [!__NR_ftruncate64]: Remove conditional code.
35672 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35673 [__NR_ftruncate64]: Make code unconditional.
35674 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35676 include <kernel-features.h>.
35677 [!__NR_ftruncate64]: Remove conditional code.
35678 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35679 [__NR_ftruncate64]: Make code unconditional.
35680 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35682 * configure.in (libc_cv_fpie): Weaken to a compile test using
35683 LIBC_TRY_CC_OPTION.
35684 * configure: Regenerated.
35686 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35688 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
35689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
35690 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
35691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35693 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
35694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
35695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
35696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
35697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
35698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35701 2012-05-27 David S. Miller <davem@davemloft.net>
35703 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
35705 (__Q_simulate_exceptions): Return void. Change to simulate
35706 exceptions by writing into the %fsr.
35707 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
35708 (__Qp_handle_exceptions): Likewise.
35710 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
35711 __Qp_handle_exceptions.
35712 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
35713 __Qp_handle_exceptions.
35714 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35715 as unused and give dummy FP_RND_NEAREST initializer.
35716 (FP_INHIBIT_RESULTS): Define.
35717 (___Q_simulate_exceptions): Update declaration.
35718 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
35720 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35721 as unused and give dummy FP_RND_NEAREST initializer.
35722 (__Qp_handle_exceptions): Update declaration.
35723 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
35726 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
35728 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
35729 the temporary FPU control word.
35730 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
35731 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
35732 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
35733 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35734 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35735 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
35736 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
35737 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35738 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35739 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
35740 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35742 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35744 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
35747 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
35749 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
35750 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
35751 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
35752 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
35754 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
35755 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
35758 2012-05-27 Ulrich Drepper <drepper@gmail.com>
35760 * po/h.po: Update from translation team.
35762 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
35764 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
35766 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
35767 handling of denormals.
35768 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35769 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
35770 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35771 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35772 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35773 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
35774 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
35777 2012-05-26 Marek Polacek <polacek@redhat.com>
35780 * math/libm-test.inc (fma_test): Don't always expect underflow
35783 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35786 * elf/tst-execstack.c: Include stackinfo.h.
35787 (do_test): Adjust test case to ensure that pthread_getattr_np
35788 behaviour remains the same after marking stack executable.
35790 2012-05-25 Joseph Myers <joseph@codesourcery.com>
35792 * sysdeps/unix/sysv/linux/kernel-features.h
35793 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
35794 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
35796 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35797 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35798 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
35800 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35801 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35803 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
35805 * configure.in: Define the default includes to being none.
35806 * configure: Regenerated.
35808 2012-05-25 Roland McGrath <roland@hack.frob.com>
35810 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
35811 * sysdeps/x86_64/setjmp.S: Likewise.
35812 * sysdeps/i386/bsd-setjmp.S: Likewise.
35813 * sysdeps/i386/bsd-_setjmp.S: Likewise.
35814 * sysdeps/i386/setjmp.S: Likewise.
35815 * sysdeps/i386/__longjmp.S: Likewise.
35816 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35817 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
35819 * include/stap-probe.h: New file.
35820 * configure.in: Handle --enable-systemtap.
35821 * configure: Regenerated.
35822 * config.h.in (USE_STAP_PROBE): New #undef.
35823 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
35824 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
35825 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35827 2012-05-25 Joseph Myers <joseph@codesourcery.com>
35830 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35831 to 2.4.0 where earlier.
35832 * sysdeps/unix/sysv/linux/configure: Regenerated.
35833 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35834 <kernel-features.h>.
35835 [__ASSUME_32BITUIDS]: Make code unconditional.
35836 [!__ASSUME_32BITUIDS]: Remove conditional code.
35837 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
35838 <kernel-features.h>.
35839 [__ASSUME_32BITUIDS]: Make code unconditional.
35840 [!__ASSUME_32BITUIDS]: Remove conditional code.
35841 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
35842 [__ASSUME_32BITUIDS]: Make code unconditional.
35843 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
35844 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
35845 <kernel-features.h>.
35846 [__ASSUME_32BITUIDS]: Make code unconditional.
35847 [!__ASSUME_32BITUIDS]: Remove conditional code.
35848 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
35849 <kernel-features.h>.
35850 [__ASSUME_32BITUIDS]: Make code unconditional.
35851 [!__ASSUME_32BITUIDS]: Remove conditional code.
35852 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
35853 <kernel-features.h>.
35854 [__ASSUME_32BITUIDS]: Make code unconditional.
35855 [!__ASSUME_32BITUIDS]: Remove conditional code.
35856 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
35857 <kernel-features.h>.
35858 [__ASSUME_32BITUIDS]: Make code unconditional.
35859 [!__ASSUME_32BITUIDS]: Remove conditional code.
35860 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35861 <kernel-features.h>.
35862 [__ASSUME_32BITUIDS]: Make code unconditional.
35863 [!__ASSUME_32BITUIDS]: Remove conditional code.
35864 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35865 <kernel-features.h>.
35866 [__ASSUME_32BITUIDS]: Make code unconditional.
35867 [!__ASSUME_32BITUIDS]: Remove conditional code.
35868 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
35869 <kernel-features.h>.
35870 [__ASSUME_32BITUIDS]: Make code unconditional.
35871 [!__ASSUME_32BITUIDS]: Remove conditional code.
35872 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35873 <kernel-features.h>.
35874 [__ASSUME_32BITUIDS]: Make code unconditional.
35875 [!__ASSUME_32BITUIDS]: Remove conditional code.
35876 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35877 <kernel-features.h>.
35878 [__ASSUME_32BITUIDS]: Make code unconditional.
35879 [!__ASSUME_32BITUIDS]: Remove conditional code.
35880 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
35881 <kernel-features.h>.
35882 [__ASSUME_32BITUIDS]: Make code unconditional.
35883 [!__ASSUME_32BITUIDS]: Remove conditional code.
35884 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
35885 <kernel-features.h>.
35886 [__NR_setresgid] (__setresgid): Do not declare.
35887 [__ASSUME_32BITUIDS]: Make code unconditional.
35888 [!__ASSUME_32BITUIDS]: Remove conditional code.
35889 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
35890 <kernel-features.h>.
35891 [__NR_setresuid] (__setresuid): Do not declare.
35892 [__ASSUME_32BITUIDS]: Make code unconditional.
35893 [!__ASSUME_32BITUIDS]: Remove conditional code.
35894 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
35895 <kernel-features.h>.
35896 [__ASSUME_32BITUIDS]: Make code unconditional.
35897 [!__ASSUME_32BITUIDS]: Remove conditional code.
35898 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
35899 <kernel-features.h>.
35900 [__ASSUME_32BITUIDS]: Make code unconditional.
35901 [!__ASSUME_32BITUIDS]: Remove conditional code.
35902 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
35903 <kernel-features.h>.
35904 [__ASSUME_32BITUIDS]: Make code unconditional.
35905 [!__ASSUME_32BITUIDS]: Remove conditional code.
35906 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
35907 <kernel-features.h>.
35908 [__ASSUME_32BITUIDS]: Make code unconditional.
35909 [!__ASSUME_32BITUIDS]: Remove conditional code.
35910 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
35911 <kernel-features.h>.
35912 [__ASSUME_32BITUIDS]: Make code unconditional.
35913 [!__ASSUME_32BITUIDS]: Remove conditional code.
35914 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
35915 <kernel-features.h>.
35916 [__ASSUME_32BITUIDS]: Make code unconditional.
35917 [!__ASSUME_32BITUIDS]: Remove conditional code.
35918 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
35919 <kernel-features.h>.
35920 [__ASSUME_32BITUIDS]: Make code unconditional.
35921 [!__ASSUME_32BITUIDS]: Remove conditional code.
35922 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
35923 <kernel-features.h>.
35924 [__ASSUME_32BITUIDS]: Make code unconditional.
35925 [!__ASSUME_32BITUIDS]: Remove conditional code.
35926 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
35927 <kernel-features.h>.
35928 [__ASSUME_32BITUIDS]: Make code unconditional.
35929 [!__ASSUME_32BITUIDS]: Remove conditional code.
35930 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35931 <kernel-features.h>.
35932 [__ASSUME_32BITUIDS]: Make code unconditional.
35933 [!__ASSUME_32BITUIDS]: Remove conditional code.
35934 * sysdeps/unix/sysv/linux/kernel-features.h
35935 (__ASSUME_SETRESUID_SYSCALL): Remove.
35936 (__ASSUME_SETRESGID_SYSCALL): Likewise.
35937 (__ASSUME_32BITUIDS): Likewise.
35938 (__ASSUME_LDT_WORKS): Likewise.
35939 (__ASSUME_O_DIRECTORY): Likewise.
35940 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
35941 architecture but not kernel version.
35942 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35943 (__ASSUME_MMAP2_SYSCALL): Likewise.
35944 (__ASSUME_STAT64_SYSCALL): Likewise.
35945 (__ASSUME_IPC64): Likewise.
35946 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
35947 <kernel-features.h>.
35948 [__ASSUME_32BITUIDS]: Make code unconditional.
35949 [!__ASSUME_32BITUIDS]: Remove conditional code.
35950 * sysdeps/unix/sysv/linux/opendir.c: Do not include
35951 <kernel-features.h>.
35952 [__ASSUME_O_DIRECTORY]: Make code unconditional.
35953 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
35954 132096]: Remove conditional code.
35955 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
35956 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35957 <kernel-features.h>.
35958 [__ASSUME_32BITUIDS]: Make code unconditional.
35959 [!__ASSUME_32BITUIDS]: Remove conditional code.
35960 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35961 <kernel-features.h>.
35962 [__ASSUME_32BITUIDS]: Make code unconditional.
35963 [!__ASSUME_32BITUIDS]: Remove conditional code.
35964 * sysdeps/unix/sysv/linux/setegid.c: Do not include
35965 <kernel-features.h>.
35966 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
35968 (__setresgid): Do not declare.
35969 [__ASSUME_32BITUIDS]: Make code unconditional.
35970 [!__ASSUME_32BITUIDS]: Remove conditional code.
35971 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
35972 <kernel-features.h>.
35973 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
35975 (__setresuid): Do not declare.
35976 [__ASSUME_32BITUIDS]: Make code unconditional.
35977 [!__ASSUME_32BITUIDS]: Remove conditional code.
35978 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35979 <kernel-features.h>.
35980 [__ASSUME_32BITUIDS]: Make code unconditional.
35981 [!__ASSUME_32BITUIDS]: Remove conditional code.
35982 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
35983 <kernel-features.h>.
35984 [__ASSUME_32BITUIDS]: Make code unconditional.
35985 [!__ASSUME_32BITUIDS]: Remove conditional code.
35987 2012-05-25 Richard Henderson <rth@twiddle.net>
35989 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
35990 dl_hwcap to ifunc resolver.
35991 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
35993 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
35994 dl_hwcap to ifunc resolver.
35995 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
35997 2012-05-24 Joseph Myers <joseph@codesourcery.com>
36000 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
36001 for |x| <= 2**-26, not 2**-57.
36002 * math/libm-test.inc (acos_test): Do not allow spurious underflow
36005 2012-05-24 Jeff Law <law@redhat.com>
36007 * stdio-common/Makefile (tests): Add bug25.
36008 * stdio-common/bug25.c: New test.
36010 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36013 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
36014 multiple of MALLOC_ALIGNMENT in size.
36015 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
36017 2012-05-24 Joseph Myers <joseph@codesourcery.com>
36019 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
36021 (FILENAME_MAX): Use macro-int-constant.
36022 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
36023 (_IOFBF): Use macro-int-constant.
36024 (_IOLBF): Likewise.
36025 (_IONBF): Likewise.
36026 (SEEK_CUR): Likewise.
36027 (SEEK_END): Likewise.
36028 (SEEK_SET): Likewise.
36029 (TMP_MAX): Likewise.
36030 (EOF): Use macro-int-constant. Require < 0.
36031 (NULL): Use macro-constant. Require == 0.
36032 (stdin): Require type to be FILE *.
36033 (stdout): Likewise.
36034 (stderr): Likewise.
36035 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
36036 macro-int-constant.
36037 (EXIT_SUCCESS): Likewise.
36038 (NULL): Use macro-constant. Require == 0.
36039 (RAND_MAX): Use macro-int-constant.
36040 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
36041 [C99-based standards] (strtof): Require function.
36042 [C99-based standards] (strtold): Likewise.
36043 [C99-based standards] (strtoll): Likewise.
36044 [C99-based standards] (strtoull): Likewise.
36045 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36046 [ISO || ISO99 || ISO11] (limits.h): Likewise.
36047 [ISO || ISO99 || ISO11] (math.h): Likewise.
36048 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
36049 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36050 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36052 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
36055 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
36056 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
36057 * intl/dgettext.c (DCGETTEXT): Likewise.
36058 * intl/gettext.c (DCGETTEXT): Likewise.
36059 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
36060 * posix/regex_internal.h (gettext): Likewise.
36061 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
36062 Remove declaration.
36063 * include/argz.h (__argz_count_internal)
36064 (__argz_stringify_internal): Remove declaration.
36065 (__argz_count, __argz_stringify): Declare hidden proto.
36066 * intl/dcgettext.c: Remove use of INTDEF.
36067 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
36068 * string/argz-stringify.c: Likewise.
36069 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36070 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36071 Declare hidden proto.
36072 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36073 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36074 Declare hidden proto.
36075 * include/stdio.h (__asprintf_internal): Don't declare.
36076 (__asprintf): Don't define as macro. Declare hidden proto.
36077 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
36078 (__fsetlocking): Declare hidden proto.
36079 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
36080 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
36082 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
36083 (_IO_setlinebuf): Remove use of INTUSE.
36084 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
36085 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
36086 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
36087 Remove declaration.
36088 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
36089 (_IO_do_flush): Remove use of INTUSE.
36090 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
36091 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
36092 (_IO_adjust_column, _IO_least_wmarker)
36093 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
36094 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
36095 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
36096 (_IO_default_doallocate, _IO_wdefault_doallocate)
36097 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
36098 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
36099 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
36100 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
36101 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
36102 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
36103 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
36104 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
36105 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
36106 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
36107 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
36108 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
36109 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
36111 (_IO_flush_all_internal, _IO_adjust_column_internal)
36112 (_IO_default_uflow_internal, _IO_default_finish_internal)
36113 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
36114 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
36115 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
36116 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
36117 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
36118 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
36119 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
36120 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
36121 (_IO_file_close_internal, _IO_file_close_it_internal)
36122 (_IO_file_underflow_internal, _IO_file_overflow_internal)
36123 (_IO_file_init_internal, _IO_file_attach_internal)
36124 (_IO_file_fopen_internal, _IO_file_read_internal)
36125 (_IO_file_sync_internal, _IO_file_seek_internal)
36126 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
36127 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
36128 (_IO_str_underflow_internal, _IO_str_overflow_internal)
36129 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
36130 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
36131 (_IO_list_all_internal, _IO_link_in_internal)
36132 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
36133 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
36134 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
36135 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
36136 (_IO_do_write_internal, _IO_padn_internal)
36137 (_IO_getline_info_internal, _IO_getline_internal)
36138 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
36139 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
36140 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
36141 (_IO_vfscanf_internal, _IO_vfprintf_internal)
36142 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
36143 (_IO_init_internal, _IO_un_link_internal): Don't declare.
36144 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
36145 with libc_hidden_ver, remove use of INTUSE.
36146 * libio/genops.c: Likewise.
36147 * libio/freopen.c: Likewise.
36148 * libio/freopen64.c: Likewise.
36149 * libio/iofclose.c: Likewise.
36150 * libio/iofdopen.c: Likewise.
36151 * libio/iofflush.c: Likewise.
36152 * libio/iofflush_u.c: Likewise.
36153 * libio/iofgets.c: Likewise.
36154 * libio/iofgets_u.c: Likewise.
36155 * libio/iofopen.c: Likewise.
36156 * libio/iofopncook.c: Likewise.
36157 * libio/iofread.c: Likewise.
36158 * libio/iofread_u.c: Likewise.
36159 * libio/ioftell.c: Likewise.
36160 * libio/iofwrite.c: Likewise.
36161 * libio/iogetline.c: Likewise.
36162 * libio/iogets.c: Likewise.
36163 * libio/iogetwline.c: Likewise.
36164 * libio/iopadn.c: Likewise.
36165 * libio/iopopen.c: Likewise.
36166 * libio/ioseekoff.c: Likewise.
36167 * libio/ioseekpos.c: Likewise.
36168 * libio/iosetbuffer.c: Likewise.
36169 * libio/iosetvbuf.c: Likewise.
36170 * libio/ioungetc.c: Likewise.
36171 * libio/ioungetwc.c: Likewise.
36172 * libio/iovdprintf.c: Likewise.
36173 * libio/iovsprintf.c: Likewise.
36174 * libio/iovsscanf.c: Likewise.
36175 * libio/memstream.c: Likewise.
36176 * libio/obprintf.c: Likewise.
36177 * libio/oldfileops.c: Likewise.
36178 * libio/oldiofclose.c: Likewise.
36179 * libio/oldiofdopen.c: Likewise.
36180 * libio/oldiofopen.c: Likewise.
36181 * libio/oldiopopen.c: Likewise.
36182 * libio/oldstdfiles.c: Likewise.
36183 * libio/putc.c: Likewise.
36184 * libio/setbuf.c: Likewise.
36185 * libio/setlinebuf.c: Likewise.
36186 * libio/stdfiles.c: Likewise.
36187 * libio/strops.c: Likewise.
36188 * libio/vasprintf.c: Likewise.
36189 * libio/vscanf.c: Likewise.
36190 * libio/vsnprintf.c: Likewise.
36191 * libio/vswprintf.c: Likewise.
36192 * libio/wfiledoalloc.c: Likewise.
36193 * libio/wfileops.c: Likewise.
36194 * libio/wgenops.c: Likewise.
36195 * libio/wmemstream.c: Likewise.
36196 * libio/wstrops.c: Likewise.
36197 * libio/__fpurge.c: Likewise.
36198 * libio/__fsetlocking.c: Likewise.
36199 * assert/assert.c: Likewise.
36200 * debug/fgets_chk.c: Likewise.
36201 * debug/fgets_u_chk.c: Likewise.
36202 * debug/fread_chk.c: Likewise.
36203 * debug/fread_u_chk.c: Likewise.
36204 * debug/gets_chk.c: Likewise.
36205 * debug/obprintf_chk.c: Likewise.
36206 * debug/vasprintf_chk.c: Likewise.
36207 * debug/vdprintf_chk.c: Likewise.
36208 * debug/vsnprintf_chk.c: Likewise.
36209 * debug/vsprintf_chk.c: Likewise.
36210 * malloc/mtrace.c: Likewise.
36211 * misc/error.c: Likewise.
36212 * misc/syslog.c: Likewise.
36213 * stdio-common/asprintf.c: Likewise.
36214 * stdio-common/fxprintf.c: Likewise.
36215 * stdio-common/getw.c: Likewise.
36216 * stdio-common/isoc99_fscanf.c: Likewise.
36217 * stdio-common/isoc99_scanf.c: Likewise.
36218 * stdio-common/isoc99_vfscanf.c: Likewise.
36219 * stdio-common/isoc99_vscanf.c: Likewise.
36220 * stdio-common/isoc99_vsscanf.c: Likewise.
36221 * stdio-common/printf-prs.c: Likewise.
36222 * stdio-common/printf_fp.c: Likewise.
36223 * stdio-common/printf_fphex.c: Likewise.
36224 * stdio-common/printf_size.c: Likewise.
36225 * stdio-common/putw.c: Likewise.
36226 * stdio-common/scanf.c: Likewise.
36227 * stdio-common/sprintf.c: Likewise.
36228 * stdio-common/tmpfile.c: Likewise.
36229 * stdio-common/vfprintf.c: Likewise.
36230 * stdio-common/vfscanf.c: Likewise.
36231 * stdlib/strfmon_l.c: Likewise.
36232 * sunrpc/openchild.c: Likewise.
36233 * sunrpc/xdr_stdio.c: Likewise.
36234 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
36235 * sysdeps/mach/hurd/tmpfile.c: Likewise.
36237 2012-05-24 Roland McGrath <roland@hack.frob.com>
36239 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36241 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
36242 in the third column, to generate for the shared library an IFUNC
36243 that uses _dl_vdso_vsym.
36244 * Makerules (COMPILE.c, compile-stdin.c): New variables.
36245 * Makeconfig (object-suffixes-noshared): New variable.
36247 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
36248 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
36249 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
36250 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
36253 * include/sys/time.h (__gettimeofday): Remove macro.
36254 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
36255 * time/gettimeofday.c (__gettimeofday): Remove #undef.
36257 (__gettimeofday): Add libc_hidden_def.
36258 (gettimeofday): Add libc_hidden_weak.
36259 * sysdeps/mach/gettimeofday.c: Likewise.
36260 * sysdeps/posix/gettimeofday.c: Likewise.
36261 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36262 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36263 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
36264 (__gettimeofday_internal): Remove strong_alias.
36265 (__gettimeofday): Add libc_hidden_def.
36266 (gettimeofday): Add libc_hidden_weak.
36267 * sysdeps/unix/syscalls.list (gettimeofday):
36268 Remove __gettimeofday_internal alias.
36270 2012-05-24 Daniel Jacobowitz <drow@false.org>
36271 H.J. Lu <hongjiu.lu@intel.com>
36274 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
36275 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
36276 (largebin_index_32_big): New.
36277 (largebin_index): Use it for 16-byte alignment.
36278 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
36279 correction with front_misalign.
36281 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36283 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
36284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
36288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
36292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
36294 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
36296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
36298 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
36300 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
36302 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
36304 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36306 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
36309 * scripts/data/c++-types-x32-linux-gnu.data: New file.
36310 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
36312 2012-05-24 Joseph Myers <joseph@codesourcery.com>
36316 * math/libm-test.inc (exp_test): Add test from bug 14036.
36317 (pow_test): Add test from bug 10846.
36319 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
36321 (special_function): Do not include flags in test name.
36322 (parse_args): Likewise.
36323 * sysdeps/i386/fpu/libm-test-ulps: Update.
36324 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36325 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36326 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36329 * math/gen-libm-test.pl (%beautify): Add entries for underflow
36331 * math/libm-test.inc ("Philosophy"): Update comment about
36333 (UNDERFLOW_EXCEPTION): New macro.
36334 (UNDERFLOW_EXCEPTION_OK): Likewise.
36335 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
36336 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
36337 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
36338 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
36339 (INVALID_EXCEPTION_OK): Update value.
36340 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36341 (OVERFLOW_EXCEPTION_OK): Likewise.
36342 (IGNORE_ZERO_INF_SIGN): Likewise.
36343 (test_exceptions): Handle underflow exceptions.
36344 (acos_test): Update for underflow exception expectations.
36345 (cexp_test): Likewise.
36346 (clog_test): Likewise.
36347 (clog10_test): Likewise.
36348 (csqrt_test): Likewise.
36349 (ctan_test): Likewise.
36350 (ctanh_test): Likewise.
36351 (exp_test): Likewise.
36352 (exp10_test): Likewise.
36353 (exp2_test): Likewise.
36354 (expm1_test): Likewise.
36355 (fma_test): Likewise.
36356 (j0_test): Likewise.
36357 (jn_test): Likewise.
36358 (nexttoward_test): Likewise.
36359 (pow_test): Likewise.
36360 (scalbn_test): Likewise.
36361 (scalbln_test): Likewise.
36362 (tan_test): Likewise.
36363 (y1_test): Likewise.
36364 * sysdeps/i386/fpu/libm-test-ulps: Update.
36365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36367 2012-05-23 David S. Miller <davem@davemloft.net>
36369 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36370 (__libc_sigaction): Remove unused local variables.
36372 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36374 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
36376 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
36378 mktime: avoid signed integer overflow
36379 * time/mktime.c (__mktime_internal): Do not mishandle the case
36380 where diff == INT_MIN.
36382 mktime: simplify computation of average
36383 * time/mktime.c (ranged_convert): Use new time_t_avg function
36384 instead of rolling our own (probably-slower) code.
36386 mktime: do not assume signed right shift propagates sign bit
36387 * time/mktime.c (isdst_differ): New static function.
36388 (__mktime_internal): No need to normalize tm_isdst now.
36389 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
36392 mktime: merge another wrapv change from gnulib
36393 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
36394 from some compilers.
36396 mktime: remove incorrect attempt at unusual arithmetics
36397 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
36398 The code didn't really work on such machines anyway.
36399 (TYPE_MINIMUM): Assume two's complement.
36400 (twos_complement_arithmetic): Verify that long_int and time_t
36401 are two's complement (or unsigned, in the latter case).
36403 mktime: check signed shifts on long_int and time_t, too
36404 * time/mktime.c (SHR): Check that shifts work as desired
36405 on the types long_int and time_t too, as SHR is used on
36408 mktime: do not assume 'long' is wide enough
36409 * time/mktime.c (verify): Move decl up.
36410 (long_int): New type.
36411 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
36412 to remove assumption in the code that 'long' is wide enough to
36413 store year values. This assumption is not true on x32 and on
36414 some non-glibc platforms.
36416 mktime: merge wrapv change from gnulib
36417 * time/mktime.c (WRAPV): New macro.
36418 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
36419 (guess_time_tm, __mktime_internal): Do not assume that signed
36420 integer overflow wraps around; modern compilers generate code
36421 where this assumption is no longer valid.
36423 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36425 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36426 Replace "jmp L(pseudo_end)" with "ret".
36427 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
36430 2012-05-23 Andreas Jaeger <aj@suse.de>
36432 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
36433 * sysdeps/unix/sysv/linux/poll.c: Remove file.
36435 2012-05-23 Andreas Jaeger <aj@suse.de>
36436 Maximilian Attems <max@stro.at>
36438 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
36441 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36443 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
36444 code so that pseudo_end is just ret and the stack pointer is
36445 correct also for static library in error case.
36447 2012-05-23 Joseph Myers <joseph@codesourcery.com>
36449 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
36450 move to syscalls.list.
36451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
36452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36456 * manual/install.texi (Running make install): Do not mention Linux
36457 kernel version for which pt_chown is not needed.
36458 (Linux): Do not mention problems with nscd with 2.0 kernels.
36459 * INSTALL: Regenerated.
36461 2012-05-23 Andreas Jaeger <aj@suse.de>
36463 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
36464 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
36466 * sysdeps/unix/sysv/linux/s390/bits/mman.h
36467 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36468 * sysdeps/unix/sysv/linux/sh/bits/mman.h
36469 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36470 * sysdeps/unix/sysv/linux/i386/bits/mman.h
36471 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36472 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
36473 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36474 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
36475 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36476 * sysdeps/unix/sysv/linux/bits/in.h
36477 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
36479 2012-05-22 Roland McGrath <roland@hack.frob.com>
36481 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
36482 (PREPARE_VERSION): Just use assert instead, it will be elided
36483 under [NDEBUG] anyway.
36485 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36487 * sysdeps/unix/sysv/linux/Makefile: Include
36488 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
36489 (sysdep_routines): Remove sysctl.
36490 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
36491 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
36492 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
36493 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
36494 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
36496 2012-05-22 Andreas Jaeger <aj@suse.de>
36498 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
36499 that pseudo_end is just ret and the stack pointer is correct also
36500 for static library in error case.
36502 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
36505 * nss/nsswitch.c (defconfig_entries): New variable.
36506 (__nss_database_lookup): Don't leak defconfig entries.
36507 (nss_parse_service_list): Don't leak on error paths.
36508 (free_database_entries): New function.
36509 (free_defconfig): New function.
36510 (free_mem): Move common code to free_database_entries.
36512 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36514 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
36516 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
36518 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36519 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
36520 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
36522 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
36523 (INTERNAL_SYSCALL_TYPES): Likewise.
36524 (LOAD_ARGS_TYPES_[1-6]): Likewise.
36525 (LOAD_REGS_TYPES_[1-6]): Likewise.
36526 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
36527 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
36529 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36531 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
36532 copysignl for GLIBC_2_0.
36533 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
36534 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
36535 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
36536 logbl for GLIBC_2_0.
36537 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36538 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36540 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36542 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
36543 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36545 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36548 * time/mktime.c: Update copyright years.
36550 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
36552 mktime: merge comment-quoting-style change from gnulib
36553 * time/mktime.c: Quote 'like this' in comments.
36554 The GNU coding standards suggest that we no longer quote `like this',
36555 as "`" and "'" are typically rendered asymmetrically nowadays.
36556 The typical gnulib style is to quote 'like this' when quoting
36557 code, and "like this" when quoting English.
36559 * time/mktime.c (compile-command): Add "-I.".
36561 mktime: merge mktime-internal.h change from gnulib
36562 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
36564 mktime: merge time_r change from gnulib
36565 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
36567 mktime: merge DEBUG change from gnulib
36568 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
36569 case system <time.h> has a #define.
36571 mktime: merge <sys/types.h> change from gnulib
36572 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
36573 since <time.t> is now guaranteed to define time_t.
36575 mktime: merge HAVE_CONFIG_H change from gnulib
36576 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
36578 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36580 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36583 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
36585 (struct rusage): Use anonymous union to pad each field to
36588 2012-05-21 David S. Miller <davem@davemloft.net>
36590 * Makefules (o-iterator): Remove .s cases.
36591 (compile-command.s): Delete.
36592 (COMPILE.s): Delete.
36593 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
36595 2012-05-21 Joseph Myers <joseph@codesourcery.com>
36597 * configure.in (libc_cv_predef_stack_protector): Only consider
36598 "foobar" and "__stack_chk_fail" lines in libc_undefs.
36599 * configure: Regenerated.
36601 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36603 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36604 New macro. Use R*LP on int and pointer.
36605 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
36606 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
36607 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
36608 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
36610 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
36611 [__WORDSIZE_TIME64_COMPAT32] instead of
36612 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
36613 (struct utmp): Likewise.
36614 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
36615 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
36617 (__WORDSIZE_TIME64_COMPAT32): This.
36618 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
36619 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
36620 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
36621 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
36622 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
36623 (__WORDSIZE_TIME64_COMPAT32): New macro.
36625 2012-05-21 Andreas Jaeger <aj@suse.de>
36627 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
36628 only if [SHARED]. Add prototype for __wcschr_ia32.
36630 2012-05-21 Roland McGrath <roland@hack.frob.com>
36632 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
36633 of %rbp unmolested in the jmp_buf while mangling the low bits.
36634 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
36635 unmolested high bits of %rbp while demangling the low bits.
36636 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36638 2012-05-21 Andreas Jaeger <aj@suse.de>
36640 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
36641 * sunrpc/svc_simple.c: Use it for registerrpc.
36642 * sunrpc/xcrypt.c: Use it for passwd2des.
36644 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
36646 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36648 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
36649 Don't define if [__SYSCALL_WORDSIZE != 32].
36650 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
36653 2012-05-21 Bruno Haible <bruno@clisp.org>
36654 Andreas Jaeger <aj@suse.de>
36656 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
36657 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
36658 inptr and inend for must_buffer_ch.
36659 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
36660 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
36661 * stdio-common/Makefile (tests): Remove bug15.
36662 (bug15-ENV): Remove macro.
36663 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
36666 2012-05-19 Andreas Jaeger <aj@suse.de>
36667 Roland McGrath <roland@hack.frob.com>
36669 * manual/contrib.texi: Completely rewritten. It contains now an
36670 alphabetical list of contributors and their contributions.
36672 2012-05-21 Richard Henderson <rth@twiddle.net>
36674 * misc/getauxval.c (__getauxval): Use unsigned long int.
36675 * misc/sys/auxv.h: Include <sys/cdefs.h>.
36676 (getauxval): Use unsigned long int.
36678 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36680 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36682 2012-05-21 Roland McGrath <roland@hack.frob.com>
36684 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
36685 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
36686 __alignof__ (long double).
36688 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36692 2012-05-20 Richard Henderson <rth@twiddle.net>
36694 * misc/getauxval.c: New file.
36695 * misc/sys/auxv.h: New file.
36696 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
36697 (routines): Add getauxval.
36698 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
36699 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
36700 * elf/dl-sysdep.c (_dl_auxv): Remove.
36701 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
36702 * elf/dl-support.c (_dl_auxv): New variable.
36703 (_dl_aux_init): Initialize it.
36704 * manual/startup.texi (Auxiliary Vector): New node.
36705 * sysdeps/generic/bits/hwcap.h: New file.
36706 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
36707 * sysdeps/powerpc/sysdep.h: ... here. Include it.
36708 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
36709 * sysdeps/sparc/sysdep.h: ... here. Include it.
36710 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
36711 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
36712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
36715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
36716 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
36717 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
36718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
36721 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
36723 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36727 2012-05-19 David S. Miller <davem@davemloft.net>
36729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36731 2012-05-19 Joseph Myers <joseph@codesourcery.com>
36734 * math/s_ccosh.c: Include <float.h>
36735 (__ccosh): Avoid internal overflow calculating sinh and cosh
36736 values before multiplying by sin and cos values.
36737 * math/s_ccoshf.c: Likewise.
36738 * math/s_ccoshl.c: Likewise.
36739 * math/s_csin.c: Likewise.
36740 * math/s_csinf.c: Likewise.
36741 * math/s_csinl.c: Likewise.
36742 * math/s_csinh.c: Likewise.
36743 * math/s_csinhf.c: Likewise.
36744 * math/s_csinhl.c: Likewise.
36745 * math/libm-test.inc (ccos_test): Add more tests.
36746 (ccosh_test): Likewise.
36747 (csin_test): Likewise.
36748 (csinh_test): Likewise.
36749 * sysdeps/i386/fpu/libm-test-ulps: Update.
36750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36752 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
36754 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
36755 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
36757 * sysdeps/x86_64/x32/_itoa.h: Add comment.
36759 2012-05-19 Joseph Myers <joseph@codesourcery.com>
36761 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
36762 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
36763 * sysdeps/powerpc/soft-fp/Versions: Likewise.
36764 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
36765 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
36766 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
36767 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
36768 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
36769 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
36770 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
36771 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
36772 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
36773 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
36774 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
36775 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
36776 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
36777 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
36778 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
36779 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
36780 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
36781 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
36782 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
36783 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
36784 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
36785 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
36786 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
36787 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
36788 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
36789 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
36790 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
36791 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
36793 2012-05-18 Andreas Jaeger <aj@suse.de>
36795 * csu/.gitignore: Delete.
36797 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36799 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
36800 (timex): Use __syscall_slong_t.
36802 2012-05-18 Andreas Jaeger <aj@suse.de>
36803 Carlos O'Donell <carlos_odonell@mentor.com>
36805 * manual/install.texi (Configuring and compiling): Update
36806 description about files modified in the source directory.
36807 * INSTALL: Regenerated.
36809 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36811 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
36812 value. Use "or" to set return value to -1.
36813 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
36814 negate return value.
36816 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36818 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
36819 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
36820 failure if the compiler has Graphite support disabled.
36821 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
36823 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
36824 (CFLAGS-memmove.c): Likewise.
36825 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
36828 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36830 * sysdeps/x86_64/x32/_itoa.h: New file.
36832 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
36833 getdents system call only if kernel and user dirents have the
36834 same d_ino and d_off.
36836 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36837 LLONG_MAX != LONG_MAX.
36838 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36839 (_fitoa_word): Likewise.
36841 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
36843 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
36844 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
36845 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
36847 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
36848 include <bits/wordsize.h>. Check __x86_64__ instead of
36850 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
36851 if __x86_64__ is defined. Use anonymous union on fpstate.
36853 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
36856 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
36858 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
36859 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
36860 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
36861 Refer to _rtld_local_ro instead of _rtld_global_ro.
36862 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
36864 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
36866 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
36868 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
36869 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
36870 of _rtld_global, and rtld_progname instead of _dl_argv[0].
36872 * sysdeps/powerpc/powerpc32/dl-machine.c
36873 (__elf_machine_runtime_setup) [PROF]: Don't reference
36876 2012-05-18 Andreas Jaeger <aj@suse.de>
36878 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
36879 function only available for GCCs before 3.4 since GCC 3.4
36880 introduced a builtin.
36882 (llrintf): Likewise.
36883 (llrint): Likewise.
36890 (nearbyint): Likewise.
36891 (nearbyintf): Likewise.
36895 (floorf): Likewise.
36897 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36899 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
36900 on both fields and cast pointer to __syscall_ulong_t.
36902 * bits/types.h (__fsword_t): New type.
36903 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
36904 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
36905 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36906 (__FSWORD_T_TYPE): Likewise.
36907 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36908 (__FSWORD_T_TYPE): Likewise.
36909 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36910 (__FSWORD_T_TYPE): Likewise.
36911 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
36912 (__FSWORD_T_TYPE): Likewise.
36913 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
36914 __SWORD_TYPE with __fsword_t.
36915 (statfs64): Likewise.
36917 2012-05-17 David S. Miller <davem@davemloft.net>
36919 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
36921 2012-05-17 Andreas Jaeger <aj@suse.de>
36923 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
36926 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36928 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
36930 2012-05-17 Andreas Jaeger <aj@suse.de>
36932 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
36935 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
36937 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
36939 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36941 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
36942 * sysdeps/x86_64/tst-mallocalign1.c: New file.
36944 2012-05-17 Andreas Jaeger <aj@suse.de>
36945 Carlos O'Donell <carlos_odonell@mentor.com>
36948 * sysdeps/x86_64/multiarch/init-arch.h
36949 (bit_YMM_Usable): Rename to...
36950 (bit_AVX_Usable): ... this.
36951 (bit_FMA4_Usable): New macro.
36952 (bit_XMM_state): New macro.
36953 (bit_YMM_state): New macro.
36954 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
36955 [__ASSEMBLER__] (index_AVX_Usable): ... this.
36956 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
36957 (CPUID_OSXSAVE): New macro.
36958 (CPUID_AVX): New macro.
36959 (CPUID_FMA4): New macro.
36960 (index_YMM_Usable): Rename to...
36961 (index_AVX_Usable): ... this.
36962 (HAS_AVX): Use HAS_ARCH_FEATURE.
36963 (HAS_FMA4): Likewise.
36964 (HAS_YMM_USABLE): Remove.
36965 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36966 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
36968 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
36969 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
36970 * sysdeps/x86_64/multiarch/Makefile: Likewise.
36971 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
36972 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
36974 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
36976 * math/libm-test.c: Support platforms without multiple rounding modes.
36977 * math/bug-nextafter.c: Support platforms without FP exceptions.
36978 * math/bug-nexttoward.c: Likewise.
36979 * math/test-fenv.c: Likewise.
36980 * math/test-misc.c: Likewise.
36981 * stdlib/bug-getcontext.c: Likewise.
36983 2012-05-17 Andreas Jaeger <aj@suse.de>
36985 * manual/examples/search.c (critter_cmp): Change signature to
36987 * manual/string.texi (Collation Functions): Likewise.
36989 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36991 * bits/types.h: Fold copyright years.
36992 * bits/typesizes.h: Likewise.
36993 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
36994 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36995 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
36996 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
36997 * time/time.h: Likewise.
36999 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
37002 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
37003 in instead of returning them. Return void.
37004 (__libc_mallinfo): Accumulate over all arenas.
37005 (__malloc_stats): Adjust for change in int_mallinfo interface.
37007 2012-05-16 Roland McGrath <roland@hack.frob.com>
37010 * configure.in (NM): Add AC_CHECK_TOOL for it.
37011 (libc_extra_cflags): New substituted variable.
37012 Check for -fstack-protector being used implicitly.
37013 * configure: Regenerated.
37014 * config.make.in (config-extra-cflags): New variable,
37015 gets @libc_extra_cflags@.
37016 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
37019 * configure.in: Check for _FORTIFY_SOURCE being predefined.
37020 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
37021 * configure: Regenerated.
37022 * config.make.in (CPPUNDEFS): New substituted variable.
37023 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
37024 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
37025 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
37027 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37029 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
37030 (mq_attr): Use __syscall_slong_t.
37032 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37034 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37035 Check __x86_64__ instead of __WORDSIZE.
37036 (_STAT_VER_LINUX): Likewise.
37037 (stat): Check __x86_64__ instead of __WORDSIZE. Use
37038 __syscall_ulong_t and __syscall_slong_t.
37039 (stat64): Likewise.
37041 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37043 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
37045 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37047 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
37049 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37051 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
37054 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
37055 include <bits/wordsize.h>. Check __x86_64__ instead of
37057 (greg_t): Use "__extension__ long long int" if __x86_64__ is
37059 (mcontext_t): Replace "unsigned long" with "unsigned long long".
37061 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
37062 include <bits/wordsize.h>. Check __x86_64__ instead of
37064 (user_regs_struct): Use "__extension__ unsigned long long"
37065 instead of "unsigned long" if __x86_64__ is defined.
37066 (user): Likewise. Pad after pointer field if __ILP32__ is
37069 2012-05-16 Joseph Myers <joseph@codesourcery.com>
37071 * configure.in (makeinfo): Require version 4.5 or later. Allow
37073 * configure: Regenerated.
37074 * manual/install.texi (texinfo): Increase version requirement to
37076 * INSTALL: Regenerated.
37078 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
37080 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37082 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
37084 * sysdeps/x86_64/x32/ffs.c: New file.
37086 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
37088 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
37089 defined. Use __syscall_ulong_t.
37090 (shminfo): Use __syscall_ulong_t.
37091 (shm_info): Likewise.
37093 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
37096 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
37098 (msgqnum_t): Use __syscall_ulong_t.
37099 (msglen_t): Likewise.
37100 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
37103 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
37104 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37106 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
37108 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
37109 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
37111 * sysvipc/sys/msg.h (msgbuf): Replace long int with
37114 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
37115 include <bits/wordsize.h>. Check __x86_64__ instead of
37118 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
37119 "unsigned long long int" if __x86_64__ is defined.
37120 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
37122 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
37123 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37124 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
37126 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
37128 (GET_PC): Cast to uintptr_t first.
37129 (GET_FRAME): Likewise.
37130 (GET_STACK): Likewise.
37132 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
37133 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
37134 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
37135 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
37136 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
37137 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
37138 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
37139 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
37140 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
37141 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
37142 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
37143 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
37144 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37145 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
37146 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
37147 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
37148 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
37149 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
37150 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
37151 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
37152 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
37153 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
37154 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
37155 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
37156 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
37157 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
37158 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
37159 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
37160 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
37162 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
37164 * Makerules (+depfiles): Also collect depfiles from .oS in
37166 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
37167 .oS, $(libnldbl-routines)).
37169 * Makerules (native-compile-mkdep-flags): Define.
37170 * sunrpc/Makefile (extra-objs): Add $(addprefix
37171 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
37172 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
37173 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
37174 calling $(make-target-directory).
37176 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37178 * bits/types.h (__snseconds_t): Removed.
37179 * time/time.h (struct timespec): Replace __snseconds_t with
37181 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
37182 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
37184 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37185 (__SNSECONDS_T_TYPE): Likewise.
37186 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37187 (__SNSECONDS_T_TYPE): Likewise.
37188 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37189 (__SNSECONDS_T_TYPE): Likewise.
37191 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37193 * sysdeps/mach/hurd/bits/typesizes.h
37194 (__SYSCALL_SLONG_TYPE): New macro.
37195 (__SYSCALL_ULONG_TYPE): Likewise.
37197 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37199 * bits/types.h (__syscall_slong_t): New type.
37200 (__syscall_ulong_t): Likewise.
37202 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
37203 (__SYSCALL_ULONG_TYPE): Likewise.
37204 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37205 (__SYSCALL_SLONG_TYPE): Likewise.
37206 (__SYSCALL_ULONG_TYPE): Likewise.
37207 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37208 (__SYSCALL_SLONG_TYPE): Likewise.
37209 (__SYSCALL_ULONG_TYPE): Likewise.
37210 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37211 (__SYSCALL_SLONG_TYPE): Likewise.
37212 (__SYSCALL_ULONG_TYPE): Likewise.
37214 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37216 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
37217 Add sigaltstack-offsets.sym.
37218 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
37219 <sigaltstack-offsets.h>.
37220 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
37221 longjmp_msg pointer.
37222 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
37223 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
37225 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
37227 2012-05-15 Joseph Myers <joseph@codesourcery.com>
37229 * elf/stackguard-macros.h: Remove file.
37230 * sysdeps/generic/stackguard-macros.h: New file.
37231 * sysdeps/i386/stackguard-macros.h: Likewise.
37232 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37233 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37234 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37235 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37236 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37237 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37238 * sysdeps/x86_64/stackguard-macros.h: Likewise.
37239 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
37240 <elf/stackguard-macros.h>.
37243 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
37244 __aligned__ in attribute.
37245 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
37246 (gregset_t): Likewise.
37248 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37250 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
37251 * sysdeps/x86_64/64/Implies-after: Here. New file.
37252 * sysdeps/x86_64/x32/Implies-after: New file.
37254 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37256 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
37257 and access return value for _dl_profile_fixup. Use R10_LP to
37260 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37262 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
37264 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37266 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
37267 * sysdeps/x86_64/x32/sysdep.h: New file.
37269 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37271 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
37272 * sysdeps/x86_64/setjmp.S: Likewise.
37274 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37276 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
37277 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
37278 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
37279 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
37280 remove unused global constant.
37282 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
37284 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
37285 include of <not-cancel.h>.
37287 2012-05-15 Roland McGrath <roland@hack.frob.com>
37289 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
37291 2012-05-15 Jeff Law <law@redhat.com>
37292 Andreas Jaeger <aj@suse.de>
37295 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
37297 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
37298 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
37299 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
37300 code changing __hst_map_handle.map.
37302 2012-05-15 Roland McGrath <roland@hack.frob.com>
37304 * configure.in (sysnames): Look for Implies-before and Implies-after
37306 * configure: Regenerated.
37308 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37310 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
37311 8-byte data alignment with LP_SIZE alignment.
37313 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37315 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
37318 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37320 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
37322 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37324 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
37325 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
37326 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
37328 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37330 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37332 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
37333 (stackinfo_sub_sp): Likewise.
37335 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37337 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
37340 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37342 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
37345 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37347 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
37350 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37352 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
37354 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37356 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
37357 into R11_LP and load __x86_64_shared_cache_size_half into
37360 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37362 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
37365 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37367 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
37369 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
37371 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
37373 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
37374 powerpc32/power7/fpu/s_logb.c via #include.
37375 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
37376 powerpc32/power7/fpu/s_logbf.c via #include.
37377 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
37378 powerpc32/power7/fpu/s_logbl.c via #include.
37380 2012-05-15 Joseph Myers <joseph@codesourcery.com>
37382 * README.libm: Remove file.
37384 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37386 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
37387 count for x32. Use R*_LP and omit operand-size suffix.
37389 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37391 * shlib-versions: Move x86_64-.*-linux.* entries to ...
37392 * sysdeps/x86_64/64/shlib-versions: Here. New file.
37393 * sysdeps/x86_64/x32/shlib-versions: New file.
37395 2012-05-14 Roland McGrath <roland@hack.frob.com>
37397 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
37398 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
37399 Use _dl_fatal_printf instead.
37401 2012-05-14 Joseph Myers <joseph@codesourcery.com>
37403 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
37404 set if not set by the user. Do not allow for being unset.
37405 * sysdeps/unix/sysv/linux/configure: Regenerated.
37407 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37409 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
37410 the `q' suffix from lea and replace .quad with ASM_ADDR.
37412 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37414 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
37415 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
37417 (PTR_DEMANGLE): Likewise.
37419 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37421 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
37423 (ASM_ADDR): Likewise.
37424 (RAX_LP): Likewise.
37425 (RBP_LP): Likewise.
37426 (RBX_LP): Likewise.
37427 (RCX_LP): Likewise.
37428 (RDI_LP): Likewise.
37429 (RSI_LP): Likewise.
37430 (RSP_LP): Likewise.
37433 (R10_LP): Likewise.
37434 (R10_LP): Likewise.
37435 (R11_LP): Likewise.
37436 (R12_LP): Likewise.
37437 (R13_LP): Likewise.
37438 (R14_LP): Likewise.
37439 (R15_LP): Likewise.
37441 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37443 * sysdeps/x86_64/x32/dl-machine.h: New file.
37445 2012-05-14 Andreas Jaeger <aj@suse.de>
37447 * manual/Makefile (subdir): Remove export of subdir.
37448 (all): Remove target.
37449 (.PHONY): Remove all from list.
37450 (mkinstalldirs): Remove.
37451 (.PHONY): Remove installdirs from list.
37452 ($(inst_infodir)/libc.info): Use make-target-directory.
37453 (installdirs): Remove.
37454 (subdir_%): Remove.
37455 (glibc-targets): Remove.
37458 ($(objpfx)stubs ../po/manual.pot): Remove.
37459 ($(objpfx)stamp%): Remove.
37460 (make-target-directory): Remove.
37461 (subdir_install): Remove.
37462 (routines): Remove.
37469 * manual/.gitignore: Remove, it's not needed anymore.
37470 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
37472 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
37474 (texis): Renamed to $(objpfx)texis.
37475 (texis-path): New, contains path to generated files.
37476 (chapters.%): Use texis-path for complete path, add extra argument
37478 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
37479 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
37480 (summary,texi, stamp-summary): Use complete path of
37481 files. Generate files in build dir.
37482 (dir-add.texi): Build in build dir.
37483 (libm-err.texi,stamp-libm-err): Likewise.
37484 (version.texi, stamp-version): Likewise.
37485 (.%c.texi): Likewise.
37486 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
37487 (mostlyclean): Remove target.
37488 (realclean): Remove target.
37489 (generated): Add new variable with contents from mostlyclean and
37490 realclean, remove entries duplicated in common-mostlyclean, add
37491 stamp-libm-err and stamp-version.
37492 (generated-dirs): Add libc directory.
37493 ($(inst_infodir)/libc.info): Install files from build dir.
37495 * manual/install.texi (Configuring and compiling): Adjust since
37496 the info files are not part of the tar ball anymore.
37498 2012-05-14 Andreas Jaeger <aj@suse.de>
37500 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
37503 2012-05-14 Joseph Myers <joseph@codesourcery.com>
37506 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37507 to 2.2.0 where earlier.
37508 * sysdeps/unix/sysv/linux/configure: Regenerated.
37509 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
37510 Remove conditional code.
37511 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
37512 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
37513 Remove conditional code.
37514 [!__NR_lchown]: Likewise.
37515 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37516 [__NR_lchown]: Likewise.
37517 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
37518 comment referencing __ASSUME_LCHOWN_SYSCALL.
37519 * sysdeps/unix/sysv/linux/i386/sigaction.c
37520 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37521 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37522 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
37523 Remove conditional code.
37524 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
37525 (__protocol_available): Remove #if 0 code.
37526 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
37528 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
37529 * sysdeps/unix/sysv/linux/kernel-features.h
37530 (__ASSUME_GETCWD_SYSCALL): Don't define.
37531 (__ASSUME_REALTIME_SIGNALS): Likewise.
37532 (__ASSUME_PREAD_SYSCALL): Likewise.
37533 (__ASSUME_PWRITE_SYSCALL): Likewise.
37534 (__ASSUME_POLL_SYSCALL): Likewise.
37535 (__ASSUME_LCHOWN_SYSCALL): Likewise.
37536 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
37538 (__ASSUME_SIOCGIFNAME): Don't define.
37539 (__ASSUME_MSG_NOSIGNAL): Likewise.
37540 (__ASSUME_SENDFILE): Define unconditionally.
37541 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
37542 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
37544 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
37545 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
37546 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37547 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37548 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
37549 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37550 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
37552 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37553 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37555 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37556 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
37558 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37559 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37561 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37562 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
37564 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37565 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
37567 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37568 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
37570 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37571 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
37573 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37574 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37575 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
37576 Remove conditional code.
37577 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37578 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37579 Remove conditional code.
37580 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37581 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
37582 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
37583 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37584 Remove conditional code.
37585 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37586 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
37587 Remove conditional code.
37588 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37589 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
37590 Remove conditional code.
37591 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37592 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37593 Remove conditional code.
37594 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37595 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37596 Remove conditional code.
37597 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37598 * sysdeps/unix/sysv/linux/sh/pwrite64.c
37599 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37600 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37601 * sysdeps/unix/sysv/linux/sigaction.c
37602 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37603 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37604 * sysdeps/unix/sysv/linux/sigpending.c
37605 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37606 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37607 * sysdeps/unix/sysv/linux/sigprocmask.c
37608 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37609 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37610 * sysdeps/unix/sysv/linux/sigsuspend.c
37611 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37612 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37613 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37614 (__libc_missing_rt_sigs): Remove.
37615 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
37616 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
37617 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
37618 Remove conditional code.
37619 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
37620 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
37622 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
37623 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
37624 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
37625 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
37627 2012-05-14 Andreas Jaeger <aj@suse.de>
37629 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
37630 it's not used in glibc.
37631 (__coshm1): Likewise.
37632 (__acosh1p): Likewise.
37635 * manual/string.texi (Copying and Concatenation): Add missing
37636 variable in concat example.
37637 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37639 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37642 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
37643 __builtin_clzl with __builtin_clzll.
37645 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37648 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
37651 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37653 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
37654 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
37655 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
37656 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
37658 2012-05-14 Mike Frysinger <vapier@gentoo.org>
37660 * NEWS: Update ia64 info.
37662 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
37664 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
37667 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
37669 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
37670 * sysdeps/unix/syscalls.list (dup3): Likewise.
37671 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
37672 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
37674 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
37676 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
37677 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
37679 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
37681 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
37683 (TLS_IE): Use mov/add instead of movq/addq to load thread
37685 (TLS_GD_PREFIX): New.
37688 2012-05-11 David S. Miller <davem@davemloft.net>
37690 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
37691 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
37692 (_FPU_SETCW): Likewise.
37694 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37696 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
37697 is 32-byte aligned.
37699 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
37702 * iconvdata/gb18030.c: Update tables.
37703 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
37704 characters specially.
37705 (BODY for TO_LOOP): Add encoding of missing ranges.
37707 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
37710 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
37711 * sysdeps/mach/hurd/dup3.c: Likewise.
37712 * sysdeps/mach/hurd/readlinkat.c: Likewise.
37713 * sysdeps/powerpc/memmove.c:: Likewise.
37715 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37717 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
37718 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
37720 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37722 * elf/elf.h (R_X86_64_RELATIVE64): New.
37723 (R_X86_64_NUM): Updated.
37724 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37725 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
37726 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
37727 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
37728 tst-quad1pie tst-quad2pie
37729 (modules-names): Add tst-quadmod1 tst-quadmod2.
37730 ($(objpfx)tst-quad1): New dependency.
37731 ($(objpfx)tst-quad2): Likewise.
37732 ($(objpfx)tst-quad1pie): Likewise.
37733 ($(objpfx)tst-quad2pie): Likewise.
37734 * sysdeps/x86_64/tst-quad1.c: New file.
37735 * sysdeps/x86_64/tst-quad1pie.c: New file.
37736 * sysdeps/x86_64/tst-quad2.c: Likewise.
37737 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
37738 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
37739 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
37740 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
37741 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
37743 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37745 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
37746 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
37747 * streams/stropts.h (t_scalar_t): Define type.
37749 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
37750 (_PATH_PRESERVE): Set to "/var/lib".
37751 (_PATH_RWHODIR): Set to "/var/spool/rwho".
37753 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
37756 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
37757 if __dir_mkfile succeeded.
37759 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
37760 checking for _hurd_dtablesize. Unlock it right after having
37761 finished _hurd_dtable allocation.
37763 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37765 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
37766 * sysdeps/mach/hurd/configure: Regenerated.
37767 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
37768 special-casing to...
37769 * sysdeps/gnu/configure.in: ... this new file.
37770 * sysdeps/unix/sysv/linux/configure: Regenerated.
37771 * sysdeps/gnu/configure: New generated file.
37773 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
37774 for Linux: use nsec instead of usec, as well as:
37775 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
37776 members of type struct timespec.
37777 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
37779 (struct stat64): Likewise.
37780 (_STATBUF_ST_NSEC): New macro.
37781 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
37783 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37784 __strtoul_internal rather than strtoul.
37786 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37788 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
37791 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37793 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
37794 which preserves existing values.
37795 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
37797 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37799 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
37800 TIMEOUT values. Return EINVAL for NFDS values either negative or
37801 greater than FD_SETSIZE.
37803 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37805 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
37806 allocated, call __vm_protect to finish enabling the existing space, and
37807 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
37808 allocate the remainder.
37810 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37812 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
37813 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
37815 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37817 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
37818 sysdeps/mach/hurd/readlink.c.
37820 * posix/tst-sysconf.c (posix_options): Only use
37821 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
37822 _POSIX_SYNCHRONIZED_IO when they are defined
37823 * sysdeps/mach/hurd/bits/posix_opt.h:
37824 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
37825 (_XOPEN_REALTIME): Undefine macro.
37826 (_XOPEN_REALTIME_THREADS): Undefine macro.
37827 (_XOPEN_SHM): Undefine macro.
37828 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
37830 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
37832 (_POSIX_ASYNC_IO): Undefine macro.
37833 (_POSIX_PRIORITIZED_IO): Undefine macro.
37834 (_POSIX_SPIN_LOCKS): Define macro to -1.
37836 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
37837 SA_NODEFER, SA_RESETHAND.
37838 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
37839 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
37842 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37844 * elf/Makefile (pldd-modules): Define unconditionally.
37846 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37848 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
37850 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37852 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
37853 Return ENOENT when name is empty.
37854 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
37856 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37858 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
37860 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
37862 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37864 Fix mlock in all cases except non-readable pages.
37865 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
37866 instead of VM_PROT_ALL as parameter to __vm_wire function.
37868 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
37869 (__mkdir): When path is `/', just fail with EEXIST.
37870 * sysdeps/mach/hurd/mkdirat.c: Likewise.
37872 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37874 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
37875 <sys/uio.h> (for writev).
37876 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
37877 and <sys/param.h> (for MIN).
37879 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37881 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
37882 REQUESTED_TIME. Properly set the remaining time and return EINTR
37885 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37887 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
37888 Depend on against $(link-rpcuserlibs).
37890 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37892 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
37893 (__libc_stack_end): Do not use attribute_relro.
37894 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
37895 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
37896 to libthread-provided value.
37897 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
37900 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37903 * bits/libc-lock.h (__libc_once_get): New macro.
37904 * sysdeps/mach/bits/libc-lock.h: Likewise.
37905 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
37906 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
37907 instead of using implementation details.
37909 * libio/fileops.c: Unconditionally include <kernel-features.h>.
37910 * libio/freopen.c: Likewise.
37911 * libio/freopen64.c: Likewise.
37912 * misc/syslog.c: Likewise.
37913 * nscd/connections.c: Likewise.
37914 * nscd/netgroupcache.c: Likewise.
37915 * sysdeps/posix/getcwd.c: Likewise.
37917 2012-05-10 Roland McGrath <roland@hack.frob.com>
37919 * math/w_ilogbf.c: Add #include <limits.h>.
37921 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37923 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
37924 path instead of returning without unlocking.
37926 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
37927 immediate-write ioctls.
37928 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
37930 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37932 * sysdeps/mach/hurd/i386/init-first.c (init): Use
37933 __builtin_frame_address instead of making assumptions about the
37934 location of the return address relative to DATA. Force early load of
37935 the return address.
37936 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
37937 __builtin_frame_address.
37940 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
37941 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
37942 implement dup3 and do some further code clean-ups.
37943 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
37944 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
37946 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37948 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
37950 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
37951 HURD_CRITICAL_END around holding _hurd_dtable_lock.
37952 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
37953 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
37954 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
37957 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
37958 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
37959 when handler == SIG_ERR, not when handler != SIG_ERR.
37961 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37963 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
37964 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
37967 accept4 for GNU Hurd.
37968 * include/sys/socket.h (__libc_accept4): New prototype.
37969 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
37970 to implement __libc_accept4.
37971 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
37973 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
37975 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
37976 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
37977 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
37978 signal-defines.sym.
37980 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37982 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
37984 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37986 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
37987 assertion on O_CLOEXEC flag.
37988 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
37989 * hurd/intern-fd.c: Likewise.
37990 * hurd/port2fd.c: Likewise.
37992 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37995 * bits/in.h (IPV6_PKTINFO): Define new macro.
37996 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
37998 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38003 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
38004 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38005 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
38006 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38007 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38008 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38009 * math/libm-test.inc (logb_test) : Additional logb tests.
38011 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
38012 Andreas Jaeger <aj@suse.de>
38014 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
38015 * configure: Regenerated.
38016 * config.h.in (LINK_OBSOLETE_RPC): New macro.
38017 * config.make.in (link-obsolete-rpc): New substituted variable.
38018 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
38019 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
38020 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38021 (shared-only-routines): Don't set it under [link-obsolete-rpc],
38022 so that libc.a contains the symbols.
38023 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38024 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
38025 * sunrpc/auth_none.c: Likewise.
38026 * sunrpc/auth_unix.c: Likewise.
38027 * sunrpc/authdes_prot.c: Likewise.
38028 * sunrpc/authuxprot.c: Likewise.
38029 * sunrpc/clnt_gen.c: Likewise.
38030 * sunrpc/clnt_perr.c: Likewise.
38031 * sunrpc/clnt_raw.c: Likewise.
38032 * sunrpc/clnt_simp.c: Likewise.
38033 * sunrpc/clnt_tcp.c: Likewise.
38034 * sunrpc/clnt_udp.c: Likewise.
38035 * sunrpc/clnt_unix.c: Likewise.
38036 * sunrpc/des_crypt.c: Likewise.
38037 * sunrpc/des_soft.c: Likewise.
38038 * sunrpc/get_myaddr.c: Likewise.
38039 * sunrpc/key_call.c: Likewise.
38040 * sunrpc/key_prot.c: Likewise.
38041 * sunrpc/netname.c: Likewise.
38042 * sunrpc/pm_getmaps.c: Likewise.
38043 * sunrpc/pm_getport.c: Likewise.
38044 * sunrpc/pmap_clnt.c: Likewise.
38045 * sunrpc/pmap_prot.c: Likewise.
38046 * sunrpc/pmap_prot2.c: Likewise.
38047 * sunrpc/pmap_rmt.c: Likewise.
38048 * sunrpc/publickey.c: Likewise.
38049 * sunrpc/rpc_cmsg.c: Likewise.
38050 * sunrpc/rpc_common.c: Likewise.
38051 * sunrpc/rpc_dtable.c: Likewise.
38052 * sunrpc/rpc_prot.c: Likewise.
38053 * sunrpc/rpc_thread.c: Likewise.
38054 * sunrpc/rtime.c: Likewise.
38055 * sunrpc/svc.c: Likewise.
38056 * sunrpc/svc_auth.c: Likewise.
38057 * sunrpc/svc_raw.c: Likewise.
38058 * sunrpc/svc_run.c: Likewise.
38059 * sunrpc/svc_tcp.c: Likewise.
38060 * sunrpc/svc_udp.c: Likewise.
38061 * sunrpc/svc_unix.c: Likewise.
38062 * sunrpc/svcauth_des.c: Likewise.
38063 * sunrpc/xcrypt.c: Likewise.
38064 * sunrpc/xdr.c: Likewise.
38065 * sunrpc/xdr_array.c: Likewise.
38066 * sunrpc/xdr_float.c: Likewise.
38067 * sunrpc/xdr_intXX_t.c: Likewise.
38068 * sunrpc/xdr_mem.c: Likewise.
38069 * sunrpc/xdr_rec.c: Likewise.
38070 * sunrpc/xdr_ref.c: Likewise.
38071 * sunrpc/xdr_sizeof.c: Likewise.
38072 * sunrpc/xdr_stdio.c: Likewise.
38074 2012-05-10 Roland McGrath <roland@hack.frob.com>
38076 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
38077 change. Update copyright years.
38079 2012-05-10 Joseph Myers <joseph@codesourcery.com>
38081 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
38083 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
38084 Joseph Myers <joseph@codesourcery.com>
38085 Paul Pluzhnikov <ppluzhnikov@google.com>
38088 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
38090 [cross-compiling] (extra-libs): Likewise.
38091 [cross-compiling] (extra-libs-others): Likewise.
38092 [cross-compiling] (librpcsvc-routines): Likewise.
38093 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
38094 [cross-compiling] (omit-deps): Likewise.
38095 (sunrpc-CPPFLAGS): New variable.
38096 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
38097 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
38098 (cross-rpcgen-objs): New variable.
38099 (extra-objs): Append $(cross-rpcgen-objs).
38100 ($(cross-rpcgen-objs)): New rule.
38101 ($(objpfx)cross-rpcgen): Likewise.
38102 (rpcgen-cmd): Define to use $(built-program-file). Expand
38104 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
38105 ($(objpfx)x%.stmp): Likewise.
38106 * sunrpc/proto.h [IS_IN_build] (_): Define.
38107 [IS_IN_build] (_libc_intl_domainname): Likewise.
38109 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38111 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
38112 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
38113 and R_X86_64_TPOFF64.
38115 2012-05-10 Joseph Myers <joseph@codesourcery.com>
38117 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
38118 sysdeps/unix/sysv/syscalls.list.
38121 * sysdeps/unix/sysv/syscalls.list: Remove file.
38123 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
38126 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
38127 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
38128 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
38129 (__LC_IDENTIFICATION): Make these macros useful in #if
38130 expressions, as required by C99.
38132 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
38134 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
38135 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
38138 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
38140 * stdlib/longlong.h: Updated from GCC.
38142 2012-05-09 Andreas Jaeger <aj@suse.de>
38144 * nscd/nscd.c (run_modes): Make named enum, reorder so that
38145 default is first entry.
38146 (run_mode): Set type.
38147 (main): Remove informal message about syslog.
38148 (options): Fix typo.
38151 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
38154 (llrintf): Likewise.
38155 (llrint): Likewise.
38158 (nearbyint): Likewise.
38159 (nearbyintf): Likewise.
38161 2012-05-09 Andreas Jaeger <aj@suse.de>
38162 Pedro Alves <palves@redhat.com>
38164 * nscd/nscd.c (run_mode): Use enum.
38165 (main): Cleanup coding style issue.
38167 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
38168 Andreas Jaeger <aj@suse.de>
38170 * nscd/nscd.c (go_background): Replaced with...
38171 (run_mode): ... this.
38172 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
38173 (options): Add -F --foreground.
38174 (main): Implement it.
38175 (parse_opt): Parse it.
38177 2012-05-09 Andreas Jaeger <aj@suse.de>
38180 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
38181 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
38182 -Wconversion warning.
38183 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
38186 2012-05-09 Joseph Myers <joseph@codesourcery.com>
38188 * conform/data/locale.h-data (NULL): Use macro-constant. Require
38190 (LC_ALL): Use macro-int-constant.
38191 (LC_COLLATE): Likewise.
38192 (LC_CTYPE): Likewise.
38193 (LC_MESSAGES): Likewise.
38194 (LC_MONETARY): Likewise.
38195 (LC_NUMERIC): Likewise.
38196 (LC_TIME): Likewise.
38197 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
38198 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38199 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38200 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
38202 [C99-based standards] (float_t): Expect type.
38203 [C99-based standards] (double_t): Expect type.
38204 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
38206 [C99-based standards] (HUGE_VALL): Likewise.
38207 [C99-based standards] (INFINITY): Likewise.
38208 [C99-based standards] (NAN): Likewise.
38209 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
38210 [C99-based standards] (FP_NAN): Likewise.
38211 [C99-based standards] (FP_NORMAL): Likewise.
38212 [C99-based standards] (FP_SUBNORMAL): Likewise.
38213 [C99-based standards] (FP_ZERO): Likewise.
38214 [C99-based standards] (FP_FAST_FMA): Use
38215 optional-macro-int-constant. Specify type. Require == 1.
38216 [C99-based standards] (FP_FAST_FMAF): Likewise.
38217 [C99-based standards] (FP_FAST_FMAL): Likewise.
38218 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
38219 [C99-based standards] (FP_ILOGBNAN): Likewise.
38220 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
38222 [C99-based standards] (MATH_ERREXCEPT): Likewise.
38223 [C99-based standards] (math_errhandling): Specify type.
38224 [ISO99 || ISO11] (signgam): Do not allow.
38225 [non-C99-based standards] (copysignf): Do not allow.
38226 [non-C99-based standards] (exp2f): Likewise.
38227 [non-C99-based standards] (log2f): Likewise.
38228 [non-C99-based standards] (modff): Allow.
38229 [non-C99-based standards] (erff): Do not allow.
38230 [non-C99-based standards] (erfcf): Likewise.
38231 [non-C99-based standards] (gammaf): Likewise.
38232 [non-C99-based standards] (hypotf): Likewise.
38233 [non-C99-based standards] (j0f): Likewise.
38234 [non-C99-based standards] (j1f): Likewise.
38235 [non-C99-based standards] (jnf): Likewise.
38236 [non-C99-based standards] (lgammaf): Likewise.
38237 [non-C99-based standards] (tgammaf): Likewise.
38238 [non-C99-based standards] (y0f): Likewise.
38239 [non-C99-based standards] (y1f): Likewise.
38240 [non-C99-based standards] (ynf): Likewise.
38241 [non-C99-based standards] (isnanf): Likewise.
38242 [non-C99-based standards] (acoshf): Likewise.
38243 [non-C99-based standards] (asinhf): Likewise.
38244 [non-C99-based standards] (atanhf): Likewise.
38245 [non-C99-based standards] (cbrtf): Likewise.
38246 [non-C99-based standards] (expm1f): Likewise.
38247 [non-C99-based standards] (ilogbf): Likewise.
38248 [non-C99-based standards] (log1pf): Likewise.
38249 [non-C99-based standards] (logbf): Likewise.
38250 [non-C99-based standards] (nextafterf): Likewise.
38251 [non-C99-based standards] (remainderf): Likewise.
38252 [non-C99-based standards] (rintf): Likewise.
38253 [non-C99-based standards] (scalbf): Likewise.
38254 [non-C99-based standards] (copysignl): Likewise.
38255 [non-C99-based standards] (exp2l): Likewise.
38256 [non-C99-based standards] (log2l): Likewise.
38257 [non-C99-based standards] (modfl): Allow.
38258 [non-C99-based standards] (erfl): Do not allow.
38259 [non-C99-based standards] (erfcl): Likewise.
38260 [non-C99-based standards] (gammal): Likewise.
38261 [non-C99-based standards] (hypotl): Likewise.
38262 [non-C99-based standards] (j0l): Likewise.
38263 [non-C99-based standards] (j1l): Likewise.
38264 [non-C99-based standards] (jnl): Likewise.
38265 [non-C99-based standards] (lgammal): Likewise.
38266 [non-C99-based standards] (tgammal): Likewise.
38267 [non-C99-based standards] (y0l): Likewise.
38268 [non-C99-based standards] (y1l): Likewise.
38269 [non-C99-based standards] (ynl): Likewise.
38270 [non-C99-based standards] (isnanl): Likewise.
38271 [non-C99-based standards] (acoshl): Likewise.
38272 [non-C99-based standards] (asinhl): Likewise.
38273 [non-C99-based standards] (atanhl): Likewise.
38274 [non-C99-based standards] (cbrtl): Likewise.
38275 [non-C99-based standards] (expm1l): Likewise.
38276 [non-C99-based standards] (ilogbl): Likewise.
38277 [non-C99-based standards] (log1pl): Likewise.
38278 [non-C99-based standards] (logbl): Likewise.
38279 [non-C99-based standards] (nextafterl): Likewise.
38280 [non-C99-based standards] (remainderl): Likewise.
38281 [non-C99-based standards] (rintl): Likewise.
38282 [non-C99-based standards] (scalbl): Likewise.
38283 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38284 [non-C99-based standards] (FP_*): Do not allow.
38285 [C99-based standards] (FP_*): Change to
38286 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38287 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38289 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
38290 (SIG_ERR): Likewise.
38291 [X/Open-based standards] (SIG_HOLD): Likewise.
38292 (SIG_IGN): Likewise.
38293 (SIGABRT): Use macro-int-constant. Specify type. Require
38295 (SIGFPE): Likewise.
38296 (SIGILL): Likewise.
38297 (SIGINT): Likewise.
38298 (SIGSEGV): Likewise.
38299 (SIGTER): Likewise.
38300 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
38301 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
38302 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
38303 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
38304 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
38305 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
38306 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
38307 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
38308 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
38309 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
38310 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
38311 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
38312 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
38313 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
38314 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
38315 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
38316 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
38317 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
38318 [X/Open-based standards] (SIGTRAP): Likewise.
38319 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
38320 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
38321 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
38322 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
38323 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38326 2012-05-08 Ian Wienand <ianw@vmware.com>
38329 * time/tzset.c (__tzset_parse_tz): Update default rules for
38330 daylight time changes in the Energy Policy Act of 2005.
38332 2012-05-09 Andreas Jaeger <aj@suse.de>
38335 * elf/ldconfig.c (parse_conf): Change string to make clear that
38336 ldconfig only issued a warning if ld.so.conf does not exist.
38338 2012-05-08 David S. Miller <davem@davemloft.net>
38340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
38341 movxtod instead of popping the value on the stack.
38343 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38345 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
38347 * config.h.in: Add HAVE_ARM_PCS_VFP.
38349 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
38352 * include/features.h: Warn if user requests __FORTIFY_SOURCE
38353 checking but the checks are disabled for any reason.
38355 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
38357 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
38358 and ELF64_R_TYPE with ELFW(R_TYPE).
38360 2012-05-08 Joseph Myers <joseph@codesourcery.com>
38362 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
38363 (ulimit): Likewise.
38365 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
38366 (settimeofday): Likewise.
38368 2012-05-08 Mike Frysinger <vapier@gentoo.org>
38370 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
38371 a struct th_u2 inside the union, and move tu_block/tu_code into
38372 a new th_u3 union of tu_block/tu_code inside of that. Move
38373 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
38374 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
38375 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
38376 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
38377 (th_stuff): Change to th_u1.tu_stuff.
38379 (th_msg): Change to th_u1.th_u2.tu_data.
38381 2012-05-07 David S. Miller <davem@davemloft.net>
38383 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38386 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
38387 (SETUP_PIC_REG): Use it.
38388 (SETUP_PIC_REG_LEAF): Use it.
38390 2012-05-07 Joseph Myers <joseph@codesourcery.com>
38394 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38396 (EXPL_FINITE): Likewise.
38397 (FLDLOG): Likewise.
38398 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38399 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38401 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38403 (EXPL_FINITE): Likewise.
38404 (FLDLOG): Likewise.
38405 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38406 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38408 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
38409 test of -max_value argument for long double.
38410 * sysdeps/i386/fpu/libm-test-ulps: Update.
38411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38413 2012-05-06 David S. Miller <davem@davemloft.net>
38415 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
38416 quad soft-float symbols whose references which are compiler
38418 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38420 2012-05-06 Joseph Myers <joseph@codesourcery.com>
38424 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38426 (EXPL_FINITE): Likewise.
38427 (FLDLOG): Likewise.
38430 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38431 Adjust comments for base varying.
38432 (__expl_finite): Change alias to EXPL_FINITE.
38433 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
38435 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
38436 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
38437 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38438 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
38439 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38441 (EXPL_FINITE): Likewise.
38442 (FLDLOG): Likewise.
38445 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38446 Adjust comments for base varying.
38447 (__expl_finite): Change alias to EXPL_FINITE.
38448 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
38450 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38453 * math/libm-test.inc (check_float_internal): Correct ulp
38454 calculation for subnormal expected results.
38456 2012-05-06 Andreas Jaeger <aj@suse.de>
38458 * Makeconfig (+math-flags): New, set to -frounding-math.
38459 (+cflags): Add +math-flags so that all of glibc gets compiled with
38462 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
38464 2012-05-05 Joseph Myers <joseph@codesourcery.com>
38466 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
38472 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
38473 (__ieee754_expl): Allow for and saturate large arguments.
38474 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
38475 (u_threshold): Likewise.
38476 (__exp): Call __ieee754_exp before checking for overflow and
38478 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
38479 (u_threshold): Likewise.
38480 (__expf): Call __ieee754_expf before checking for overflow and
38482 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
38483 (u_threshold): Likewise.
38484 (__expl): Call __ieee754_expl before checking for overflow and
38486 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
38487 (__ieee754_expl): Allow for and saturate large arguments.
38488 * math/libm-test.inc (exp_test): Add another test. Do not allow
38489 missing overflow exception on overflow.
38490 (expm1_test): Do not allow missing overflow exception on overflow.
38492 * sysdeps/i386/fpu/e_expl.c: Move to ...
38493 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
38494 rather than using inline asm.
38495 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
38496 * sysdeps/x86_64/fpu/e_expl.S: Copy from
38497 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
38499 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
38502 (signal): Likewise.
38506 2012-05-04 Joseph Myers <joseph@codesourcery.com>
38508 * sysdeps/unix/syscalls.list (adjtime): Add entry from
38509 sysdeps/unix/common/syscalls.list.
38510 (fchmod): Likewise.
38511 (fchown): Likewise.
38512 (ftruncate): Likewise.
38513 (getrusage): Likewise.
38514 (gettimeofday): Likewise.
38515 (setpgid): Likewise.
38516 (setregid): Likewise.
38517 (setreuid): Likewise.
38518 (sigaction): Likewise.
38519 (truncate): Likewise.
38520 (vhangup): Likewise.
38521 * sysdeps/unix/common/syscalls.list: Remove file.
38522 * sysdeps/unix/bsd/Implies: Don't include unix/common.
38523 * sysdeps/unix/sysv/linux/Implies: Likewise.
38525 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
38527 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
38528 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
38529 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
38531 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38533 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
38535 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
38536 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
38538 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
38539 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
38541 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
38542 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
38544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
38545 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
38547 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
38548 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
38550 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
38551 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
38553 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38555 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
38557 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
38559 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
38561 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
38562 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
38564 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
38566 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
38568 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
38570 2012-05-04 Joseph Myers <joseph@codesourcery.com>
38572 * sysdeps/unix/common/bits/dirent.h: Remove file.
38573 * sysdeps/unix/common/bits/fcntl.h: Likewise.
38575 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
38576 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
38577 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
38578 * sysdeps/unix/bsd/isatty.c: Likewise.
38579 * sysdeps/unix/bsd/tcdrain.c: Likewise.
38580 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
38581 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
38583 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38586 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
38587 long double comparison inaccuracies.
38588 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38591 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
38593 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
38594 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
38596 2012-05-04 Joseph Myers <joseph@codesourcery.com>
38599 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
38600 nonzero digits before rounding a hex value.
38601 * stdlib/tst-strtod.c (tests): Add another test.
38603 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38605 * sysdeps/s390/fpu/libm-test-ulps: Update.
38607 2012-05-03 Andreas Jaeger <aj@suse.de>
38609 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
38610 does not get optimized out.
38611 (malloc_opt_barrier): New.
38613 2012-05-03 Andreas Jaeger <aj@suse.de>
38614 Roland McGrath <roland@hack.frob.com>
38616 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
38617 intermediate file deletion.
38618 (generated): Add .symlist files.
38620 2012-05-03 Joseph Myers <joseph@codesourcery.com>
38623 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
38624 Redirect under this condition.
38625 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38626 [__USE_GNU] (__dprintf_chk): Not under this condition.
38627 [__USE_GNU] (__vdprintf_chk): Likewise.
38628 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
38629 under this condition.
38630 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38631 [__USE_XOPEN2K8] (dprintf): Define under this condition.
38632 [__USE_XOPEN2K8] (vdprintf): Likewise.
38633 [__USE_GNU] (__dprintf_chk): Not under this condition.
38634 [__USE_GNU] (__vdprintf_chk): Likewise.
38635 [__USE_GNU] (dprintf): Likewise.
38636 [__USE_GNU] (vdprintf): Likewise.
38638 2012-05-03 Roland McGrath <roland@hack.frob.com>
38640 * elf/Makefile (common-generated): Set this instead of generated for
38641 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
38642 $(all-built-dso)-derived lists.
38644 2012-05-03 Andreas Jaeger <aj@suse.de>
38646 * sysdeps/i386/fpu/libm-test-ulps: Update.
38649 * FAQ.in: Likewise.
38650 * scripts/gen-FAQ.pl: Likewise.
38651 * manual/install.texi (Installation): Point to online location of
38653 * Makefile (files-for-dist): Remove FAQ.
38656 2012-05-02 Allan McRae <allan@archlinux.org>
38658 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
38659 (LDFLAGS-reldepmod5.so): Likewise.
38660 (LDFLAGS-reldep6mod1.so): Likewise.
38661 (LDFLAGS-reldep6mod4.so): Likewise.
38662 (LDFLAGS-reldep8mod3.so): Likewise.
38663 (LDFLAGS-unload4mod1.so): Likewise.
38664 (LDFLAGS-unload4mod2.so): Likewise.
38665 (LDFLAGS-tst-initorder): Likewise.
38666 (LDFLAGS-tst-initordera2.so): Likewise.
38667 (LDFLAGS-tst-initordera3.so): Likewise.
38668 (LDFLAGS-tst-initordera4.so): Likewise.
38669 (LDFLAGS-tst-initorderb2.so): Likewise.
38670 (LDFLAGS-noload): Likewise.
38671 (LDFLAGS-next): Likewise.
38672 (LDFLAGS-order2mod1.so): Likewise.
38673 (LDFLAGS-order2mod2.so): Likewise.
38674 (LDFLAGS-tst-initorder2): Likewise.
38675 (LDFLAGS-tst-initorder2a.so): Likewise.
38676 (LDFLAGS-tst-initorder2b.so): Likewise.
38677 (LDFLAGS-tst-initorder2c.so): Likewise.
38678 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
38680 2012-05-02 David S. Miller <davem@davemloft.net>
38682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38684 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
38687 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
38689 2012-05-02 Andreas Jaeger <aj@suse.de>
38691 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
38692 since we manipulate rounding mode.
38693 (CPPFLAGS-test-idouble.c): Likewise.
38694 (CPPFLAGS-test-ifloat.c): Likewise.
38695 (CFLAGS-test-ldouble.c): Likewise.
38696 (CFLAGS-test-double.c): Likewise.
38697 (CFLAGS-test-float.c): Likewise.
38698 (CFLAGS-test-misc.c): Likewise.
38699 (CFLAGS-test-test-fenv.c): Likewise.
38701 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38705 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
38706 comparisons to determine direction to adjust input.
38708 2012-05-01 Roland McGrath <roland@hack.frob.com>
38710 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
38711 output to the target.
38713 * scripts/localplt.awk: New file.
38714 * elf/Makefile ($(objpfx)check-localplt): Target removed.
38715 (check-localplt-CFLAGS): Variable removed.
38716 ($(all-built-dso:=.jmprel)): New static pattern rule.
38717 (generated): Add those targets.
38718 (localplt-built-dso): New variable.
38719 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
38721 * elf/check-localplt.c: File removed.
38723 * scripts/check-execstack.awk: New file.
38724 * elf/Makefile ($(objpfx)check-execstack): Target removed.
38725 (check-execstack-CFLAGS): Variable removed.
38726 ($(objpfx)check-execstack.h): Target removed.
38727 ($(objpfx)execstack-default): New target.
38728 (generated): Add that instead of check-execstack.h.
38729 ($(all-built-dso:=.phdr)): New static pattern rule.
38730 (generated): Add those targets.
38731 * elf/check-execstack.c: File removed.
38733 * scripts/check-textrel.awk: New file.
38734 * elf/Makefile ($(objpfx)check-textrel): Target removed.
38735 (check-textrel-CFLAGS): Variable removed.
38736 (all-built-dso): Use := to define.o
38737 ($(all-built-dso:=.dyn)): New static pattern rule.
38738 (generated): Add those targets.
38739 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
38740 * config.make.in (READELF): New substituted variable.
38741 * elf/check-textrel.c: File removed.
38743 2012-05-01 Joseph Myers <joseph@codesourcery.com>
38745 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38747 * conform/data/ctype.h-data [C99-based standards] (isblank):
38749 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
38750 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
38751 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38752 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
38753 Specify type. Require positive value.
38754 (EILSEQ): Likewise.
38755 (ERANGE): Likewise.
38756 [ISO || POSIX] (EILSEQ): Do not expect.
38757 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
38758 Specify type. Require positive value.
38759 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
38760 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
38761 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
38762 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
38763 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
38764 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
38765 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
38766 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
38767 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
38768 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
38769 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
38770 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
38771 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
38772 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
38773 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
38774 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
38775 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
38776 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
38777 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
38778 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
38779 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
38780 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
38781 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
38782 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
38783 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
38784 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
38785 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
38786 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
38787 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
38788 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
38789 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
38790 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
38791 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
38792 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
38793 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
38794 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
38795 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
38796 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
38797 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
38798 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
38799 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
38800 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
38801 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
38802 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
38803 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
38804 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
38805 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
38806 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
38807 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
38808 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
38809 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
38810 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
38811 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
38812 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
38813 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
38814 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
38815 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
38816 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
38817 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
38818 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
38819 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
38820 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
38821 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
38822 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
38823 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
38824 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
38825 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
38826 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
38827 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
38828 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
38829 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
38830 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
38831 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
38832 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
38833 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
38834 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
38835 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
38837 (FLT_ROUNDS): Expect as macro, not constant.
38838 (FLT_MANT_DIG): Use macro-int-constant.
38839 (DBL_MANT_DIG): Likewise.
38840 (LDBL_MANT_DIG): Likewise.
38841 (FLT_DIG): Likewise.
38842 (DBL_DIG): Likewise.
38843 (LDBL_DIG): Likewise.
38844 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
38845 (DBL_MIN_EXP): Likewise.
38846 (LDBL_MIN_EXP): Likewise.
38847 (FLT_MAX_EXP): Use macro-int-constant.
38848 (DBL_MAX_EXP): Likewise.
38849 (LDBL_MAX_EXP): Likewise.
38850 (FLT_MAX_10_EXP): Likewise.
38851 (DBL_MAX_10_EXP): Likewise.
38852 (LDBL_MAX_10_EXP): Likewise.
38853 (FLT_MAX): Use macro-constant.
38854 (DBL_MAX): Likewise.
38855 (LDBL_MAX): Likewise.
38856 (FLT_EPSILON): Use macro-constant. Give upper bound.
38857 (DBL_EPSILON): Likewise.
38858 (LDBL_EPSILON): Likewise.
38859 (FLT_MIN): Likewise.
38860 (DBL_MIN): Likewise.
38861 (LDBL_MIN): Likewise.
38862 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
38863 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
38864 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
38865 [ISO11] (FLT_HAS_SUBNORM): Likewise.
38866 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
38867 [ISO11] (DBL_DECIMAL_DIG): Likewise.
38868 [ISO11] (FLT_DECIMAL_DIG): Likewise.
38869 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
38870 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
38871 [ISO11] (FLT_TRUE_MIN): Likewise.
38872 [ISO11] (LDBL_TRUE_MIN): Likewise.
38873 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38874 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
38875 (SCHAR_MIN): Use macro-int-constant. Specify type.
38876 (SCHAR_MAX): Likewise.
38877 (UCHAR_MAX): Likewise.
38878 (CHAR_MIN): Likewise.
38879 (CHAR_MAX): Likewise.
38880 (MB_LEN_MAX): Use macro-int-constant.
38881 (SHRT_MIN): Use macro-int-constant. Specify type.
38882 (SHRT_MAX): Likewise.
38883 (USHRT_MAX): Likewise.
38884 (INT_MAX): Likewise.
38885 (INT_MIN): Use macro-int-constant. Specify type. Make upper
38887 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
38889 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
38891 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
38892 bound negative. Suffix upper bound with "L".
38893 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
38895 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
38897 [C99-based standards] (LLONG_MAX): Likewise.
38898 [C99-based standards] (ULLONG_MAX): Likewise.
38899 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
38901 [ISO11] (max_align_t): Require type.
38902 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38904 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
38905 from $CFLAGS, without defining away __attribute__ calls.
38906 (checknamespace): Use $CFLAGS_namespace.
38908 * conform/conformtest.pl (@keywords): Only include C99 keywords
38909 for standards based on C99 or C11.
38911 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
38913 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
38916 * conform/conformtest.pl: Handle "macro-int-constant" and test for
38917 usability of symbols in #if.
38919 * conform/conformtest.pl: If macro or constant types start
38920 "promoted:", expect the symbol to be of the following type
38921 promoted by the integer promotions.
38923 * conform/conformtest.pl: Parse all "constant" and "macro" lines
38924 in one place. Also handle "macro-constant".
38926 * conform/conformtest.pl: Only accept expected macro values with
38927 "==". Parse all "macro" lines in one place.
38928 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
38930 * conform/conformtest.pl: Handle braced types on "constant" lines
38931 instead of handling "typed-constant".
38932 * conform/data/signal.h-data: Use "constant" instead of
38935 * conform/conformtest.pl: Handle "optional-" at start of lines in
38936 one place rather than duplicating several cases. Handle each
38937 format of "macro" line with initial "optional-".
38939 * conform/conformtest.pl: Only accept expected constant or
38940 optional-constant values with "==". Parse all "constant" lines in
38941 one place. Parse all "optional-constant" lines in one place.
38942 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
38943 * conform/data/fmtmsg.h-data: Likewise.
38944 * conform/data/netinet/in.h-data: Likewise.
38945 * conform/data/tar.h-data: Likewise.
38946 * conform/data/limits.h-data: Use "==" form on "constant" and
38947 "optional-constant" lines.
38949 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
38950 Use -std=c99 for XOPEN2K.
38951 (@knownproblems): Remove.
38952 (newtoken): Don't check %isknown.
38954 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
38955 Do not expect macro.
38956 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
38957 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
38958 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
38959 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
38960 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
38961 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
38962 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
38963 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
38964 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
38965 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
38966 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
38967 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
38968 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
38969 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
38970 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
38971 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
38972 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
38973 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
38974 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
38975 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
38976 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
38977 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
38978 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
38979 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
38980 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
38981 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
38982 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
38983 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
38984 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
38985 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
38986 [XPG3] (acosh): Likewise.
38987 [XPG3] (asinh): Likewise.
38988 [XPG3] (atanh): Likewise.
38989 [XPG3] (cbrt): Likewise.
38990 [XPG3] (expm1): Likewise.
38991 [XPG3] (ilogb): Likewise.
38992 [XPG3] (log1p): Likewise.
38993 [XPG3] (logb): Likewise.
38994 [XPG3] (nextafter): Likewise.
38995 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
38996 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
38997 [XPG3] (remainder): Likewise.
38998 [XPG3] (rint): Likewise.
38999 [XPG3 || XPG4 || UNIX98] (round): Likewise.
39000 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
39001 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
39002 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
39003 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
39004 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
39005 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
39006 [UNIX98 || XOPEN2K] (scalb): Expect.
39007 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
39008 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
39009 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
39010 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
39011 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
39012 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
39013 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
39014 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
39015 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
39016 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
39017 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
39018 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
39019 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
39020 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
39021 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
39022 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
39023 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
39024 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
39025 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
39026 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
39027 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
39028 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
39029 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
39030 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39031 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39032 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39033 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39034 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39035 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
39036 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
39037 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
39038 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
39039 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
39040 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
39041 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
39042 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
39043 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
39044 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
39045 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
39046 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
39047 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
39048 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
39049 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
39050 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
39051 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
39052 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
39053 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
39054 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
39055 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
39056 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
39057 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
39058 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
39059 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
39060 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
39061 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
39062 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
39063 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
39064 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
39065 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
39066 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
39067 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
39068 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
39069 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
39070 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
39071 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
39072 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
39073 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
39074 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
39075 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
39076 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
39077 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
39078 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
39079 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
39080 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
39081 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
39082 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
39083 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
39084 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
39085 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
39086 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
39087 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
39088 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
39089 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
39090 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
39091 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
39092 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
39093 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
39094 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
39095 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
39096 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
39097 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
39098 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
39099 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
39100 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
39101 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
39102 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
39103 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
39104 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
39105 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
39106 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
39107 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
39108 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
39109 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
39110 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
39111 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
39112 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
39113 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
39114 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
39115 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
39116 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
39117 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
39118 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
39119 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
39120 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
39121 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
39122 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
39123 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
39124 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
39125 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
39126 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
39127 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
39128 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
39129 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
39130 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
39131 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
39132 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
39133 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
39134 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
39135 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
39136 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
39137 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
39138 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
39139 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
39140 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
39141 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
39142 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
39143 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
39145 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
39146 _XOPEN_SOURCE_EXTENDED for XPG4.
39148 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
39150 * Makeconfig (localtime): Remove variable.
39151 (inst_localtime-file): Likewise.
39153 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
39157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
39161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
39167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
39171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39174 2012-05-01 Joseph Myers <joseph@codesourcery.com>
39178 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
39179 comparisons to determine direction to adjust input.
39180 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
39181 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
39182 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
39184 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
39186 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39188 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
39189 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
39191 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
39193 * math/libm-test.inc (nexttoward_test): Add more tests.
39195 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39198 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
39199 in version GLIBC_2.1, not GLIBC_2.0.
39200 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
39203 2012-04-30 Joseph Myers <joseph@codesourcery.com>
39206 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
39208 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39209 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
39210 * math/libm-test.inc (acos_test): Add more tests.
39211 (asin_test): Likewise.
39212 * sysdeps/i386/fpu/libm-test-ulps: Update.
39213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39216 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
39218 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
39219 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39220 * math/libm-test.inc (acos_test_tonearest): New function.
39221 (acos_test_towardzero): Likewise.
39222 (acos_test_downward): Likewise.
39223 (acos_test_upward): Likewise.
39224 (asin_test_tonearest): Likewise.
39225 (asin_test_towardzero): Likewise.
39226 (asin_test_downward): Likewise.
39227 (asin_test_upward): Likewise.
39228 (main): Call the new functions.
39229 * sysdeps/i386/fpu/libm-test-ulps: Update.
39230 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39234 * math/e_exp10.c: Include <float.h>.
39235 (__ieee754_exp10): Handle underflow here rather than multiplying
39236 large negative argument by M_LN10.
39237 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
39239 * math/e_exp10l.c: Include <float.h>.
39240 (__ieee754_exp10l): Handle underflow here rather than multiplying
39241 large negative argument by M_LN10l.
39242 * math/libm-test.inc (exp10_test): Add another test. Do not allow
39243 spurious overflow exception on underflow.
39245 2012-04-29 Marek Polacek <polacek@redhat.com>
39247 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
39248 (__fortify_function): New macro.
39249 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
39250 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
39251 __extern_always_inline.
39252 * libio/bits/stdio2.h: Likewise.
39253 * libio/bits/stdio.h: Likewise.
39254 * string/string.h: Likewise.
39255 * string/bits/string3.h: Likewise.
39256 * include/stdio.h: Likewise.
39257 * stdlib/bits/stdlib.h: Likewise.
39258 * stdlib/stdlib.h: Likewise.
39259 * rt/bits/mqueue2.h: Likewise.
39260 * rt/mqueue.h: Likewise.
39261 * posix/bits/unistd.h: Likewise.
39262 * posix/unistd.h: Likewise.
39263 * io/bits/poll2.h: Likewise.
39264 * io/bits/fcntl2.h: Likewise.
39265 * io/fcntl.h: Likewise.
39266 * io/sys/poll.h: Likewise.
39267 * misc/bits/syslog.h: Likewise.
39268 * misc/bits/syslog-ldbl.h: Likewise.
39269 * misc/sys/syslog.h: Likewise.
39270 * socket/bits/socket2.h: Likewise.
39271 * socket/sys/socket.h: Likewise.
39272 * debug/tst-chk1.c: Likewise.
39273 * wcsmbs/bits/wchar2.h: Likewise.
39274 * wcsmbs/bits/wchar-ldbl.h: Likewise.
39275 * wcsmbs/wchar.h: Likewise.
39277 2012-04-29 Andreas Jaeger <aj@suse.de>
39279 * Makerules (tests): Remove enable-check-abi protection.
39280 (check-abi-warn): Remove.
39281 (check-abi-%): Remove check-abi-warn usage.
39283 * configure.in: Remove check-abi configure option.
39284 * configure: Regenerated.
39285 * config.make.in (enable-check-abi): Remove.
39287 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
39290 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
39291 double functions to double *_finite functions.
39294 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
39295 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
39297 * stdio-common/Makefile (tests): Add tst-sprintf3.
39298 * stdio-common/tst-sprintf3.c: New file.
39300 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
39301 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
39303 2012-04-28 Joseph Myers <joseph@codesourcery.com>
39305 * conform/conformtest.pl: Remove duplicate typed-constant
39308 2012-04-28 David S. Miller <davem@davemloft.net>
39310 * Makerules (%.abilist): Add vpath on sysdep_dirs.
39311 (check-abi-%): Remove AWK script prerequisite and explicit
39313 (check-abi): Rewrite to just diff the symlist with the abilist.
39314 (config-tls, config-abi-config): Delete, no longer used.
39315 (update-abi-%): Remove AWK script and explicit abilist directory.
39316 (update-abi): Rewrite to simply compare and conditionally copy the
39317 symlist and the sysdep abilist file. Remove update-abi-config
39319 * abilist/ld.abilist: Remove.
39320 * abilist/libBrokenLocale.abilist: Remove.
39321 * abilist/libanl.abilist: Remove.
39322 * abilist/libcrypt.abilist: Remove.
39323 * abilist/libdl.abilist: Remove.
39324 * abilist/librt.abilist: Remove.
39325 * abilist/libthread_db.abilist: Remove.
39326 * abilist/libutil.abilist: Remove.
39327 * scripts/extract-abilist.awk: Remove.
39328 * scripts/merge-abilist.awk: Remove.
39329 * sysdeps/generic/libcidn.abilist: New file.
39330 * sysdeps/generic/libnss_compat.abilist: New file.
39331 * sysdeps/generic/libnss_db.abilist: New file.
39332 * sysdeps/generic/libnss_dns.abilist: New file.
39333 * sysdeps/generic/libnss_files.abilist: New file.
39334 * sysdeps/generic/libnss_hesiod.abilist: New file.
39335 * sysdeps/generic/libnss_nis.abilist: New file.
39336 * sysdeps/generic/libnss_nisplus.abilist: New file.
39337 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
39338 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
39339 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
39341 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
39342 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
39343 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
39344 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
39345 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
39346 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
39347 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
39348 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
39349 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
39351 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
39352 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
39353 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
39354 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
39356 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
39357 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
39358 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
39359 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
39360 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
39361 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
39363 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
39364 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
39365 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
39367 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
39368 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
39370 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
39372 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
39374 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
39376 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
39378 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
39380 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
39382 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
39384 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
39386 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
39388 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
39390 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
39392 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
39394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
39396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
39398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
39400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
39402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
39404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
39406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
39408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
39410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
39421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
39423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
39427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
39429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
39431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
39433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
39435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
39439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
39441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
39445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
39446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
39448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
39452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
39454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
39456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
39458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
39460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
39464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
39466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
39470 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39471 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
39472 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
39474 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
39475 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
39476 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
39477 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
39478 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
39479 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
39480 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
39481 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
39482 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
39483 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
39484 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
39485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
39487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
39489 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
39491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
39493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
39495 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
39497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
39499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39501 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
39503 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
39505 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
39507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
39509 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
39510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
39512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
39514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
39516 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
39518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
39520 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
39522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
39524 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39526 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
39528 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
39530 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
39532 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
39535 2012-04-28 Joseph Myers <joseph@codesourcery.com>
39537 * conform/conformtest.pl: Fix typo in handling typed-constant from
39540 2012-04-27 Joseph Myers <joseph@codesourcery.com>
39542 * README: Cut down references to pre-2.6 Linux kernels and
39543 Linuxthreads. Update lists of configurations in libc and ports
39544 and sort alphabetically. Say "or newer" with Linux kernel version
39547 * config.h.in [IS_IN_build]: Allow compiling without optimization.
39549 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
39552 * math/libm-test.inc (logb_test_downward): New test to expose
39553 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
39556 2012-04-27 Joseph Myers <joseph@codesourcery.com>
39559 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
39561 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
39562 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
39564 2012-04-26 Joseph Myers <joseph@codesourcery.com>
39566 * sysdeps/unix/i386/brk.S: Remove file.
39567 * sysdeps/unix/i386/dl-brk.S: Likewise.
39568 * sysdeps/unix/i386/pipe.S: Likewise.
39569 * sysdeps/unix/i386/sigreturn.S: Likewise.
39570 * sysdeps/unix/i386/syscall.S: Likewise.
39571 * sysdeps/unix/i386/vfork.S: Likewise.
39572 * sysdeps/unix/i386/wait.S: Likewise.
39574 * sysdeps/unix/common/tcsendbrk.c: Move to ...
39575 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
39577 * configure.in (arm*-none*): Do not allow without
39578 --enable-hacker-mode.
39579 (netbsd*): Remove case setting base_os.
39580 (386bsd*): Likewise.
39581 (freebsd*): Likewise.
39584 (sunos*): Likewise.
39585 (ultrix*): Likewise.
39586 (newsos*): Likewise.
39587 (dynix*): Likewise.
39593 (minix*): Likewise.
39594 (irix4*): Likewise.
39595 (irix6*): Likewise.
39596 (solaris[2-9]*): Likewise.
39598 * configure: Regenerated.
39600 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39603 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
39604 overflow or cancellation in calculating denominator.
39605 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
39606 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
39607 down expression to avoid unexpected rounding in newer GCCs.
39608 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
39610 2012-04-26 David S. Miller <davem@davemloft.net>
39612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
39613 long-double compat symbols.
39614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
39618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
39620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
39621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
39622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
39623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
39624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
39625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
39626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39628 2012-04-25 David S. Miller <davem@davemloft.net>
39630 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
39631 HWCAP_* values only after the memory barriers have been defined.
39632 (atomic_full_barrier): Define.
39633 (atomic_read_barrier): Define.
39634 (atomic_write_barrier): Define.
39636 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39638 * shlib-versions: Add libgcc_s version information.
39639 * sysdeps/generic/libgcc_s.h: Remove.
39640 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
39642 * sysdeps/gnu/unwind-resume.c: Likewise.
39643 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
39645 2012-04-25 David S. Miller <davem@davemloft.net>
39647 * sysdeps/unix/sparc/brk.S: Delete.
39648 * sysdeps/unix/sparc/dl-brk.S: Delete.
39649 * sysdeps/unix/sparc/pipe.S: Delete.
39650 * sysdeps/unix/sparc/sysdep.S: Delete.
39651 * sysdeps/unix/sparc/sysdep.h: Delete.
39652 * sysdeps/unix/sparc/vfork.S: Delete.
39653 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
39654 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
39655 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
39656 (ret_ERRVAL, r0, r1, MOVE): Define.
39657 (JUMPTARGET): Remove.
39658 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
39659 sysdeps/unix/sparc/sysdep.h
39660 (ENTRY, END): Remove.
39661 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39663 2012-04-25 Joseph Myers <joseph@codesourcery.com>
39665 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
39666 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
39669 * timezone/README: Update upstream location and email address for
39671 * timezone/zdump.c: Update from tzcode 2012b.
39672 * timezone/zic.c: Likewise.
39674 * configure.in (libc_cv_as_needed): Remove test.
39675 * configure: Regenerated.
39676 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
39677 conditional definition.
39678 [$(have-as-needed) != yes] (no-as-needed): Likewise.
39679 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
39680 * config.make.in (have-as-needed): Remove variable.
39682 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39683 Paul Pluzhnikov <ppluzhnikov@google.com>
39685 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
39688 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
39690 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
39691 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
39692 * sysdeps/sh/strlen.S: Likewise.
39694 2012-04-24 Joseph Myers <joseph@codesourcery.com>
39696 * sysdeps/unix/fork.S: Remove file.
39697 * sysdeps/unix/i386/fork.S: Likewise.
39698 * sysdeps/unix/sparc/fork.S: Likewise.
39700 * sysdeps/unix/system.c: Remove file.
39701 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
39703 * sysdeps/unix/getegid.S: Remove file.
39704 * sysdeps/unix/geteuid.S: Likewise.
39706 2012-04-24 Roland McGrath <roland@hack.frob.com>
39708 * scripts/check-localplt.awk: New file.
39709 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
39711 * scripts/data/localplt-generic.data: Add a comment.
39713 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
39714 NODE when __dir_mkfile failed.
39715 * sysdeps/mach/hurd/symlinkat.c: Likewise.
39716 Reported by Ludovic Courtès <ludo@gnu.org>.
39718 2012-04-24 Andreas Jaeger <aj@suse.de>
39720 * Makerules (common-clean): Also remove gen-as-const-headers
39723 2012-04-24 Joseph Myers <joseph@codesourcery.com>
39725 * Makerules (native-compile): Do not change working directory for
39726 build. Use $(OUTPUT_OPTION) in command.
39727 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
39729 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39732 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
39733 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
39734 * math/libm-test.inc (floor_test): Add more tests.
39735 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
39737 2012-04-24 Joseph Myers <joseph@codesourcery.com>
39739 * sysdeps/unix/getdents.c: Remove file.
39740 * sysdeps/unix/sysv/getdents.c: Likewise.
39741 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
39743 * sysdeps/unix/syscalls.list (madvise): Add syscall from
39744 sysdeps/unix/mman/syscalls.list.
39746 (mprotect): Likewise.
39748 (munmap): Likewise.
39749 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
39750 * sysdeps/unix/mman/syscalls.list: Remove.
39751 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
39753 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
39754 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
39755 * configure: Regenerated.
39756 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
39757 $(libgcc_s_suffix).
39758 * config.make.in (libgcc_s_suffix): Remove variable.
39760 2012-04-23 Joseph Myers <joseph@codesourcery.com>
39762 * sysdeps/unix/sysv/gethostname.c: Move to ...
39763 * sysdeps/posix/gethostname.c: ... here.
39765 * sysdeps/unix/execve.S: Remove file.
39767 * sysdeps/unix/_exit.S: Remove file.
39769 2012-04-23 Andreas Jaeger <aj@suse.de>
39772 * manual/Makefile: Remove make dist support, there's no
39773 need for a stand-alone documentation tar ball.
39774 (TEXI2DVI): Define always, it's not in Makeconfig.
39777 (edition): Removed.
39778 (glibc-doc-$(edition).tar): Removed
39782 (ETAGS): Remove, it's in Makeconfig.
39783 (move-if-change): Remove, it's in Makeconfig.
39785 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
39788 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
39789 (strtod, strtof, strtold, strtol, strtoul, strtoq)
39790 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
39791 (strtod_l, strtof_l, strtold_l): Remove __wur.
39792 It is not necessarily an error to ignore strtol's return value.
39793 One can reliably look at the stored endptr to decide whether
39794 the number had valid syntax.
39796 2012-04-21 Andreas Jaeger <aj@suse.de>
39799 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
39801 2012-04-21 Joseph Myers <joseph@codesourcery.com>
39803 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
39804 * sysdeps/unix/sysv/Versions: Remove file.
39806 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
39809 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39811 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
39814 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
39815 version from __vm86.
39817 2012-04-20 Joseph Myers <joseph@codesourcery.com>
39819 * sysdeps/unix/common/lxstat.c: Remove file.
39820 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
39822 * sysdeps/unix/sysv/Makefile: Remove file.
39824 * sysdeps/unix/sysv/direct.h: Remove file.
39826 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
39827 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
39828 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
39829 * sysdeps/unix/sysv/bits/signum.h: Likewise.
39830 * sysdeps/unix/sysv/bits/stat.h: Likewise.
39831 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
39832 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
39834 * sysdeps/unix/sysv/setrlimit.c: Remove file.
39836 * sysdeps/unix/xmknod.c: Remove file.
39837 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
39839 * sysdeps/unix/sysv/settimeofday.c: Remove file.
39841 * sysdeps/unix/sysv/i386/time.S: Remove file.
39843 * sysdeps/unix/fxstat.c: Remove file.
39844 * sysdeps/unix/xstat.c: Likewise.
39845 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
39847 * sysdeps/unix/sysv/sigaction.c: Remove file.
39849 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
39850 (sysdep_headers): Remove variable.
39851 [termio.h not in sysdep_headers] (generated): Likewise.
39852 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
39853 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
39854 * sysdeps/unix/sysv/tcdrain.c: Likewise.
39855 * sysdeps/unix/sysv/tcflow.c: Likewise.
39856 * sysdeps/unix/sysv/tcflush.c: Likewise.
39857 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
39858 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
39859 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
39860 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
39861 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
39863 * sysdeps/unix/siglist.c: Remove file.
39865 * sysdeps/unix/getppid.S: Remove file.
39867 * sysdeps/unix/mkdir.c: Remove file.
39868 * sysdeps/unix/rmdir.c: Likewise.
39870 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
39872 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
39874 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
39875 errlist-compat value.
39877 2012-04-18 David S. Miller <davem@davemloft.net>
39879 * sysdeps/generic/memcopy.h (reg_char): Delete.
39880 * debug/strcat_chk.c: Use char, not reg_char.
39881 * debug/strcpy_chk.c: Likewise.
39882 * debug/strncat_chk.c: Likewise.
39883 * debug/strncpy_chk.c: Likewise.
39884 * string/memchr.c: Likewise.
39885 * string/memrchr.c: Likewise.
39886 * string/rawmemchr.c: Likewise.
39887 * string/strcat.c: Likewise.
39888 * string/strchr.c: Likewise.
39889 * string/strchrnul.c: Likewise.
39890 * string/strcmp.c: Likewise.
39891 * string/strcpy.c: Likewise.
39892 * string/strncat.c: Likewise.
39893 * string/strncmp.c: Likewise.
39894 * string/strncpy.c: Likewise.
39896 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39898 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
39899 __builtin_memcopy is called when src and dest ranges are known to not
39902 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39904 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
39905 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
39906 fwd_align_merge macro call.
39907 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
39908 bwd_align_merge macro call.
39909 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39911 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39913 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
39914 bwd_align_merge macros.
39915 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
39916 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
39917 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39919 2012-04-18 David S. Miller <davem@davemloft.net>
39921 * sysdeps/sparc/sparc64/memcopy.h: Delete.
39923 2012-04-18 Andreas Jaeger <aj@suse.de>
39926 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
39927 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
39928 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39930 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
39931 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
39932 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39934 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
39935 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
39936 Adjust for changed ldbl-128 files.
39938 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
39939 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
39940 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39942 2012-04-17 David S. Miller <davem@davemloft.net>
39944 * sysdeps/sparc/sparc32/memcopy.h: Delete.
39946 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
39948 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
39949 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
39950 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
39951 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
39952 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
39953 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
39955 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39958 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
39959 * math/libm-test.inc: Add ilogb errno and exception tests.
39960 * math/w_ilogb.c: New file: ilogb wrapper.
39961 * math/w_ilogbf.c: New file: ilogbf wrapper.
39962 * math/w_ilogbl.c: New file: ilogbl wrapper.
39963 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
39964 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
39965 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
39966 exception being thrown with 0.0 as argument.
39967 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
39968 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
39969 exception being thrown with 0.0 as argument.
39970 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
39971 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39972 exception being thrown with 0.0 as argument.
39973 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
39974 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39975 exception being thrown with 0.0 as argument.
39976 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
39977 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
39978 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
39979 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
39980 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
39981 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
39982 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
39983 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
39984 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
39986 2012-04-17 Petr Baudis <pasky@ucw.cz>
39988 * include/sys/uio.h: Change __vector to __iovec to avoid clash
39991 2012-04-16 Marek Polacek <polacek@redhat.com>
39993 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
39995 2012-04-16 Marek Polacek <polacek@redhat.com>
39997 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
39998 operands of fdivp instruction.
40000 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40002 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
40003 * elf/tst-auditmod3b.c: Likewise.
40004 * elf/tst-auditmod4b.c: Likewise.
40005 * elf/tst-auditmod5b.c: Likewise.
40006 * elf/tst-auditmod6b.c: Likewise.
40007 * elf/tst-auditmod6c.c: Likewise.
40008 * elf/tst-auditmod7b.c: Likewise.
40009 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
40010 * sysdeps/x86_64/preconfigure.in: Likewise.
40011 * sysdeps/x86_64/preconfigure: Regenerated.
40013 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40015 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
40018 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
40020 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40021 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
40023 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
40026 * locale/iso-639.def: Fix gl language name. Spotted by
40029 2012-04-12 Roland McGrath <roland@hack.frob.com>
40032 * libio/libio.h (__io_write_fn): Update comment.
40034 2012-04-12 Petr Baudis <pasky@ucw.cz>
40037 * stdio.texi (Hook Functions): The user provided writer function
40038 is not allowed to return -1.
40040 2012-04-11 David S. Miller <davem@davemloft.net>
40042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40044 2012-04-11 Mike Frysinger <vapier@gentoo.org>
40046 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
40047 Add a leading slash to rtkaio.
40049 2012-04-11 Jim Meyering <meyering@redhat.com>
40052 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
40053 It is not necessarily an error to ignore fwrite's return
40054 value. One can reliably use ferror to test for errors after
40057 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40059 * bits/types.h (__snseconds_t): New type.
40060 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
40062 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
40063 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40064 (__SNSECONDS_T_TYPE): Likewise.
40065 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40066 (__SNSECONDS_T_TYPE): Likewise.
40067 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40068 (__SNSECONDS_T_TYPE): Likewise.
40070 2012-04-10 Andreas Jaeger <aj@suse.de>
40073 * manual/time.texi (Processor Time): Return type of times is
40074 elapsed real time since an arbitrary point in the past.
40075 (CPU Time): Move CLK_TCK from here...
40076 (Processor Time): ...to here. Correct description.
40077 * manual/conf.texi (Constants for Sysconf): Correct description of
40080 2012-04-10 David S. Miller <davem@davemloft.net>
40083 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
40084 where the is a gap between DT_REL(A) and DT_JMPREL.
40086 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40088 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
40089 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40090 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40092 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
40094 * elf/dl-support.c (_dl_inhibit_cache): New variable.
40095 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
40096 (dl_main): Handle --inhibit-cache.
40097 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
40099 * elf/dl-load.c (_dl_map_object): Use it.
40100 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
40102 2012-04-09 Joseph Myers <joseph@codesourcery.com>
40105 * sysdeps/i386/fpu/e_powl.S (p78): New object.
40106 (__ieee754_powl): Saturate large exponents rather than testing for
40107 overflow of y*log2(x).
40108 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40109 * math/libm-test.inc (pow_test): Do not permit spurious overflow
40113 * math/s_ctan.c: Include <float.h>.
40114 (__ctan): Avoid internal overflow or cancellation in calculating
40116 * math/s_ctanf.c: Likewise.
40117 * math/s_ctanl.c: Likewise.
40118 * math/s_ctanh.c: Likewise.
40119 * math/s_ctanhf.c: Likewise.
40120 * math/s_ctanhl.c: Likewise.
40121 * math/libm-test.inc (ctan_test): Add more tests.
40122 (ctanh_test): Likewise.
40123 * sysdeps/i386/fpu/libm-test-ulps: Update.
40124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40126 2012-04-09 Andreas Jaeger <aj@suse.de>
40129 * manual/filesys.texi (Directory Entries): Mention that d_namlen
40130 is an optional BSD extension.
40133 * manual/stdio.texi (Opening Streams): Document additional fopen
40136 2012-04-09 Roland McGrath <roland@hack.frob.com>
40138 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
40139 %eax without telling the compiler.
40141 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
40144 * manual/install.texi: Use sourceware.org.
40146 2012-04-09 Joseph Myers <joseph@codesourcery.com>
40149 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
40150 (__ieee754_pow): Generate overflow and underflow using huge*huge
40151 and tiny*tiny rather than just returning constant infinity or zero
40152 for large exponents.
40153 * math/libm-test.inc (pow_test): Require overflow exceptions for
40154 applicable cases of large exponents.
40157 * sysdeps/i386/fpu/e_pow.S (p10): New object.
40158 (__ieee754_pow): Use iterative multiplication algorithm only for
40159 integer exponents with absolute value below 1024. Check for odd
40160 integer exponents when using algorithm for real exponents.
40161 * math/libm-test.inc (pow_test): Add more tests.
40162 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40164 2012-04-08 Joseph Myers <joseph@codesourcery.com>
40167 * math/libm-test.inc (exp_test): Do not allow overflow exception
40170 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
40173 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
40174 instead of __kernel_standard_f.
40176 2012-04-08 Mike Frysinger <vapier@gentoo.org>
40178 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
40179 * sysdeps/x86_64/memset_chk.S: Likewise.
40181 2012-04-08 Andreas Jaeger <aj@suse.de>
40184 * manual/startup.texi (Environment Access): Describe return value
40185 for putenv and setenv.
40188 * manual/filesys.texi (Directory Entries): Add description for
40192 * manual/filesys.texi (Directory Entries): Clarify that it's file
40193 system not operating system in the description of DT_UNKNOWN.
40196 * manual/syslog.texi (closelog): Fix reference, it's openlog.
40198 2012-04-08 Stephen Compall <s11@member.fsf.org>
40201 * manual/llio.texi (Opening and Closing Files): Add cross
40202 reference to explain mode argument.
40204 2012-04-07 Mike Frysinger <vapier@gentoo.org>
40206 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
40207 * sysdeps/x86_64/memset_chk.S: Likewise.
40209 2012-04-07 David S. Miller <davem@davemloft.net>
40211 * elf/elf.h (R_SPARC_WDISP10): Define.
40212 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
40214 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
40215 R_SPARC_SIZE64 and R_SPARC_H34.
40217 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
40219 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
40220 conditions and remove no longer applicable assertion.
40222 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40224 * bits/byteswap.h: Include <features.h>.
40225 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40226 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40228 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40230 * bits/byteswap.h (__bswap_16): Removed.
40231 Include <bits/byteswap-16.h> to get __bswap_16.
40232 * sysdeps/i386/bits/byteswap.h: Likewise.
40233 * sysdeps/s390/bits/byteswap.h: Likewise.
40234 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40235 * bits/byteswap-16.h: New file.
40236 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40237 * sysdeps/s390/bits/byteswap-16.h: Likewise.
40238 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
40239 * string/Makefile (headers): Add bits/byteswap-16.h.
40241 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40244 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
40246 * nss/Makefile (tests-static, tests): Add tst-nss-static.
40247 * nss/tst-nss-static.c: New.
40249 2012-04-06 Robert Millan <rmh@gnu.org>
40252 * manual/llio.texi (File Position Primitive): lseek
40253 refers to WHENCE when it really means OFFSET.
40255 2012-04-06 Andreas Jaeger <aj@suse.de>
40257 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
40258 strncmp declarations.
40260 * abilist/libc.abilist: Add __poll and __ppoll.
40262 2012-04-05 David S. Miller <davem@davemloft.net>
40264 * scripts/check-local-headers.sh: Accept a host triplet in the
40265 path matched by the exclude regexp.
40267 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
40269 * sysdeps/powerpc/powerpc32/dl-machine.h
40270 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
40271 * sysdeps/s390/s390-32/dl-machine.h
40272 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40273 * sysdeps/sparc/sparc32/dl-machine.h
40274 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40275 * sysdeps/sparc/sparc64/dl-machine.h
40276 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40278 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
40280 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
40281 undefined symbol errors.
40283 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
40286 2012-04-05 Michael Matz <matz@suse.de>
40289 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
40291 2012-04-05 Andreas Jaeger <aj@suse.de>
40294 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
40297 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40299 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
40300 which ROUND is no valid rounding mode.
40302 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40304 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
40306 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
40308 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40310 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
40311 an exception using FPU order intentionally.
40313 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40315 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
40316 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
40317 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
40318 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
40320 2012-04-05 Simon Josefsson <simon@josefsson.org>
40323 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
40324 EINVAL when BUFLEN is too smal.
40326 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
40329 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
40330 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
40332 2012-04-03 Andreas Jaeger <aj@suse.de>
40335 * manual/setjmp.texi (System V contexts): Fix sentence.
40338 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
40339 New macro for this case.
40340 [!__GNUC__] (__bswap_64): New inline function for this case.
40341 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40342 * bits/byteswap.h: Likewise.
40343 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
40344 ull, guard with __GLIBC_HAVE_LONG_LONG.
40346 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
40347 __GLIBC_HAVE_LONG_LONG.
40349 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
40350 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
40352 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40355 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
40356 inptr and inend, rather than using last_ch.
40358 2012-04-02 David S. Miller <davem@davemloft.net>
40360 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
40361 * stdio-common/printf-parse.h (read_int): Change return type to
40362 'int', return -1 on INT_MAX overflow.
40363 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
40364 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
40365 overflows INT_MAX. Check for overflow of in-format-string precision
40366 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
40367 SIZE_MAX not INT_MAX for integer overflow test.
40368 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
40369 skip the construct in the format string but do not record anything.
40370 * stdio-common/bug22.c: Adjust to test both width/prevision
40371 INT_MAX overflow as well as total length INT_MAX overflow. Check
40372 explicitly for proper errno values.
40374 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
40376 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
40378 * string/test-strcmp.c [! WIDE]: Likewise.
40379 * time/tst-mktime2.c: Likewise for INT_MAX.
40380 * string/test-string.h: #include <sys/param.h> for MIN.
40382 * csu/init-first.c (__libc_init_first): Call __ctype_init.
40383 * sysdeps/i386/init-first.c (init): Likewise.
40384 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
40385 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
40386 * sysdeps/sh/init-first.c (init): Likewise.
40388 2012-04-01 Ulrich Drepper <drepper@gmail.com>
40390 * po/ru.po: Update from translation team.
40391 * po/vi.po: Likewise.
40393 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
40395 * resolv/nss_dns/dns-host.c: Merge copyright years.
40397 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40399 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40400 Optimize memcpy with prefetch if
40401 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
40402 src, dst pointers have unequal 16 byte alignments.
40404 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40407 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
40408 from a CNAME entry and return the minimum ttl for the query.
40409 (gaih_getanswer_slice): Likewise.
40411 2012-03-30 Jeff Law <law@redhat.com>
40413 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
40415 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
40416 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
40418 * resolv/nss_dns/dns-host.c: Update copyright year.
40420 2012-03-30 Ulrich Drepper <drepper@gmail.com>
40422 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
40423 requests to save a system call. Fix check that all bytes are sent.
40425 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
40426 comments for sendmmsg.
40428 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40431 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
40432 with only 1 character between 0x0041 and 0x01b0.
40433 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
40434 * wcsmbs/tst-mbsnrtowcs.c: New file.
40436 2012-03-29 David S. Miller <davem@davemloft.net>
40438 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
40439 small copies by hand.
40441 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40444 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
40445 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
40448 2012-03-28 David S. Miller <davem@davemloft.net>
40450 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
40451 that branches into memcpy.
40452 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40453 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
40454 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40455 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
40456 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
40458 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
40459 implementation too.
40460 * sysdeps/sparc/mempcpy.S: New file.
40462 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
40463 the IFUNC routine in the libc case.
40464 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40466 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
40467 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
40468 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
40469 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
40470 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
40471 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
40472 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
40473 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
40475 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
40476 loop to 256 bytes instead of 64 bytes and fix test signedness.
40478 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
40479 * sysdeps/sparc/sparc32/Makefile: rather than here...
40480 * sysdeps/sparc/sparc64/Makefile: and here.
40482 2012-03-28 Ulrich Drepper <drepper@gmail.com>
40484 * malloc/mallocbug.c: Avoid warnings about unused variables.
40486 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
40489 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
40490 in the right place. Discard and retry query if response is
40491 larger than input buffer size.
40493 2012-03-28 Joseph Myers <joseph@codesourcery.com>
40498 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
40499 x for large integer exponent.
40500 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40501 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
40502 sign of result as needed afterwards.
40503 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40504 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
40505 result for underflowing pow the same as for overflow.
40506 (__kernel_standard_l): Handle powl overflow and underflow here
40507 rather than calling __kernel_standard.
40508 * math/libm-test.inc (pow_test): Add more tests.
40523 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
40524 * sysdeps/ieee754/k_standard.c: Include <float.h>.
40525 (__kernel_standard_l): New function.
40526 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
40528 * math/w_acosl.c (__acosl): Likewise.
40529 * math/w_asinl.c (__asinl): Likewise.
40530 * math/w_atan2l.c (__atan2l): Likewise.
40531 * math/w_atanhl.c (__atanhl): Likewise.
40532 * math/w_coshl.c (__coshl): Likewise.
40533 * math/w_exp10l.c (__exp10l): Likewise.
40534 * math/w_exp2l.c (__exp2l): Likewise.
40535 * math/w_fmodl.c (__fmodl): Likewise.
40536 * math/w_hypotl.c (__hypotl): Likewise.
40537 * math/w_j0l.c (__j0l, __y0l): Likewise.
40538 * math/w_j1l.c (__j1l, __y1l): Likewise.
40539 * math/w_jnl.c (__jnl, __ynl): Likewise.
40540 * math/w_lgammal.c (__lgammal): Likewise.
40541 * math/w_log10l.c (__log10l): Likewise.
40542 * math/w_log2l.c (__log2l): Likewise.
40543 * math/w_logl.c (__logl): Likewise.
40544 * math/w_powl.c (__powl): Likewise.
40545 * math/w_remainderl.c (__remainderl): Likewise.
40546 * math/w_scalbl.c (sysv_scalbl): Likewise.
40547 * math/w_sinhl.c (__sinhl): Likewise.
40548 * math/w_sqrtl.c (__sqrtl): Likewise.
40549 * math/w_tgammal.c (__tgammal): Likewise.
40550 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
40551 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
40552 * math/libm-test.inc (acos_test): Add more tests.
40553 (acosh_test): Likewise.
40554 (asin_test): Likewise.
40555 (atanh_test): Likewise.
40556 (exp_test): Likewise.
40557 (exp10_test): Likewise.
40558 (exp2_test): Likewise.
40559 (expm1_test): Likewise.
40560 (lgamma_test): Likewise.
40561 (log_test): Likewise.
40562 (log10_test): Likewise.
40563 (log1p_test): Likewise.
40564 (log2_test): Likewise.
40565 (pow_test): Do not allow some spurious overflow exceptions.
40566 (sqrt_test): Add more tests.
40567 (tgamma_test): Likewise.
40568 (y0_test): Likewise.
40569 (y1_test): Likewise.
40570 (yn_test): Likewise.
40572 2012-03-27 Anton Blanchard <anton@samba.org>
40574 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
40576 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40577 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40578 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40580 2012-03-27 David S. Miller <davem@davemloft.net>
40582 * conform/Makefile: Run run-conformtest.sh using $(BASH).
40584 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
40585 have-as-vis3 check.
40587 2012-03-27 Andreas Jaeger <aj@suse.de>
40589 * sysdeps/x86_64/elf/configure.in: Moved to ...
40590 * sysdeps/x86_64/configure.in: ... here.
40591 * sysdeps/x86_64/elf/start.S: Moved to ...
40592 * sysdeps/x86_64/start.S: ... here.
40593 * sysdeps/x86_64/elf/configure: Delete.
40595 * sysdeps/x86_64/configure.in: Merge contents from
40596 sysdeps/i386/configure.in (without i686 check).
40598 * sysdeps/i386/elf/Versions: Merge into ...
40599 * sysdeps/i386/Versions: ... this.
40600 * sysdeps/i386/elf/Versions: Delete file.
40601 * sysdeps/i386/elf/start.S: Moved to ...
40602 * sysdeps/i386/start.S: ...here.
40603 * sysdeps/i386/elf/configure.in: Merge into...
40604 * sysdeps/i386/configure.in: ...here.
40605 * sysdeps/i386/elf/configure.in: Delete file.
40606 * sysdeps/i386/elf/configure: Delete file.
40608 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
40609 * debug/backtracesyms.c: ... here.
40610 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
40611 * debug/backtracesymsfd.c: ... here.
40612 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
40613 * sysdeps/generic/ifunc-sel.h: ... here.
40615 * sysdeps/unix/i386/start.c: Delete file.
40616 * sysdeps/unix/sparc/start.c: Delete file.
40617 * sysdeps/unix/start.c: Delete file.
40619 * sysdeps/sh/elf/configure.in: Moved to ...
40620 * sysdeps/sh/configure.in: ... here.
40621 * sysdeps/sh/elf/start.S: Moved to ...
40622 * sysdeps/sh/start.S: ... here.
40623 * sysdeps/sh/elf/configure: Delete file.
40625 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
40626 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
40627 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
40628 * sysdeps/powerpc/powerpc64/entry.h: ... here.
40629 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
40630 * sysdeps/powerpc/powerpc64/start.S: here.
40631 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
40632 * sysdeps/powerpc/powerpc64/Makefile: ... this.
40633 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
40634 * sysdeps/powerpc/powerpc64/configure.in: ... this.
40635 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
40637 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
40638 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
40639 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
40640 * sysdeps/powerpc/powerpc32/start.S: ... here.
40641 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
40642 * sysdeps/powerpc/powerpc32/configure.in: ... this.
40643 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
40645 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
40646 * sysdeps/powerpc/ifunc-sel.h: ... here.
40647 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
40648 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
40650 * sysdeps/sparc/elf/configure.in: Moved to ...
40651 * sysdeps/sparc/configure.in: ... here.
40652 * sysdeps/sparc/elf/configure: Delete file.
40653 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
40654 * sysdeps/sparc/sparc32/start.S: ... here.
40655 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
40656 * sysdeps/sparc/sparc64/start.S: ... here.
40657 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
40658 * sysdeps/sparc/sparc32/Makefile: ... this.
40659 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
40660 * sysdeps/sparc/sparc64/Makefile: ... this.
40662 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
40663 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
40664 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
40665 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
40666 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
40667 * sysdeps/s390/s390-32/setjmp.S: ... here.
40668 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
40669 * sysdeps/s390/s390-32/configure.in: ... here.
40670 * sysdeps/s390/s390-32/elf/configure: Delete file.
40671 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
40672 * sysdeps/s390/s390-32/start.S: ... here.
40674 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
40675 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
40676 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
40677 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
40678 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
40679 * sysdeps/s390/s390-64/setjmp.S: ... here.
40680 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
40681 * sysdeps/s390/s390-64/configure.in: ... here
40682 * sysdeps/s390/s390-64/elf/configure: Delete file.
40683 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
40684 * sysdeps/s390/s390-64/start.S: ... here.
40685 * sysdeps/s390/s390-64/elf/configure: Delete.
40687 * configure.in: Remove support for elf directories in sysdeps.
40689 * configure: Regenerated.
40690 * sysdeps/i386/configure: Regenerated.
40691 * sysdeps/powerpc/powerpc32/configure: Regenerated.
40692 * sysdeps/powerpc/powerpc64/configure: Regenerated.
40693 * sysdeps/s390/s390-32/configure: Regenerated.
40694 * sysdeps/s390/s390-64/configure: Regenerated.
40695 * sysdeps/sh/configure: Regenerated.
40696 * sysdeps/sparc/configure: Regenerated.
40697 * sysdeps/x86_64/configure: Regenerated.
40699 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
40701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40703 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
40704 denormal result into account.
40706 2012-03-25 Roland McGrath <roland@hack.frob.com>
40708 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
40709 Reported by Allan McRae <allan@archlinux.org>.
40711 2012-03-23 Jeff Law <law@redhat.com>
40713 * nss/getnssent.c (__nss_getent): Fix typo.
40715 2012-03-23 David S. Miller <davem@davemloft.net>
40717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40719 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
40721 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
40722 to pad to uint64_t for each field.
40723 (dl_tls_index): Replace unsigned long with uint64_t.
40725 2012-03-23 Daniel Jacobowitz <dmj@google.com>
40726 Paul Pluzhnikov <ppluzhnikov@google.com>
40729 * grp/Makefile (otherlibs): Don't set it.
40730 * inet/Makefile (otherlibs): Likewise.
40731 * login/Makefile (otherlibs): Likewise.
40732 * nscd/Makefile (otherlibs): Likewise.
40733 * posix/Makefile (otherlibs): Likewise.
40734 * pwd/Makefile (otherlibs): Likewise.
40735 * rt/Makefile (otherlibs): Likewise.
40736 * sunrpc/Makefile (otherlibs): Likewise.
40737 * nss/Makefile (otherlibs): Likewise.
40738 Add libnss_files to routines and static-only-routines.
40739 ($(objpfx)getent): Remove rule.
40740 * resolv/Makefile: Add libnss_dns and libresolv to routines and
40741 static-only-routines.
40743 2012-03-22 Joseph Myers <joseph@codesourcery.com>
40746 * math/s_cexp.c: Include <float.h>.
40747 (__cexp): Handle exp result overflowing not necessarily
40748 overflowing both real and imaginary parts of result.
40749 * math/s_cexpf.c: Likewise.
40750 * math/s_cexpl.c: Likewise.
40751 * math/libm-test.inc (cexp_test): Add more tests.
40752 * sysdeps/i386/fpu/libm-test-ulps: Update.
40753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40755 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40757 * include/link.h (ELFW): New macro.
40758 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
40759 Replace ELF64_R_TYPE with ELFW(R_TYPE).
40761 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40763 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
40766 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40768 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
40770 (struct La_x32_retval): Likewise.
40772 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40774 * sysdeps/x86_64/preconfigure.in: New file.
40775 * sysdeps/x86_64/preconfigure: New generated file.
40777 2012-03-22 Joseph Myers <joseph@codesourcery.com>
40780 * math/e_exp2l.c: Include <float.h>.
40781 (__ieee754_exp2l): Handle overflow and underflow cases
40782 separately. Only pass fractional part of argument to
40784 * math/libm-test.inc (exp2_test): Add more tests.
40786 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
40787 negating x to take absolute value.
40788 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
40790 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
40791 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
40793 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
40794 computing low part if x was negated.
40795 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
40797 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40799 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
40800 la_x32_gnu_pltexit.
40801 (pltexit): Cast int_retval to ptrdiff_t.
40802 * elf/tst-auditmod3b.c: Likewise.
40803 * elf/tst-auditmod4b.c: Likewise.
40804 * elf/tst-auditmod5b.c: Likewise.
40805 * elf/tst-auditmod6b.c: Likewise.
40806 * elf/tst-auditmod6c.c: Likewise.
40807 * elf/tst-auditmod7b.c: Likewise.
40809 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
40810 and x32_gnu_pltexit.
40812 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
40813 __ELF_NATIVE_CLASS.
40814 (La_x32_regs): New macro.
40815 (La_x32_retval): Likewise.
40816 (la_x32_gnu_pltenter): New function prototype.
40817 (la_x32_gnu_pltexit): Likewise.
40819 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
40821 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
40824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40826 * configure.in (libc_cv_cc_nofma): Check for option to disable
40827 generation of FMA instructions.
40828 * configure: Regenerate.
40829 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
40830 * sysdeps/ieee754/dbl-64/Makefile: New file.
40831 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
40832 Remove brandred-fma4.
40833 (CFLAGS-brandred-fma4.c): Remove.
40834 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
40835 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
40837 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
40840 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40842 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40843 LLONG_MAX != LONG_MAX.
40844 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40845 (_fitoa_word): Likewise.
40846 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
40847 LLONG_MAX != LONG_MAX.
40848 * stdio-common/_itowa.h: Include <_itoa.h>.
40849 (_itowa_word): Use _ITOA_WORD_TYPE on value.
40850 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
40851 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
40852 only if not defined.
40853 (_ITOA_WORD_TYPE): Likewise.
40854 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40855 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
40857 2012-03-21 David S. Miller <davem@davemloft.net>
40859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40861 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40863 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
40864 of x86_64 when setting libc_cv_slibdir, libdir and
40866 * sysdeps/unix/sysv/linux/configure: Regenerated.
40868 2012-03-21 Joseph Myers <joseph@codesourcery.com>
40870 * manual/lang.texi (Old Varargs): Remove section.
40871 (How Variadic): Update menu.
40872 (va_start): Do not mention varargs.h.
40874 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
40875 Joseph Myers <joseph@codesourcery.com>
40877 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
40879 * configure: Regenerated.
40881 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
40883 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
40884 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
40887 2012-03-21 Joseph Myers <joseph@codesourcery.com>
40890 * Makefile (files-for-dist): Remove NOTES.
40891 (NOTES): Remove rule.
40892 * README: Don't refer to NOTES.
40893 * manual/creature.texi: Don't include macros.texi.
40894 * manual/intro.texi (creature.texi): Remove comment referring to
40897 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
40898 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
40899 * configure: Regenerated.
40900 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
40901 LIBC_TRY_CC_OPTION.
40902 (libc_cv_as_i686): Likewise.
40903 (libc_cv_cc_avx): Likewise.
40904 (libc_cv_cc_sse2avx): Likewise.
40905 (libc_cv_cc_fma4): Likewise.
40906 (libc_cv_cc_novzeroupper): Likewise.
40907 * sysdeps/i386/configure: Regenerated.
40910 * sysdeps/i386/fpu/s_cexp.S: Remove.
40911 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40912 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40913 * math/libm-test.inc (cexp_test): Add more tests.
40914 * sysdeps/i386/fpu/libm-test-ulps: Update.
40915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40917 2012-03-21 Allan McRae <allan@archlinux.org>
40919 * timezone/Makefile: Do not install iso3166.tab and zone.tab
40921 2012-03-21 Joseph Myers <joseph@codesourcery.com>
40924 * math/w_exp2.c: Do not include <float.h>.
40925 (o_threshold, u_threshold): Remove.
40926 (__exp2): Calculate result before checking finiteness and calling
40928 * math/w_exp2f.c: Likewise.
40929 * math/w_exp2l.c: Likewise.
40930 * math/libm-test.inc (exp2_test): Require overflow exception for
40934 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
40935 range of signed 64-bit integers before using fistpll. Remove
40936 checks for whether integers fit in mantissa bits.
40937 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
40938 the range of signed 32-bit integers before using fistpl. Remove
40939 checks for whether integers fit in mantissa bits.
40940 * sysdeps/i386/fpu/e_powl.S (p64): New object.
40941 (__ieee754_powl): Test for y outside the range of signed 64-bit
40942 integers before using fistpll. Reduce 64-bit values to 63-bit
40944 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
40945 divide-by-zero is raised for zero to large negative powers.
40946 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
40947 (__ieee754_powl): Test for y outside the range of signed 64-bit
40948 integers before using fistpll. Reduce 64-bit values to 63-bit
40950 * math/libm-test.inc (pow_test): Add more tests.
40952 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40954 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
40955 <stdio-common/_itoa.h>.
40956 * debug/segfault.c: Likewise.
40957 * elf/dl-cache.c: Likewise.
40958 * elf/dl-minimal.c: Likewise.
40959 * elf/dl-misc.c: Likewise.
40960 * elf/dl-sysdep.c: Likewise.
40961 * elf/dl-version.c: Likewise.
40962 * elf/rtld.c: Likewise.
40963 * hurd/hurdsock.c: Likewise.
40964 * hurd/lookup-retry.c: Likewise.
40965 * malloc/malloc.c: Likewise.
40966 * malloc/mtrace.c: Likewise.
40967 * nscd/nscd_getgr_r.c: Likewise.
40968 * nscd/nscd_getpw_r.c: Likewise.
40969 * nscd/nscd_getserv_r.c: Likewise.
40970 * posix/getopt_init.c: Likewise.
40971 * posix/wordexp.c: Likewise.
40972 * stdio-common/_itoa.c: Likewise.
40973 * stdio-common/printf_fphex.c: Likewise.
40974 * stdio-common/vfprintf.c: Likewise.
40975 * string/_strerror.c: Likewise.
40976 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
40977 * sysdeps/i386/i686/hp-timing.h: Likewise.
40978 * sysdeps/mach/_strerror.c: Likewise.
40979 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
40980 * sysdeps/mach/hurd/sethostid.c: Likewise.
40981 * sysdeps/mach/hurd/xmknodat.c: Likewise.
40982 * sysdeps/mach/xpg-strerror.c: Likewise.
40983 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40984 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40985 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
40986 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
40987 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40988 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
40989 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40990 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40991 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
40992 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
40993 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
40994 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40995 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
40996 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40997 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40998 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
40999 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
41000 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
41001 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41002 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41003 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
41005 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
41007 * stdio-common/_itoa.h: Moved to ...
41008 * sysdeps/generic/_itoa.h: Here.
41010 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
41012 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
41013 instead of "_itoa.h" and "_itowa.h".
41014 * stdio-common/vfprintf.: Likewise.
41016 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41018 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
41020 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
41021 (__signbit): Likwise.
41022 (llrintf): Likwise.
41025 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41027 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
41030 2012-03-20 Joseph Myers <joseph@codesourcery.com>
41032 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41033 OVERFLOW_EXCEPTION_OK.
41034 * math/libm-test.inc ("Philosophy"): Update comment about
41036 (OVERFLOW_EXCEPTION): Define.
41037 (OVERFLOW_EXCEPTION_OK): Likewise.
41038 (INVALID_EXCEPTION_OK): Renumber.
41039 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41040 (IGNORE_ZERO_INF_SIGN): Likewise.
41041 (test_exceptions): Handle FE_OVERFLOW.
41042 (exp10_test): Expect overflow exceptions.
41043 (exp2_test): Likewise.
41044 (expm1_test): Likewise.
41045 (nextafter_test): Likewise.
41046 (pow_test): Likewise.
41047 (scalbn_test): Likewise.
41048 (scalbln_test): Likewise.
41050 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41052 * sysdeps/x86_64/bits/atomic.h
41053 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
41055 (atomic_exchange_acq): Likewise.
41056 (__arch_exchange_and_add_body): Likewise.
41057 (__arch_add_body): Likewise.
41058 (atomic_add_negative): Likewise.
41059 (atomic_add_zero): Likewise.
41061 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41063 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
41064 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
41066 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41068 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
41069 Check __x86_64__ instead of __WORDSIZE.
41071 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41073 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
41075 2012-03-19 David S. Miller <davem@davemloft.net>
41077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41079 * sysdeps/sparc/fpu/fenv_private.h: New file.
41080 * sysdeps/sparc/fpu/math_private.h: Use it.
41081 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
41083 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
41084 (libc_feholdexcept_setroundl): Remove.
41085 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
41087 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
41088 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
41090 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41092 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
41093 int64_t instead of long int.
41094 (INSERT_WORDS64): Likwise.
41096 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41098 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
41099 _Unwind_GetCFA return to _Unwind_Ptr first.
41101 2012-03-19 Joseph Myers <joseph@codesourcery.com>
41104 * math/s_clog.c: Include <float.h>.
41105 (__clog): Scale large or subnormal inputs.
41106 * math/s_clogf.c: Likewise.
41107 * math/s_clogl.c: Likewise.
41108 * math/s_clog10.c: Include <float.h>.
41109 (M_LOG10_2): Define.
41110 (__clog10): Scale large or subnormal inputs.
41111 * math/s_clog10f.c: Likewise.
41112 * math/s_clog10l.c: Likewise.
41113 * math/libm-test.inc (clog_test): Add more tests.
41114 (clog10_test): Likewise.
41115 * sysdeps/i386/fpu/libm-test-ulps: Update.
41116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41119 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
41121 * math/libm-test.inc (atan2_test): Add another test.
41123 * Makerules (common-objdir-compile): Remove.
41124 * sysdeps/unix/Makefile (config-generated): Do not add
41125 $(unix-generated) to variable.
41126 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
41127 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
41129 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
41131 [generic bits/local_lim.h] (before-compile): Do not append to
41133 [generic bits/local_lim.h] (common-generated): Likewise.
41134 [generic sys/param.h] (before-compile): Do not append to variable.
41135 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
41136 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
41137 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
41138 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
41140 [generic sys/param.h] (sys/param.h-includes): Remove variable.
41141 [generic sys/param.h] (sys/param.h-includes): Remove rule.
41142 [generic sys/param.h] ($(addprefix
41143 $(common-objpfx),$(sys/param.h-includes))): Likewise.
41144 [generic sys/param.h] (common-generated): Do not append to
41146 [generic sys/param.h] (sysdep_headers): Likewise.
41147 [generic bits/errno.h] (before-compile): Do not append to
41149 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
41151 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
41152 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
41153 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
41154 [generic bits/errno.h] (common-generated): Do not append to
41156 [generic bits/ioctls.h] (before-compile): Do not append to
41158 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
41160 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
41161 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
41162 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
41164 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
41165 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
41166 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
41167 [generic bits/ioctls.h] (common-generated): Do not append to
41169 [generic sys/syscall.h] (syscall.h): Remove variable.
41170 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
41172 [generic sys/syscall.h] (before-compile): Do not append to
41174 [generic sys/syscall.h] (common-generated): Likewise.
41175 * sysdeps/unix/errnos-tmpl.c: Remove file.
41176 * sysdeps/unix/errnos.awk: Likewise.
41177 * sysdeps/unix/ioctls-tmpl.c: Likewise.
41178 * sysdeps/unix/ioctls.awk: Likewise.
41179 * sysdeps/unix/mk-local_lim.c: Likewise.
41180 * sysdeps/unix/snarf-ioctls: Likewise.
41182 2012-03-19 Richard Henderson <rth@twiddle.net>
41184 * sysdeps/i386/fpu/fenv_private.h: New file.
41185 * sysdeps/i386/fpu/math_private.h: Use it.
41186 (math_opt_barrier, math_force_eval): Remove.
41187 (libc_feholdexcept_setround_53bit): Remove.
41188 (libc_feupdateenv_53bit): Remove.
41189 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41190 (math_opt_barrier, math_force_eval): Remove.
41191 (libc_feholdexcept): Remove.
41192 (libc_feholdexcept_setround): Remove.
41193 (libc_fetestexcept, libc_fesetenv): Remove.
41194 (libc_feupdateenv_test): Remove.
41195 (libc_feupdateenv, libc_feholdsetround): Remove.
41196 (libc_feresetround): Remove.
41198 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
41199 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41201 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
41202 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
41203 (libc_feupdateenv_testl): New.
41204 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
41205 (libc_feupdateenv_testf): New.
41206 (libc_feupdateenv): Use libc_feupdateenv_test.
41207 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
41208 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
41210 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
41211 (libc_feholdsetroundf, libc_feholdsetroundl): New.
41212 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
41213 (libc_feresetround_noex): New.
41214 (libc_feresetround_noexf): New.
41215 (libc_feresetround_noexl): New.
41216 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
41217 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
41218 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
41219 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
41221 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41222 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
41224 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
41225 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
41226 SET_RESTORE_ROUND_NOEX.
41227 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
41228 SET_RESTORE_ROUND_NOEXF.
41229 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
41230 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
41231 (libc_feholdsetroundf): New.
41232 (libc_feresetround, libc_feresetroundf): New.
41234 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
41235 (libc_feholdexcept_setround_53bit): Convert from macro to function.
41236 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
41238 * sysdeps/generic/math_private.h: Include <fenv.h>.
41239 (default_libc_feholdexcept): New.
41240 (default_libc_feholdexcept_setround): New.
41241 (default_libc_fesetenv, default_libc_feupdateenv): New.
41242 (libc_feholdexcept): Only define if undefined.
41243 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
41244 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
41245 (libc_feholdexcept_setroundl): Likewise.
41246 (libc_feholdexcept_setround_53bit): Likewise.
41247 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
41248 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
41249 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
41250 (libc_feupdateenv_53bit): Likewise.
41251 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
41252 (libc_feholdexcept): Convert from macro to inline function.
41253 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
41254 (libc_fesetenv, libc_feupdateenv): Likewise.
41256 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
41257 not previously defined.
41258 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
41259 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
41260 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
41261 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
41262 * sysdeps/ieee754/flt-32/math_private.h: New file.
41263 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
41264 math_private.h below SET_FLOAT_WORD.
41265 (__isnan, __isinf_ns, __finite): Remove.
41266 (__isnanf, __isinf_nsf, __finitef): Remove.
41268 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
41270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41272 2012-03-17 David S. Miller <davem@davemloft.net>
41275 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
41278 2012-03-16 David S. Miller <davem@davemloft.net>
41280 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
41284 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
41286 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
41287 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
41288 sysdep_routines when subdir is sysvipc.
41289 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
41290 __getshmlba helper.
41292 * sysdeps/sparc/fpu/libm-test/ulps: Update.
41294 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41296 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
41299 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41301 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
41302 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
41303 (__lround): Renamed to ...
41304 (__llround): This. Replace long int with long long int.
41305 Define lround functions as aliases of llround functions.
41306 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
41308 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41310 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
41311 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
41312 adresses to uintptr_t. Replace "long int" and "unsigned long
41313 int" with "greg_t" on va_arg.
41315 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41317 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
41318 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
41320 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
41321 Move e_machine check before EI_CLASS check. Handle x32
41322 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
41323 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
41324 SKIP_EM_IA_64 and include
41325 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
41327 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
41328 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
41329 (add_system_dir): New macro.
41331 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
41332 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
41334 2012-03-16 Joseph Myers <joseph@codesourcery.com>
41345 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
41347 * math/w_j0f.c (j0f): Likewise.
41349 * math/w_j0l.c (__j0l): Likewise.
41351 * math/w_j1.c (j1): Likewise.
41353 * math/w_j1f.c (j1f): Likewise.
41355 * math/w_j1l.c (__j1l): Likewise.
41357 * math/w_jn.c (jn): Likewise.
41359 * math/w_jnf.c (jnf): Likewise.
41361 * math/w_jnl.c (__jnl): Likewise.
41363 * math/libm-test.inc (j0_test): Add more tests.
41364 (j1_test): Likewise.
41365 (jn_test): Likewise. Add trailing semicolon to existing test.
41366 (y0_test): Likewise.
41367 (y1_test): Likewise.
41368 * sysdeps/i386/fpu/libm-test-ulps: Update.
41369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41373 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
41374 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
41375 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
41376 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
41377 (__tanl): Set errno for infinite argument.
41378 * sysdeps/i386/fpu/mptan.c: Remove.
41379 * sysdeps/i386/fpu/s_tan.S: Likewise.
41380 * sysdeps/i386/fpu/s_tanl.S: Likewise.
41381 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
41382 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
41383 * math/libm-test.inc (tan_test): Add more tests and enable more
41384 tests for double and long double.
41385 * sysdeps/i386/fpu/libm-test-ulps: Update.
41386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41388 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
41390 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
41391 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
41393 2012-03-16 Roland McGrath <roland@hack.frob.com>
41395 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
41396 * configure.in: Use it for both main tree and add-ons.
41397 * configure: Regenerated.
41399 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41401 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
41403 2012-03-16 Joseph Myers <joseph@codesourcery.com>
41405 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
41409 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
41410 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
41411 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
41412 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
41413 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
41415 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
41416 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
41417 != 0 for prec == 2.
41418 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
41419 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
41420 * sysdeps/i386/fpu/s_cosl.S: Likewise.
41421 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
41422 * sysdeps/i386/fpu/s_sinl.S: Likewise.
41423 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
41424 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
41425 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
41426 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
41427 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
41428 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
41429 * math/libm-test.inc (cos_test): Add more tests and enable more
41430 tests for long double.
41431 (sin_test): Likewise.
41432 (sincos_test): Likewise.
41433 * sysdeps/i386/fpu/libm-test-ulps: Update.
41434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41436 2012-03-16 David S. Miller <davem@davemloft.net>
41438 * sysdeps/sparc/fpu/math_private.h: New file.
41440 2012-03-15 David S. Miller <davem@davemloft.net>
41442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
41444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
41445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
41447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
41448 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
41449 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
41450 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
41451 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
41452 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
41454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41456 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
41457 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
41459 * sysdeps/sparc/sparc-ifunc.h: New file.
41460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
41462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
41463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
41465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
41467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
41468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
41469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
41474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
41476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
41478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
41480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
41482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
41483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
41484 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41485 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41486 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
41487 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
41488 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41489 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41490 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
41491 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
41492 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
41493 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
41494 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
41495 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
41496 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
41497 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
41498 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
41499 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
41500 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
41501 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
41502 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
41503 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
41505 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41507 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
41509 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41511 2012-03-15 Andreas Jaeger <aj@suse.de>
41514 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
41515 ieee754/flt-32 implementation for sin, cos and sincos.
41516 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
41517 * sysdeps/i386/fpu/s_cosf.S: Likewise.
41518 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
41519 * sysdeps/i386/fpu/s_sinf.S: Likewise.
41520 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
41521 ieee754/flt-32 implementation for tan.
41523 * math/libm-test.inc (cos_test): Enable some large input tests for
41525 (sin_test): Likewise.
41526 (sincos_test): Likewise.
41527 (tan_test): Add tests for large input.
41529 * sysdeps/i386/fpu/libm-test-ulps: Update.
41531 2012-03-15 Andreas Jaeger <aj@suse.de>
41534 * math/libm-test.inc (cos_test): Add more test cases.
41535 (sin_test): Likewise.
41536 (sincos_test): Likewise.
41538 2012-03-15 Andreas Jaeger <aj@suse.de>
41541 * math/libm-test.inc (cos_test): Add a test case for large input
41543 (sin_test): Likewise.
41544 (sincos_test): Likewise.
41546 2012-03-15 Andreas Jaeger <aj@suse.de>
41547 Joseph Myers <joseph@codesourcery.com>
41550 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
41551 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
41552 * sysdeps/i386/fpu/branred.c: Likewise.
41553 * sysdeps/i386/fpu/dosincos.c: Likewise.
41554 * sysdeps/i386/fpu/mpa.c: Likewise.
41555 * sysdeps/i386/fpu/s_cos.S: Likewise.
41556 * sysdeps/i386/fpu/s_sin.S: Likewise.
41557 * sysdeps/i386/fpu/s_sincos.S: Likewise.
41558 * sysdeps/i386/fpu/sincos32.c: Likewise.
41560 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
41562 (libc_feupdateenv_53bit): Define.
41563 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
41565 (libc_feupdateenv_53bit): Define.
41567 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
41568 53 bit (without extend i386 double precision).
41570 * math/libm-test.inc (sincos_test): Add tests for large input.
41574 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41576 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41580 2012-03-15 David S. Miller <davem@davemloft.net>
41582 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
41583 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
41584 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
41585 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
41586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
41587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
41588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
41589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
41590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
41591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
41592 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
41593 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
41594 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
41595 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
41596 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
41597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
41599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
41600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
41602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
41603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
41605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
41606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
41608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
41609 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
41610 fmin/fmax sysdep routines.
41611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41613 2012-03-14 David S. Miller <davem@davemloft.net>
41615 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
41616 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
41617 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
41618 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
41619 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
41620 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
41621 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
41622 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
41623 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
41624 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
41625 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
41626 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
41627 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
41628 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
41629 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
41630 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
41631 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
41632 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
41633 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
41634 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
41635 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
41636 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
41637 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
41638 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
41639 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
41640 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
41641 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
41642 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
41643 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
41645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
41647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
41648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
41650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
41651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
41653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
41654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
41656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
41657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
41659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
41660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
41662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
41664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
41666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
41668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
41670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
41672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
41674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
41675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
41677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
41678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
41680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
41681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
41683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
41684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
41687 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41692 * sysdeps/sparc/configure.in: New file.
41693 * sysdeps/sparc/configure: Generate.
41694 * configure.in (libc_cv_sparc_as_vis3): Substitute.
41695 * configure: Regenerate.
41696 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
41697 * config.make.in (have-as-vis3): New.
41698 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
41699 available use -Av9d instead of -Av9a.
41700 * sysdeps/sparc/sparc64/Makefile: Likewise.
41701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
41702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
41704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
41706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
41708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
41710 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
41711 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
41712 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
41713 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
41714 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
41716 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
41717 fzeros/fnegs to load 0x80000000 into a float register instead of
41719 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
41721 2012-03-14 Joseph Myers <joseph@codesourcery.com>
41723 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41725 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
41726 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
41727 ($(inst_includedir)/bits/syscall.h): Remove rule.
41728 ($(objpfx)bits/syscall.d): Include instead of
41729 $(objpfx)syscall-list.d.
41730 (generated): Change syscall-list.h and syscall-list.d to
41731 bits/syscall.h and bits/syscall.d.
41733 2012-03-14 Roland McGrath <roland@hack.frob.com>
41736 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
41738 2012-03-14 Joseph Myers <joseph@codesourcery.com>
41741 * math/s_csqrt.c: Include <float.h>.
41742 (__csqrt): Scale large or subnormal inputs.
41743 * math/s_csqrtf.c: Likewise.
41744 * math/s_csqrtl.c: Likewise.
41745 * math/libm-test.inc (csqrt_test): Add more tests.
41746 * sysdeps/i386/fpu/libm-test-ulps: Update.
41747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41750 * math/libm-test.inc (hypot_test): Add more tests.
41752 2012-03-13 David S. Miller <davem@davemloft.net>
41755 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
41756 double-precision for the calculation instead of scaling.
41758 2012-03-13 Joseph Myers <joseph@codesourcery.com>
41760 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
41761 manipulate bits before adding and subtracting TWO52[sx].
41762 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
41763 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
41765 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
41767 2012-03-13 David S. Miller <davem@davemloft.net>
41769 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
41770 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
41771 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
41772 rtld-global-offsets.h
41773 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41775 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
41778 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
41780 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
41781 'err' in the ifdef scope in which it is actually used.
41783 * nss/nss_db/db-init.c: Include string.h
41785 2012-03-12 David S. Miller <davem@davemloft.net>
41787 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41788 masking out of the most significant byte of random value used.
41789 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41790 Fix coding style in previous change.
41792 * sysdeps/unix/sysv/linux/kernel-features.h
41793 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
41794 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
41796 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
41799 2012-03-11 David S. Miller <davem@davemloft.net>
41801 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41802 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
41803 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
41804 for 'resultvar' otherwise things get truncated on 64-bit.
41806 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41807 Fix masking out of the most significant byte of random value used.
41809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41811 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
41813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41815 2012-03-09 David S. Miller <davem@davemloft.net>
41817 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
41818 variables with appropriate CPP guards.
41819 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
41820 from the frame pointer, not the stack pointer. Correct layout
41821 comments. Fix test on resulting framesize and the management of
41822 the outregs buffer for pltexit. Preserve floating point return
41823 values across _dl_call_pltexit call.
41824 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
41825 framesize and the management of the outregs buffer for pltexit.
41826 Preserve floating point return values across _dl_call_pltexit
41828 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
41829 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
41830 (la_sparc64_gnu_pltexit): New functions.
41831 (print_exit): Fix format string for return register value.
41833 2012-03-10 Joseph Myers <joseph@codesourcery.com>
41835 * sunrpc/Makefile (others): Add rpcgen.
41836 ($(objpfx)rpcgen): Remove special build rule and dependency on
41838 * sunrpc/rpcgen.c: New file.
41840 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
41843 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
41844 * stdio-common/bug-vfprintf-nargs.c: Likewise.
41845 * sysdeps/i386/crti.S: Likewise.
41846 * sysdeps/i386/crtn.S: Likewise.
41847 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
41848 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
41849 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
41850 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
41851 * sysdeps/sh/crti.S: Likewise.
41852 * sysdeps/sh/crtn.S: Likewise.
41853 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
41856 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
41858 * locale/programs/locfile-kw.gperf: Likewise.
41859 * locale/programs/charmap-kw.h: Regenerated.
41860 * locale/programs/locfile-kw.h: Likewise.
41863 * intl/plural.y: Replace FSF snail mail address with URL.
41864 * intl/plural.c: Regenerated.
41866 2012-03-09 Richard Henderson <rth@twiddle.net>
41868 * include/math_private.h: Remove file.
41869 * math/math_private.h: Move file ...
41870 * sysdeps/generic/math_private.h: ... here.
41872 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
41873 * sysdeps/powerpc/fpu/math_private.h: Likewise.
41874 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41876 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
41877 and <math_private.h>.
41878 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41879 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41880 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41881 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41882 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41883 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
41884 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41885 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41886 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41887 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41888 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41889 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41890 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41891 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41892 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41893 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41894 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41895 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41896 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41897 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41898 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41899 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41900 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41901 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41902 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41903 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41904 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41905 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41906 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41907 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41908 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41909 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41910 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41911 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41912 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41913 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41914 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41915 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41916 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41917 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41918 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
41919 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41920 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41921 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41922 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41923 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41924 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
41925 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41926 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41927 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41928 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41929 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
41930 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41931 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41932 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41933 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41934 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41935 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41936 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41937 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
41938 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41939 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41940 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41941 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41942 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
41943 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41944 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41945 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41946 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
41947 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
41948 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41949 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41950 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41951 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41952 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
41953 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
41954 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
41955 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41956 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
41957 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
41958 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41959 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
41960 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41961 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41962 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41963 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
41964 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
41965 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
41966 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41967 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41968 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41969 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41970 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41971 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41972 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41973 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41974 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41975 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41976 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41977 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41978 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41979 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41980 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41981 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41982 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41983 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41984 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41985 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41986 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41987 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41988 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41989 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41990 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41991 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41992 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
41993 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41994 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41995 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41996 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41997 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41998 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41999 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42000 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42001 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
42002 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42003 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42004 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42005 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
42006 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42007 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
42008 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
42009 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42010 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42011 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
42012 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
42013 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42014 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42015 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42016 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
42017 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42018 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42019 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42020 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42021 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
42022 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
42023 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42024 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42025 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42026 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
42027 * sysdeps/ieee754/k_standard.c: Likewise.
42028 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42029 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42030 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42031 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42032 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42033 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42034 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42035 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42036 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42037 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42038 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42039 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42040 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42041 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42042 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42043 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42044 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42045 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42046 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42047 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
42048 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
42049 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
42050 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42051 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42052 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42053 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
42054 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42055 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42056 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42057 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42058 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42059 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42060 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42061 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42062 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42063 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42064 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42065 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
42066 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
42067 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42068 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42069 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42070 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42071 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42072 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42073 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42074 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42075 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42076 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42077 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42078 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42079 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42080 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42081 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
42082 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42083 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42084 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
42085 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
42086 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42087 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42088 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42089 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42090 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42091 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42092 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42093 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42094 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42095 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42096 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42097 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42098 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42099 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42100 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42101 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42102 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42103 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42104 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
42105 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42106 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42107 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42108 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42109 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42110 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42111 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42112 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
42113 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42114 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42115 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
42116 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42117 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42118 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
42119 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42120 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42121 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42122 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42123 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42124 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
42125 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42126 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42127 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
42128 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42129 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42130 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42131 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42132 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
42133 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42134 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42135 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42136 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
42137 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42138 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42139 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42140 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42141 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42142 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42143 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42144 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42145 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42146 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42147 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42148 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42149 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42150 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42151 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42152 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42153 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
42154 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42155 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42156 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42157 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42158 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42159 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42160 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42161 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42162 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42163 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42164 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
42165 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42166 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42167 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
42168 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
42169 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42170 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
42171 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
42172 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42173 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42174 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42175 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42176 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42177 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
42178 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42179 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42180 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42181 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42182 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
42183 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
42184 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42185 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42186 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42187 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42188 * sysdeps/ieee754/s_lib_version.c: Likewise.
42189 * sysdeps/ieee754/s_matherr.c: Likewise.
42190 * sysdeps/ieee754/s_signgam.c: Likewise.
42191 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42192 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42193 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
42194 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
42195 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
42196 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42197 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
42198 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
42199 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
42200 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
42201 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42202 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
42203 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42204 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42205 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
42206 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42207 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42208 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42209 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42210 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42211 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42213 2012-03-09 Joseph Myers <joseph@codesourcery.com>
42215 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
42216 * sunrpc/rpc_main.c: Likewise.
42217 * sunrpc/rpc_svcout.c: Likewise.
42219 2012-03-09 David S. Miller <davem@davemloft.net>
42221 * include/math_private.h: New file.
42223 2012-03-09 Joseph Myers <joseph@codesourcery.com>
42225 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
42226 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
42227 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
42228 from <bits/socket_type.h>.
42229 (enum __socket_type): Don't define here.
42230 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
42231 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42232 bits/socket_type.h.
42235 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
42236 checking __USE_GNU.
42238 * Makerules ($(inst_includedir)/%.h): New rule.
42239 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
42240 (install-others): Remove variable setting.
42241 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
42243 2012-03-08 Richard Henderson <rth@twiddle.net>
42245 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
42246 from macro to inline function; merge with the
42247 !__LIBC_INTERNAL_MATH_INLINES version.
42248 (__ieee754_sqrtf): Likewise.
42250 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
42251 to inline function.
42252 (__rintf, __floor, __floorf): Likewise.
42254 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
42255 macro to inline function.
42256 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
42258 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
42259 not <math/math_private.h>.
42261 2012-03-08 David S. Miller <davem@davemloft.net>
42263 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
42265 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
42267 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
42269 * resolv/gai_misc.c (handle_requests): Fix struct timespec
42271 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
42272 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42274 2012-03-08 Ulrich Drepper <drepper@gmail.com>
42276 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
42277 be defined individually, they must be defined as a block. Define
42278 S for printing a string instead of hidint the different by using a
42279 macro for adding the 'l'.
42280 * stdio-common/tst-fphex-wide.c: Adjust.
42282 2012-03-07 Marek Polacek <polacek@redhat.com>
42284 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
42286 2012-03-08 Marek Polacek <polacek@redhat.com>
42289 * stdio-common/Makefile (tests): Add tst-fphex-wide.
42290 * stdio-common/tst-fphex.c: Define a few macros to make the
42291 test reusable. Use them.
42292 * stdio-common/tst-fphex-wide.c: New file.
42294 2012-03-08 Joseph Myers <joseph@codesourcery.com>
42297 * manual/macros.texi (gnusystems): New macro.
42298 (nongnusystems): Likewise.
42299 (gnulinuxhurdsystems): Likewise.
42300 (gnuhurdsystems): Likewise..
42301 (gnulinuxsystems): Likewise.
42302 * manual/charset.texi: Use new macros or @theglibc{} to refer to
42303 variants of the GNU system, not "GNU system".
42304 * manual/conf.texi: Likewise.
42305 * manual/errno.texi: Likewise. Update example of errno macro
42307 * manual/filesys.texi: Likewise.
42308 (getumask): Document as specific to GNU/Hurd.
42309 * manual/install.texi: Likewise. Reword some references to
42311 * manual/intro.texi: Likewise.
42312 * manual/io.texi: Likewise.
42313 (File Name Portability): Detail which constraints are inapplicable
42314 to all GNU systems and which are only inapplicable to GNU/Hurd.
42315 * manual/job.texi: Likewise.
42316 * manual/llio.texi: Likewise.
42317 (O_NOCTTY): Document as present on GNU/Linux.
42318 * manual/maint.texi: Likewise.
42319 * manual/memory.texi: Likewise.
42320 * manual/pattern.texi: Likewise.
42321 * manual/pipe.texi: Likewise.
42322 * manual/process.texi: Likewise.
42323 * manual/resource.texi: Likewise.
42324 (RUSAGE_CHILDREN): Remove statement about specifying a particular
42326 * manual/setjmp.texi: Likewise.
42327 * manual/signal.texi: Likewise.
42328 * manual/startup.texi: Likewise.
42329 * manual/stdio.texi: Likewise.
42330 * manual/terminal.texi: Likewise.
42331 (ONLCR): Document as POSIX.
42332 (OXTABS): Document availability on GNU/Linux as XTABS.
42333 (ONOEOT): Document availability separately from other bits.
42334 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
42335 * manual/time.texi: Likewise.
42336 * manual/users.texi: Likewise.
42337 * INSTALL: Regenerated.
42338 * sysdeps/gnu/errlist.c: Regenerated.
42340 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
42341 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
42342 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
42344 * configure: Regenerated.
42346 2012-03-07 Joseph Myers <joseph@codesourcery.com>
42348 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
42349 default includes instead of AC_HEADER_CHECK.
42350 * sysdeps/i386/configure: Regenerated.
42353 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
42354 * math/s_cacoshf.c (__cacoshf): Likewise.
42355 * math/s_cacoshl.c (__cacoshl): Likewise.
42356 * math/s_casinh.c (__casinh): Set signs of result from argument.
42357 * math/s_casinhf.c (__casinhf): Likewise.
42358 * math/s_casinhl.c (__casinhl): Likewise.
42359 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
42360 (casinh_test): Add more tests.
42361 * sysdeps/i386/fpu/libm-test-ulps: Update.
42362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42364 2012-03-07 Ulrich Drepper <drepper@gmail.com>
42366 * po/zh_TW.po: Update from translation team.
42368 * login/Makefile (distribute): Remove variable.
42369 * catgets/Makefile: Likewise.
42370 * mach/Makefile: Likewise.
42371 * malloc/Makefile: Likewise.
42372 * misc/Makefile: Likewise.
42373 * iconv/Makefile: Likewise.
42374 * nscd/Makefile: Likewise.
42375 * hurd/Makefile: Likewise.
42376 * manual/Makefile: Likewise.
42377 * locale/Makefile: Likewise.
42378 * intl/Makefile: Likewise.
42379 * conform/Makefile: Likewise.
42380 * nss/Makefile: Likewise.
42381 * time/Makefile: Likewise.
42382 * soft-fp/Makefile: Likewise.
42383 * dirent/Makefile: Likewise.
42384 * gmon/Makefile: Likewise.
42385 * po/Makefile: Likewise.
42386 * rt/Makefile: Likewise.
42387 * socket/Makefile: Likewise.
42388 * math/Makefile: Likewise.
42389 * signal/Makefile: Likewise.
42390 * debug/Makefile: Likewise.
42391 * elf/Makefile: Likewise.
42392 * timezone/Makefile: Likewise.
42393 * stdlib/Makefile: Likewise.
42394 * iconvdata/Makefile: Likewise.
42395 * sunrpc/Makefile: Likewise.
42396 * io/Makefile: Likewise.
42397 * argp/Makefile: Likewise.
42398 * inet/Makefile: Likewise.
42399 * hesiod/Makefile: Likewise.
42400 * grp/Makefile: Likewise.
42401 * csu/Makefile: Likewise.
42402 * wctype/Makefile: Likewise.
42403 * crypt/Makefile: Likewise.
42404 * libio/Makefile: Likewise.
42405 * string/Makefile: Likewise.
42406 * nis/Makefile: Likewise.
42407 * resolv/Makefile: Likewise.
42408 * stdio-common/Makefile: Likewise.
42409 * wcsmbs/Makefile: Likewise.
42410 * dlfcn/Makefile: Likewise.
42411 * posix/Makefile: Likewise.
42414 * timezone/Makefile: Don't install timezone files, just the programs
42417 2012-03-06 Ulrich Drepper <drepper@gmail.com>
42419 * nss/databases.def: Add missing gshadow entry.
42421 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
42423 2012-03-06 Marek Polacek <polacek@redhat.com>
42426 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
42427 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42428 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
42429 * stdio-common/tst-long-dbl-fphex.c: New file.
42431 2012-03-06 David S. Miller <davem@davemloft.net>
42433 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42434 (set_obp_int): New function.
42435 (get_obp_int): New function.
42436 (__get_clockfreq_via_dev_openprom): Likewise.
42437 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
42438 Avoid unused variable warnings on 'val' and use builtin_expect.
42439 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
42441 (INLINE_CLONE_SYSCALL): Likewise.
42443 2012-03-05 David S. Miller <davem@davemloft.net>
42445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42447 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
42449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42451 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
42452 only for |x| >= 40.
42453 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42455 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
42457 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
42458 Replace gettimeofday with __vdso_gettimeofday.
42460 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42461 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
42462 __vdso_clock_gettime and __vdso_getcpu.
42464 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
42465 time with __vdso_time.
42467 2012-03-05 Joseph Myers <joseph@codesourcery.com>
42469 * manual/lang.texi (size_t): Note types to which size_t may be
42470 equivalent with the GNU C Library, but do not describe when
42471 differences between them are significant.
42473 2012-03-05 Andreas Jaeger <aj@suse.de>
42475 * sysdeps/i386/fpu/libm-test-ulps: Update.
42477 2012-03-05 Joseph Myers <joseph@codesourcery.com>
42480 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
42481 (__ieee754_pow): Save and restore rounding mode and use
42482 round-to-nearest for main computations.
42483 * math/libm-test.inc (pow_test_tonearest): New function.
42484 (pow_test_towardzero): Likewise.
42485 (pow_test_downward): Likewise.
42486 (pow_test_upward): Likewise.
42487 (main): Call the new functions.
42488 * sysdeps/i386/fpu/libm-test-ulps: Update.
42489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42492 * math/libm-test.inc (cosh_test_tonearest): New function.
42493 (cosh_test_towardzero): Likewise.
42494 (cosh_test_downward): Likewise.
42495 (cosh_test_upward): Likewise.
42496 (sinh_test_tonearest): Likewise.
42497 (sinh_test_towardzero): Likewise.
42498 (sinh_test_downward): Likewise.
42499 (sinh_test_upward): Likewise.
42500 (main): Call the new functions.
42501 * sysdeps/i386/fpu/libm-test-ulps: Update.
42502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42504 2012-03-05 Tom de Vries <tom@codesourcery.com>
42506 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
42507 default stack guard is set in last bytes.
42508 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
42510 2012-03-05 Kees Cook <keescook@chromium.org>
42512 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
42515 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
42516 possibly allocate from heap instead of stack.
42517 * stdio-common/bug-vfprintf-nargs.c: New file.
42518 * stdio-common/Makefile (tests): Add nargs overflow test.
42520 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
42522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42524 2012-03-03 Marek Polacek <polacek@redhat.com>
42526 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
42527 * math/math_private.h: Likewise.
42528 * stdlib/tst-strtod.c: Likewise.
42529 * sysdeps/i386/i486/bits/atomic.h: Likewise.
42530 * sysdeps/x86_64/bits/atomic.h: Likewise.
42532 2012-03-02 David S. Miller <davem@davemloft.net>
42534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
42535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
42536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
42537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
42538 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
42539 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
42540 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
42541 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
42543 2012-03-02 Roland McGrath <roland@hack.frob.com>
42546 * manual/examples/README: New file, says the example source files
42547 can be used under GPL>=2.
42548 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
42549 line containing just "*/".
42550 * manual/examples/add.c: Add copyright header (GPL>=2).
42551 * manual/examples/argp-ex1.c: Likewise.
42552 * manual/examples/argp-ex2.c: Likewise.
42553 * manual/examples/argp-ex3.c: Likewise.
42554 * manual/examples/argp-ex4.c: Likewise.
42555 * manual/examples/atexit.c: Likewise.
42556 * manual/examples/db.c: Likewise.
42557 * manual/examples/dir.c: Likewise.
42558 * manual/examples/dir2.c: Likewise.
42559 * manual/examples/execinfo.c: Likewise.
42560 * manual/examples/filecli.c: Likewise.
42561 * manual/examples/filesrv.c: Likewise.
42562 * manual/examples/fmtmsgexpl.c: Likewise.
42563 * manual/examples/genpass.c: Likewise.
42564 * manual/examples/inetcli.c: Likewise.
42565 * manual/examples/inetsrv.c: Likewise.
42566 * manual/examples/isockad.c: Likewise.
42567 * manual/examples/longopt.c: Likewise.
42568 * manual/examples/memopen.c: Likewise.
42569 * manual/examples/memstrm.c: Likewise.
42570 * manual/examples/mkfsock.c: Likewise.
42571 * manual/examples/mkisock.c: Likewise.
42572 * manual/examples/mygetpass.c: Likewise.
42573 * manual/examples/pipe.c: Likewise.
42574 * manual/examples/popen.c: Likewise.
42575 * manual/examples/rprintf.c: Likewise.
42576 * manual/examples/search.c: Likewise.
42577 * manual/examples/select.c: Likewise.
42578 * manual/examples/setjmp.c: Likewise.
42579 * manual/examples/sigh1.c: Likewise.
42580 * manual/examples/sigusr.c: Likewise.
42581 * manual/examples/stpcpy.c: Likewise.
42582 * manual/examples/strdupa.c: Likewise.
42583 * manual/examples/strftim.c: Likewise.
42584 * manual/examples/strncat.c: Likewise.
42585 * manual/examples/subopt.c: Likewise.
42586 * manual/examples/swapcontext.c: Likewise.
42587 * manual/examples/termios.c: Likewise.
42588 * manual/examples/testopt.c: Likewise.
42589 * manual/examples/testpass.c: Likewise.
42590 * manual/examples/timeval_subtract.c: Likewise.
42593 * manual/time.texi (Elapsed Time): Move timeval_subtract example
42595 * manual/timeval_subtract.c.texi: ... here, new file.
42597 2012-03-02 David S. Miller <davem@davemloft.net>
42599 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
42601 2012-03-02 Joseph Myers <joseph@codesourcery.com>
42604 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
42605 (__sin): Save and restore rounding mode and use round-to-nearest
42606 for all computations.
42607 (__cos): Save and restore rounding mode and use round-to-nearest
42608 for all computations.
42609 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
42611 (tan): Save and restore rounding mode and use round-to-nearest for
42613 * math/libm-test.inc (cos_test_tonearest): New function.
42614 (cos_test_towardzero): Likewise.
42615 (cos_test_downward): Likewise.
42616 (cos_test_upward): Likewise.
42617 (sin_test_tonearest): Likewise.
42618 (sin_test_towardzero): Likewise.
42619 (sin_test_downward): Likewise.
42620 (sin_test_upward): Likewise.
42621 (tan_test_tonearest): Likewise.
42622 (tan_test_towardzero): Likewise.
42623 (tan_test_downward): Likewise.
42624 (tan_test_upward): Likewise.
42625 (main): Call the new functions.
42626 * sysdeps/i386/fpu/libm-test-ulps: Update.
42627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42630 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
42631 small n, then large n, before computing and testing k+n.
42632 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42633 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
42635 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
42637 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
42638 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
42639 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
42640 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
42641 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42642 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42643 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
42644 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
42645 * math/libm-test.inc (scalbn_test): Add more tests.
42646 (scalbln_test): Likewise.
42648 * manual/filesys.texi (mode_t): Describe constraints on size and
42649 signedness, not exact equivalence to a particular type.
42651 (ino64_t): Likewise.
42653 (nlink_t): Likewise.
42654 (blkcnt_t): Likewise.
42655 (blkcnt64_t): Likewise.
42656 * manual/llio.texi (off_t): Likewise.
42659 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
42660 (__ieee754_exp): Save and restore rounding mode and use
42661 round-to-nearest for all computations.
42662 * math/libm-test.inc (exp_test_tonearest): New function.
42663 (exp_test_towardzero): Likewise.
42664 (exp_test_downward): Likewise.
42665 (exp_test_upward): Likewise.
42666 (main): Call the new functions.
42667 * sysdeps/i386/fpu/libm-test-ulps: Update.
42668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42670 2012-03-01 Chris Demetriou <cgd@google.com>
42672 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
42673 have predictable order.
42675 2012-03-01 David S. Miller <davem@davemloft.net>
42677 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
42679 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
42680 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
42681 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
42682 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
42684 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
42685 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
42686 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
42687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
42688 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
42689 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
42690 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
42691 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
42692 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
42694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42696 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
42697 * sysdeps/sparc/fpu/libm-test-ulps: to here.
42698 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
42700 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
42701 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42702 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42703 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
42704 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
42705 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
42706 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
42707 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42708 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42709 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
42710 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
42711 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42712 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42713 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42714 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42715 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42716 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
42717 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
42718 * sysdeps/sparc/elf/configure: Regenerated.
42720 2012-03-01 Joseph Myers <joseph@codesourcery.com>
42722 * configure.in (AS, LD): Require binutils 2.20 or later.
42723 * configure: Regenerated.
42724 * manual/install.texi (Tools for Compilation): Give binutils 2.20
42725 as required minimum version.
42726 * INSTALL: Regenerated.
42730 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
42731 before squaring exponent.
42732 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
42733 bottom long double and 27 bits of top long double before squaring
42735 * math/libm-test.inc (erfc_test): Add more tests.
42736 * sysdeps/i386/fpu/libm-test-ulps: Update.
42737 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42740 2012-03-01 Kai Tietz <ktietz@redhat.com>
42742 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
42743 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
42744 containing bit-fields.
42745 * soft-fp/extended.h (_FP_UNION_E): Likewise.
42746 * soft-fp/single.h (_FP_UNION_S): Likewise.
42747 * soft-fp/double.h (_FP_UNION_D): Likewise.
42749 2012-02-29 Joseph Myers <joseph@codesourcery.com>
42752 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
42753 not include ../strcmp.S.
42754 [USE_AS_STRNCASECMP_L]: Likewise.
42755 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
42756 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
42757 * sysdeps/i386/i686/multiarch/strncase_l-c.c
42758 (__strncasecmp_l_ia32): Define as alias to
42759 __strncasecmp_l_nonascii.
42762 * math/libm-test.inc (expm1_test): Add test for bug 5794.
42763 * sysdeps/i386/fpu/libm-test-ulps: Update.
42764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42766 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
42767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42769 2012-02-29 Jeff Law <law@redhat.com>
42771 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
42772 out of bounds read.
42774 2012-02-29 Marek Polacek <polacek@redhat.com>
42777 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
42778 * elf/Makefile: Add rules to run tst-unused-dep.out.
42780 2012-02-28 David S. Miller <davem@davemloft.net>
42782 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
42783 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
42784 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
42785 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
42786 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
42787 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
42789 2012-02-29 Joseph Myers <joseph@codesourcery.com>
42791 * math/libm-test.inc (llround_test): Move one test from
42792 lround_test. Use TEST_f_L in moved test.
42793 (lround_test): Move misplaced test to llround_test. Add testcase
42796 2012-02-28 Ulrich Drepper <drepper@gmail.com>
42798 * sysdeps/x86_64/fpu/e_expf.S: New file.
42799 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
42801 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
42804 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
42805 of remain_len that may cause incomplete multi-byte character and
42807 * posix/bug-regex33.c: New file.
42808 * posix/Makefile (tests): Add bug-regex33.
42810 2012-02-28 Joseph Myers <joseph@codesourcery.com>
42812 * manual/macros.texi: New file.
42813 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
42814 * manual/libc.texinfo: Include macros.texi.
42815 * manual/creatute.texi: Likewise.
42816 * manual/install.texi: Likewise.
42817 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
42818 @glibcadj{} in references to the GNU C Library.
42819 * manual/charset.texi: Likewise.
42820 * manual/conf.texi: Likewise.
42821 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
42822 when not using those macros.
42823 * manual/creature.texi: Likewise.
42824 * manual/crypt.texi: Likewise.
42825 * manual/errno.texi: Likewise.
42826 * manual/filesys.texi: Likewise.
42827 * manual/header.texi: Likewise.
42828 * manual/install.texi: Likewise.
42829 * manual/intro.texi: Likewise.
42830 * manual/io.texi: Likewise.
42831 * manual/job.texi: Likewise.
42832 * manual/lang.texi: Likewise.
42833 * manual/libc.texiinfo: Likewise.
42834 * manual/llio.texi: Likewise.
42835 * manual/locale.texi: Likewise.
42836 * manual/maint.texi: Likewise.
42837 * manual/math.texi: Likewise.
42838 * manual/memory.texi: Likewise.
42839 * manual/message.texi: Likewise.
42840 * manual/nss.texi: Likewise.
42841 * manual/pattern.texi: Likewise.
42842 * manual/process.texi: Likewise.
42843 * manual/resource.texi: Likewise.
42844 * manual/search.texi: Likewise.
42845 * manual/setjmp.texi: Likewise.
42846 * manual/signal.texi: Likewise.
42847 * manual/socket.texi: Likewise.
42848 * manual/startup.texi: Likewise.
42849 * manual/stdio.texi: Likewise.
42850 * manual/string.texi: Likewise.
42851 * manual/sysinfo.texi: Likewise.
42852 * manual/syslog.texi: Likewise.
42853 * manual/terminal.texi: Likewise.
42854 * manual/time.texi: Likewise.
42855 * manual/users.texi: Likewise.
42856 * INSTALL: Regenerated.
42857 * NOTES: Regenerated.
42858 * sysdeps/gnu/errlist.c: Regenerated.
42860 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
42862 * include/dirent.h: Include <dirstream.h> before
42865 2012-02-28 David S. Miller <davem@davemloft.net>
42867 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
42868 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
42869 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
42870 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
42872 2012-02-27 David S. Miller <davem@davemloft.net>
42874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
42875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
42876 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
42877 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
42879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
42880 frame pointer instead of stack pointer relative arg slot.
42881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42882 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42883 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42885 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
42888 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
42890 2012-02-27 David S. Miller <davem@davemloft.net>
42892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
42893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
42896 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42897 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42898 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
42899 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
42901 2012-02-27 Joseph Myers <joseph@codesourcery.com>
42903 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
42904 later. Allow versions 5-9.
42905 * configure: Regenerated.
42906 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
42907 required minimum version and 4.6 as recommended version. Do not
42908 mention bugs in GCC 2.7 and 2.8.
42909 * INSTALL: Regenerated.
42911 2012-02-27 David S. Miller <davem@davemloft.net>
42913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
42914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
42915 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
42916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
42917 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
42918 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
42919 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
42920 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
42922 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
42923 manipulate bits before adding and subtracting TWO112[sx].
42924 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42926 2012-02-27 Roland McGrath <roland@hack.frob.com>
42929 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
42930 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
42931 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
42932 being in POSIX, because they are in 1003.1-2008.
42934 * rt/tst-aio.c: Include <fcntl.h>.
42935 * rt/tst-aio7.c: Likewise.
42936 * rt/tst-aio64.c: Likewise.
42938 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
42940 2012-02-27 Joseph Myers <joseph@codesourcery.com>
42942 * manual/install.texi (--with-headers): Describe headers as
42943 interface headers, not private headers.
42944 (Specific advice for GNU/Linux systems): Describe use of headers
42945 from "make headers_install", not private headers from older
42947 * INSTALL: Regenerated.
42948 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
42950 * sysdeps/unix/sysv/linux/configure: Regenerated.
42952 * manual/llio.texi (fclean): Remove documentation.
42954 * manual/Makefile (libc-texi-generated): New variable. Include
42956 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
42957 $(libc-texi-generated), not duplicated list of files.
42958 (version.texi, stamp-version): New rules.
42959 (realclean): Remove $(libc-texi-generated), not individual files
42960 from that list. Do not remove dir-add.texinfo.
42961 * manual/libc.texinfo: Comment out uses of edition numbers and
42962 references to printed manual. Remove last-updated dates.
42963 (EDITION): Comment out.
42965 (VERSION, UPDATED): Remove.
42966 (version.texi): Include.
42968 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
42970 * sysdeps/posix/spawni.c: Include <signal.h>.
42971 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
42972 * sysdeps/pthread/aio_fsync.c: Likewise.
42974 2012-02-26 Ulrich Drepper <drepper@gmail.com>
42976 * conform/Makefile (tests): Run only when not cross-compiling and
42977 when fast-check is not defined.
42979 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
42980 * conform/data/limits.h-data: Fixes for POSIX2008.
42981 * conform/run-conformtest.sh: Run all tests.
42982 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
42984 * include/bits/dlfcn.h: Likewise.
42985 * include/langinfo.h: Likewise.
42986 * include/monetary.h: Likewise.
42987 * include/sys/poll.h: Likewise.
42989 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
42991 * posix/spawn.h: Define __need_sigset_t.
42992 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
42993 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
42994 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
42995 to get sigevent_t only.
42996 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
42997 only for __USE_GNU.
42998 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42999 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43000 process_vm_writev only for __USE_GNU.
43001 * termios/termios.h: Declare tcgetsid also for POSIX2008.
43003 * conform/Makefile: For now ignore errors from run-conformtest.
43004 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
43005 POSIX to avoid namespace pollution. Don't prepend headers.
43006 * conform/data/aio.h-data: Fixes for POSIX testing.
43007 * conform/data/fcntl.h-data: Likewise.
43008 * conform/data/glob.h-data: Likewise.
43009 * conform/data/grp.h-data: Likewise.
43010 * conform/data/pthread.h-data: Likewise.
43011 * conform/data/pwd.h-data: Likewise.
43012 * conform/data/signal.h-data: Likewise.
43013 * conform/data/spawn.h-data: Likewise.
43014 * conform/data/stdio.h-data: Likewise.
43015 * conform/data/stdlib.h-data: Likewise.
43016 * conform/data/stropts.h-data: Likewise.
43017 * conform/data/sys/mman.h-data: Likewise.
43018 * conform/data/sys/stat.h-data: Likewise.
43019 * conform/data/sys/types.h-data: Likewise.
43020 * conform/data/sys/wait.h-data: Likewise.
43021 * conform/data/time.h-data: Likewise.
43022 * conform/data/unistd.h-data: Likewise.
43023 * conform/data/utime.h-data: Likewise.
43025 * io/sys/stat.h: fchmod was always in POSIX.
43026 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
43027 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
43028 * rt/aio.h: Define __need_timespec before including <time.h>.
43029 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
43030 struct. Add forward declaration of pthread_attr_t and use it in
43032 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43033 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43034 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43035 always remove CLK_TCK definition.
43037 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
43039 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
43041 2012-02-25 Ulrich Drepper <drepper@gmail.com>
43043 * conform/run-conformtest.sh: New file.
43044 * conform/Makefile: Run run-conformtest for tests.
43045 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
43048 * conform/data/uchar.h-data: New file.
43049 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
43050 * conform/data/arpa/inet.h-data: Likewise.
43051 * conform/data/assert.h-data: Likewise.
43052 * conform/data/complex.h-data: Likewise.
43053 * conform/data/cpio.h-data: Likewise.
43054 * conform/data/ctype.h-data: Likewise.
43055 * conform/data/dirent.h-data: Likewise.
43056 * conform/data/dlfcn.h-data: Likewise.
43057 * conform/data/errno.h-data: Likewise.
43058 * conform/data/fcntl.h-data: Likewise.
43059 * conform/data/float.h-data: Likewise.
43060 * conform/data/fmtmsg.h-data: Likewise.
43061 * conform/data/fnmatch.h-data: Likewise.
43062 * conform/data/ftw.h-data: Likewise.
43063 * conform/data/glob.h-data: Likewise.
43064 * conform/data/grp.h-data: Likewise.
43065 * conform/data/iconv.h-data: Likewise.
43066 * conform/data/inttypes.h-data: Likewise.
43067 * conform/data/langinfo.h-data: Likewise.
43068 * conform/data/libgen.h-data: Likewise.
43069 * conform/data/limits.h-data: Likewise.
43070 * conform/data/locale.h-data: Likewise.
43071 * conform/data/math.h-data: Likewise.
43072 * conform/data/monetary.h-data: Likewise.
43073 * conform/data/mqueue.h-data: Likewise.
43074 * conform/data/ndbm.h-data: Likewise.
43075 * conform/data/net/if.h-data: Likewise.
43076 * conform/data/netdb.h-data: Likewise.
43077 * conform/data/netinet/in.h-data: Likewise.
43078 * conform/data/nl_types.h-data: Likewise.
43079 * conform/data/poll.h-data: Likewise.
43080 * conform/data/pthread.h-data: Likewise.
43081 * conform/data/pwd.h-data: Likewise.
43082 * conform/data/regex.h-data: Likewise.
43083 * conform/data/sched.h-data: Likewise.
43084 * conform/data/search.h-data: Likewise.
43085 * conform/data/semaphore.h-data: Likewise.
43086 * conform/data/setjmp.h-data: Likewise.
43087 * conform/data/signal.h-data: Likewise.
43088 * conform/data/spawn.h-data: Likewise.
43089 * conform/data/stdarg.h-data: Likewise.
43090 * conform/data/stdio.h-data: Likewise.
43091 * conform/data/stdlib.h-data: Likewise.
43092 * conform/data/string.h-data: Likewise.
43093 * conform/data/strings.h-data: Likewise.
43094 * conform/data/stropts.h-data: Likewise.
43095 * conform/data/sys/ipc.h-data: Likewise.
43096 * conform/data/sys/mman.h-data: Likewise.
43097 * conform/data/sys/msg.h-data: Likewise.
43098 * conform/data/sys/resource.h-data: Likewise.
43099 * conform/data/sys/select.h-data: Likewise.
43100 * conform/data/sys/sem.h-data: Likewise.
43101 * conform/data/sys/shm.h-data: Likewise.
43102 * conform/data/sys/socket.h-data: Likewise.
43103 * conform/data/sys/stat.h-data: Likewise.
43104 * conform/data/sys/statvfs.h-data: Likewise.
43105 * conform/data/sys/time.h-data: Likewise.
43106 * conform/data/sys/timeb.h-data: Likewise.
43107 * conform/data/sys/times.h-data: Likewise.
43108 * conform/data/sys/types.h-data: Likewise.
43109 * conform/data/sys/uio.h-data: Likewise.
43110 * conform/data/sys/un.h-data: Likewise.
43111 * conform/data/sys/utsname.h-data: Likewise.
43112 * conform/data/sys/wait.h-data: Likewise.
43113 * conform/data/syslog.h-data: Likewise.
43114 * conform/data/tar.h-data: Likewise.
43115 * conform/data/termios.h-data: Likewise.
43116 * conform/data/utime.h-data: Likewise.
43117 * conform/data/utmpx.h-data: Likewise.
43118 * conform/data/varargs.h-data: Likewise.
43119 * conform/data/wchar.h-data: Likewise.
43120 * conform/data/wctype.h-data: Likewise.
43121 * conform/data/wordexp.h-data: Likewise.
43123 * include/stropts.h: New file.
43124 * include/uchar.h: New file.
43125 * include/aio.h: Changes to allow conformtest.pl to use the headers.
43126 * include/assert.h: Likewise.
43127 * include/ctype.h: Likewise.
43128 * include/dirent.h: Likewise.
43129 * include/dlfcn.h: Likewise.
43130 * include/fcntl.h: Likewise.
43131 * include/fnmatch.h: Likewise.
43132 * include/glob.h: Likewise.
43133 * include/grp.h: Likewise.
43134 * include/libio.h: Likewise.
43135 * include/locale.h: Likewise.
43136 * include/math.h: Likewise.
43137 * include/net/if.h: Likewise.
43138 * include/netdb.h: Likewise.
43139 * include/netinet/in.h: Likewise.
43140 * include/pthread.h: Likewise.
43141 * include/pwd.h: Likewise.
43142 * include/regex.h: Likewise.
43143 * include/sched.h: Likewise.
43144 * include/search.h: Likewise.
43145 * include/setjmp.h: Likewise.
43146 * include/signal.h: Likewise.
43147 * include/stdio.h: Likewise.
43148 * include/stdlib.h: Likewise.
43149 * include/string.h: Likewise.
43150 * include/sys/cdefs.h: Likewise.
43151 * include/sys/mman.h: Likewise.
43152 * include/sys/msg.h: Likewise.
43153 * include/sys/resource.h: Likewise.
43154 * include/sys/select.h: Likewise.
43155 * include/sys/socket.h: Likewise.
43156 * include/sys/stat.h: Likewise.
43157 * include/sys/statvfs.h: Likewise.
43158 * include/sys/time.h: Likewise.
43159 * include/sys/times.h: Likewise.
43160 * include/sys/uio.h: Likewise.
43161 * include/sys/utsname.h: Likewise.
43162 * include/sys/wait.h: Likewise.
43163 * include/termios.h: Likewise.
43164 * include/time.h: Likewise.
43165 * include/ulimit.h: Likewise.
43166 * include/unistd.h: Likewise.
43167 * include/utime.h: Likewise.
43168 * include/wchar.h: Likewise.
43169 * include/wctype.h: Likewise.
43170 * include/wordexp.h: Likewise.
43172 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
43174 * time/time.h: TIME_UTC must be a macro.
43175 Make timespec_get available for ISO C11 only as well.
43177 2012-02-24 Ulrich Drepper <drepper@gmail.com>
43179 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
43180 Reported by Peng Haitao <penght@cn.fujitsu.com>.
43182 2012-02-24 Joseph Myers <joseph@codesourcery.com>
43184 * configure.in: Use -o not -a in test for unsupported multi-arch.
43186 2012-02-24 Joseph Myers <joseph@codesourcery.com>
43188 * manual/texinfo.tex: Update to version 2012-01-19.16.
43190 2012-02-24 Joseph Myers <joseph@codesourcery.com>
43192 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
43194 2012-02-24 Roland McGrath <roland@hack.frob.com>
43197 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
43198 * manual/fdl-1.3.texi: New file.
43199 * manual/fdl-1.1.texi: File removed.
43202 * manual/libc.texinfo (FDL_VERSION): New @set.
43203 Use it for mention of FDL in cover text.
43204 (Documentation License): Use it in @include file name.
43206 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43207 Roland McGrath <roland@hack.frob.com>
43210 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
43211 (not LONG_LONG_MAX and LONG_LONG_MIN.
43212 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
43213 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
43215 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
43217 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43221 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
43222 manipulate bits before adding and subtracting TWO23[sx].
43223 * math/libm-test.inc (nearbyint_test): Add more tests.
43225 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43228 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
43229 bits before adding and subtracting TWO23[sx].
43230 * math/libm-test.inc (rint_test): Add more tests.
43231 (rint_test_tonearest): Likewise.
43232 (rint_test_towardzero): Likewise.
43233 (rint_test_downward): Likewise.
43234 (rint_test_upward: Likewise.
43236 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43239 * include/stdc-predef.h: New file. Extracted from features.h.
43240 * include/features.h: Include stdc-predef.h.
43241 * Makefile (headers): Add stdc-predef.h.
43242 * CONFORMANCE (Compiler limitations): Update.
43244 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43246 * manual/libc.texinfo (VERSION, UPDATED): Revert.
43248 2012-02-21 David S. Miller <davem@davemloft.net>
43250 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
43251 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43253 2012-02-20 David S. Miller <davem@davemloft.net>
43255 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
43256 using a normal save/restore sequence, rather than allocating a
43257 dummy stack frame just to store a frame pointer and restore.
43258 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43260 2012-02-21 Joseph Myers <joseph@codesourcery.com>
43262 * manual/install.texi: Fix stray word in line-wrapped comment.
43264 2012-02-20 David S. Miller <davem@davemloft.net>
43266 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
43267 both binutils and gcc support GOTDATA.
43269 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
43270 "rd %pc" in the PIC register setup sequences.
43272 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
43273 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43274 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43275 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43276 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43277 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43278 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43279 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43280 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
43281 (SYSCALL_ERROR_HANDLER): Likewise.
43282 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43283 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43284 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
43285 (SYSCALL_ERROR_HANDLER): Likewise.
43287 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
43288 (HAVE_GCC_GOTDATA): New.
43289 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
43290 relocation support in both binutils and gcc.
43291 * sysdeps/sparc/elf/configure: Regenerate.
43293 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
43294 * sysdeps/sparc/sparc32/elf/configure: Delete.
43295 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
43296 * sysdeps/sparc/sparc64/elf/configure: Delete.
43297 * sysdeps/sparc/elf/configure.in: New file.
43298 * sysdeps/sparc/elf/configure: Generate.
43300 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
43301 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
43302 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43303 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
43304 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
43306 2012-02-21 Joseph Myers <joseph@codesourcery.com>
43308 * manual/install.texi: Do not mention specific glibc version
43310 * manual/libc.texinfo (VERSION, UPDATED): Update.
43311 (@copying): Use @copyright{} and range of years.
43313 2012-02-21 Joseph Myers <joseph@codesourcery.com>
43316 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
43317 [crti.S not in sysdirs] (generated): Do not append.
43318 [crti.S not in sysdirs] (omit-deps): Likewise.
43319 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
43320 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
43321 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
43322 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
43323 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
43325 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
43326 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
43327 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
43328 * csu/defs.awk: Remove file.
43329 * sysdeps/generic/initfini.c: Likewise.
43330 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
43332 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
43335 2012-02-20 Joseph Myers <joseph@codesourcery.com>
43337 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
43338 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
43339 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
43340 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
43341 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43342 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
43344 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
43345 (__EPOLL_PACKED): Define to empty if not defined by
43347 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
43348 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43351 2012-02-20 Joseph Myers <joseph@codesourcery.com>
43353 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
43354 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
43355 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
43356 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
43358 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
43359 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43362 2012-02-20 Joseph Myers <joseph@codesourcery.com>
43364 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
43366 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43367 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43368 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
43369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43371 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
43373 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43374 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43376 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
43378 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
43379 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
43381 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
43383 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
43386 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
43388 * math/w_acos.c: Use non-signaling floating-point comparisons.
43389 * math/w_acosf.c: Likewise.
43390 * math/w_acosh.c: Likewise.
43391 * math/w_acoshf.c: Likewise.
43392 * math/w_acoshl.c: Likewise.
43393 * math/w_acosl.c: Likewise.
43394 * math/w_asin.c: Likewise.
43395 * math/w_asinf.c: Likewise.
43396 * math/w_asinl.c: Likewise.
43397 * math/w_atanh.c: Likewise.
43398 * math/w_atanhf.c: Likewise.
43399 * math/w_atanhl.c: Likewise.
43400 * math/w_exp2.c: Likewise.
43401 * math/w_exp2f.c: Likewise.
43402 * math/w_exp2l.c: Likewise.
43403 * math/w_j0.c: Likewise.
43404 * math/w_j0f.c: Likewise.
43405 * math/w_j0l.c: Likewise.
43406 * math/w_j1.c: Likewise.
43407 * math/w_j1f.c: Likewise.
43408 * math/w_j1l.c: Likewise.
43409 * math/w_jn.c: Likewise.
43410 * math/w_jnf.c: Likewise.
43411 * math/w_log.c: Likewise.
43412 * math/w_log10.c: Likewise.
43413 * math/w_log10f.c: Likewise.
43414 * math/w_log10l.c: Likewise.
43415 * math/w_log2.c: Likewise.
43416 * math/w_log2f.c: Likewise.
43417 * math/w_log2l.c: Likewise.
43418 * math/w_logf.c: Likewise.
43419 * math/w_logl.c: Likewise.
43420 * math/w_sqrt.c: Likewise.
43421 * math/w_sqrtf.c: Likewise.
43422 * math/w_sqrtl.c: Likewise.
43423 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43424 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
43425 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43426 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43427 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43429 2012-02-19 Joseph Myers <joseph@codesourcery.com>
43432 * manual/string.texi (strnlen): Use correct parameter name in
43433 equivalent expression.
43435 2012-02-19 Joseph Myers <joseph@codesourcery.com>
43438 * manual/users.texi (seteuid): Consistently use neweuid for
43441 2012-02-19 Joseph Myers <joseph@codesourcery.com>
43444 * manual/nss.texi (Services in the NSS configuration): Correct
43445 list of services in example configuration file.
43447 2012-02-19 Nick Bowler <nbowler@draconx.ca>
43450 * manual/arith.texi: Remove statements about negative zero
43451 behaving identically to zero.
43453 2012-02-18 Joseph Myers <joseph@codesourcery.com>
43456 * manual/install.texi: Do not document upgrading from libc5.
43458 2012-02-18 Joseph Myers <joseph@codesourcery.com>
43461 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
43463 2012-02-18 David S. Miller <davem@davemloft.net>
43465 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
43466 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
43467 %o7 across the call.
43468 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
43470 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
43471 SETUP_PIC_REG_LEAF.
43472 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43473 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
43474 * sysdeps/sparc/crtn.S: Likewise.
43476 2012-02-17 Ulrich Drepper <drepper@gmail.com>
43478 * aout/Makefile: Remove.
43480 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
43483 * manual/examples/argp-ex1.c (main): Format definition in GNU
43485 * manual/examples/argp-ex2.c (main): Likewise.
43486 * manual/examples/argp-ex3.c (main): Likewise.
43487 * manual/examples/argp-ex4.c (main): Likewise.
43488 * manual/examples/longopt.c (main): Use new-style prototype
43490 * manual/examples/strncat.c (main): Specify return type and use
43491 (void) for arguments.
43492 * manual/examples/subopt.c (main): Use char **argv argument.
43494 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43497 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
43500 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
43503 * manual/string.texi (strchr): Change when strchrnul is
43506 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
43509 * manual/locale.texi (setlocale): Document LOCPATH.
43511 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43514 * manual/process.texi (execle): Move @dots{} before last argument.
43516 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
43519 * manual/charset.texi (Generic Charset Conversion): Fix typo
43520 (LC_TYPE -> LC_CTYPE).
43522 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
43525 * manual/arith.texi (scalbn): Use @var{} on parameter names.
43526 (scalbnf): Likewise.
43527 (scalbnl): Likewise.
43528 (scalbln): Likewise.
43529 (scalblnf): Likewise.
43530 (scalblnl): Likewise.
43531 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
43532 (vwarnx): Likewise.
43535 * manual/filesys.texi (telldir): Use braces around return type.
43536 * manual/llio.texi (mmap): Add space after comma.
43537 (mmap64): Likewise.
43538 * manual/math.texi (jn): Use @var{} on parameter names.
43544 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
43546 * manual/resource.texi (ulimit): Use @dots{} instead of literal
43548 (sched_get_priority_min): Remove semicolon on @deftypefun line.
43549 (sched_get_priority_max): Likewise.
43550 * manual/signal.texi (sigvec): Add space after comma.
43551 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
43553 (if_indextoname): Likewise.
43554 (if_freenameindex): Likewise.
43555 (sendto): Use ',' instead of '.' in prototype.
43556 * manual/startup.texi (syscall): Use @dots{} instead of literal
43558 * manual/stdio.texi (__fpending): Separate initial words of
43559 paragraph from @deftypefun line.
43560 * manual/syslog.texi (syslog): Use @dots{} instead of literal
43562 (vsyslog): Use @var{} on parameter names.
43563 * manual/terminal.texi (stty): Use @var{} on parameter names.
43564 * manual/users.texi (getutmp): Use @var{} on parameter names.
43565 (getutmpx): Likewise.
43567 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43570 * manual/stdio.texi (fopen): Fix typos in description of
43573 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
43576 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
43577 get clock_id definition.
43579 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
43582 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
43583 (madvise): Cast every argument to void on its own.
43585 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43588 * manual/startup.texi (Exit Status): Fix typo.
43590 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43593 * manual/examples/argp-ex1.c: Include <stdlib.h>.
43594 * manual/examples/argp-ex2.c: Likewise.
43595 * manual/examples/argp-ex3.c: Likewise.
43597 2012-02-16 Richard Henderson <rth@redhat.com>
43599 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
43600 * sysdeps/s390/s390-32/initfini.c: Remove.
43601 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
43602 * sysdeps/s390/s390-64/initfini.c: Remove.
43604 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43606 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
43607 compiler output for sysdeps/generic/initfini.c.
43608 * sysdeps/sh/elf/initfini.c: Remove file.
43610 2012-02-16 David S. Miller <davem@davemloft.net>
43613 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
43615 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
43616 * sysdeps/sparc/crti.S: New file.
43617 * sysdeps/sparc/crtn.S: New file.
43618 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
43619 * sysdeps/sparc/sparc64/Makefile: Likewise.
43621 2012-02-15 Mike Frysinger <vapier@gentoo.org>
43624 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
43626 2012-02-15 Roland McGrath <roland@hack.frob.com>
43629 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
43631 * mach/devstream.c (cookie_io_functions_t): Macro removed.
43632 (write, read, close): Likewise.
43633 Patch by Aurelien Jarno <aurelien@aurel32.net>.
43635 2012-02-15 Joseph Myers <joseph@codesourcery.com>
43637 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
43638 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
43639 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
43640 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
43642 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
43643 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43646 2012-02-14 Marek Polacek <polacek@redhat.com>
43648 * sysdeps/x86_64/crti.S: New file.
43649 * sysdeps/x86_64/crtn.S: New file.
43650 * sysdeps/x86_64/elf/initfini.c: Remove file.
43652 2012-02-13 Joseph Myers <joseph@codesourcery.com>
43654 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
43655 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
43656 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
43657 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
43659 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
43660 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43663 2012-02-13 Joseph Myers <joseph@codesourcery.com>
43665 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
43666 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
43667 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
43668 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
43670 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
43671 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43674 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
43676 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
43677 __feraiseexcept instead of feraiseexcept.
43679 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
43680 nanosleep invocations.
43681 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
43682 strings, and add error checking for a nanosleep invocations.
43684 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
43686 Replace FSF snail mail address with URLs, as per GNU coding standards.
43687 Most of the snail mail addresses were wrong anyway, and omitting
43688 them makes the source code easier to maintain. Almost all of the
43689 changes are to license notices and to locale LC_IDENTIFICATION
43690 addresses, except for this one:
43691 * manual/libc.texinfo: In "Published by", give the FSF's URL,
43692 not its snail mail address.
43694 2012-02-09 Richard Henderson <rth@twiddle.net>
43696 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
43697 of kernel-features.h.
43699 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
43701 2012-02-08 Marek Polacek <polacek@redhat.com>
43703 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
43704 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
43705 * sysdeps/gnu/_G_config.h: Likewise.
43706 * sysdeps/generic/_G_config.h: Likewise.
43708 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
43710 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
43712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43714 * sysdeps/powerpc/powerpc32/crti.S: New file.
43715 * sysdeps/powerpc/powerpc32/crtn.S: New file.
43716 * sysdeps/powerpc/powerpc64/crti.S: New file.
43717 * sysdeps/powerpc/powerpc64/crtn.S: New file.
43719 * Makeconfig (have-initfini): Don't set.
43720 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
43721 * configure.in (nopic_initfini): Don't substitute.
43722 * config.h.in (HAVE_INITFINI): Don't #undef.
43723 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
43724 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
43726 2012-02-08 Joseph Myers <joseph@codesourcery.com>
43728 Support crti.S and crtn.S provided directly by architectures.
43729 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
43730 [crti.S in sysdirs] (omit-deps): Likewise.
43731 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
43732 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
43733 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
43734 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
43735 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
43736 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
43737 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
43738 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
43739 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
43740 compiler output for sysdeps/generic/initfini.c.
43741 * sysdeps/i386/elf/Makefile: Remove file.
43742 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
43744 2012-02-07 Marek Polacek <polacek@redhat.com>
43746 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
43747 * sysdeps/gnu/_G_config.h: Likewise.
43748 * sysdeps/mach/hurd/_G_config.h: Likewise.
43750 2012-02-07 Marek Polacek <polacek@redhat.com>
43752 * math/Makefile (tests): Add tst-CMPLX2.
43753 * math/tst-CMPLX2.c: New file.
43755 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
43757 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43759 * math/libm-test.inc (jn_test): Add missing L suffix.
43761 2012-02-06 Marek Polacek <polacek@redhat.com>
43763 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
43764 * sysdeps/i386/fpu/e_powf.S: Likewise.
43765 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43766 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43767 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43768 * sysdeps/i386/fpu/e_pow.S: Likewise.
43769 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43770 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43771 * sysdeps/i386/fpu/s_expm1.S: Likewise.
43772 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43773 * sysdeps/i386/fpu/e_log2.S: Likewise.
43774 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43775 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43776 * sysdeps/i386/fpu/e_powl.S: Likewise.
43777 * sysdeps/i386/fpu/s_log1p.S: Likewise.
43778 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43779 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43780 * sysdeps/i386/fpu/e_logl.S: Likewise.
43781 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43782 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
43783 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43784 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43785 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43786 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43787 * sysdeps/i386/fpu/e_log.S: Likewise.
43788 * sysdeps/i386/fpu/s_cexp.S: Likewise.
43789 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43790 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
43791 * sysdeps/i386/fpu/e_logf.S: Likewise.
43792 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43793 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43794 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
43795 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43796 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43797 * sysdeps/i386/fpu/e_log10.S: Likewise.
43798 * sysdeps/i386/fpu/s_frexp.S: Likewise.
43799 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43800 * sysdeps/i386/fpu/s_asinh.S: Likewise.
43801 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43802 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43803 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43804 * sysdeps/i386/asm-syntax.h: Likewise.
43805 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43806 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43807 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43808 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
43809 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
43810 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43811 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43812 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43813 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43814 * sysdeps/powerpc/sysdep.h: Likewise.
43815 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
43816 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43818 2012-02-06 Joseph Myers <joseph@codesourcery.com>
43821 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
43823 2012-02-06 Joseph Myers <joseph@codesourcery.com>
43825 * sysdeps/i386/sysdep.h: Include <features.h>.
43826 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
43829 2012-02-05 Joseph Myers <joseph@codesourcery.com>
43831 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
43833 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
43836 2012-02-03 Joseph Myers <joseph@codesourcery.com>
43838 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
43839 (SETUP_PIC_REG): Use GET_PC_THUNK.
43840 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
43843 2012-02-03 Joseph Myers <joseph@codesourcery.com>
43845 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
43846 for non-PIC compilation.
43847 (SETUP_PIC_REG): Add .p2align directive.
43848 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
43849 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43850 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43851 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43852 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43853 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43854 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43855 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43856 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43857 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43858 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43859 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43860 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43861 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43862 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43863 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43864 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43865 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43866 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43867 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43868 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43869 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43870 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43871 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43872 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43873 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43874 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43875 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43876 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43877 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43878 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43879 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43880 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43881 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43882 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43883 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43884 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43885 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43886 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43887 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43888 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43890 2012-02-03 Joseph Myers <joseph@codesourcery.com>
43892 * math/tst-CMPLX.c: Include <stdio.h>.
43894 2012-01-31 Joseph Myers <joseph@codesourcery.com>
43896 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
43898 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43899 * sysdeps/sparc/bits/mathdef.h: Likewise.
43901 2012-01-31 Marek Polacek <polacek@redhat.com>
43903 * libio/libio.h: Don't define _PARAMS.
43904 * locale/programs/config.h: Don't define PARAMS.
43905 * stdlib/strtol_l.c: Likewise.
43906 (__strtol_l): Remove PARAMS from the prototype.
43908 2012-01-31 Ulrich Drepper <drepper@gmail.com>
43910 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
43911 names. Just use the correct names. Remove unnecessary wrapper
43913 * malloc/arena.c: Likewise.
43914 * malloc/hooks.c: Likewise.
43916 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
43917 ARENA_TEST says not to. Simplify test for creation of a new arena.
43918 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
43920 2012-01-30 Ulrich Drepper <drepper@gmail.com>
43922 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
43924 (update_get_addr): New function.
43925 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
43926 GET_ADDR_MODULE parameter.
43928 2012-01-30 Joseph Myers <joseph@codesourcery.com>
43930 * crypt/cert.c: Remove __STDC__ conditionals.
43931 * crypt/crypt-entry.c: Likewise.
43932 * crypt/crypt_util.c: Likewise.
43933 * libio/filedoalloc.c: Likewise.
43934 * libio/fileops.c: Likewise.
43935 * libio/genops.c: Likewise.
43936 * libio/iofclose.c: Likewise.
43937 * libio/iofdopen.c: Likewise.
43938 * libio/iofopen.c: Likewise.
43939 * libio/iofopen64.c: Likewise.
43940 * libio/iogetdelim.c: Likewise.
43941 * libio/iopopen.c: Likewise.
43942 * libio/obprintf.c: Likewise.
43943 * libio/oldfileops.c: Likewise.
43944 * libio/oldiofclose.c: Likewise.
43945 * libio/oldiofdopen.c: Likewise.
43946 * libio/oldiofopen.c: Likewise.
43947 * libio/oldiopopen.c: Likewise.
43948 * libio/wfiledoalloc.c: Likewise.
43949 * libio/wgenops.c: Likewise.
43950 * locale/programs/xmalloc.c: Likewise.
43951 * misc/syslog.c: Likewise.
43952 * stdio-common/xbug.c: Likewise.
43953 * string/memchr.c: Likewise.
43954 * string/memcmp.c: Likewise.
43955 * string/memrchr.c: Likewise.
43956 * string/rawmemchr.c: Likewise.
43957 * sysdeps/posix/getcwd.c: Likewise.
43958 * time/strftime_l.c: Likewise.
43960 2012-01-30 Joseph Myers <joseph@codesourcery.com>
43962 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
43963 * config.make.in (config-cflags-sse2avx): Define.
43964 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
43967 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
43969 * scripts/config.guess: Update from upstream config git repository.
43970 * scripts/config.sub: Likewise.
43972 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
43974 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
43976 (R_TILEPRO_*, R_TILEGX_*): New macros.
43978 * scripts/firstversions.awk: Fix bug in version range handling.
43980 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
43982 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
43984 * include/sys/epoll.h: New file.
43985 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
43988 2012-01-28 Ulrich Drepper <drepper@gmail.com>
43990 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
43991 Avoid unnecessary __WORDSIZE == 64 test.
43992 (fmaxf): Use VEX format if possible.
43997 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
43998 * math/math_private.h: Remove libc_fegetround* and
44000 * sysdeps/i386/configure.in: Check for -msse2avx.
44001 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
44002 also if SSE2AVX is defined.
44003 Remove libc_fegetround* and libc_fesetround*.
44004 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
44005 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
44006 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
44008 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44009 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44010 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44011 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44012 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44014 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
44016 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44018 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
44020 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44022 2012-01-27 Ulrich Drepper <drepper@gmail.com>
44025 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
44027 * Makeconfig (libm): Define.
44028 * elf/Makefile: Add rules to build and run tst-relsort1.
44029 * elf/tst-relsort1.c: New file.
44030 * elf/tst-relsort1mod1.c: New file.
44031 * elf/tst-relsort1mod2.c: New file.
44033 2012-01-27 Joseph Myers <joseph@codesourcery.com>
44035 * math/s_ldexp.c: Remove __STDC__ conditionals.
44036 * math/s_ldexpf.c: Likewise.
44037 * math/s_ldexpl.c: Likewise.
44038 * math/s_nextafter.c: Likewise.
44039 * math/s_nexttowardf.c: Likewise.
44040 * math/s_significand.c: Likewise.
44041 * math/s_significandf.c: Likewise.
44042 * math/s_significandl.c: Likewise.
44043 * math/w_jnl.c: Likewise.
44044 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44045 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44046 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44047 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44048 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44049 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44050 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
44051 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44052 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44053 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44054 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44055 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44056 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44057 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44058 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44059 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44060 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44061 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44062 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44063 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44064 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44065 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44066 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44067 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44068 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44069 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44070 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44071 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44072 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44073 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44074 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44075 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44076 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44077 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44078 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44079 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44080 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44081 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44082 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44083 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44084 * sysdeps/ieee754/k_standard.c: Likewise.
44085 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44086 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44087 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44088 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44089 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44090 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44091 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44092 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44093 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44094 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44095 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44096 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44097 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44098 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44099 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44100 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44101 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44102 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44103 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44104 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44105 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44106 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44107 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44108 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44109 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44110 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44111 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44112 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44113 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44114 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44115 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44116 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
44117 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44118 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44119 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44120 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44121 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
44122 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44123 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44124 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
44125 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
44126 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44127 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
44128 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
44129 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44130 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44131 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44132 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44133 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44134 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
44135 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
44136 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44137 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44138 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44139 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44140 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44141 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
44142 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44143 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44144 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44145 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44146 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44147 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44148 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44149 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44150 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44151 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44152 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44153 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44154 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44155 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44156 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44157 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44158 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44159 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44160 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44161 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44162 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44163 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44164 * sysdeps/ieee754/s_matherr.c: Likewise.
44165 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44166 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44167 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44168 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44170 2012-01-26 Joseph Myers <joseph@codesourcery.com>
44172 * crypt/md5.h: Remove __STDC__ conditionals.
44173 * libio/libioP.h: Likewise.
44174 * locale/programs/config.h: Likewise.
44175 * sysdeps/generic/sysdep.h: Likewise.
44176 * sysdeps/i386/asm-syntax.h: Likewise.
44177 * sysdeps/s390/asm-syntax.h: Likewise.
44178 * sysdeps/unix/sysdep.h: Likewise.
44179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44182 2012-01-26 Joseph Myers <joseph@codesourcery.com>
44184 * libio/libio.h: Remove __STDC__ conditionals.
44185 * malloc/obstack.h: Likewise.
44186 * math/complex.h: Likewise.
44187 * math/math.h: Likewise.
44188 * sysdeps/generic/_G_config.h: Likewise.
44189 * sysdeps/gnu/_G_config.h: Likewise.
44190 * sysdeps/mach/hurd/_G_config.h: Likewise.
44191 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44192 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44193 * sysdeps/sparc/bits/mathdef.h: Likewise.
44195 2012-01-26 Ulrich Drepper <drepper@gmail.com>
44198 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
44199 Clean up HAS_* macros.
44200 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
44201 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
44203 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
44205 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44206 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44207 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44208 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44209 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44211 2012-01-25 Joseph Myers <joseph@codesourcery.com>
44213 * elf/tst-unique3.cc (gets): Remove declaration.
44214 * elf/tst-unique3lib.cc (gets): Likewise.
44215 * elf/tst-unique3lib2.cc (gets): Likewise.
44216 * elf/tst-unique4.cc (gets): Likewise.
44218 2012-01-24 Ulrich Drepper <drepper@gmail.com>
44220 * include/stdio.h: Add C++ protection. Add gets declarations and
44222 * debug/tst-chk1.c: Don't declare gets here.
44223 * stdio-common/tst-gets.c: Likewise.
44225 2012-01-24 Joseph Myers <joseph@codesourcery.com>
44227 * posix/glob: Remove directory.
44229 2012-01-24 Joseph Myers <joseph@codesourcery.com>
44231 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
44233 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
44235 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
44236 of the non-standard EPFNOSUPPORT.
44238 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
44240 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
44241 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
44242 ANYWHERE set to 1 only on KERN_NO_SPACE error.
44244 2012-01-21 Ulrich Drepper <drepper@gmail.com>
44246 * wcsmbs/uchar.h: Test __STDC_VERSION__.
44248 2012-01-20 Ulrich Drepper <drepper@gmail.com>
44250 * nscd/aicache.c (addhstaiX): Do not cache negative results of
44252 * nscd/grpcache.c (cache_addgr): Likewise.
44253 * nscd/hstcache.c (cache_addhst): Likewise.
44254 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44255 * nscd/pwdcache.c (cache_addpw): Likewise.
44256 * nscd/servicescache.c (cache_addserv): Likewise.
44258 2012-01-16 Ulrich Drepper <drepper@gmail.com>
44260 * malloc/malloc.c: Various cleanups.
44261 * malloc/hooks.c: Likewise.
44263 * stdlib/Makefile (tests): Add bug-fmtmsg1.
44264 * stdlib/bug-fmtmsg1.c: New file.
44266 * stdlib/fmtmsg.c (init): Add missing unlock.
44267 Patch by Peng Haitao <penght@cn.fujitsu.com>.
44269 2012-01-12 Marek Polacek <polacek@redhat.com>
44271 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
44274 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44276 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
44277 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
44278 macro to ensure uniqueness of label name.
44279 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44280 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44282 2012-01-11 Ulrich Drepper <drepper@gmail.com>
44284 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
44286 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
44287 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44288 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44289 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
44291 2012-01-10 Ulrich Drepper <drepper@gmail.com>
44293 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
44295 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
44296 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44297 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44299 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
44301 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
44302 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44303 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44304 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
44306 * math/bits/math-finite.h: Add ldexp support.
44308 2012-01-10 Marek Polacek <polacek@redhat.com>
44310 * locale/programs/localedef.h (show_archive_content): Add noreturn
44313 2012-01-09 Ulrich Drepper <drepper@gmail.com>
44315 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
44317 2012-01-08 Ulrich Drepper <drepper@gmail.com>
44319 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
44321 * io/Makefile (headers): Add bits/poll2.h.
44323 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
44325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
44326 typo #include statement.
44328 2012-01-08 Ulrich Drepper <drepper@gmail.com>
44330 * include/sys/cdefs.h: Define __attribute_alloc_size.
44331 * catgets/gencat.c: Add alloc_size attribute and apply consistently
44332 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
44333 * elf/pldd.c: Likewise.
44334 * iconv/iconv_charmap.c: Likewise.
44335 * iconv/iconvconfig.c: Likewise.
44336 * iconv/strtab.c: Likewise.
44337 * locale/programs/locale.c: Likewise.
44338 * locale/programs/localedef.h: Likewise.
44339 * locale/programs/simple-hash.c: Likewise.
44340 * nscd/nscd.h: Likewise.
44341 * nss/makedb.c: Likewise.
44342 * sysdeps/generic/ldconfig.h: Likewise.
44343 * locale/programs/localedef.c: Remove xmalloc prototype.
44344 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
44346 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44348 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
44351 2012-01-08 Ulrich Drepper <drepper@gmail.com>
44353 * math/Makefile (tests): Add tst-CMPLX.
44354 * math/tst-CMPLX.c: New file.
44356 * math/complex.h (CMPLXL): Fix typo.
44358 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
44359 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
44361 * debug/tst-chk1.c: Add poll and ppoll tests.
44362 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
44363 * include/sys/poll.h: Add hidden proto for ppoll.
44364 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
44365 * sysdeps/mach/hurd/ppoll.c: Likewise.
44366 * io/ppoll.c: Likewise.
44367 * debug/poll_chk.c: New file.
44368 * debug/ppoll_chk.c: New file.
44369 * include/bits/poll2.h: New file.
44370 * io/bits/poll2.h: New file.
44373 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
44375 * configure.in: static is always set to yes. Remove.
44376 * config.make.in: Don't set build-static.
44377 * Makeconfig: Remove use of build-static.
44378 * dlfcn/Makefile: Likewise.
44379 * elf/Makefile: Likewise.
44380 * math/Makefile: Likewise.
44381 * misc/Makefile: Likewise.
44382 * nptl/Makefile: Likewise.
44383 * sysdeps/mach/hurd/Makefile: Likewise.
44385 * configure.in: PWD_P is not used anymore.
44386 * config.make.in: Remove PWD_P entry.
44388 * configure.in: Remove last remnants of RANLIB.
44389 No need to check for signed size_t anymore.
44390 Don't set libc_commonpagesize and libc_relro_required here for Alpha
44392 Remove __builtin_expect test because we require at least gcc 3.4.
44393 * aclocal.m4: Likewise.
44395 * wcsmbs/mbrtoc16.c: Implement using towc function.
44396 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
44397 * wcsmbs/wcsmbsload.c: Likewise.
44398 * iconv/gconv_simple.c: Likewise.
44399 * iconv/gconv_int.h: Likewise.
44400 * iconv/gconv_builtin.h: Likewise.
44401 * iconv/iconv_prog.c: Remove CHAR16 handling.
44403 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
44405 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
44407 * configure.in: Remove --with-elf and --enable-bounded options.
44408 Dont set base_machine for ia64. More non-ELF conditions removed.
44409 Remove testing and setting of leading underscore information.
44410 * config.make.in (build-bounded): Set to no.
44411 * config.h.in: Remove NO_UNDERSCORES entry.
44412 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
44414 * csu/start.c: Remove !NO_UNDERSCORE code.
44415 * locale/localeinfo.h: Likewise.
44416 * sysdeps/generic/machine-gmon.h: Likewise.
44417 * sysdeps/generic/sysdep.h: Likewise.
44418 * sysdeps/i386/sysdep.h: Likewise.
44419 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44420 * sysdeps/mach/sysdep.h: Likewise.
44421 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44422 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44423 * sysdeps/sh/sysdep.h: Likewise.
44424 * sysdeps/sparc/sparc32/alloca.S: Likewise.
44425 * sysdeps/unix/i386/sysdep.S: Likewise.
44426 * sysdeps/unix/sparc/start.c: Likewise.
44427 * sysdeps/unix/sparc/sysdep.S: Likewise.
44428 * sysdeps/unix/sparc/sysdep.h: Likewise.
44429 * sysdeps/unix/start.c: Likewise.
44430 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44431 * sysdeps/x86_64/sysdep.h: Likewise.
44433 2012-01-07 Ulrich Drepper <drepper@gmail.com>
44436 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
44438 * argp/argp-fmtstream.h: Use const instead __const.
44439 * argp/argp.h: Likewise.
44440 * assert/assert.h: Likewise.
44441 * bits/fenv.h: Likewise.
44442 * bits/sched.h: Likewise.
44443 * bits/sigset.h: Likewise.
44444 * bits/sigthread.h: Likewise.
44445 * catgets/nl_types.h: Likewise.
44446 * conform/data/pthread.h-data: Likewise.
44447 * crypt/crypt-private.h: Likewise.
44448 * crypt/crypt.h: Likewise.
44449 * crypt/crypt_util.c: Likewise.
44450 * ctype/ctype.h: Likewise.
44451 * debug/execinfo.h: Likewise.
44452 * debug/mbsnrtowcs_chk.c: Likewise.
44453 * debug/mbsrtowcs_chk.c: Likewise.
44454 * debug/wcsnrtombs_chk.c: Likewise.
44455 * debug/wcsrtombs_chk.c: Likewise.
44456 * debug/wcstombs_chk.c: Likewise.
44457 * dirent/dirent.h: Likewise.
44458 * dlfcn/dlfcn.h: Likewise.
44459 * elf/neededtest4.c: Likewise.
44460 * grp/grp.h: Likewise.
44461 * gshadow/gshadow.h: Likewise.
44462 * iconv/gconv.h: Likewise.
44463 * iconv/gconv_int.h: Likewise.
44464 * iconv/gconv_simple.c: Likewise.
44465 * iconv/iconv.h: Likewise.
44466 * iconv/loop.c: Likewise.
44467 * iconv/skeleton.c: Likewise.
44468 * include/aio.h: Likewise.
44469 * include/aliases.h: Likewise.
44470 * include/argz.h: Likewise.
44471 * include/arpa/inet.h: Likewise.
44472 * include/assert.h: Likewise.
44473 * include/dirent.h: Likewise.
44474 * include/dlfcn.h: Likewise.
44475 * include/execinfo.h: Likewise.
44476 * include/fcntl.h: Likewise.
44477 * include/fenv.h: Likewise.
44478 * include/glob.h: Likewise.
44479 * include/grp.h: Likewise.
44480 * include/libintl.h: Likewise.
44481 * include/mntent.h: Likewise.
44482 * include/netdb.h: Likewise.
44483 * include/pwd.h: Likewise.
44484 * include/rpc/netdb.h: Likewise.
44485 * include/sched.h: Likewise.
44486 * include/search.h: Likewise.
44487 * include/shadow.h: Likewise.
44488 * include/signal.h: Likewise.
44489 * include/stdio.h: Likewise.
44490 * include/stdlib.h: Likewise.
44491 * include/string.h: Likewise.
44492 * include/sys/socket.h: Likewise.
44493 * include/sys/stat.h: Likewise.
44494 * include/sys/statfs.h: Likewise.
44495 * include/sys/statvfs.h: Likewise.
44496 * include/sys/syslog.h: Likewise.
44497 * include/sys/time.h: Likewise.
44498 * include/sys/uio.h: Likewise.
44499 * include/time.h: Likewise.
44500 * include/unistd.h: Likewise.
44501 * include/utmp.h: Likewise.
44502 * include/wchar.h: Likewise.
44503 * include/wctype.h: Likewise.
44504 * inet/aliases.h: Likewise.
44505 * inet/arpa/inet.h: Likewise.
44506 * inet/netinet/ether.h: Likewise.
44507 * inet/netinet/in.h: Likewise.
44508 * intl/libintl.h: Likewise.
44509 * io/bits/fcntl2.h: Likewise.
44510 * io/fcntl.h: Likewise.
44511 * io/ftw.h: Likewise.
44512 * io/sys/poll.h: Likewise.
44513 * io/sys/stat.h: Likewise.
44514 * io/sys/statfs.h: Likewise.
44515 * io/sys/statvfs.h: Likewise.
44516 * io/utime.h: Likewise.
44517 * libio/bits/stdio.h: Likewise.
44518 * libio/bits/stdio2.h: Likewise.
44519 * libio/libio.h: Likewise.
44520 * libio/libioP.h: Likewise.
44521 * libio/stdio.h: Likewise.
44522 * locale/lc-ctype.c: Likewise.
44523 * locale/locale.h: Likewise.
44524 * login/utmp.h: Likewise.
44525 * malloc/arena.c: Likewise.
44526 * malloc/malloc.c: Likewise.
44527 * malloc/malloc.h: Likewise.
44528 * malloc/mcheck.c: Likewise.
44529 * malloc/mtrace.c: Likewise.
44530 * math/bits/mathcalls.h: Likewise.
44531 * math/fenv.h: Likewise.
44532 * math/math_private.h: Likewise.
44533 * misc/bits/error.h: Likewise.
44534 * misc/bits/syslog.h: Likewise.
44535 * misc/err.h: Likewise.
44536 * misc/error.h: Likewise.
44537 * misc/fstab.h: Likewise.
44538 * misc/mntent.h: Likewise.
44539 * misc/regexp.h: Likewise.
44540 * misc/search.h: Likewise.
44541 * misc/sgtty.h: Likewise.
44542 * misc/sys/mman.h: Likewise.
44543 * misc/sys/syslog.h: Likewise.
44544 * misc/sys/uio.h: Likewise.
44545 * misc/sys/xattr.h: Likewise.
44546 * misc/ttyent.h: Likewise.
44547 * nis/rpcsvc/ypclnt.h: Likewise.
44548 * nss/nss.h: Likewise.
44549 * posix/bits/unistd.h: Likewise.
44550 * posix/fnmatch.h: Likewise.
44551 * posix/glob.h: Likewise.
44552 * posix/sched.h: Likewise.
44553 * posix/spawn.h: Likewise.
44554 * posix/sys/wait.h: Likewise.
44555 * posix/unistd.h: Likewise.
44556 * posix/wordexp.h: Likewise.
44557 * pwd/pwd.h: Likewise.
44558 * resolv/netdb.h: Likewise.
44559 * resource/sys/resource.h: Likewise.
44560 * rt/aio.h: Likewise.
44561 * rt/bits/mqueue2.h: Likewise.
44562 * rt/mqueue.h: Likewise.
44563 * shadow/shadow.h: Likewise.
44564 * signal/signal.h: Likewise.
44565 * socket/send.c: Likewise.
44566 * socket/sendto.c: Likewise.
44567 * socket/sys/socket.h: Likewise.
44568 * stdio-common/printf.h: Likewise.
44569 * stdlib/bits/stdlib.h: Likewise.
44570 * stdlib/fmtmsg.h: Likewise.
44571 * stdlib/monetary.h: Likewise.
44572 * stdlib/stdlib.h: Likewise.
44573 * stdlib/ucontext.h: Likewise.
44574 * streams/stropts.h: Likewise.
44575 * string/argz.h: Likewise.
44576 * string/bits/string2.h: Likewise.
44577 * string/string.h: Likewise.
44578 * string/strings.h: Likewise.
44579 * sunrpc/rpc/auth.h: Likewise.
44580 * sunrpc/rpc/auth_des.h: Likewise.
44581 * sunrpc/rpc/clnt.h: Likewise.
44582 * sunrpc/rpc/netdb.h: Likewise.
44583 * sunrpc/rpc/pmap_clnt.h: Likewise.
44584 * sunrpc/rpc/xdr.h: Likewise.
44585 * sysdeps/generic/inttypes.h: Likewise.
44586 * sysdeps/generic/net/if.h: Likewise.
44587 * sysdeps/generic/sys/swap.h: Likewise.
44588 * sysdeps/gnu/net/if.h: Likewise.
44589 * sysdeps/gnu/utmpx.h: Likewise.
44590 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
44591 * sysdeps/i386/i486/bits/string.h: Likewise.
44592 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
44593 * sysdeps/s390/bits/string.h: Likewise.
44594 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
44595 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
44596 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
44597 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
44598 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
44599 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
44600 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
44601 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
44602 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
44603 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
44604 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
44605 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44606 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
44607 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44608 * sysdeps/unix/sysv/linux/readv.c: Likewise.
44609 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
44610 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44611 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44612 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
44613 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44614 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44615 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
44616 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
44617 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
44618 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
44619 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
44620 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
44621 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44622 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
44623 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
44624 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
44625 * sysvipc/sys/ipc.h: Likewise.
44626 * sysvipc/sys/msg.h: Likewise.
44627 * sysvipc/sys/sem.h: Likewise.
44628 * sysvipc/sys/shm.h: Likewise.
44629 * termios/termios.h: Likewise.
44630 * time/sys/time.h: Likewise.
44631 * time/time.h: Likewise.
44632 * wcsmbs/bits/wchar2.h: Likewise.
44633 * wcsmbs/uchar.h: Likewise.
44634 * wcsmbs/wchar.h: Likewise.
44635 * wctype/wctype.h: Likewise.
44638 * Makeconfig: Remove all but ELF support including AIX support.
44639 * Makerules: Likewise.
44640 * config.h.in: Likewise.
44641 * config.make.in: Likewise.
44642 * configure: Likewise.
44643 * configure.in: Likewise.
44644 * csu/Makefile: Likewise.
44645 * csu/version.c: Likewise.
44646 * debug/Makefile: Likewise.
44647 * dlfcn/Makefile: Likewise.
44648 * elf/Makefile: Likewise.
44649 * extra-lib.mk: Likewise.
44650 * iconv/Makefile: Likewise.
44651 * include/libc-symbols.h: Likewise.
44652 * include/shlib-compat.h: Likewise.
44653 * resolv/Makefile: Likewise.
44654 * resolv/res_libc.c: Likewise.
44655 * rt/Makefile: Likewise.
44656 * sysdeps/i386/asm-syntax.h: Likewise.
44657 * sysdeps/i386/sysdep.h: Likewise.
44658 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44659 * sysdeps/mach/sysdep.h: Likewise.
44660 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
44661 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
44662 * sysdeps/s390/asm-syntax.h: Likewise.
44663 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44664 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44665 * sysdeps/sh/sysdep.h: Likewise.
44666 * sysdeps/unix/sparc/sysdep.h: Likewise.
44667 * sysdeps/wordsize-32/divdi3.c: Likewise.
44668 * sysdeps/x86_64/sysdep.h: Likewise.
44670 * argp/Versions: Remove _argp_unlock_xxx.
44673 * abilist/ld.abilist: Update. Adjust for removal of tls option.
44674 * abilist/libBrokenLocale.abilist: Likewise.
44675 * abilist/libanl.abilist: Likewise.
44676 * abilist/libc.abilist: Likewise.
44677 * abilist/libcrypt.abilist: Likewise.
44678 * abilist/libdl.abilist: Likewise.
44679 * abilist/libm.abilist: Likewise.
44680 * abilist/libnsl.abilist: Likewise.
44681 * abilist/libpthread.abilist: Likewise.
44682 * abilist/libresolv.abilist: Likewise.
44683 * abilist/librt.abilist: Likewise.
44684 * abilist/libthread_db.abilist: Likewise.
44685 * abilist/libutil.abilist: Likewise.
44686 * abilist/libnss_db.abilist: New file.
44688 * scripts/abilist.awk: Add support for indirect functions.
44690 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
44692 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
44694 * shlib-versions: Remove entries for ports architectures.
44696 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
44698 * elf/stackguard-macros.h: Remove support for IA-64.
44699 * elf/tst-auditmod1.c: Likewise.
44700 * sysdeps/generic/ldsodefs.h: Likewise.
44702 * sysdeps/unix/sysv/linux/configure.in: Ports should define
44703 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
44707 * configure.in: Remove --enable-omitfp support.
44709 * config.make.in: Likewise.
44710 * Makeconfig: Likewise.
44711 * manual/install.texi: Likewise.
44713 In case anyone cares, the IA-64 architecture could move to ports.
44714 * sysdeps/ia64/*: Removed.
44715 * sysdeps/unix/sysv/linux/ia64/*: Removed.
44716 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
44719 * configure.in: Remove entries for unsupported architectures.
44722 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
44723 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
44725 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
44726 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
44727 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
44728 fall back to using wcrtomb.
44729 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
44730 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
44732 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
44733 * wcsmbs/tst-c16c32-1.c: New file.
44735 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
44738 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
44740 * elf/tst-unique3.cc: Add explicit declaration of gets.
44741 * elf/tst-unique3lib.cc: Likewise.
44742 * elf/tst-unique3lib2.cc: Likewise.
44743 * elf/tst-unique4.cc: Likewise.
44745 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
44747 2012-01-06 Joseph Myers <joseph@codesourcery.com>
44750 * assert/assert.h (static_assert): Don't define for C++.
44751 * libio/stdio.h (gets): Do declare for C++ <= C++11.
44752 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
44754 2012-01-03 Ulrich Drepper <drepper@gmail.com>
44756 * iconv/loop.c (single loop): Fix assertion in storing of
44759 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
44761 2012-01-01 Ulrich Drepper <drepper@gmail.com>
44763 * posix/getconf.c: Update copyright year.
44764 * nss/getent.c: Likewise.
44765 * nss/makedb.c: Likewise.
44766 * iconv/iconvconfig.c: Likewise.
44767 * iconv/iconv_prog.c: Likewise.
44768 * elf/ldconfig.c: Likewise.
44769 * elf/pldd.c: Likewise.
44770 * elf/sotruss.ksh: Likewise.
44771 * catgets/gencat.c: Likewise.
44772 * csu/version.c: Likewise.
44773 * elf/ldd.bash.in: Likewise.
44774 * elf/sprof.c (print_version): Likewise.
44775 * locale/programs/locale.c: Likewise.
44776 * locale/programs/localedef.c: Likewise.
44777 * login/programs/pt_chown.c: Likewise.
44778 * nscd/nscd.c (print_version): Likewise.
44779 * debug/xtrace.sh: Likewise.
44780 * malloc/memusage.sh: Likewise.
44781 * malloc/mtrace.pl: Likewise.
44782 * debug/catchsegv.sh: Likewise.
44784 2011-12-30 Jakub Jelinek <jakub@redhat.com>
44786 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
44789 2011-12-24 Ulrich Drepper <drepper@gmail.com>
44792 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
44793 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
44795 * iconv/gconv_int.h: Likewise.
44796 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
44797 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
44798 from libc for GLIBC_2.16.
44799 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
44800 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
44801 * wcsmbs/uchar.h: Really define mbstate_t.
44802 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
44803 * wcsmbs/c16rtomb.c: New file.
44804 * wcsmbs/mbrtoc16.c: New file.
44805 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
44806 for C/POSIX locale.
44807 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
44808 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
44810 * wcsmbs/wchar.h: Add missing __restrict.
44812 2011-12-23 Ulrich Drepper <drepper@gmail.com>
44815 * time/Makefile (routines): Add timespec_get.
44816 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
44817 * time/time.h: Define TIME_UTC and declare timespec_get. Define
44818 timespec for ISO C11.
44819 * time/timespec_get.c: New file.
44820 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
44821 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
44824 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
44825 * stdlib/stdlib.h: Declare aligned_alloc.
44826 * Versions.def: Add GLIBC_2.16 for libc.
44827 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
44830 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
44833 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
44837 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
44840 * assert/assert.h (static_assert): Define.
44842 * version.h: Update for 2.16 development version.
44845 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
44848 * version.h (RELEASE): Bump for 2.15 release.
44849 * include/features.h (__GLIBC_MINOR__): Bump to 15.
44851 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
44852 Patch by Marek Polacek <mpolacek@redhat.com>.
44854 * bits/byteswap.h: Protect long long constants with __extension__.
44855 * sysdeps/i386/bits/byteswap.h: Likewise.
44856 * sysdeps/ia64/bits/byteswap.h: Likewise.
44857 * sysdeps/s390/bits/byteswap.h: Likewise.
44858 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44860 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44863 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
44864 destination buffer.
44865 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
44867 2011-12-23 Marek Polacek <polacek@redhat.com>
44869 * elf/dl-addr.c (determine_info): Add inline keyword.
44870 * elf/tst-auditmod4b.c (check_avx): Likewise.
44871 * elf/tst-auditmod6b.c (check_avx): Likewise.
44872 * elf/tst-auditmod6c.c (check_avx): Likewise.
44873 * elf/tst-auditmod7b.c (check_avx): Likewise.
44875 2011-12-23 Ulrich Drepper <drepper@gmail.com>
44877 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
44880 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44883 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
44884 processing for last bytes.
44886 2011-08-06 Bruno Haible <bruno@clisp.org>
44889 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
44890 U+0385, not to U+1FEE.
44893 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
44894 entry for U+00A5 U+0301.
44896 2011-12-22 Ulrich Drepper <drepper@gmail.com>
44899 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
44900 buffer for the output is too small.
44902 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
44906 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
44907 SSE flags if possible.
44909 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44912 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
44913 processing for last bytes.
44915 2011-12-22 Joseph Myers <joseph@codesourcery.com>
44917 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
44918 (syscall-list-default-options, syscall-list-default-condition)
44919 (syscall-list-includes): Define.
44920 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
44921 list of ABIs and options and #if conditions for each ABI. Do not
44922 handle common syscalls between ABIs specially.
44923 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
44925 (syscall-list-variants, syscall-list-32bit-options)
44926 (syscall-list-32bit-condition, syscall-list-64bit-options)
44927 (syscall-list-64bit-condition): Define.
44928 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
44929 (syscall-list-variants, syscall-list-32bit-options)
44930 (syscall-list-32bit-condition, syscall-list-64bit-options)
44931 (syscall-list-64bit-condition): Define.
44932 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
44934 (syscall-list-variants, syscall-list-32bit-options)
44935 (syscall-list-32bit-condition, syscall-list-64bit-options)
44936 (syscall-list-64bit-condition): Define.
44937 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
44939 (syscall-list-variants, syscall-list-32bit-options)
44940 (syscall-list-32bit-condition, syscall-list-64bit-options)
44941 (syscall-list-64bit-condition): Define.
44943 2011-12-22 Ulrich Drepper <drepper@gmail.com>
44945 * locale/iso-639.def: Add brx entry.
44948 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
44949 Proposed by Mariusz_Cukr <marcukr@op.pl>.
44951 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
44952 __feraiseexcept_renamed.
44954 2011-12-21 Ulrich Drepper <drepper@gmail.com>
44957 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
44958 EPOLLET with unsigned values.
44959 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44960 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44962 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
44963 to large cancellation.
44964 * math/s_cacoshf.c: Likewise.
44965 * math/s_cacoshl.c: Likewise.
44967 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
44971 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
44972 * math/s_cacoshf.c: Likewise.
44973 * math/s_cacoshl.c: Likewise.
44975 2011-12-21 Ulrich Drepper <drepper@gmail.com>
44978 * iconv/gconv.h: Define __GCONV_SWAP.
44979 * iconvdata/unicode.c: The swap bit must be stored in __flags.
44980 * iconvdata/utf-16.c: Likewise.
44981 * iconvdata/utf-32.c: Likewise.
44983 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
44986 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
44987 numerator after shifting it by one limb.
44989 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
44991 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
44992 under [__USE_EXTERN_INLINES].
44994 2011-12-17 Ulrich Drepper <drepper@gmail.com>
44997 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
44999 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45001 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
45002 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
45004 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
45005 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
45006 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
45007 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
45008 for strncasecmp/strncasecmp_l compilation.
45009 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
45010 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
45012 2011-12-08 Marek Polacek <mpolacek@redhat.com>
45015 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
45018 2011-12-17 Ulrich Drepper <drepper@gmail.com>
45021 * time/tzfile.c (__tzfile_read): Check values from file header.
45023 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
45025 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
45026 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
45027 * powerpc/powerpc32/dl-start.S: Likewise.
45028 * powerpc/powerpc32/elf/start.S: Likewise.
45029 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45030 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45031 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45032 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45033 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45034 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45035 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
45036 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45037 * powerpc/powerpc32/fpu/s_round.S: Likewise.
45038 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45039 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45040 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45041 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
45042 * powerpc/powerpc32/memset.S: Likewise.
45043 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45044 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45045 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45046 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45047 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45048 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45049 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45050 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45051 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
45052 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
45053 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
45054 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45055 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45057 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45059 * math/libm-test.inc: Added more nearbyint tests.
45060 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
45061 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
45062 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
45063 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
45065 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
45067 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
45070 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45072 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
45073 Add wcscpy-ssse3 wcscpy-c.
45074 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
45075 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
45076 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
45077 * sysdeps/x86_64/wcschr.S: New file.
45078 * sysdeps/x86_64/wcsrchr.S: New file.
45079 * string/test-strcmp.c: Remove checking of wcscmp function for
45081 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
45082 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
45083 wcsrchr-sse2 wcsrchr-c.
45084 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
45085 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
45086 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
45087 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
45088 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
45089 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
45090 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
45091 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
45092 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
45093 * wcsmbc/wcschr.c (WCSCHR): New macro.
45095 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45097 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
45098 * wcsmbs/test-wcsrchr.c: New file.
45099 * string/test-strrchr.c: Add wcsrchr support.
45101 * wcsmbs/test-wcscpy.c: New file.
45102 * string/test-strcpy.c: Add wcscpy support.
45105 2011-12-10 Ulrich Drepper <drepper@gmail.com>
45107 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
45110 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
45113 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
45115 2011-12-04 Ulrich Drepper <drepper@gmail.com>
45117 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
45118 Minor optimizations.
45120 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
45121 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
45122 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
45124 2011-12-03 Ulrich Drepper <drepper@gmail.com>
45126 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
45127 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
45128 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
45129 for gcc to avoid warnings.
45130 * inet/Makefile (tests): Add tst-checks.
45131 * inet/tst-checks.c: New file.
45133 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
45136 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
45139 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
45140 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
45142 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
45144 2011-12-02 Ulrich Drepper <drepper@gmail.com>
45146 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
45149 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
45151 2011-11-29 Joseph Myers <joseph@codesourcery.com>
45153 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
45154 conditional on GCC version.
45155 (__arch_compare_and_exchange_val_8_acq)
45156 (__arch_compare_and_exchange_val_16_acq)
45157 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
45158 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
45159 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
45161 2011-12-02 Joseph Myers <joseph@codesourcery.com>
45163 * sysdeps/sh/backtrace.c: New file.
45165 2011-12-02 Andreas Schwab <schwab@redhat.com>
45167 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
45170 2011-12-01 Andreas Schwab <schwab@redhat.com>
45172 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
45173 falling back to utime.
45175 2011-11-30 Andreas Schwab <schwab@redhat.com>
45177 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
45178 expectations for float.
45180 2011-11-29 Andreas Schwab <schwab@redhat.com>
45182 * locale/weight.h (findidx): Add parameter len.
45183 * locale/weightwc.h (findidx): Likewise.
45184 * posix/fnmatch_loop.c (FCT): Adjust caller.
45185 * posix/regcomp.c (build_equiv_class): Likewise.
45186 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
45187 * posix/regexec.c (check_node_accept_bytes): Likewise.
45188 * string/strcoll_l.c (STRCOLL): Likewise.
45189 * string/strxfrm_l.c (STRXFRM): Likewise.
45191 2011-11-17 Ulrich Drepper <drepper@gmail.com>
45193 * Makefile.in: Remove CVSOPT handling.
45194 * configure.in: Remove use of AC_REVISION.
45195 * iconvdata/Makefile (distribute): No need to filter out CVS.
45196 * scripts/list-sources.sh: Remove CVS, subversion and monotone
45199 2011-11-16 Andreas Schwab <schwab@redhat.com>
45201 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
45202 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
45203 [USE_AS_STRNCASECMP_L]: Likewise.
45204 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
45205 NO_TLS_DIRECT_SEG_REFS.
45206 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
45207 Fix argument offsets for non-PIC.
45208 [USE_AS_STRNCASECMP_L]: Likewise.
45209 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
45210 NO_TLS_DIRECT_SEG_REFS.
45212 2011-11-15 Ulrich Drepper <drepper@gmail.com>
45214 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
45216 * locale/loadlocale.c (_nl_load_locale): Likewise.
45218 2011-11-15 Andreas Schwab <schwab@redhat.com>
45220 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
45221 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
45222 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
45223 (SYSCALL_GETTIME): Set errno on error.
45225 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
45226 count references to noai6ai_cached.
45228 2011-11-15 Ulrich Drepper <drepper@gmail.com>
45230 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
45232 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
45233 FD_CLOEXEC for /proc/self/maps.
45235 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
45236 FD_CLOEXEC for /proc/meminfo.
45238 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
45241 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
45242 FD_CLOEXEC for given file.
45244 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
45246 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
45247 FD_CLOEXEC for /etc/hosts.
45248 (_gethtent): Likewise.
45250 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
45252 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
45253 cancellation and set FD_CLOEXEC for /etc/netgroup.
45255 * nss/nss_files/files-key.c (search): Don't allow cancellation when
45256 reading /etc/publickey.
45258 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
45259 allow cancellation when reading /etc/group.
45261 * nss/nss_files/files-alias.c (internal_setent): Don't allow
45263 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
45265 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
45266 when using data file.
45268 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
45270 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
45271 (write_nis_obj): Use "c" and "e" in fopen.
45273 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
45275 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
45277 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
45279 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
45281 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
45284 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
45286 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
45288 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
45290 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
45291 file parsing and set FD_CLOEXEC.
45293 2011-11-14 Ulrich Drepper <drepper@gmail.com>
45295 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
45297 2011-11-14 Andreas Schwab <schwab@redhat.com>
45299 * malloc/arena.c (arena_get2): Don't call reused_arena when
45300 _int_new_arena failed.
45302 2011-11-14 Ulrich Drepper <drepper@gmail.com>
45304 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
45305 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
45306 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
45307 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45308 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45309 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
45310 to compile strcasecmp and strncasecmp.
45311 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
45312 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
45314 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
45316 2011-11-13 Ulrich Drepper <drepper@gmail.com>
45318 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
45319 locale-defines.sym to gen-as-const-headers.
45320 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
45321 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
45322 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
45323 to compile strcasecmp and strncasecmp.
45324 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
45325 strcasecmp_l and strncasecmp_l.
45326 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
45327 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
45328 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
45329 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
45330 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
45331 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
45332 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
45333 * sysdeps/i386/i686/multiarch/strncase.S: New file.
45334 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
45335 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
45336 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
45338 2011-11-12 Ulrich Drepper <drepper@gmail.com>
45340 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
45341 result of SYSDEP_GETTIME_CPU to retval.
45342 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
45343 parameter list to macro. Remove trailing semicolon. Adjust users.
45345 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
45348 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
45350 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
45352 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
45353 from unused variable.
45355 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
45357 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
45360 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
45363 * sunrpc/rpc_prot.c (rejected): Fix case value.
45365 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
45366 unsigned long long int to avoid warnings in shift.
45368 * posix/regex_internal.c (re_string_reconstruct): Actually use result
45370 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
45373 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
45374 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
45375 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
45377 * nis/nis_table.c (nis_list): Use variable of correct type for
45378 result of __follow_path call.
45380 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45382 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
45383 of math functions ceil, trunc, floor, round, and sqrt, when
45384 avaliable on the platform.
45385 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
45387 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45388 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45389 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45391 2011-10-30 Marek Polacek <mpolacek@redhat.com>
45393 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
45394 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45396 2011-11-11 Roland McGrath <roland@hack.frob.com>
45398 * include/unistd.h: Fix __readlink return type.
45399 Reported by Chris Metcalf <cmetcalf@tilera.com>.
45401 2011-11-11 Ulrich Drepper <drepper@gmail.com>
45403 * stdlib/ucontext.h: Undo last change for makecontext.
45405 2011-11-11 Andreas Schwab <schwab@redhat.com>
45407 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
45409 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
45410 * setjmp/setjmp.h: Mark functions as non-leaf.
45411 * setjmp/bits/setjmp2.h: Likewise.
45412 * stdlib/ucontext.h: Likewise.
45414 2011-11-10 Andreas Schwab <schwab@redhat.com>
45416 * malloc/arena.c (_int_new_arena): Don't increment narenas.
45417 (reused_arena): Don't check arena limit.
45418 (arena_get2): Atomically check arena limit.
45420 2011-11-08 Ulrich Drepper <drepper@gmail.com>
45422 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
45423 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
45425 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
45428 2011-11-07 Andreas Schwab <schwab@redhat.com>
45430 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
45431 handler when locking.
45433 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45434 Fix size of allocated buffer.
45436 2011-11-04 Andreas Schwab <schwab@redhat.com>
45439 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
45440 declarations for long double functions.
45441 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
45443 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
45445 2011-11-03 Andreas Schwab <schwab@redhat.com>
45447 * nscd/nscd.c (main): Don't start AVC thread until credentials are
45450 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
45453 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
45455 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
45457 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
45459 * include/alloca.h (stackinfo_alloca_round): Define.
45460 (extend_alloca): Use it.
45461 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
45462 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
45465 * scripts/check-local-headers.sh: Ignore libaudit.h.
45467 * nscd/Makefile (extra-objs): Make recursively expanded.
45469 2011-11-01 Ulrich Drepper <drepper@gmail.com>
45471 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
45472 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45474 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
45475 * posix/tst-rfc3484-2.c: Likewise.
45476 * posix/tst-rfc3484-3.c: Likewise.
45478 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45480 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
45482 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
45483 process_vm_writev from libc using GLIBC_2.15 version.
45485 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
45487 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
45489 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
45492 2011-10-31 Ulrich Drepper <drepper@gmail.com>
45495 * nss/getent.c (initgroups_keys): Show error message in case no group
45498 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
45499 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
45500 __bump_nl_timestamp.
45501 * nscd/connections (nscd_init): When host database is served open
45502 netlink socket and request notification about configuration changes.
45503 (main_loop_poll): Track netlink file descriptor and bump timestamp
45504 in case data becomes available.
45505 (main_loop_epoll): Likewise.
45506 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
45507 (database_pers_head): Add extra_data fileds.
45508 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
45509 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
45510 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
45512 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
45513 in6ai data, call __free_in6ai.
45514 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
45515 Add -DHAVE_NETLINK.
45516 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
45517 interface information. Reuse previous data if netlink timestamp
45519 (__bump_nl_timestamp): New function.
45520 (__free_in6ai): New function.
45522 2011-10-30 Ulrich Drepper <drepper@gmail.com>
45524 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
45525 close_not_cancel_no_status here.
45526 (__check_pf): Reorganize code a bit to not call close twice if OOM.
45528 2011-10-29 Ulrich Drepper <drepper@gmail.com>
45531 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
45534 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
45535 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
45536 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
45538 2011-07-03 Andreas Jaeger <aj@suse.de>
45541 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
45542 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
45543 * math/libm-test.inc (sin_test): Add test case.
45545 2011-10-29 Ulrich Drepper <drepper@gmail.com>
45548 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
45549 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45551 * elf/chroot_canon.c (chroot_canon): Cleanups.
45553 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
45556 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
45557 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45559 * string/test-strchr.c: Make usable for strchrnul testing.
45560 * string/test-strchrnul.c: New file.
45561 * string/Makefile (strop-tests): Add strchrnul.
45563 * po/it.po: Update from translation team.
45564 * po/es.po: Likewise.
45566 2011-10-28 Ulrich Drepper <drepper@gmail.com>
45568 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
45569 the three constants needed as parameters. Drop the others.
45570 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
45571 __m128i_strloadu_tolower.
45572 Create and initialize variable zero and use it in all the places
45573 where _mm_setzero_si128 was used.
45575 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
45576 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
45577 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
45578 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
45580 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
45581 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
45582 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
45583 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
45584 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
45585 __mpranred, __mptan.
45586 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
45587 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
45588 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
45589 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
45590 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
45591 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
45592 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
45593 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
45594 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
45596 2011-10-28 Andreas Schwab <schwab@redhat.com>
45598 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
45599 redefine if SHARED.
45600 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
45602 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
45603 wide char related routines to wcsmbs subdir.
45605 2011-10-27 Andreas Schwab <schwab@redhat.com>
45608 * misc/sys/cdefs.h (__THROWNL): Define.
45609 * posix/unistd.h: Use __THREADNL instead of __THREAD
45610 for memory synchronization functions.
45612 2011-10-26 Roland McGrath <roland@hack.frob.com>
45615 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
45617 * manual/stdio.texi (Obstack Streams): Node removed.
45619 2011-10-26 Andreas Schwab <schwab@redhat.com>
45621 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
45622 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45623 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45625 * math/math_private.h (math_force_eval): Allow non-addressable
45627 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
45629 2011-10-25 Ulrich Drepper <drepper@gmail.com>
45631 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
45632 file is not needed.
45634 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
45635 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
45636 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45637 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45638 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45639 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45640 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45641 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
45643 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
45644 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
45645 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
45646 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
45647 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
45648 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
45649 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
45650 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
45651 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
45652 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
45653 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
45654 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
45655 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
45656 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
45657 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
45658 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
45659 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
45660 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
45661 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
45663 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
45664 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
45666 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
45667 place. Use VEX encoding when compiling for AVX.
45669 2011-10-25 Andreas Schwab <schwab@redhat.com>
45671 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
45672 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45674 * string/test-strchr.c (do_test): Don't generate NUL bytes.
45676 2011-10-25 Ulrich Drepper <drepper@gmail.com>
45678 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
45679 useless if() expression.
45680 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45681 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45682 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45683 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45684 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45685 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45686 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45687 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45688 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45689 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45690 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45691 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45692 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45693 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45694 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45695 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45696 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45697 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45698 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45700 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
45702 2011-10-25 Andreas Schwab <schwab@redhat.com>
45704 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
45706 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45708 2011-10-25 Ulrich Drepper <drepper@gmail.com>
45710 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
45711 .text section. Avoid duplicate constants.
45712 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45713 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45714 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45715 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45716 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45717 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45718 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45719 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45720 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45721 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
45722 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45723 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45724 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
45725 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
45726 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
45727 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
45728 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
45729 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45730 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45731 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45732 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45733 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45734 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45735 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
45736 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
45737 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
45738 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
45739 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
45740 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
45741 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
45742 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
45743 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
45744 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45745 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
45746 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
45747 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
45748 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
45749 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
45750 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
45751 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
45752 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
45753 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
45754 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
45755 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
45756 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
45758 2011-10-24 Ulrich Drepper <drepper@gmail.com>
45760 * sysdeps/x86_64/dla.h: Move to ...
45761 * sysdeps/x86_64/fpu/dla.h: ...here.
45762 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
45763 situations. Use __builtin_fma only for gcc 4.6 and up.
45765 * config.make.in: Add have-mfma4 entry.
45766 * configure.in: Substitute libc_cv_cc_fma4.
45767 * math/Makefile (dbl-only-routines): Add sincostab.
45768 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
45769 Use __sincostab not sincos.
45770 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
45772 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45773 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45774 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45775 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
45777 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
45778 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
45779 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
45780 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
45782 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
45783 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
45785 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
45786 define aliases when function name is a macro.
45787 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
45788 sysdeps/ieee754/dbl-64/sincos.tbl.
45789 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
45790 fma4-enabled routines.
45791 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
45792 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
45793 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
45794 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
45795 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
45796 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
45797 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
45798 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
45799 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
45800 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
45801 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
45802 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
45803 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
45804 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
45805 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
45806 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
45807 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
45808 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
45809 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
45810 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
45811 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
45812 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
45813 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
45814 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
45815 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
45816 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
45817 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
45818 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
45819 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
45820 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
45822 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
45824 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45825 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45826 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45827 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45828 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45829 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45830 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45831 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45833 2011-10-24 Andreas Schwab <schwab@redhat.com>
45835 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
45837 2011-10-23 Ulrich Drepper <drepper@gmail.com>
45839 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
45841 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
45843 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
45845 * string/strnlen.c: Don't define STRNLEN, reverse logic.
45846 Remove unused variable magic_bits.
45847 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
45849 * string/strnlen.c: Define and use STRNLEN macro.
45850 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
45851 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
45852 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
45853 * wcsmbs/wcslen.c: Define and use WCSLEN.
45854 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
45855 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
45856 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
45857 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
45858 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
45859 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
45860 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45862 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45864 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45865 strnlen-sse2-no-bsf.
45866 Rename strlen-no-bsf to strlen-sse2-no-bsf.
45867 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
45868 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
45869 Add strnlen support.
45870 (USE_AS_STRNLEN): New macro.
45871 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
45872 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
45873 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
45874 * sysdeps/x86_64/wcslen.S: New file.
45876 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
45878 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45879 XMM-moves are used for copying on small sizes.
45881 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45883 * wcsmbs/Makefile (strop-tests): Add wcschr.
45884 * wcsmbs/test-wcschr.c: New file.
45885 * string/test-strchr.c: Update.
45886 Add wcschr support.
45889 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45891 * wcsmbs/Makefile (strop-tests): Add wcslen.
45892 * wcsmbs/test-wcslen.c: New file.
45893 * string/test-strlen.c: Update.
45894 Add wcslen support.
45897 2011-10-23 Ulrich Drepper <drepper@gmail.com>
45899 * po/it.po: Update from translation team.
45901 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45903 * sysdeps/x86_64/wcscmp.S: Update.
45904 Fix wrong comparison semantics.
45905 wcscmp shall use signed comparison not unsigned.
45906 Don't use substraction to avoid overflow bug.
45907 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
45908 * wcsmbc/wcscmp.c: Likewise.
45909 * string/test-strcmp.c: Likewise.
45910 Add new tests to check cases with negative values.
45912 2011-10-23 Ulrich Drepper <drepper@gmail.com>
45914 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
45915 * sysdeps/x86_64/dla.h: ...here. New file.
45916 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
45917 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45918 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45919 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45920 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45921 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45922 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45923 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45924 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45926 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
45928 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
45929 __ynl_finite aliases.
45931 2011-10-22 Ulrich Drepper <drepper@gmail.com>
45933 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45935 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
45937 [DLA_FMA] (EMULV): Use DLA_FMA.
45938 [DLA_FMA] (MUL12): Use EMULV.
45939 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
45940 that are not needed.
45941 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45942 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45943 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45944 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45945 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45946 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45947 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45949 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
45951 * math/s_nan.c: Undef __nan.
45952 * math/s_nanf.c: Undef __nanf.
45953 * math/s_nanl.c: Undef __nanl.
45954 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
45957 2011-10-22 Ulrich Drepper <drepper@gmail.com>
45959 * math/s_catan.c: Add branch predictions.
45960 * math/s_catanf.c: Likewise.
45961 * math/s_catanh.c: Likewise.
45962 * math/s_catanhf.c: Likewise.
45963 * math/s_catanhl.c: Likewise.
45964 * math/s_catanl.c: Likewise.
45965 * math/s_cexp.c: Likewise.
45966 * math/s_cexpf.c: Likewise.
45967 * math/s_cexpl.c: Likewise.
45968 * math/s_clog.c: Likewise.
45969 * math/s_clog10.c: Likewise.
45970 * math/s_clog10f.c: Likewise.
45971 * math/s_clog10l.c: Likewise.
45972 * math/s_clogf.c: Likewise.
45973 * math/s_clogl.c: Likewise.
45974 * math/s_csqrt.c: Likewise.
45975 * math/s_csqrtf.c: Likewise.
45976 * math/s_csqrtl.c: Likewise.
45977 * math/s_ctanf.c: Likewise.
45978 * math/s_ctanh.c: Likewise.
45979 * math/s_ctanhf.c: Likewise.
45980 * math/s_ctanhl.c: Likewise.
45981 * math/s_ctanl.c: Likewise.
45983 * math/math_private.h: Define __nan, __nanf, __nanl.
45984 * math/s_cacosh.c: Include <math_private.h>.
45985 * math/s_cacoshl.c: Likewise.
45986 * math/s_casinh.c: Likewise.
45987 * math/s_casinhf.c: Likewise.
45988 * math/s_casinhl.c: Likewise.
45989 * math/s_ccos.c: Rely entire on ccosh.
45990 * math/s_ccosf.c: Rely entire on ccoshf.
45991 * math/s_ccosl.c: Rely entirely on ccoshl.
45992 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
45993 Remove tests for FE_INVALID.
45994 * math/s_ccoshf.c: Likewise.
45995 * math/s_ccoshl.c: Likewise.
45996 * math/s_csin.c: Likewise.
45997 * math/s_csinf.c: Likewise.
45998 * math/s_csinh.c Likewise.
45999 * math/s_csinhf.c: Likewise.
46000 * math/s_csinhl.c: Likewise.
46001 * math/s_csinl.c: Likewise.
46002 * math/s_ctan.c: Likewise.
46003 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
46004 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
46005 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
46007 2011-10-21 Ulrich Drepper <drepper@gmail.com>
46009 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
46010 compilation problems.
46012 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
46015 2011-10-20 Ulrich Drepper <drepper@gmail.com>
46017 * sysdeps/i386/configure.in: Test for -mfma4 option.
46018 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
46019 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
46020 COMMON_CPUID_INDEX_80000001.
46021 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
46022 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
46023 use it if FMA3 is not supported.
46024 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
46026 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
46027 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46029 2011-10-20 Andreas Schwab <schwab@redhat.com>
46032 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46033 it would create a cycle with a link time dependency.
46035 2011-10-19 Ulrich Drepper <drepper@gmail.com>
46037 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
46039 * string/Makefile (strop-tests): Add rawmemchr.
46040 * string/test-rawmemchr.c: New file.
46042 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
46043 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
46044 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
46045 when compiling str{,n}casecmp and when AVX is available. Hook up
46046 new optimized code in initializers.
46048 2011-10-19 Andreas Schwab <schwab@redhat.com>
46050 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
46051 __feraiseexcept instead of feraiseexcept.
46053 2011-10-18 Ulrich Drepper <drepper@gmail.com>
46055 * math/math_private.h: Define defaults for libc_fetestexcept and
46057 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
46058 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
46059 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46060 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46061 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46062 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46063 libc_fetestexcept and libc_feupdateenv.
46065 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
46066 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
46067 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
46068 * sysdeps/x86_64/fpu/math_private.h: Define special version of
46069 libc_feholdexcept_setround.
46071 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
46072 Add s_nearbyint-c and s_nearbyintf-c.
46073 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
46074 nearbyintf inlines.
46075 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
46076 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
46077 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
46078 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
46080 * math/math_private.h: Define defaults for libc_fegetround,
46081 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
46082 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
46083 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
46084 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
46085 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
46086 standard functions.
46087 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46088 Remove comments and hacks for old compiler versions.
46089 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46090 libc_fegetround, libc_fesetround, libc_feholdexcept, and
46091 libc_feholdexceptl.
46093 2011-10-18 Andreas Schwab <schwab@redhat.com>
46095 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
46096 (__feraiseexcept_renamed): Add __NTH.
46097 (feraiseexcept): Add __NTH. Rename local variables to fix
46098 namespace violations.
46100 2011-10-17 Ulrich Drepper <drepper@gmail.com>
46102 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
46104 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
46106 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
46107 recently added interfaces.
46108 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
46110 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
46111 about macro parameter expansion.
46113 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
46114 __NO_MATH_INLINES is defined. Cleanups.
46116 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
46117 and __floorf is target has SSE4.1.
46118 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
46119 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
46120 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
46121 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
46123 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
46125 (floorf): Likewise.
46127 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
46129 2011-10-17 Andreas Schwab <schwab@redhat.com>
46131 * misc/sys/cdefs.h: Fix last change.
46133 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
46136 2011-10-16 Ulrich Drepper <drepper@gmail.com>
46138 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
46140 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
46141 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46142 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46143 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46144 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46145 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46146 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46147 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46148 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46149 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
46150 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
46151 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
46152 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
46153 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
46154 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
46155 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
46156 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
46157 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
46158 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
46159 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
46160 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
46161 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
46163 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
46164 ceil, ceilf, floor, floorf.
46166 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
46167 Perform IRELATIVE relocations last.
46169 * elf/do-rel.h: Add another parameter nrelative, replacing the
46170 local variable with the same name. Change name of the function
46171 to end in Rel or Rela (uppercase).
46172 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
46173 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
46174 elf_dynamic_do_##reloc function.
46176 2011-10-15 Ulrich Drepper <drepper@gmail.com>
46178 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
46179 is sufficient, at least on modern CPUs.
46181 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
46183 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
46184 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
46186 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
46188 * math/bits/math-finite.h: Add entries for exp.
46189 * math/e_expl.c: Add __*_finite alias.
46190 * sysdeps/i386/fpu/e_exp.S: Likewise.
46191 * sysdeps/i386/fpu/e_expf.S: Likewise.
46192 * sysdeps/i386/fpu/e_expl.c: Likewise.
46193 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46194 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46195 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46196 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46197 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
46198 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46199 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46201 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
46202 is sufficient, at least on modern CPUs.
46204 * ctype/ctype-info.c (__ctype_init): Define.
46205 * include/ctype.h (__ctype_init): Declare.
46206 (__ctype_b_loc): The variable is always initialized.
46207 (__ctype_toupper_loc): Likewise.
46208 (__ctype_tolower_loc): Likewise.
46209 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
46210 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
46212 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
46214 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
46216 * configure.in: Also look in $cxxmachine/include for C++ system
46219 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46221 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
46222 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
46223 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
46224 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
46225 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
46226 (USE_AS_WMEMCMP): New macro.
46228 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
46229 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
46230 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
46231 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
46232 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46233 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
46234 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
46235 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
46236 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
46237 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
46238 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
46239 (USE_AS_WMEMCMP): New macro.
46240 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
46241 * sysdeps/string/test-memcmp.c: Update.
46242 Fix simple_wmemcmp.
46244 * wcsmbs/wmemcmp.c: Update.
46245 (WMEMCMP): New macro.
46248 2011-10-12 Andreas Jaeger <aj@suse.de>
46251 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
46253 2011-10-15 Ulrich Drepper <drepper@gmail.com>
46255 * libio/iofwide.c (do_length): Avoid warning.
46257 * ctype/ctype.h (__isctype_f): Add missing __THROW.
46259 2011-10-14 Ulrich Drepper <drepper@gmail.com>
46261 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
46263 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
46264 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
46265 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
46266 * sysdeps/i386/i686/fpu/e_log.S: New file.
46267 * sysdeps/i386/i686/fpu/e_logf.S: New file.
46268 * sysdeps/i386/i686/fpu/e_logl.S: New file.
46270 * ctype/ctype.h: Add support for inlined isXXX functions when
46271 compiling C++ code.
46273 2011-10-14 Andreas Schwab <schwab@redhat.com>
46275 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46277 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
46279 2011-10-13 Roland McGrath <roland@hack.frob.com>
46282 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
46284 2011-10-13 Andreas Schwab <schwab@redhat.com>
46286 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
46287 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
46290 * sysdeps/x86_64/memrchr.S: Check for zero size.
46292 * string/stratcliff.c: Add memrchr tests.
46294 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46296 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46297 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
46298 rawmemchr-sse2 rawmemchr-sse2-bsf.
46299 * sysdeps/i386/i686/multiarch/memchr.S: New file.
46300 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
46301 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
46302 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
46303 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
46304 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
46305 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
46306 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
46307 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
46308 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
46309 * string/memrchr.c (MEMRCHR): New macro.
46311 2011-10-12 Ulrich Drepper <drepper@gmail.com>
46313 Add integration with gcc's -ffinite-math-only and optimize wrapper
46315 * Versions.def: Define GLIBC_2.15 version for libm.
46316 * math/Makefile (headers): Add bits/math-finite.h.
46317 * math/bits/math-finite.h: New file.
46318 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
46319 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
46320 * math/e_acoshl.c: Add __*_finite alias.
46321 * math/e_acosl.c: Likewise.
46322 * math/e_asinl.c: Likewise.
46323 * math/e_atan2l.c: Likewise.
46324 * math/e_atanhl.c: Likewise.
46325 * math/e_coshl.c: Likewise.
46326 * math/e_exp10.c: Likewise.
46327 * math/e_exp10f.c: Likewise.
46328 * math/e_exp10l.c: Likewise.
46329 * math/e_exp2l.c: Likewise.
46330 * math/e_fmodl.c: Likewise.
46331 * math/e_gammal_r.c: Likewise.
46332 * math/e_hypotl.c: Likewise.
46333 * math/e_j0l.c: Likewise.
46334 * math/e_j1l.c: Likewise.
46335 * math/e_jnl.c: Likewise.
46336 * math/e_lgammal_r.c: Likewise.
46337 * math/e_log10l.c: Likewise.
46338 * math/e_log2l.c: Likewise.
46339 * math/e_logl.c: Likewise.
46340 * math/e_powl.c: Likewise.
46341 * math/e_sinhl.c: Likewise.
46342 * math/e_sqrtl.c: Likewise.
46343 * math/e_scalb.c: Completely rewritten and optimized.
46344 * math/e_scalbf.c: Likewise.
46345 * math/e_scalbl.c: Likewise.
46346 * math/w_acos.c: Likewise.
46347 * math/w_acosf.c: Likewise.
46348 * math/w_acosl.c: Likewise.
46349 * math/w_acosh.c: Likewise.
46350 * math/w_acoshf.c: Likewise.
46351 * math/w_acoshl.c: Likewise.
46352 * math/w_asin.c: Likewise.
46353 * math/w_asinf.c: Likewise.
46354 * math/w_asinl.c: Likewise.
46355 * math/w_atan2.c: Likewise.
46356 * math/w_atan2f.c: Likewise.
46357 * math/w_atan2l.c: Likewise.
46358 * math/w_atanh.c: Likewise.
46359 * math/w_atanhf.c: Likewise.
46360 * math/w_atanhl.c: Likewise.
46361 * math/w_exp10.c: Likewise.
46362 * math/w_exp10f.c: Likewise.
46363 * math/w_exp10l.c: Likewise.
46364 * math/w_fmod.c: Likewise.
46365 * math/w_fmodf.c: Likewise.
46366 * math/w_fmodl.c: Likewise.
46367 * math/w_j0.c: Likewise.
46368 * math/w_j0f.c: Likewise.
46369 * math/w_j0l.c: Likewise.
46370 * math/w_j1.c: Likewise.
46371 * math/w_j1f.c: Likewise.
46372 * math/w_j1l.c: Likewise.
46373 * math/w_jn.c: Likewise.
46374 * math/w_jnf.c: Likewise.
46375 * math/w_log.c: Likewise.
46376 * math/w_logf.c: Likewise.
46377 * math/w_logl.c: Likewise.
46378 * math/w_log10.c: Likewise.
46379 * math/w_log10f.c: Likewise.
46380 * math/w_log10l.c: Likewise.
46381 * math/w_log2.c: Likewise.
46382 * math/w_log2f.c: Likewise.
46383 * math/w_log2l.c: Likewise.
46384 * math/w_pow.c: Likewise.
46385 * math/w_powf.c: Likewise.
46386 * math/w_powl.c: Likewise.
46387 * math/w_remainder.c: Likewise.
46388 * math/w_remainderf.c: Likewise.
46389 * math/w_remainderl.c: Likewise.
46390 * math/w_scalb.c: Likewise.
46391 * math/w_scalbf.c: Likewise.
46392 * math/w_scalbl.c: Likewise.
46393 * math/w_sqrt.c: Likewise.
46394 * math/w_sqrtf.c: Likewise.
46395 * math/w_sqrtl.c: Likewise.
46396 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
46397 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
46399 * math/math_private.h: Declare __kernel_standard_f.
46400 * math/w_cosh.c: Remove cruft and optimize a bit.
46401 * math/w_coshf.c: Likewise.
46402 * math/w_coshl.c: Likewise.
46403 * math/w_exp2.c: Likewise.
46404 * math/w_exp2f.c: Likewise.
46405 * math/w_exp2l.c: Likewise.
46406 * math/w_hypot.c: Likewise.
46407 * math/w_hypotf.c: Likewise.
46408 * math/w_hypotl.c: Likewise.
46409 * math/w_lgamma.c: Likewise.
46410 * math/w_lgamma_r.c: Likewise.
46411 * math/w_lgammaf.c: Likewise.
46412 * math/w_lgammaf_r.c: Likewise.
46413 * math/w_lgammal.c: Likewise.
46414 * math/w_lgammal_r.c: Likewise.
46415 * math/w_sinh.c: Likewise.
46416 * math/w_sinhf.c: Likewise.
46417 * math/w_sinhl.c: Likewise.
46418 * math/w_tgamma.c: Likewise.
46419 * math/w_tgammaf.c: Likewise.
46420 * math/w_tgammal.c: Likewise.
46421 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46422 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46423 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
46424 Minor optimizations. Pretty printing. Remove cruft.
46425 * sysdeps/i386/fpu/e_acosf.S: Likewise.
46426 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46427 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46428 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46429 * sysdeps/i386/fpu/e_acosl.c: Likewise.
46430 * sysdeps/i386/fpu/e_asin.S: Likewise.
46431 * sysdeps/i386/fpu/e_asinf.S: Likewise.
46432 * sysdeps/i386/fpu/e_atan2.S: Likewise.
46433 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
46434 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
46435 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46436 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46437 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46438 * sysdeps/i386/fpu/e_exp10.S: Likewise.
46439 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
46440 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
46441 * sysdeps/i386/fpu/e_exp2.S: Likewise.
46442 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
46443 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
46444 * sysdeps/i386/fpu/e_fmod.S: Likewise.
46445 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
46446 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
46447 * sysdeps/i386/fpu/e_hypot.S: Likewise.
46448 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
46449 * sysdeps/i386/fpu/e_log.S: Likewise.
46450 * sysdeps/i386/fpu/e_log10.S: Likewise.
46451 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46452 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46453 * sysdeps/i386/fpu/e_log2.S: Likewise.
46454 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46455 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46456 * sysdeps/i386/fpu/e_logf.S: Likewise.
46457 * sysdeps/i386/fpu/e_logl.S: Likewise.
46458 * sysdeps/i386/fpu/e_pow.S: Likewise.
46459 * sysdeps/i386/fpu/e_powf.S: Likewise.
46460 * sysdeps/i386/fpu/e_powl.S: Likewise.
46461 * sysdeps/i386/fpu/e_remainder.S: Likewise.
46462 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
46463 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
46464 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46465 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46466 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46467 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
46468 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
46469 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
46470 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46471 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46472 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46473 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46474 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46475 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46476 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46477 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46478 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46479 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46480 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46481 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46482 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46483 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46484 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46485 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46486 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46487 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46488 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46489 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46490 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46491 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46492 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46493 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46494 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46495 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46496 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46497 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46498 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
46499 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46500 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46501 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46502 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46503 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46504 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46505 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46506 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46507 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46508 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46509 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46510 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46511 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46512 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46513 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46514 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46515 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46516 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46517 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46518 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46519 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
46520 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46521 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46522 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46523 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46524 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46525 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46526 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46527 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46528 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46529 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46530 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46531 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46532 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46533 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46534 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46535 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46536 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46537 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46538 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
46539 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46540 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46541 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46542 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46543 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46544 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46545 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46546 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46547 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46548 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46549 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46550 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46551 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46552 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
46553 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46554 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46555 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46556 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46557 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46558 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46559 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46560 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46561 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46562 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46563 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46564 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46565 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46566 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46567 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
46568 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
46569 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
46570 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
46571 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
46572 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
46573 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
46574 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46575 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46576 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46577 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46578 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
46579 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46580 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
46581 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
46582 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
46583 (__isnanf): Likewise.
46584 (__isinf_ns): Likewise.
46585 (__isinf_nsf): Likewise.
46586 (__finite): Likewise.
46587 (__finitef): Likewise.
46588 (__ieee754_sqrt): Define as macro.
46589 (__ieee754_sqrtf): Define as macro.
46590 (__ieee754_sqrtl): Define as macro.
46591 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
46593 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
46594 __FINITE_MATH_ONLY__ consistent.
46595 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
46597 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
46599 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
46602 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
46604 2011-10-09 Ulrich Drepper <drepper@gmail.com>
46606 * po/ja.po: Update from translation team.
46608 2011-10-08 Roland McGrath <roland@hack.frob.com>
46610 * locale/programs/locarchive.c (prepare_address_space): New function.
46611 (create_archive, enlarge_archive, open_archive): Use it.
46613 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
46614 inside [SHARED], where it is used.
46616 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
46618 * nss/getent.c (netgroup_keys): Remove unused variable.
46619 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46621 2011-10-08 Ulrich Drepper <drepper@gmail.com>
46623 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
46624 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
46625 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
46626 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
46627 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
46628 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
46629 * math/Makefile (libm-calls): Add s_isinf_ns.
46630 * math/divtc3.c: Use __isinf_nsl instead of isinf.
46631 * math/multc3.c: Likewise.
46632 * math/s_casin.c: Likewise.
46633 * math/s_casinf.c: Likewise.
46634 * math/s_casinl.c: Likewise.
46635 * math/s_ccos.c: Likewise.
46636 * math/s_ccosf.c: Likewise.
46637 * math/s_ccosl.c: Likewise.
46638 * math/s_ctan.c: Likewise.
46639 * math/s_ctanf.c: Likewise.
46640 * math/s_ctanh.c: Likewise.
46641 * math/s_ctanhf.c: Likewise.
46642 * math/s_ctanhl.c: Likewise.
46643 * math/s_ctanl.c: Likewise.
46644 * math/w_fmod.c: Likewise.
46645 * math/w_fmodf.c: Likewise.
46646 * math/w_fmodl.c: Likewise.
46647 * math/w_remainder.c: Likewise.
46648 * math/w_remainderf.c: Likewise.
46649 * math/w_remainderl.c: Likewise.
46650 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
46651 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
46652 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
46653 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
46654 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
46655 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
46656 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
46657 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
46659 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
46661 * stdio-common/printf_fphex.c: Likewise.
46662 * stdio-common/printf_size.c: Likewise.
46664 * math/e_exp10.c: Include math_private.h using <...> not "...".
46665 * math/e_exp10f.c: Likewise.
46666 * math/e_exp10l.c: Likewise.
46667 * math/e_exp2l.c: Likewise.
46668 * math/e_j0l.c: Likewise.
46669 * math/e_j1l.c: Likewise.
46670 * math/e_jnl.c: Likewise.
46671 * math/e_lgammal_r.c: Likewise.
46672 * math/e_rem_pio2l.c: Likewise.
46673 * math/e_scalb.c: Likewise.
46674 * math/e_scalbf.c: Likewise.
46675 * math/e_scalbl.c: Likewise.
46676 * math/k_cosl.c: Likewise.
46677 * math/k_sinl.c: Likewise.
46678 * math/k_tanl.c: Likewise.
46679 * math/s_cacoshf.c: Likewise.
46680 * math/s_catan.c: Likewise.
46681 * math/s_catanf.c: Likewise.
46682 * math/s_catanh.c: Likewise.
46683 * math/s_catanhf.c: Likewise.
46684 * math/s_catanhl.c: Likewise.
46685 * math/s_catanl.c: Likewise.
46686 * math/s_ccosh.c: Likewise.
46687 * math/s_ccoshf.c: Likewise.
46688 * math/s_ccoshl.c: Likewise.
46689 * math/s_cexp.c: Likewise.
46690 * math/s_cexpf.c: Likewise.
46691 * math/s_cexpl.c: Likewise.
46692 * math/s_clog.c: Likewise.
46693 * math/s_clog10.c: Likewise.
46694 * math/s_clog10f.c: Likewise.
46695 * math/s_clog10l.c: Likewise.
46696 * math/s_clogf.c: Likewise.
46697 * math/s_clogl.c: Likewise.
46698 * math/s_csin.c: Likewise.
46699 * math/s_csinf.c: Likewise.
46700 * math/s_csinh.c: Likewise.
46701 * math/s_csinhf.c: Likewise.
46702 * math/s_csinhl.c: Likewise.
46703 * math/s_csinl.c: Likewise.
46704 * math/s_csqrt.c: Likewise.
46705 * math/s_csqrtf.c: Likewise.
46706 * math/s_csqrtl.c: Likewise.
46707 * math/s_ctan.c: Likewise.
46708 * math/s_ctanf.c: Likewise.
46709 * math/s_ctanh.c: Likewise.
46710 * math/s_ctanhf.c: Likewise.
46711 * math/s_ctanhl.c: Likewise.
46712 * math/s_ctanl.c: Likewise.
46713 * math/s_ldexp.c: Likewise.
46714 * math/s_ldexpf.c: Likewise.
46715 * math/s_ldexpl.c: Likewise.
46716 * math/s_significand.c: Likewise.
46717 * math/s_significandf.c: Likewise.
46718 * math/s_significandl.c: Likewise.
46719 * math/w_acos.c: Likewise.
46720 * math/w_acosf.c: Likewise.
46721 * math/w_acosh.c: Likewise.
46722 * math/w_acoshf.c: Likewise.
46723 * math/w_acoshl.c: Likewise.
46724 * math/w_acosl.c: Likewise.
46725 * math/w_asin.c: Likewise.
46726 * math/w_asinf.c: Likewise.
46727 * math/w_asinl.c: Likewise.
46728 * math/w_atan2.c: Likewise.
46729 * math/w_atan2f.c: Likewise.
46730 * math/w_atan2l.c: Likewise.
46731 * math/w_atanh.c: Likewise.
46732 * math/w_atanhf.c: Likewise.
46733 * math/w_atanhl.c: Likewise.
46734 * math/w_cosh.c: Likewise.
46735 * math/w_coshf.c: Likewise.
46736 * math/w_coshl.c: Likewise.
46737 * math/w_dremf.c: Likewise.
46738 * math/w_exp10.c: Likewise.
46739 * math/w_exp10f.c: Likewise.
46740 * math/w_exp10l.c: Likewise.
46741 * math/w_exp2.c: Likewise.
46742 * math/w_exp2f.c: Likewise.
46743 * math/w_fmod.c: Likewise.
46744 * math/w_fmodf.c: Likewise.
46745 * math/w_fmodl.c: Likewise.
46746 * math/w_hypot.c: Likewise.
46747 * math/w_hypotf.c: Likewise.
46748 * math/w_hypotl.c: Likewise.
46749 * math/w_j0.c: Likewise.
46750 * math/w_j0f.c: Likewise.
46751 * math/w_j0l.c: Likewise.
46752 * math/w_j1.c: Likewise.
46753 * math/w_j1f.c: Likewise.
46754 * math/w_j1l.c: Likewise.
46755 * math/w_jn.c: Likewise.
46756 * math/w_jnf.c: Likewise.
46757 * math/w_jnl.c: Likewise.
46758 * math/w_lgamma.c: Likewise.
46759 * math/w_lgamma_r.c: Likewise.
46760 * math/w_lgammaf.c: Likewise.
46761 * math/w_lgammaf_r.c: Likewise.
46762 * math/w_lgammal.c: Likewise.
46763 * math/w_lgammal_r.c: Likewise.
46764 * math/w_log.c: Likewise.
46765 * math/w_log10.c: Likewise.
46766 * math/w_log10f.c: Likewise.
46767 * math/w_log10l.c: Likewise.
46768 * math/w_log2.c: Likewise.
46769 * math/w_log2f.c: Likewise.
46770 * math/w_log2l.c: Likewise.
46771 * math/w_logf.c: Likewise.
46772 * math/w_logl.c: Likewise.
46773 * math/w_pow.c: Likewise.
46774 * math/w_powf.c: Likewise.
46775 * math/w_powl.c: Likewise.
46776 * math/w_remainder.c: Likewise.
46777 * math/w_remainderf.c: Likewise.
46778 * math/w_remainderl.c: Likewise.
46779 * math/w_scalb.c: Likewise.
46780 * math/w_scalbf.c: Likewise.
46781 * math/w_scalbl.c: Likewise.
46782 * math/w_sinh.c: Likewise.
46783 * math/w_sinhf.c: Likewise.
46784 * math/w_sinhl.c: Likewise.
46785 * math/w_sqrt.c: Likewise.
46786 * math/w_sqrtf.c: Likewise.
46787 * math/w_sqrtl.c: Likewise.
46788 * math/w_tgamma.c: Likewise.
46789 * math/w_tgammaf.c: Likewise.
46790 * math/w_tgammal.c: Likewise.
46792 * po/ja.po: Update from translation team.
46794 2011-09-29 Andreas Jaeger <aj@suse.de>
46797 * sunrpc/netname.c (netname2host): Fix logic.
46801 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
46803 * math/w_remainder.c (__remainder): Likewise.
46804 * math/w_remainderf.c (__remainderf): Likewise.
46805 * math/libm-test.inc (remainder_test): Add test cases.
46807 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46809 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
46812 2011-10-07 Ulrich Drepper <drepper@gmail.com>
46814 * string/test-memcmp.c: Avoid unncessary #defines.
46815 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46817 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46819 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
46820 Use new sse2 version for core i3 - i7 as it's faster
46821 than sse42 version.
46822 (bit_Prefer_PMINUB_for_stringop): New.
46823 * sysdeps/x86_64/rawmemchr.S: Update.
46824 Replace with faster SSE2 version.
46825 * sysdeps/x86_64/memrchr.S: New file.
46826 * sysdeps/x86_64/memchr.S: Update.
46827 Replace with faster SSE2 version.
46829 2011-09-12 Marek Polacek <mpolacek@redhat.com>
46831 * elf/dl-load.c (lose): Add cast to avoid warning.
46833 2011-10-07 Ulrich Drepper <drepper@gmail.com>
46835 * po/ca.po: Update from translation team.
46837 * inet/getnetgrent_r.c: Hook up nscd.
46838 * nscd/Makefile (routines): Add nscd_netgroup.
46839 (nscd-modules): Add netgroupcache.
46840 (CFLAGS-netgroupcache.c): Define.
46841 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
46842 (cache_search): Add const to second parameter.
46843 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
46845 (dbs): Add netgrdb entry.
46846 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
46847 (verify_persistent_db): Handle netgrdb.
46848 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
46849 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
46851 (netgroup_response_header): Define.
46852 (innetgroup_response_header): Define.
46853 (datahead): Add netgroup_response_header and innetgroup_response_header
46855 * nscd/nscd.conf: Add entries for netgroup cache.
46856 * nscd/nscd.h (dbtype): Add netgrdb.
46857 (_PATH_NSCD_NETGROUP_DB): Define.
46858 (netgroup_iov_disabled): Declare.
46859 (xmalloc, xcalloc, xrealloc): Move declarations here.
46860 (cache_search): Adjust prototype.
46861 Add netgroup-related prototypes.
46862 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
46863 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
46864 (__nscd_innetgr): Declare.
46865 * nscd/selinux.c (perms): Use access_vector_t as element type and
46866 add netgroup-related initializers.
46867 * nscd/netgroupcache.c: New file.
46868 * nscd/nscd_netgroup.c: New file.
46869 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
46870 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
46871 For four parameters use innetgr.
46872 * nss/nss_files/files-init.c: Add definition and callback for netgr.
46873 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
46874 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
46875 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
46877 * nscd/connections.c (register_traced_file): Don't register file
46878 for disabled databases.
46880 2011-10-06 Ulrich Drepper <drepper@gmail.com>
46882 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
46884 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
46885 from tree and freeing node.
46887 2011-09-25 Jiri Olsa <jolsa@redhat.com>
46889 * nss/nsswitch.c (__nss_database_lookup): Handle
46890 nss_parse_service_list out of memory case.
46892 2011-09-15 Jiri Olsa <jolsa@redhat.com>
46894 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
46895 out of memory case.
46897 2011-10-04 Andreas Schwab <schwab@redhat.com>
46899 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
46900 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
46902 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
46903 elf_machine_rela, elf_machine_lazy_rel.
46904 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
46905 (ELF_DYNAMIC_DO_REL): Likewise.
46906 (ELF_DYNAMIC_DO_RELA): Likewise.
46907 (ELF_DYNAMIC_RELOCATE): Likewise.
46908 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
46909 to ELF_DYNAMIC_DO_REL.
46910 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
46911 (dl_main): In trace mode always set __RTLD_NOIFUNC.
46912 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
46914 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
46915 skip_ifunc, don't call ifunc function if non-zero.
46916 (elf_machine_rela): Likewise.
46917 (elf_machine_lazy_rel): Likewise.
46918 (elf_machine_lazy_rela): Likewise.
46919 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
46920 (elf_machine_lazy_rel): Likewise.
46921 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
46923 (elf_machine_lazy_rel): Likewise.
46924 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46926 (elf_machine_lazy_rel): Likewise.
46927 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
46928 (elf_machine_lazy_rel): Likewise.
46929 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
46930 (elf_machine_lazy_rel): Likewise.
46931 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46932 (elf_machine_lazy_rel): Likewise.
46933 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
46934 (elf_machine_lazy_rel): Likewise.
46935 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
46936 (elf_machine_lazy_rel): Likewise.
46937 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46938 (elf_machine_lazy_rel): Likewise.
46940 2011-09-28 Ulrich Drepper <drepper@gmail.com>
46942 * nss/nss_files/files-init.c (_nss_files_init): Use static
46943 initialization for all the *_traced_file variables.
46945 2011-09-28 Andreas Schwab <schwab@redhat.com>
46947 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46949 2011-09-27 Roland McGrath <roland@hack.frob.com>
46952 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
46954 2011-09-27 Andreas Schwab <schwab@redhat.com>
46956 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46957 Reread the line before reparsing it.
46959 2011-09-26 Andreas Schwab <schwab@redhat.com>
46961 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
46963 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
46964 Maxim Kuvyrkov <maxim@codesourcery.com>
46965 Joseph Myers <joseph@codesourcery.com>
46967 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
46968 if needed for __stack_chk_guard.
46970 2011-09-19 Roland McGrath <roland@hack.frob.com>
46972 * sysdeps/posix/spawni.c (script_execute): Always define it.
46973 It will be optimized away if unused.
46974 (maybe_script_execute): New function.
46975 (__spawni): Call it.
46977 * Makerules: Don't include tls.make.
46978 (config-tls): Always set to thread.
46979 * tls.make.c: File removed.
46981 2011-09-19 Mike Frysinger <vapier@gentoo.org>
46983 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
46984 * config.make.in (CPPFLAGS-config): New substituted variable.
46986 2011-09-15 Ulrich Drepper <drepper@gmail.com>
46988 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
46991 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
46992 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
46994 2011-09-15 Roland McGrath <roland@hack.frob.com>
46996 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
46997 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
46998 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46999 (CALL_FAIL): Likewise.
47000 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
47001 (CALL_FAIL): Macro removed.
47002 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
47004 2011-09-15 Ulrich Drepper <drepper@gmail.com>
47006 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
47007 for __FINITE_MATH_ONLY__ == 1.
47009 2011-09-15 Andreas Schwab <schwab@redhat.com>
47011 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
47012 __ieee754_sqrt instead of sqrt.
47013 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
47014 __ieee754_sqrtf instead of sqrtf.
47015 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
47016 __floorf instead of floorf.
47017 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
47018 __floorf, __truncf instead of floorf, truncf.
47020 2011-09-14 Ulrich Drepper <drepper@gmail.com>
47022 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
47024 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
47025 __extern_always_inline.
47026 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
47029 2011-09-14 Andreas Schwab <schwab@redhat.com>
47031 * elf/rtld.c (dl_main): Also relocate in dependency order when
47032 doing symbol dependency testing.
47034 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
47036 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47037 Always define `refsym'.
47039 2011-09-13 Andreas Schwab <schwab@redhat.com>
47041 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
47042 (__FD_ELT): Renamed from __FDELT.
47043 * misc/bits/select2.h (__FD_ELT): Likewise.
47044 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
47045 __FD_MASK instead of __FDELT, __FDMASK.
47046 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47048 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47051 * elf/Makefile (gen-ldd): Fix pattern.
47053 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
47054 (init_tls): Likewise.
47056 2011-09-12 Ulrich Drepper <drepper@gmail.com>
47058 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
47060 2011-09-12 Andreas Schwab <schwab@redhat.com>
47062 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
47063 `struct cmsghdr *' instead of `void *'.
47064 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
47067 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
47069 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
47071 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
47072 ldd_rewrite_script.
47074 2011-09-11 Ulrich Drepper <drepper@gmail.com>
47076 * configure.in: Remove --with-tls option.
47077 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
47078 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
47079 out in case it is missing.
47080 * sysdeps/ia64/elf/configure.in: Likewise.
47081 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
47082 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
47083 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
47084 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
47085 * sysdeps/sh/elf/configure.in: Likewise.
47086 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
47087 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47088 * sysdeps/x86_64/elf/configure.in: Likewise.
47089 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
47090 * sysdeps/mach/hurd/tls.h: Likewise.
47093 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
47096 * configure.in: Fix use of AC_INIT.
47098 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
47100 2011-09-10 Ulrich Drepper <drepper@gmail.com>
47102 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
47104 * malloc/hooks.c: Likewise.
47107 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
47108 variables statically.
47109 (narenas): Initialize.
47110 (list_lock): Initialize.
47111 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
47112 initializtion of main_arena and list_lock. Small cleanups.
47113 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
47114 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
47115 Add initializers to main_arena and mp_.
47116 (malloc_state): Remove pagesize member. Change all users to use
47119 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
47120 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
47121 is always initialized.
47123 * malloc/malloc.c: Removed unused configurations and dead code.
47124 * malloc/arena.c: Likewise.
47125 * malloc/hooks.c: Likewise.
47126 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
47128 * include/tls.h: Removed. USE___THREAD must always be defined.
47129 * bits/libc-tsd.h: Don't handle !USE___THREAD.
47130 * elf/dl-libc.c: Likewise.
47131 * elf/dl-tsd.c: Likewise.
47132 * include/errno.h: Likewise.
47133 * include/netdb.h: Likewise.
47134 * include/resolv.h: Likewise.
47135 * inet/herrno-loc.c: Likewise.
47136 * inet/herrno.c: Likewise.
47137 * malloc/arena.c: Likewise.
47138 * malloc/hooks.c: Likewise.
47139 * malloc/malloc.c: Likewise.
47140 * resolv/res-state.c: Likewise.
47141 * resolv/res_libc.c: Likewise.
47142 * sysdeps/i386/dl-machine.h: Likewise.
47143 * sysdeps/ia64/dl-machine.h: Likewise.
47144 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47145 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47146 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47147 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47148 * sysdeps/sh/dl-machine.h: Likewise.
47149 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47150 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47151 * sysdeps/unix/i386/sysdep.S: Likewise.
47152 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47153 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
47154 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
47155 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47156 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
47157 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47158 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
47159 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47160 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47161 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47162 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47163 * sysdeps/x86_64/dl-machine.h: Likewise.
47164 * tls.make.c: Likewise.
47166 * configure.in: Remove --with-__thread option. Make tests for
47167 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
47168 tls_model attribute fail if no support is available. Remove
47170 * Makeconfig: Adjust for dropped configure option. All features are
47172 * Makerules: Likewise.
47173 * Versions.def: Likewise.
47174 * argp/argp-fmtstream.c: Likewise.
47175 * argp/argp-fmtstream.h: Likewise.
47176 * argp/argp-help.c: Likewise.
47177 * assert/assert.c: Likewise.
47178 * config.h.in: Likewise.
47179 * config.make.in: Likewise.
47180 * configure: Likewise.
47181 * configure.in: Likewise.
47182 * csu/Versions: Likewise.
47183 * csu/init.c: Likewise.
47184 * elf/tst-audit2.c: Likewise.
47185 * elf/tst-tls10.c: Likewise.
47186 * elf/tst-tls10.h: Likewise.
47187 * elf/tst-tls11.c: Likewise.
47188 * elf/tst-tls12.c: Likewise.
47189 * elf/tst-tls14.c: Likewise.
47190 * elf/tst-tlsmod11.c: Likewise.
47191 * elf/tst-tlsmod12.c: Likewise.
47192 * elf/tst-tlsmod13.c: Likewise.
47193 * elf/tst-tlsmod13a.c: Likewise.
47194 * elf/tst-tlsmod14a.c: Likewise.
47195 * elf/tst-tlsmod15b.c: Likewise.
47196 * elf/tst-tlsmod16a.c: Likewise.
47197 * elf/tst-tlsmod16b.c: Likewise.
47198 * elf/tst-tlsmod7.c: Likewise.
47199 * elf/tst-tlsmod8.c: Likewise.
47200 * elf/tst-tlsmod9.c: Likewise.
47201 * gmon/gmon.c: Likewise.
47202 * grp/fgetgrent_r.c: Likewise.
47203 * grp/putgrent.c: Likewise.
47204 * hurd/fopenport.c: Likewise.
47205 * include/libc-symbols.h: Likewise.
47206 * include/tls.h: Likewise.
47207 * intl/gettextP.h: Likewise.
47208 * intl/loadinfo.h: Likewise.
47209 * locale/global-locale.c: Likewise.
47210 * locale/localeinfo.h: Likewise.
47211 * mach/devstream.c: Likewise.
47212 * malloc/arena.c: Likewise.
47213 * malloc/set-freeres.c: Likewise.
47214 * misc/err.c: Likewise.
47215 * misc/getttyent.c: Likewise.
47216 * misc/mntent_r.c: Likewise.
47217 * posix/getopt.c: Likewise.
47218 * posix/wordexp.c: Likewise.
47219 * pwd/fgetpwent_r.c: Likewise.
47220 * resolv/Versions: Likewise.
47221 * resolv/res_hconf.c: Likewise.
47222 * shadow/fgetspent_r.c: Likewise.
47223 * shadow/putspent.c: Likewise.
47224 * stdio-common/printf_fphex.c: Likewise.
47225 * stdio-common/tmpfile.c: Likewise.
47226 * stdlib/abort.c: Likewise.
47227 * stdlib/fmtmsg.c: Likewise.
47228 * sunrpc/auth_unix.c: Likewise.
47229 * sunrpc/clnt_perr.c: Likewise.
47230 * sunrpc/clnt_tcp.c: Likewise.
47231 * sunrpc/clnt_udp.c: Likewise.
47232 * sunrpc/clnt_unix.c: Likewise.
47233 * sunrpc/openchild.c: Likewise.
47234 * sunrpc/svc_simple.c: Likewise.
47235 * sunrpc/svc_tcp.c: Likewise.
47236 * sunrpc/svc_udp.c: Likewise.
47237 * sunrpc/svc_unix.c: Likewise.
47238 * sunrpc/xdr.c: Likewise.
47239 * sunrpc/xdr_array.c: Likewise.
47240 * sunrpc/xdr_rec.c: Likewise.
47241 * sunrpc/xdr_ref.c: Likewise.
47242 * sunrpc/xdr_stdio.c: Likewise.
47244 2011-09-09 Ulrich Drepper <drepper@gmail.com>
47246 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47248 2011-07-03 Andreas Jaeger <aj@suse.de>
47250 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
47251 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
47252 regenerate with gen-libm-tests.pl.
47254 2010-05-12 Petr Baudis <pasky@suse.cz>
47257 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
47258 around j0() zero points by switching to j1().
47259 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47260 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47261 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47262 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47264 2011-09-09 Ulrich Drepper <drepper@gmail.com>
47266 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
47268 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
47270 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47271 Patch in part by Pavel Roskin <proski@gnu.org>.
47274 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
47276 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
47277 Free memory block if necessary.
47280 * libio/genops.c (INTDEF): For string streams the _lock pointer can
47281 be NULL. Don't lock in this case.
47283 2011-09-09 Roland McGrath <roland@hack.frob.com>
47285 * elf/elf.h (ELFOSABI_GNU): New macro.
47286 (ELFOSABI_LINUX): Define to that.
47288 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
47290 * string/strncat.c (strncat): Undef the symbol in case it has been
47291 defined in bits/string.h.
47293 2011-09-09 Ulrich Drepper <drepper@gmail.com>
47295 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
47297 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
47300 2011-08-17 Andreas Jaeger <aj@suse.de>
47302 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
47304 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
47305 Ian Lance Taylor <iant@google.com>
47307 * math/libm-test.inc (lround_test): New testcase.
47308 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
47310 2011-09-08 Ulrich Drepper <drepper@gmail.com>
47312 * Makefile: Remove support for automatic cvs check-ins.
47313 * Makerules: Likewise.
47314 * config.make.in: Likewise.
47315 * configure.in: Likewise.
47316 * intl/Makefile: Likewise.
47317 * locale/Makefile: Likewise.
47318 * po/Makefile: Likewise.
47319 * posix/Makefile: Likewise.
47320 * sysdeps/gnu/Makefile: Likewise.
47321 * sysdeps/mach/hurd/Makefile: Likewise.
47322 * sysdeps/sparc/sparc32/Makefile: Likewise.
47325 * posix/Makefile (bug-regex32-ENV): Define.
47326 Patch by John Stanley <jpsinthemix@verizon.net>.
47328 * misc/Makefile (headers): Add bits/select2.h.
47329 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
47330 * misc/bits/select2.h: New file.
47331 * include/bits/select2.h: New file.
47332 * debug/Makefile (routines): Add fdelt_chk.
47333 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
47334 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
47336 * debug/fdelt_chk.c: New file.
47338 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
47339 * wcsmbs/test-wmemcmp.c: Likewise.
47340 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
47341 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
47343 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47345 * string/Makefile (strop-tests): Add memcmp.
47346 * string/test-wmemcmp.c: New file.
47347 * string/test-memcmp.c: Add wmemcmp support.
47349 2011-09-08 Roland McGrath <roland@hack.frob.com>
47352 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
47355 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
47356 garbage value in a __mach_port_mod_refs call in the cases of the
47357 task-self and thread-self ports.
47359 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47361 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
47363 2011-09-08 Andreas Schwab <schwab@redhat.com>
47365 * elf/dl-load.c (lose): Check for non-null L.
47367 2011-09-07 Ulrich Drepper <drepper@gmail.com>
47369 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
47371 * elf/dl-libc.c (dlerror_run): Pass back error code from
47375 * elf/dl-load.c (lose): Free l_origin if it is valid.
47377 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
47379 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
47380 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47381 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47382 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47383 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
47384 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
47386 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47388 * sysdeps/powerpc/fpu/e_hypot.c: New file.
47389 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
47390 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
47391 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
47392 * sysdeps/powerpc/fpu/k_cosf.c: New file.
47393 * sysdeps/powerpc/fpu/k_sinf.c: New file.
47394 * sysdeps/powerpc/fpu/s_cosf.c: New file.
47395 * sysdeps/powerpc/fpu/s_sinf.c: New file.
47396 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
47397 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
47399 2011-08-15 Alan Modra <amodra@gmail.com>
47402 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
47403 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
47404 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
47405 ppc_mcount to static-only-routines.
47406 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
47408 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
47409 __mcount_internal with usual JUMPTARGET. Remove useless nop.
47411 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
47413 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
47414 for finite and infinity parameters.
47416 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
47418 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
47419 and add nop instructions for throughput optimization.
47420 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47422 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
47424 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
47425 aligned copy for power7 with vector-scalar instructions.
47426 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47428 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
47430 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
47433 2011-09-07 Andreas Schwab <schwab@redhat.com>
47436 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
47439 2011-09-07 Ulrich Drepper <drepper@gmail.com>
47441 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47442 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
47443 syscall wrapper around clock_gettime in __vdso_clock_gettime.
47444 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
47447 2011-09-06 Ulrich Drepper <drepper@gmail.com>
47449 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
47450 Forgot to demangle the pointer.
47452 * sysdeps/i386/sysdep.h: Define atom_text_section.
47453 * sysdeps/x86_64/sysdep.h: Likewise.
47454 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
47455 section with atom_text_section.
47456 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47457 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47458 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
47459 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47460 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
47462 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
47463 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
47464 already be defined. Change to take two parameters and don't assign
47465 result to variable. Adjust all users.
47466 Define INTERNAL_GETTIME if not already defined.
47467 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
47469 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
47470 HAVE_CLOCK_GETTIME_VSYSCALL.
47471 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
47473 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
47474 gettimeofday vsyscall, just use time.
47476 2011-09-06 Andreas Schwab <schwab@redhat.com>
47478 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
47481 2011-09-06 Ulrich Drepper <drepper@gmail.com>
47483 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
47485 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
47487 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
47488 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
47489 syscall if possible.
47491 2011-09-05 Ulrich Drepper <drepper@gmail.com>
47493 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
47494 e_ident. Don't pass to find_mapsXX.
47495 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
47497 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47499 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47500 strchr-sse2-no-bsf strrchr-sse2-no-bsf
47501 * sysdeps/x86_64/multiarch/strchr.S: Update.
47502 Check bit_slow_BSF bit.
47503 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47504 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
47505 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
47507 2011-09-05 Ulrich Drepper <drepper@gmail.com>
47510 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
47512 (tryshell): Define.
47513 (__spawni): Change last parameter to be flag. Test
47514 SPAWN_XFLAGS_USE_PATH flag to use path or not.
47515 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
47516 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
47517 * posix/spawni.c: Likewise.
47518 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
47519 * posix/spawnp.c: Likewise. Change normal version to use
47520 SPAWN_XFLAGS_USE_PATH.
47521 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
47522 SPAWN_XFLAGS_TRY_SHELL.
47525 * posix/glob.h: Remove gcc 1.x support.
47528 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
47530 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47532 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47533 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
47535 * sysdeps/i386/i686/multiarch/strchr.S: New file.
47536 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
47537 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
47538 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
47539 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
47540 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
47542 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47544 * sysdeps/x86_64/wcscmp.S: New file.
47546 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
47547 wcscmp-c wcscmp-sse2
47548 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
47549 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
47550 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
47551 * wcsmbs/wcscmp.c: Allow renaming.
47553 2011-09-05 David S. Miller <davem@davemloft.net>
47555 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
47556 stack slot, rather than the struct return pointer slot.
47557 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
47558 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
47559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
47560 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
47562 2011-09-05 Ulrich Drepper <drepper@gmail.com>
47564 * po/ja.po: Update from translation team.
47567 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
47568 kernel in 64-bit binaries.
47570 2011-09-01 David S. Miller <davem@davemloft.net>
47572 * elf/elf.h (HWCAP_SPARC_*): Move to..
47573 * sysdeps/sparc/sysdep.h: this new file and add new values.
47574 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
47575 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
47576 _DL_HWCAP_COUNT to 24.
47577 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47579 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
47580 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
47581 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
47582 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
47583 instead of magic constants.
47584 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47586 2011-08-31 David S. Miller <davem@davemloft.net>
47588 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
47589 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
47590 Reimplement to do errno handling inline.
47591 (SYSCALL_ERROR_HANDLER): New macro.
47592 (__SYSCALL_STRING): Do not do errno handling in asm.
47593 (__CLONE_SYSCALL_STRING): Delete.
47594 (__INTERNAL_SYSCALL_STRING): Delete.
47595 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
47596 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
47597 (PSEUDO): Reimplement to do errno handling inline.
47598 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
47599 (SYSCALL_ERROR_HANDLER): New macro.
47600 (__SYSCALL_STRING): Do not do errno handling in asm.
47601 (__CLONE_SYSCALL_STRING): Delete.
47602 (__INTERNAL_SYSCALL_STRING): Delete.
47603 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
47604 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
47606 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
47607 (inline_syscall*): Add 'err' argument.
47608 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
47609 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
47610 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
47611 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
47613 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
47614 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47616 2011-08-30 Andreas Schwab <schwab@redhat.com>
47618 * elf/rtld.c (dl_main): Relocate objects in dependency order.
47620 2011-08-29 Jiri Olsa <jolsa@redhat.com>
47622 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
47625 2011-08-24 David S. Miller <davem@davemloft.net>
47627 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
47629 2011-08-24 Andreas Schwab <schwab@redhat.com>
47631 * elf/Makefile: Add rules to build and run unload8 test.
47632 * elf/unload8.c: New file.
47633 * elf/unload8mod1.c: New file.
47634 * elf/unload8mod1x.c: New file.
47635 * elf/unload8mod2.c: New file.
47636 * elf/unload8mod3.c: New file.
47638 * elf/dl-close.c (_dl_close_worker): Reset private search list if
47641 2011-08-23 David S. Miller <davem@davemloft.net>
47643 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
47644 subtract stack bias.
47645 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
47646 %sp not %fp in calculations.
47647 (_JMPBUF_UNWINDS_ADJ): Likewise.
47649 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
47650 (aio_suspend): Call it to force an exception region around the
47651 AIO_MISC_WAIT() invocation.
47653 2011-08-23 Andreas Schwab <schwab@redhat.com>
47655 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
47658 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
47660 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
47662 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
47663 and <dl-machine.h>.
47664 (Elf64_FuncDesc): Remove.
47666 2011-08-22 David S. Miller <davem@davemloft.net>
47668 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
47669 sigaltstack check, add missing cfi directives.
47670 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
47671 missing cfi directives, and sigaltstack handling.
47673 2011-08-16 Andreas Schwab <schwab@redhat.com>
47676 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
47677 object is seen twice.
47678 * elf/dl-fini.c (_dl_sort_fini): Likewise.
47680 * elf/Makefile (distribute): Add tst-initorder2.c.
47681 (tests): Add tst-initorder2.
47682 (modules-names): Add tst-initorder2a tst-initorder2b
47683 tst-initorder2c tst-initorder2d. Add rules to build them.
47684 ($(objpfx)tst-initorder2.out): New rule.
47685 * elf/tst-initorder2.c: New file.
47686 * elf/tst-initorder2.exp: New file.
47688 2011-08-22 Andreas Schwab <schwab@redhat.com>
47690 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
47692 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
47693 dependencies back to end of function.
47695 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47696 $(elfobjdir)/ld.so.
47698 2011-08-21 Ulrich Drepper <drepper@gmail.com>
47700 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
47701 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
47702 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
47703 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
47704 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
47705 of __vdso_gettimeofday.
47706 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
47707 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
47709 (_libc_vdso_platform_setup): Remove initialization of
47710 __vdso_gettimeofday and __vdso_time.
47712 2011-08-20 Ulrich Drepper <drepper@gmail.com>
47714 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
47715 and fgetc_unlocked.
47716 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
47719 * elf/dl-open.c (add_to_global): Report additions to the global scope
47720 for LD_DEBUG=scopes.
47721 (dl_open_worker): Also print scope of newly loaded dependencies.
47722 (_dl_show_scope): Indicate if there is no scope.
47725 * stdio-common/Makefile (tests): Add bug24.
47726 * stdio-common/bug24.c: New file.
47728 2011-08-19 Andreas Jaeger <aj@suse.de>
47731 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
47732 non-existant file when using close-on-exec mode.
47734 2011-08-20 Ulrich Drepper <drepper@gmail.com>
47736 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
47737 the very first instruction.
47739 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
47740 the CFI state in the end.
47741 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
47742 inclusion of dl-trampoline.h.
47743 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
47745 2011-08-19 Andreas Schwab <schwab@redhat.com>
47747 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
47748 expectations for long double.
47750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
47751 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
47753 2011-08-14 David S. Miller <davem@davemloft.net>
47755 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
47756 artificual limit depends upon the system page size.
47758 2011-08-17 Ulrich Drepper <drepper@gmail.com>
47760 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
47761 * resolv/Makefile: Define CFLAGS-libresolv.
47763 2011-08-17 Andreas Schwab <schwab@redhat.com>
47765 * nss/makedb.c (compute_tables): Make variables used in nested
47768 2011-08-17 Ulrich Drepper <drepper@gmail.com>
47770 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
47771 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
47772 if buffer was too small.
47774 * elf/pldd.c (main): Attach to all threads in the process.
47775 Rewrite /proc handling to use *at functions.
47777 2011-08-16 Ulrich Drepper <drepper@gmail.com>
47779 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
47780 specifies first scope to show.
47781 (dl_open_worker): Update callers. Move printing scope of new
47782 object to before the relocation.
47783 * elf/rtld.c (dl_main): Update _dl_show_scope call.
47784 * sysdeps/generic/ldsodefs.h: Update declaration.
47786 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
47787 string for the scope number.
47789 2011-08-14 Ulrich Drepper <drepper@gmail.com>
47791 * nscd/servicescache.c (cache_addserv): Make sure written is always
47794 2011-08-14 Roland McGrath <roland@hack.frob.com>
47796 * sysdeps/i386/i486/bits/atomic.h
47797 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
47798 statement expression, so as to suppress "set but not used" warning.
47799 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
47801 * string/strncat.c (STRNCAT): Use prototype definition.
47803 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
47804 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
47806 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
47807 (localedef-modules): Add localedef.
47808 (locale-modules): Add locale.
47810 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
47811 * elf/rtld.c (dl_main): Invert order of assignment in last change,
47812 to avoid a warning.
47814 2011-08-14 David S. Miller <davem@davemloft.net>
47816 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
47817 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
47819 2011-08-13 Ulrich Drepper <drepper@gmail.com>
47821 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
47822 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
47823 * elf/rtld.c (dl_main): Set l_name of vDSO.
47824 Call _dl_show_scope when DL_DEBUG_SCOPES.
47825 (process_dl_debug): Recognize scopes flag and also set it for all.
47826 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
47827 Declare _dl_show_scope.
47829 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
47830 (do_dlopen): Pass caller_dlopen to dl_open.
47831 (__libc_dlopen_mode): Initialize caller_dlopen.
47833 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
47834 of libc. Make tolower call locale-independent. Optimize a bit by
47835 using isdigit instead of isalnum.
47836 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
47838 2011-08-12 Ulrich Drepper <drepper@gmail.com>
47840 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
47841 was a dependency or dynamically loaded.
47843 2011-08-11 Ulrich Drepper <drepper@gmail.com>
47845 * intl/l10nflist.c: Allow architecture-specific pop function.
47846 * sysdeps/x86_64/l10nflist.c: New file.
47848 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
47851 2011-08-10 Andreas Schwab <schwab@redhat.com>
47853 * include/dirent.h: Add libc_hidden_proto for scandirat and
47854 scandirat64. Don't declare __scandirat64.
47855 * dirent/scandirat.c: Add libc_hidden_def.
47856 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
47857 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
47859 2011-08-10 David S. Miller <davem@davemloft.net>
47861 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
47863 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47864 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47865 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47867 2011-08-09 Ulrich Drepper <drepper@gmail.com>
47869 * Versions.def [libc]: Add GLIBC_2.15.
47870 * dirent/Makefile (routines): Add scandirat and scandirat64.
47871 * dirent/Versions [libc]: Export scandirat and scandirat64 for
47873 * dirent/dirent.h: Declare scandirat and scandirat64.
47874 * dirent/scandirat.c: New file.
47875 * dirent/scandirat64.c: New file.
47876 * sysdeps/wordsize-64/scandirat.c: New file.
47877 * sysdeps/wordsize-64/scandirat64.c: New file.
47878 * dirent/opendir.c: Define opendirat.
47879 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
47881 * dirent/scandir64.c: Adjust for scandir.c change.
47882 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
47883 __scandirat64, and __scandir_cancel_handler.
47884 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
47885 additional parameter and use openat instead of open (outside of ld.so).
47886 Add new __opendir as wrapper around __opendirat.
47887 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
47888 here without requiring old scandirat implementation.
47890 2011-08-08 Ulrich Drepper <drepper@gmail.com>
47892 * dirent/scandir.c (cancel_handler): Renamed to
47893 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
47894 defined. Adjust users.
47895 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
47896 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
47898 2011-08-04 Ulrich Drepper <drepper@gmail.com>
47900 * string/test-string.h (IMPL): Use __STRING to expand name and then
47903 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
47906 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47908 * string/Makefile: Update.
47909 (strop-tests): Append strncat.
47910 * string/test-wcscmp.c: New file.
47911 New comprehensive test for wcscmp.
47912 * string/test-strcmp.c: Update.
47913 (WIDE): New define.
47915 2011-07-22 Andreas Schwab <schwab@redhat.com>
47917 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
47920 2011-07-26 Andreas Schwab <schwab@redhat.com>
47922 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47923 encoding to ACE if AI_IDN.
47925 2011-08-01 Jakub Jelinek <jakub@redhat.com>
47927 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
47928 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
47930 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47932 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
47933 Fix overflow bug in strncat.
47934 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
47936 * string/test-strncat.c: Update.
47937 Add new tests for checking overflow bugs.
47939 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47941 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47942 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
47943 * sysdeps/i386/i686/multiarch/strcat.S: New file.
47944 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
47945 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
47946 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
47947 * sysdeps/i386/i686/multiarch/strncat.S: New file.
47948 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
47949 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
47951 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
47952 (USE_AS_STRCAT): Define.
47953 Add strcat and strncat support.
47954 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47956 2011-07-25 Andreas Schwab <schwab@redhat.com>
47958 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
47959 __n bigger than INT_MAX+1.
47960 (__strncmp_g): Likewise.
47962 2011-07-23 Ulrich Drepper <drepper@gmail.com>
47964 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
47965 * libio/stido.h: Likewise.
47967 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
47969 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
47972 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
47973 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47974 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47975 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
47976 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47979 * scripts/test-installation.pl: Don't expect libnss_test1 to be
47982 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
47984 (_dl_x86_64_save_sse): Likewise.
47986 2011-07-22 Ulrich Drepper <drepper@gmail.com>
47988 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
47990 (_dl_x86_64_save_sse): Likewise.
47992 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
47994 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
47996 2011-07-21 Andreas Schwab <schwab@redhat.com>
47998 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
48000 (_dl_x86_64_save_sse): Use correct AVX check.
48002 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48004 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
48005 bug in strncpy/strncat.
48006 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
48008 2011-07-21 Ulrich Drepper <drepper@gmail.com>
48010 * string/tester.c (test_strcat): Add tests for different alignments
48011 of source and destination.
48012 (test_strncat): Likewise.
48014 2011-07-20 Ulrich Drepper <drepper@gmail.com>
48017 * posix/glob.c (glob): Check passed in values before using them in
48018 expressions to avoid some overflows.
48019 (glob_in_dir): Likewise.
48022 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
48023 check for AVX enablement so that we don't crash with old kernels and
48025 * elf/tst-audit4.c: Add same checks here.
48026 * elf/tst-audit6.c: Likewise.
48028 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
48030 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
48032 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48034 2011-07-20 Ulrich Drepper <drepper@gmail.com>
48036 * po/cs.po: Update from translation team.
48037 * po/bg.po: Likewise.
48039 2011-07-12 Marek Polacek <mpolacek@redhat.com>
48041 * misc/sys/cdefs.h: Add support for const attribute.
48042 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
48043 to gnu_dev_{major,minor,makedev} functions.
48045 2011-07-20 Marek Polacek <mpolacek@redhat.com>
48047 * intl/dcigettext.c (get_output_charset): Add missing bracket.
48049 2011-07-20 Andreas Schwab <schwab@redhat.com>
48051 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
48054 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48056 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
48057 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
48058 register in order to avoid conflicts with the soft frame pointer
48059 being held in r11 when necessary.
48060 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
48061 (INTERNAL_VSYSCALL_NCS): Likewise.
48063 2011-07-14 Marek Polacek <mpolacek@redhat.com>
48065 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
48066 * elf/dl-fini.c (_dl_fini): Adjust caller.
48067 * elf/dl-close.c (_dl_close_worker): Likewise.
48068 * sysdeps/generic/ldsodefs.h: Adjust declaration.
48070 2011-07-15 Marek Polacek <mpolacek@redhat.com>
48072 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
48073 "aux_cache->nlibs < 0".
48075 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
48076 in the reload-count case.
48078 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48080 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48081 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
48082 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
48083 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
48084 * sysdeps/x86_64/multiarch/strcat.S: New file.
48085 * sysdeps/x86_64/multiarch/strncat.S: New file.
48086 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
48087 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
48088 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
48089 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
48090 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
48091 (USE_AS_STRCAT): Define.
48092 Add strcat and strncat support.
48093 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48094 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48095 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
48096 * string/strncat.c: Update.
48097 (USE_AS_STRNCAT): Define.
48098 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48099 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
48101 * sysdeps/x86_64/multiarch/init-arch.h
48102 (bit_Prefer_PMINUB_for_stringop): New.
48103 (index_Prefer_PMINUB_for_stringop): Likewise.
48104 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
48105 bit_Prefer_PMINUB_for_stringop.
48107 2011-07-19 Ulrich Drepper <drepper@gmail.com>
48109 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
48111 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
48112 of casting of buffer.
48113 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
48114 buffer32 and buffer64.
48115 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
48116 writes instead of casting of buffer.
48117 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
48119 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
48122 2011-07-19 Andreas Schwab <schwab@redhat.com>
48124 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
48126 2011-07-19 Ulrich Drepper <drepper@gmail.com>
48128 * nscd/nscd.c (termination_handler): Don't do anything for a database
48129 if it has not yet been initialized.
48131 2011-07-18 Ulrich Drepper <drepper@gmail.com>
48133 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48135 2011-07-15 Marek Polacek <mpolacek@redhat.com>
48137 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48139 2011-07-18 Ulrich Drepper <drepper@gmail.com>
48141 * po/nl.po: Update from translation team.
48142 * po/sv.po: Likewise.
48144 2011-07-16 Roland McGrath <roland@hack.frob.com>
48146 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
48147 now disallowed by GCC.
48149 * configure.in (use-default-link): Default to yes if a test -shared
48150 link meets our qualifications.
48151 * configure: Regenerated.
48153 * config.make.in (output-format): New variable.
48154 * configure.in: Check for ld --print-output-format support.
48155 * configure: Regenerated.
48156 * Makerules ($(common-objpfx)format.lds)
48157 [$(output-format) != unknown]: Just use $(output-format),
48158 instead of the linker-script munging.
48160 2011-07-14 Roland McGrath <roland@hack.frob.com>
48162 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
48163 of $(common-objpfx)shlib.lds.
48164 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
48166 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
48167 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
48169 * configure.in (-z relro check): Adjust test code to add a large
48170 writable data section after it.
48171 * configure: Regenerated.
48173 2011-07-11 Roland McGrath <roland@hack.frob.com>
48175 * configure.in (-z relro check): Fix test code to make the variable
48177 * configure: Regenerated.
48179 2011-07-11 Ulrich Drepper <drepper@gmail.com>
48181 * nscd/nscd.h (struct traced_file): Define.
48182 (struct database_dyn): Remove inotify_descr, reset_res, and filename
48183 elements. Add traced_files.
48184 (inotify_fd): Declare.
48185 (register_traced_file): Declare.
48186 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
48187 (inotify_fd): Export.
48188 (resolv_conf_descr): Remove.
48189 (nscd_init): Move inotify descriptor creation to main.
48190 Don't register files for notification here.
48191 (register_traced_file): New function.
48192 (invalidate_cache): Don't use reset_res to determine whether to call
48193 res_init, go through the list of registered files.
48194 (main_loop_poll): The inotify descriptors are now stored in the
48195 structures for the traced files.
48196 (main_loop_epoll): Likewise
48197 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
48198 to __nss_disable_nscd.
48199 * nscd/cache.c (prune_cache): There is no single inotify descriptor
48200 for a database anymore. Check the records for all the registered
48202 * nss/Makefile (libnss_files-routines): Add files-init.
48203 (libnss_db-routines): Add db-init.
48204 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
48205 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
48206 * nss/nss_db/db-init.c: New file.
48207 * nss/nss_files/files-init.c: New file.
48208 * nss/nsswitch.c (nss_load_library): New function. Broken out of
48209 __nss_lookup_function.
48210 (__nss_lookup_function): Call nss_load_library.
48211 (nss_load_all_libraries): New function.
48212 (__nss_disable_nscd): Take parameter with callback function for files
48213 to register. Set is_nscd. Load all the DSOs for the NSS modules
48214 used for the cached services.
48215 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
48216 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
48217 options for features to all the files in nscd.
48219 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
48221 2011-07-10 Roland McGrath <roland@hack.frob.com>
48223 * csu/elf-init.c (__libc_csu_init): Comment typo.
48225 2011-07-09 Ulrich Drepper <drepper@gmail.com>
48227 * po/pl.po: Update from translation team.
48228 * po/ja.po: Likewise.
48229 * po/ru.po: Likewise.
48230 * po/ko.po: Likewise.
48231 * po/fr.po: Likewise.
48233 2011-07-09 Roland McGrath <roland@hack.frob.com>
48235 * configure.in (.ctors/.dtors header and trailer check):
48236 Use an empirical test on a built program.
48237 * configure: Regenerated.
48239 * configure.in (-z relro check): Use an empirical test on a built DSO.
48240 Detect, but do not require, on ia64.
48241 * configure: Regenerated.
48243 * configure.in (READELF): Find it with AC_CHECK_TOOL.
48244 Update tests that use readelf to use $READELF instead.
48245 * configure: Regenerated.
48247 2011-07-08 Ulrich Drepper <drepper@gmail.com>
48249 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
48250 if the result is not used.
48252 2011-07-05 Andreas Jaeger <aj@suse.de>
48255 * stdlib/tst-strtod.c: Add testcase.
48257 2011-07-07 Ulrich Drepper <drepper@gmail.com>
48259 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
48260 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
48261 The latter has a higher limit. Take additional parameter to pass to
48263 (__pathconf): Pass file to __statfs_link_max.
48264 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
48266 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
48270 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
48271 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48273 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
48274 (__statfs_filesize_max): Likewise.
48275 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
48277 2011-07-05 Andreas Jaeger <aj@suse.de>
48279 * resolv/res_comp.c (dn_skipname): Remove unused variable.
48281 2011-07-06 Marek Polacek <mpolacek@redhat.com>
48283 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
48285 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
48288 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
48290 * Makefile (strop-tests): Add strncat.
48291 * string/test-strncat.c: New file.
48293 2011-06-30 Marek Polacek <mpolacek@redhat.com>
48295 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
48297 2011-06-21 Andreas Jaeger <aj@suse.de>
48299 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
48300 Copy rule from iconvdata/Makefile.
48302 2011-07-06 Ulrich Drepper <drepper@gmail.com>
48305 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
48306 but no long options are defined, just return 'W'.
48308 2011-06-22 Marek Polacek <mpolacek@redhat.com>
48311 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
48313 2011-07-06 Ulrich Drepper <drepper@gmail.com>
48315 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
48317 (innetgr): Likewise.
48319 2011-07-05 Roland McGrath <roland@hack.frob.com>
48321 * config.make.in (install_root): Default to $(DESTDIR).
48323 2011-07-05 Ulrich Drepper <drepper@gmail.com>
48325 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
48327 2011-07-02 Roland McGrath <roland@hack.frob.com>
48329 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
48331 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
48332 containing directory rather than embedding absolute directory names.
48334 * scripts/check-local-headers.sh: Rewritten using awk.
48335 Match by word, not by line. Print error messages for matches.
48336 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
48338 * Makerules [shlib-lds-flags empty]:
48339 ($(common-objpfx)libc_pic.opts): New target.
48340 ($(common-objpfx)libc_pic.os.clean): New target.
48341 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
48343 * config.make.in (OBJCOPY): New variable.
48344 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
48345 * configure: Regenerated.
48347 * config.make.in (use-default-link): New variable.
48348 * configure.in (use_default_link): Grok --with-default-link to set it.
48349 * configure: Regenerated.
48350 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
48351 (shlib-lds, shlib-lds-flags): Define to empty.
48353 * Makerules (shlib-lds): New variable.
48354 (shlib-lds-flags): New variable.
48355 (build-shlib, build-moduile, build-module-asneeded): Use it.
48356 ($(common-objpfx)libc.so): Use $(shlib-lds).
48357 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
48358 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
48360 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
48361 DT_FLAGS/DT_FLAGS_1 with zero flags.
48363 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
48364 linker script munging.
48366 2011-07-02 Ulrich Drepper <drepper@gmail.com>
48368 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
48370 * crypt/sha512.c (sha512_process_block): Perform total addition using
48371 128-bit if possible.
48372 (__sha512_finish_ctx): Likewise.
48373 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
48375 * crypt/sha256.c (SWAP64): Define.
48376 (sha256_process_block): Perform total addition using 64-bit if
48378 (__sha256_finish_ctx): Likewise.
48380 2011-07-01 Ulrich Drepper <drepper@gmail.com>
48382 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
48383 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48384 * nscd/hstcache.c (cache_addhst): Likewise.
48385 * nscd/grpcache.c (cache_addgr): Likewise.
48386 * nscd/aicache.c (addhstaiX): Likewise
48387 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
48389 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
48391 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
48392 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48393 * nscd/hstcache.c (cache_addhst): Likewise.
48394 * nscd/grpcache.c (cache_addgr): Likewise.
48395 * nscd/aicache.c (addhstaiX): Likewise
48397 2011-07-01 Andreas Schwab <schwab@redhat.com>
48399 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
48400 domain only when needed.
48402 2011-06-30 Andreas Schwab <schwab@redhat.com>
48404 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
48405 is always restored.
48407 2011-06-29 Ulrich Drepper <drepper@gmail.com>
48409 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
48410 are re-adding the entry.
48411 * nscd/servicescache.c (cache_addserv): Likewise.
48413 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
48415 * sysdeps/generic/dl-irel.h: fix protection against multiple
48417 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
48419 2011-06-28 Ulrich Drepper <drepper@gmail.com>
48422 * malloc/memusage.sh: Fix quoting in message.
48423 * debug/xtrace.sh: Likewise.
48425 * configure.in: Remove support for --experimental-malloc option, make
48427 * config.make.in: Likewise.
48428 * malloc/Makefile: Likewise.
48430 2011-06-27 Andreas Schwab <schwab@redhat.com>
48432 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
48433 two-byte characters.
48435 2011-06-27 Roland McGrath <roland@hack.frob.com>
48437 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
48438 AC_CACHE_CHECK invocation.
48439 * configure: Regenerated.
48441 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
48443 2011-06-27 Ulrich Drepper <drepper@gmail.com>
48446 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
48447 bit from old_res_options.
48449 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
48451 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
48452 value type for setfct.
48454 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
48456 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48457 __gettimeofday instead of gettimeofday.
48459 2011-06-26 Ulrich Drepper <drepper@gmail.com>
48461 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
48463 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
48465 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
48467 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
48470 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48472 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48473 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48474 strcpy-sse2-unaligned strncpy-sse2-unaligned
48475 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
48476 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
48477 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
48478 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
48479 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
48480 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
48481 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
48482 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
48483 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
48484 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
48485 (STRCPY): Support SSE2 and SSSE3 versions.
48487 2011-06-24 Ulrich Drepper <drepper@gmail.com>
48490 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
48491 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
48492 kernels which artificially limit size of requests.
48494 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48496 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48497 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48498 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
48499 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
48500 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
48501 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
48502 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
48503 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
48504 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
48505 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
48506 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
48507 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
48508 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
48509 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
48510 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
48511 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48512 Enable unaligned load optimization for Intel Core i3, i5 and i7
48514 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
48516 (index_Fast_Unaligned_Load): Define.
48517 (HAS_FAST_UNALIGNED_LOAD): Define.
48519 2011-06-23 Marek Polacek <mpolacek@redhat.com>
48521 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
48523 2011-06-22 Ulrich Drepper <drepper@gmail.com>
48526 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
48527 until it is clear that the information is realy needed.
48528 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
48530 2011-06-22 Andreas Schwab <schwab@redhat.com>
48532 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
48534 2011-06-22 Ulrich Drepper <drepper@gmail.com>
48536 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48537 /sys/devices/system/cpu/online if it is usable.
48539 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
48540 reading the information from the /proc filesystem to once a second.
48542 2011-06-21 Andreas Jaeger <aj@suse.de>
48544 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
48545 NULL after inclusion of kernel headers.
48547 2011-06-21 Ulrich Drepper <drepper@gmail.com>
48549 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
48550 calls to internal_setent.
48553 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
48554 addresses using gethostbyname4_r ignore IPv4 addresses.
48556 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
48557 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
48559 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
48561 2011-06-20 David S. Miller <davem@davemloft.net>
48563 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
48565 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
48567 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
48568 (elf_irel): Use it.
48569 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
48570 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
48571 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
48572 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
48573 * sysdeps/x86_64/dl-irel.h: Likewise.
48575 * elf/dl-runtime.c: Use elf_ifunc_invoke.
48576 * elf/dl-sym.c: Likewise.
48578 2011-06-15 Ulrich Drepper <drepper@gmail.com>
48580 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
48581 need to dereference resplen2.
48583 2011-06-14 Andreas Schwab <schwab@redhat.com>
48585 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
48587 2011-06-15 Ulrich Drepper <drepper@gmail.com>
48589 * Makeconfig: Define vardbdir and inst_vardbdir.
48590 * nss/Makefile: Add rules to install db-Makefile.
48592 * nss/nss_db/db-XXX.c: Cleanup.
48594 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
48595 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
48597 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
48598 * nss/makedb.c: Implement -g option to specify that value strings
48599 are generated and should not be added to table iterated over for
48601 * nss/nss_db/db-initgroups.c: New file.
48603 * nss/getent.c: Add support for initgroups lookups through getgrouplist
48606 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
48607 (internal_getgrouplist): Adjust to name change.
48608 Update use_initgroups_entry if this is not the first call.
48609 * nss/databases.def: Add initgroups entry.
48611 * nss/makedb.c (compute_tables): Check result of multiple hash table
48612 sizes to minimize maximum chain length.
48614 2011-06-14 Ulrich Drepper <drepper@gmail.com>
48616 * Versions.def: Add entry for libnss_db.
48617 * shlib-versions: Likewise.
48618 * nss/Makefile: Add rules to build libnss_db.
48619 * nss/Versions: Add libnss_db information. Organize libnss_files
48621 * nss/db-Makefile: Add gshadow support. Change rules for the new
48622 makedb progra. Some minor improvements to generate smaller files.
48623 * nss/nss_db/nss_db.h: Move NSS database header data structures to
48625 * nss/makedb.c: ...here.
48626 Improve database format to be smaller and require less memory at
48628 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
48630 * nss/nss_db/db-netgrp.c: Likewise.
48631 * nss/nss_db/db-open.c: Likewise.
48632 * nss/nss_files/flies-XXX.x: Adjust comments.
48633 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
48634 * nss/nss_files/files-grp.c: Likewise.
48635 * nss/nss_files/files-hosts.c: Likewise.
48636 * nss/nss_files/files-network.c: Likewise.
48637 * nss/nss_files/files-proto.c: Likewise.
48638 * nss/nss_files/files-pwd.c: Likewise.
48639 * nss/nss_files/files-rpc.c: Likewise.
48640 * nss/nss_files/files-service.c: Likewise.
48641 * nss/nss_files/files-sgrp.c: Likewise.
48642 * nss/nss_files/files-spwd.c: Likewise.
48643 * nss/nss_db/db-alias.c: Removed.
48644 * nss/nss_db/dummy-db.h: Removed.
48646 2011-06-02 Ulrich Drepper <drepper@gmail.com>
48648 * nss/makedb.c: Rewritten to not use database library.
48649 * nss/Makefile: Update to build new makedb program.
48651 2011-06-14 Andreas Jaeger <aj@suse.de>
48653 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
48654 memset declaration.
48656 2011-06-10 Andreas Schwab <schwab@redhat.com>
48658 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
48661 2011-06-10 Roland McGrath <roland@hack.frob.com>
48663 * Makerules (shlib.lds): Fail if the linker script comes out empty.
48664 * elf/Makefile ($(objpfx)ld.so): Likewise.
48666 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
48667 Don't list ld.so twice in dependencies.
48669 * posix/bug-regex31.c: Include <stdlib.h>.
48671 * nscd/hstcache.c (cache_addhst): Remove unused variable.
48673 * nis/nss_compat/compat-spwd.c
48674 (getspent_next_nss_netgr): Remove unused variable.
48675 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
48677 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
48678 nonmembers" output to use the right array.
48680 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
48682 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
48684 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
48685 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
48686 * catgets/gencat.c (read_input_file): Likewise.
48687 * locale/programs/locarchive.c (enlarge_archive): Likewise.
48689 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
48690 variable definition inside #if's controlling its use.
48692 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
48694 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
48696 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
48698 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
48701 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
48703 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
48704 * configure: Regenerated.
48706 * Makerules: Revert last change.
48707 * elf/Makefile: Likewise.
48709 2011-06-09 Roland McGrath <roland@hack.frob.com>
48711 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
48712 * elf/Makefile ($(objpfx)librtld.os): Likewise.
48713 (reloc-link): Likewise.
48715 2011-06-09 Ulrich Drepper <drepper@gmail.com>
48717 * elf/Makefile: Add rules to build pldd.
48718 * elf/pldd.c: New file.
48719 * elf/pldd-xx.c: New file.
48721 2011-06-07 Ulrich Drepper <drepper@gmail.com>
48723 * version.h: Update for 2.15 development version.
48725 2011-06-07 David S. Miller <davem@davemloft.net>
48727 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
48729 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
48730 elf_machine_lazy_rel): Likewise.
48731 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
48732 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
48733 elf_machine_lazy_rel): Likewise.
48734 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
48735 dl_hwcap via passed in argument.
48736 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
48739 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48741 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
48743 2011-06-06 Roland McGrath <roland@hack.frob.com>
48746 * manual/fdl-1.1.texi: New file, verbatim from:
48747 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
48748 * manual/lgpl-2.1.texi: New file, verbatim from:
48749 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
48750 * manual/Makefile (licenses): New variable, list those new file names.
48752 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
48754 * manual/fdl.texi: File removed.
48755 * manual/lesser.texi: File removed.
48756 * manual/libc.texinfo (Copying, Documentation License):
48757 Use new @include file names, put @appendix directive before @include.
48759 2011-06-04 Jakub Jelinek <jakub@redhat.com>
48762 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
48763 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
48764 (mq_open): Add __NTH.
48766 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
48768 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48769 Assume Intel Core i3/i5/i7 processor if AVX is available.
48771 2011-05-31 Ulrich Drepper <drepper@gmail.com>
48773 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48776 2011-05-31 Andreas Schwab <schwab@redhat.com>
48778 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
48779 memory. Use alloca_account. Fix memory leak when retrying.
48781 2011-05-31 Ulrich Drepper <drepper@gmail.com>
48783 * version.h (RELEASE): Bump for 2.14 release.
48784 * include/features.h (__GLIBC_MINOR__): Bump to 14.
48786 * config.make.in (RANLIB): Remove entry.
48788 2011-05-30 Ulrich Drepper <drepper@gmail.com>
48790 * po/Makefile (po-sed-cmd): Add ksh to extensions.
48791 (libc.pot): Work around missing support for .ksh extension in xgettext.
48794 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
48795 if both request failed.
48796 (send_dg): In case of server errors clear resplen or *resplen2.
48799 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
48800 when there are multiple maps.
48801 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
48802 (_dl_fini): Remove test here.
48804 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
48806 2011-05-29 Ulrich Drepper <drepper@gmail.com>
48809 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
48810 bit from old_res_options.
48811 (gaih_inet): Likewise.
48814 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
48817 * resolv/res_init.c (res_setoptions): Make the code more compact.
48820 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
48824 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
48826 * malloc/malloc.h: Mark malloc hook variables as deprecated.
48829 * malloc/malloc.h: Declare malloc hook variables as volatile.
48831 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
48835 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
48836 raise in the comment.
48837 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48838 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48839 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
48841 2011-05-28 Ulrich Drepper <drepper@gmail.com>
48844 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
48845 grow the buffers more if it already has to be sufficient.
48846 (build_wcs_upper_buffer): Likewise.
48847 * posix/regexec.c (check_matching): Likewise.
48848 (clean_state_log_if_needed): Likewise.
48849 (extend_buffers): Don't enlarge buffers beyond size of the input
48851 Patches mostly by Emil Wojak <emil@wojak.eu>.
48852 * posix/bug-regex32.c: New file.
48853 * posix/Makefile (tests): Add bug-regex32.
48855 * locale/findlocale.c (_nl_find_locale): Return right away if
48856 _nl_explode_name failed.
48857 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
48859 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
48861 * debug/xtrace.sh: Unify messages.
48862 * malloc/memusage.sh: Likewise.
48865 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
48866 time symbol from vDSO. Substitute with vsyscall if not available.
48867 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
48870 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
48871 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
48872 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
48873 Add sendmmsg and internal_sendmmsg.
48874 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
48875 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
48876 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
48878 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
48879 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
48880 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
48882 2011-05-27 Ulrich Drepper <drepper@gmail.com>
48885 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
48886 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
48888 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
48892 * iconvdata/Makefile (tests): Add bug-iconv9.
48893 * iconvdata/bug-iconv9.c: New file.
48895 2011-05-27 Andreas Schwab <schwab@redhat.com>
48898 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
48900 2011-05-25 Jakub Jelinek <jakub@redhat.com>
48902 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48903 (struct user_regs_struct): Change intcs field back to cs.
48905 2011-05-25 Ulrich Drepper <drepper@gmail.com>
48907 * po/ja.po: Update from translation team.
48909 2011-05-23 Ulrich Drepper <drepper@gmail.com>
48912 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
48913 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
48915 2011-05-20 Andreas Schwab <schwab@redhat.com>
48917 * stdlib/longlong.h: Update from GCC.
48919 2011-05-23 Andreas Schwab <schwab@redhat.com>
48921 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
48923 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
48924 Add parameter name.
48925 (__sysconf): Pass it down.
48927 2011-05-22 Ulrich Drepper <drepper@gmail.com>
48930 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
48932 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48933 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
48934 add in in __libc_use_alloca calls. Adjust callers.
48935 (glob): Use malloc in some situations.
48937 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
48938 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
48941 2011-05-21 Ulrich Drepper <drepper@gmail.com>
48943 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
48944 and CLOCK_BOOTTIME_ALARM.
48947 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
48950 * string/_strerror.c (__strerror_r): Print negative errors as signed
48954 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
48955 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
48956 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
48958 * configure.in: Fix typo in redirection and correct removal of test
48959 files in two cases.
48962 * locale/setlocale.c (new_composite_name): Fix test to check for
48963 identical name of all categories.
48966 * libio/filedoalloc.c (local_isatty): New function.
48967 (_IO_file_doallocate): Use local_isatty.
48968 * stdio-common/perror.c (perror): In case a new stream is used
48969 forward the stream error.
48970 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
48973 2011-05-20 Ulrich Drepper <drepper@gmail.com>
48976 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
48978 * include/alloca.h (extend_alloca_account): Define.
48981 * posix/regex.h: Fix comments with documentation of user-accessible
48982 fields after compilation and describe correct free'ing of pattern
48983 after re_compile_pattern.
48984 Patch by Reuben Thomas <rrt@sc3d.org>.
48986 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
48988 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
48989 and -mno-altivec to prevent the compiler from using Altivec and/or
48990 VSX instructions when the corresponding registers are not available.
48992 2011-05-19 Andreas Schwab <schwab@redhat.com>
48994 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
48996 2011-05-19 Ulrich Drepper <drepper@gmail.com>
48998 * libio/freopen.c (freopen): Use __dup2, not dup2.
48999 * libio/freopen64.c (freopen64): Likewise.
49001 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
49004 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
49005 * math/Makefile (tests): Add test-powl.
49006 (CFLAGS-test-powl.c): Define.
49007 * math/test-powl.c: New file.
49009 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
49011 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
49013 2011-05-17 Ulrich Drepper <drepper@gmail.com>
49016 * iconvdata/gb18030.c: Update to GB18020-2005.
49018 2011-05-16 Ulrich Drepper <drepper@gmail.com>
49020 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
49021 RE_SYNTAX_POSIX_AWK): Update to match recent development.
49022 Patch by Aharon Robbins <arnold@skeeve.com>.
49025 * stdlib/putenv.c (putenv): Don't always create copy of the variable
49029 * misc/pselect.c (__pselect): Handle timeout value errors hidden
49030 through underflows.
49033 * misc/error.c (error_at_line): Ensure file_name and old_file_name
49034 point to strings before performing equality test for error_one_per_line
49038 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
49041 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49042 (struct user_fpregs_struct): Avoid __uint*_t types.
49045 * malloc/mtrace.c (tr_where): Add additional parameter to point to
49046 symbol info. Use it instead of calling _dl_addr locally.
49047 (lock_and_info): New function.
49048 (tr_freehook): Call lock_and_info and pass symbol info as additional
49049 parameter to tr_where.
49050 (tr_mallochook): Likewise.
49051 (tr_reallochook): Likewise.
49052 (tr_memalignhook): Likewise.
49054 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
49055 used and couldn't be at all thread-safe.
49057 2011-05-15 Ulrich Drepper <drepper@gmail.com>
49059 * libio/freopen.c (freopen): Don't close old file descriptor
49060 before the new one is opened. Instead dup the new file descriptor
49061 to the old one after the new stream is created.
49062 * libio/freopen64.c (freopen64): Likewise.
49063 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
49064 * libio/fileops.c (_IO_new_file_close_it): Handle new
49065 _IO_FLAGS2_NOCLOSE flag.
49066 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
49067 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
49068 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
49069 _IO_FLAGS2_NOCLOSE flag.
49070 * include/unistd.h: Add hidden_proto for dup3.
49071 Define __have_dup3.
49072 * io/dup3.c: Define hidden symbol.
49073 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
49076 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
49077 when an incomplete long option is used.
49078 * posix/tst-getopt_long1.c: New file.
49079 * posix/Makefile (tests): Add tst-getopt_long1.
49082 * scripts/config.guess: Update from autoconf-2.68.
49083 * scripts/config.sub: Likewise.
49086 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
49088 (has_cpuclock): ...this. New function.
49089 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
49090 macro here based on has_cpuclock code.
49093 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49094 First byte (not low byte) is now always NUL.
49095 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
49097 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49098 Use non-cancelable interfaces.
49101 * locale/iso-639.def: Add entry for Sorani.
49104 * include/stdlib.h: Move include protection to the right place.
49105 Define abort_msg_s. Declare __abort_msg with it.
49106 * stdlib/abort.c (__abort_msg): Adjust type.
49107 * assert/assert.c (__assert_fail_base): New function. Majority
49108 of code from __assert_fail. Allocate memory for __abort_msg with
49110 (__assert_fail): Now call __assert_fail_base.
49111 * assert/assert-perr.c: Remove bulk of implementation. Use
49112 __assert_fail_base.
49113 * include/assert.hL Declare __assert_fail_base.
49114 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
49116 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
49118 2011-05-14 Ulrich Drepper <drepper@gmail.com>
49122 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
49123 until all modules are registered in the DTV.
49124 * elf/Makefile: Add rules to build and run tst-tls19.
49125 * elf/tst-tls19.c: New file.
49126 * elf/tst-tls19mod1.c: New file.
49127 * elf/tst-tls19mod2.c: New file.
49128 * elf/tst-tls19mod3.c: New file.
49129 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
49132 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
49136 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
49137 two-byte sequence errors.
49138 * iconvdata/Makefile (tests): Add bug-iconv8.
49139 * iconvdata/bug-iconv8.c: New file.
49142 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
49145 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
49148 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
49149 (dummy_getcfa): New function.
49150 (init): Get _Unwind_GetCFA address, use dummy if not found.
49151 (backtrace_helper): In recursion check, also check whether CFA changes.
49152 (__backtrace): Completely initialize arg.
49154 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
49155 storing incomplete byte sequence in state object. Avoid testing for
49156 guaranteed too small input if we know there is enough data available.
49158 2011-05-11 Andreas Schwab <schwab@redhat.com>
49160 * Makeconfig (+link-pie): Indent.
49161 * Rules (binaries-pie): Define if $(have-fpie) and
49163 (binaries-shared): Also filter out $(binaries-pie).
49164 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
49165 * nscd/Makefile (others-pie): Add nscd.
49166 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
49167 ($(objpfx)nscd): Remove command override.
49168 * login/Makefile (others-pie): Add pt_chown.
49169 ($(objpfx)pt_chown): Remove command override.
49170 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
49171 remove command overrides.
49173 2011-05-13 Ulrich Drepper <drepper@gmail.com>
49175 * libio/tst_putwc.c: Fix error messages.
49178 * libio/fileops.c (_IO_new_file_close_it): Always flush when
49179 currently writing and seek to current position when not.
49180 * libio/Makefile (tests): Add bug-fclose1.
49181 * libio/bug-fclose1.c: New file.
49183 2011-05-12 Ulrich Drepper <drepper@gmail.com>
49186 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
49187 don't set DF_1_NODELETE here.
49188 (do_lookup_x): When entering new entry test for copy relocation
49189 and if necessary set DF_1_NODELETE flag.
49190 * elf/tst-unique4.cc: New file.
49191 * elf/tst-unique4.h: New file.
49192 * elf/tst-unique4lib.cc: New file.
49193 * elf/Makefile: Add rules to build and run tst-unique4.
49194 Patch by Piotr Bury <pbury@goahead.com>.
49196 2011-05-11 Ulrich Drepper <drepper@gmail.com>
49199 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
49202 * misc/mntent_r.c (addmntent): Flush the stream after the output
49205 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
49206 (is_trusted_path_normalize): Skip initial colon. Append slash
49207 to empty buffer. Duplicate is_trusted_path code but allow
49208 constructed patch to be prefix.
49209 (is_dst): Allow $ORIGIN followed by /.
49210 (_dl_dst_substitute): Correct clearing of check_for_trusted.
49211 Correct testing of result of is_trusted_path_normalize
49212 (decompose_rpath): Fix warning.
49214 2011-05-10 Ulrich Drepper <drepper@gmail.com>
49217 * grp/initgroups.c (internal_getgrouplist): When we found the service
49218 list through the initgroups entry in nsswitch.conf do not always
49219 continue on a successful lookup. Don't always use the
49220 __nss_group_database value if it is set.
49221 * nss/nsswitch.conf (initgroups): Change action for successful db
49222 lookup to continue for compatibility.
49224 2011-05-09 Ulrich Drepper <drepper@gmail.com>
49227 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
49229 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
49231 * iconvdata/tst-tables.sh: Likewise.
49232 * iconvdata/cp770.c: New file.
49233 * iconvdata/cp771.c: New file.
49234 * iconvdata/cp772.c: New file.
49235 * iconvdata/cp773.c: New file.
49236 * iconvdata/cp774.c: New file.
49237 * iconvdata/testdata/CP770: New file.
49238 * iconvdata/testdata/CP770..UTF8: New file.
49239 * iconvdata/testdata/CP771: New file.
49240 * iconvdata/testdata/CP771..UTF8: New file.
49241 * iconvdata/testdata/CP772: New file.
49242 * iconvdata/testdata/CP772..UTF8: New file.
49243 * iconvdata/testdata/CP773: New file.
49244 * iconvdata/testdata/CP773..UTF8: New file.
49245 * iconvdata/testdata/CP774: New file.
49246 * iconvdata/testdata/CP774..UTF8: New file.
49248 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
49250 * iconvdata/gen-8bit-gap.sh: Likewise.
49251 * iconvdata/gen-8bit.sh: Likewise.
49253 * locale/iso-639.def: Add ary entry.
49256 * locale/C-translit.h.in: Add U20A1 transliteration.
49259 * locale/iso-639.def: Add wae entry.
49260 Patch by Kevin Bortis <bortis@translate-wae.ch>.
49263 * locale/programs/localedef.c (construct_output_path): Use ssize_t
49267 * locale/C-translit.h.in: Add entry for U20B9.
49268 Patch by pravin.d.s@gmail.com.
49270 2011-05-08 Ulrich Drepper <drepper@gmail.com>
49273 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
49274 ENAMETOOLONG use generic getcwd.
49275 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
49276 in rtld. Use *stat64.
49277 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
49278 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
49279 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
49280 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
49281 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
49282 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
49283 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
49284 __fstatat64 macros.
49285 * include/dirent.h: Add libc_hidden_proto for rewinddir.
49286 * dirent/rewinddir.c: Add libc_hidden_def.
49287 * sysdeps/mach/hurd/rewinddir.c: Likewise.
49288 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
49290 * include/dirent.h (__alloc_dir): Add flags parameter.
49291 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
49292 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
49294 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
49295 from fdopendir if O_CLOEXEC is already set.
49297 2011-03-15 Alan Modra <amodra@gmail.com>
49299 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
49300 l_tls_firstbyte_offset non-zero. Save padding offset in
49301 l_tls_firstbyte_offset for later use.
49302 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
49303 freeing static tls block.
49305 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
49307 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
49308 where #ifdef was intended. The intent is to prevent ARG_MAX from
49309 being defined by the kernel headers.
49311 2011-05-07 Ulrich Drepper <drepper@gmail.com>
49314 * resolv/resolv.h: Define RES_NOTLDQUERY.
49315 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
49316 no-tld-query and set RES_NOTLDQUERY.
49317 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
49318 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
49319 modern BIND to search name as TLD unless forbidden.
49321 2011-05-07 Petr Baudis <pasky@suse.cz>
49322 Ulrich Drepper <drepper@gmail.com>
49325 * elf/dl-load.c (fillin_rpath): Move trusted path check...
49326 (is_trusted_path): ...to here.
49327 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
49328 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
49329 using is_trusted_path_normalize() in setuid scripts.
49331 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
49333 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
49334 __BEGIN/__END_DECLS.
49336 2011-05-06 Ulrich Drepper <drepper@gmail.com>
49338 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
49339 NSS_STATUS_NOTFOUND if no record was found.
49341 2011-05-05 Andreas Schwab <schwab@redhat.com>
49343 * sunrpc/Makefile (headers): Add rpc/netdb.h.
49344 (headers-not-in-tirpc): Remove rpc/netdb.h
49345 * resolv/netdb.h: Revert last change.
49347 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49349 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
49350 circular dependency between libgcc.a and libc.a.
49352 2011-05-05 Andreas Schwab <schwab@redhat.com>
49354 * resolv/netdb.h: Don't include <rpc/netdb.h>.
49355 * nis/Makefile: Don't install rpcsvc/*.
49356 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
49357 instead of <rpc/types.h>.
49358 (MAXHOSTNAMELEN): Define.
49360 2011-05-03 Andreas Schwab <schwab@redhat.com>
49362 * elf/ldconfig.c (add_dir): Don't crash on empty path.
49364 2011-04-28 Maciej Babinski <mbabinski@google.com>
49367 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
49368 gethostbyname4_r when IPv6 results are possible.
49370 2011-05-02 Ulrich Drepper <drepper@gmail.com>
49373 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
49374 _PC_PIPE_BUF handling.
49376 2011-04-30 Bruno Haible <bruno@clisp.org>
49379 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
49380 * resolv/netdb.h (getnameinfo): Change type of flags parameter
49382 * inet/getnameinfo.c (getnameinfo): Likewise.
49384 2011-04-29 Ulrich Drepper <drepper@gmail.com>
49386 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
49387 to groups setting in database lookup.
49388 * nss/nsswitch.conf: Add initgroups entry.
49390 2011-04-22 Ulrich Drepper <drepper@gmail.com>
49393 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
49395 Patch by Eric Blake <eblake@redhat.com>.
49397 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
49399 * sunrpc/Makefile (need-export-routines): Add svc_run.
49400 (routines): Remove svc_run.
49401 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
49402 * sunrpc/clnt_perr.c (clnt_perrno): Export.
49403 * sunrpc/svc_run.c (svc_run): Likewise.
49404 * sunrpc/svc_udp.c (svcudp_create): Likewise.
49406 2011-04-21 Ulrich Drepper <drepper@gmail.com>
49408 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
49409 problem in reallocation in last patch.
49411 2011-04-20 Ulrich Drepper <drepper@gmail.com>
49413 * sunrpc/Makefile: Move inclusion of Rules.
49415 2011-04-19 Ulrich Drepper <drepper@gmail.com>
49417 * nss/nss_files/files-initgroups.c: New file.
49418 * nss/Makefile (libnss_files-routines): Add files-initgroups.
49419 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
49420 _nss_files_initgroups_dyn.
49422 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
49424 * elf/elf.h (R_ARM_IRELATIVE): Define.
49426 2011-04-19 Ulrich Drepper <drepper@gmail.com>
49428 * po/ru.po: Update from translation team.
49430 2011-04-17 Ulrich Drepper <drepper@gmail.com>
49432 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
49435 2011-02-06 Mike Frysinger <vapier@gentoo.org>
49438 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
49439 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
49440 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49441 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49442 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49444 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
49446 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
49448 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49449 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49450 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49452 2011-04-17 Ulrich Drepper <drepper@gmail.com>
49455 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
49457 * stdlib/bug-getcontext.c: New file.
49458 * stdlib/Makefile: Add rules to build and run bug-getcontext.
49460 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49462 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
49463 instructions into .machine "z9-109".
49464 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
49465 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
49467 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49469 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
49470 between environment variables and auxiliary vector.
49472 2011-04-16 Ulrich Drepper <drepper@gmail.com>
49474 * Makefile: Add rules to build linkobj/libc.so.
49475 * include/libc-symbols.h: Define libc_hidden_nolink.
49476 * include/rpc/auth.h: Mark functions which are to be hidden.
49477 * include/rpc/auth_des.h: Likewise.
49478 * include/rpc/auth_unix.h: Likewise.
49479 * include/rpc/clnt.h: Likewise.
49480 * include/rpc/des_crypt.h: Likewise.
49481 * include/rpc/key_prot.h: Likewise.
49482 * include/rpc/pmap_clnt.h: Likewise.
49483 * include/rpc/pmap_prot.h: Likewise.
49484 * include/rpc/pmap_rmt.h: Likewise.
49485 * include/rpc/rpc_msg.h: Likewise.
49486 * include/rpc/svc.h: Likewise.
49487 * include/rpc/svc_auth.h: Likewise.
49488 * include/rpc/xdr.h: Likewise.
49489 * nis/Makefile: Link all DSOs against linkobj/libc.so.
49490 * nss/Makefile: Likewise.
49491 * sunrpc/Makefile: Don't install headers. Build library with normal
49492 entry points. Don't build rpcinfo. Link RPC tests appropriately.
49493 * sunrpc/auth_des.c: Hide exported symbols by default, export some
49494 for the compat linking library. Remove use of INTDEF/INTUSE.
49495 * sunrpc/auth_none.c: Likewise.
49496 * sunrpc/auth_unix.c: Likewise.
49497 * sunrpc/authdes_prot.c: Likewise.
49498 * sunrpc/authuxprot.c: Likewise.
49499 * sunrpc/clnt_gen.c: Likewise.
49500 * sunrpc/clnt_perr.c: Likewise.
49501 * sunrpc/clnt_raw.c: Likewise.
49502 * sunrpc/clnt_simp.c: Likewise.
49503 * sunrpc/clnt_tcp.c: Likewise.
49504 * sunrpc/clnt_udp.c: Likewise.
49505 * sunrpc/clnt_unix.c: Likewise.
49506 * sunrpc/des_crypt.c: Likewise.
49507 * sunrpc/des_soft.c: Likewise.
49508 * sunrpc/get_myaddr.c: Likewise.
49509 * sunrpc/key_call.c: Likewise.
49510 * sunrpc/key_prot.c: Likewise.
49511 * sunrpc/netname.c: Likewise.
49512 * sunrpc/pm_getmaps.c: Likewise.
49513 * sunrpc/pm_getport.c: Likewise.
49514 * sunrpc/pmap_clnt.c: Likewise.
49515 * sunrpc/pmap_prot.c: Likewise.
49516 * sunrpc/pmap_prot2.c: Likewise.
49517 * sunrpc/pmap_rmt.c: Likewise.
49518 * sunrpc/publickey.c: Likewise.
49519 * sunrpc/rpc_cmsg.c: Likewise.
49520 * sunrpc/rpc_common.c: Likewise.
49521 * sunrpc/rpc_dtable.c: Likewise.
49522 * sunrpc/rpc_prot.c: Likewise.
49523 * sunrpc/rpc_thread.c: Likewise.
49524 * sunrpc/rtime.c: Likewise.
49525 * sunrpc/svc.c: Likewise.
49526 * sunrpc/svc_auth.c: Likewise.
49527 * sunrpc/svc_authux.c: Likewise.
49528 * sunrpc/svc_raw.c: Likewise.
49529 * sunrpc/svc_run.c: Likewise.
49530 * sunrpc/svc_simple.c: Likewise.
49531 * sunrpc/svc_tcp.c: Likewise.
49532 * sunrpc/svc_udp.c: Likewise.
49533 * sunrpc/svc_unix.c: Likewise.
49534 * sunrpc/svcauth_des.c: Likewise.
49535 * sunrpc/xcrypt.c: Likewise.
49536 * sunrpc/xdr.c: Likewise.
49537 * sunrpc/xdr_array.c: Likewise.
49538 * sunrpc/xdr_float.c: Likewise.
49539 * sunrpc/xdr_intXX_t.c: Likewise.
49540 * sunrpc/xdr_mem.c: Likewise.
49541 * sunrpc/xdr_rec.c: Likewise.
49542 * sunrpc/xdr_ref.c: Likewise.
49543 * sunrpc/xdr_sizeof.c: Likewise.
49544 * sunrpc/xdr_stdio.c: Likewise.
49546 2011-04-10 Ulrich Drepper <drepper@gmail.com>
49549 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
49550 * sysdeps/ia64/dl-tls.h: Likewise.
49551 * sysdeps/powerpc/dl-tls.h: Likewise.
49552 * sysdeps/s390/dl-tls.h: Likewise.
49553 * sysdeps/sh/dl-tls.h: Likewise.
49554 * sysdeps/sparc/dl-tls.h: Likewise.
49555 * sysdeps/x86_64/dl-tls.h: Likewise.
49556 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
49558 2011-03-14 Andreas Schwab <schwab@redhat.com>
49560 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
49561 rpath element also skip the following colon.
49562 (expand_dynamic_string_token): Add is_path parameter and pass
49563 down to DL_DST_REQUIRED and _dl_dst_substitute.
49564 (decompose_rpath): Call expand_dynamic_string_token with
49565 non-zero is_path. Ignore empty rpaths.
49566 (_dl_map_object_from_fd): Call expand_dynamic_string_token
49569 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
49571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49574 2011-04-09 Ulrich Drepper <drepper@gmail.com>
49577 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
49578 Patch by Filipe David Manana <fdmanana@apache.org>.
49580 2011-04-07 Andreas Schwab <schwab@redhat.com>
49582 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
49583 Maintain aligned stack.
49584 (CHECK_RSP): Remove unused macro.
49586 2011-04-03 Ulrich Drepper <drepper@gmail.com>
49588 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
49589 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
49591 2011-04-02 Ulrich Drepper <drepper@gmail.com>
49593 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
49595 * include/features.h: Mention __USE_XOPEN2K8 in comment.
49597 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
49600 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
49601 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
49602 * sysdeps/x86_64/memmove.c: New file.
49603 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
49604 (memcpy): Renamed to ...
49605 (__new_memcpy): This.
49606 (memcpy): Provide GLIBC_2_14 memcpy.
49607 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
49608 (memcpy): Provide GLIBC_2_2_5 memcpy.
49610 2011-04-01 Ulrich Drepper <drepper@gmail.com>
49613 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
49615 2011-03-30 Andreas Schwab <schwab@redhat.com>
49617 * misc/syncfs.c: New file.
49618 * misc/Makefile (routines): Add syncfs.
49619 * posix/unistd.h: Declare syncfs.
49620 * sysdeps/unix/syscalls.list: Add syncfs.
49622 2011-04-01 Andreas Schwab <schwab@redhat.com>
49624 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
49626 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49627 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49628 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49629 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49630 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49631 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
49632 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49634 2011-04-01 Ulrich Drepper <drepper@gmail.com>
49636 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
49637 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49638 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
49639 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49640 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49641 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49642 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49644 * io/Makefile: Compile fallocate.c, fallocate64.c, and
49645 sync_file_range.c with -fexceptions.
49646 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
49647 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
49648 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
49649 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
49650 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
49651 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49652 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
49653 sync_file_range as cancellation point
49654 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
49655 now a wrapper around __call_sync_file_range with cancellation handling.
49656 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
49657 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
49658 function name to __call_sync_file_range.
49659 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
49660 Add call_sync_file_range.
49662 2011-04-01 Andreas Schwab <schwab@redhat.com>
49664 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49667 2011-04-01 Ulrich Drepper <drepper@gmail.com>
49669 * iconv/iconv.h: Fix typo in comment.
49670 * io/fcntl.h: Likewise.
49671 * libio/stdio.h: Likewise.
49672 * posix/spawn.h: Likewise.
49673 * posix/unistd.h: Likewise.
49674 * stdlib/stdlib.h: Likewise.
49675 * time/time.h: Likewise.
49676 * wcsmbs/wchar.h: Likewise.
49678 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
49679 open_by_handle): Add.
49680 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
49681 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
49682 Augment a few comments.
49683 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49684 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49685 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49686 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49687 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49688 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
49691 * io/fcntl.h (AT_EMPTY_PATH): Define.
49693 2011-03-30 Ulrich Drepper <drepper@gmail.com>
49695 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
49696 * sysdeps/unix/sysv/linux/bits/time.h: New file.
49697 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
49699 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
49700 * Versions.def: Add GLIBC_2.14.
49701 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
49704 2011-03-22 Ulrich Drepper <drepper@gmail.com>
49706 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
49708 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49710 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
49713 * string/test-strncmp.c (do_page_test): New function.
49714 (check2): Likewise.
49715 (test_main): Call check2.
49716 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
49718 2011-03-20 Ulrich Drepper <drepper@gmail.com>
49721 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
49722 Handle cache information in CPU leaf 4.
49723 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49725 2011-03-18 Ulrich Drepper <drepper@gmail.com>
49728 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
49729 character representation.
49730 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
49732 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
49734 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
49735 END(__isnan) to END(__isnanf) to match function entry point/label
49736 EALIGN(__isnanf,...).
49738 2011-03-10 Jakub Jelinek <jakub@redhat.com>
49740 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
49742 2011-03-10 Ulrich Drepper <drepper@gmail.com>
49745 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
49746 copy from the symbol referenced in the relocation to initialize the
49748 Patch by Piotr Bury <pbury@goahead.com>.
49749 * elf/Makefile: Add rules to build and tst-unique3.
49750 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
49751 * elf/tst-unique3.cc: New file.
49752 * elf/tst-unique3.h: New file.
49753 * elf/tst-unique3lib.cc: New file.
49754 * elf/tst-unique3lib2.cc: New file.
49756 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
49758 2011-03-10 Mike Frysinger <vapier@gentoo.org>
49760 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
49761 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
49764 2011-03-06 Ulrich Drepper <drepper@gmail.com>
49766 * elf/dl-load.c (_dl_map_object): If we are looking for the first
49767 to-be-loaded object along a path to loader is ld.so.
49769 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
49770 Ulrich Drepper <drepper@gmail.com>
49772 * sysdeps/x86_64/memset.S: After aligning destination, code
49773 branches to different locations depending on the value of
49774 misalignment, when multiarch is enabled. Fix this.
49776 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
49778 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
49779 Set _x86_64_preferred_memory_instruction for AMD processsors.
49780 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49781 Set bit_Prefer_SSE_for_memop for AMD processors.
49783 2011-03-04 Ulrich Drepper <drepper@gmail.com>
49785 * libio/fmemopen.c (fmemopen): Optimize a bit.
49787 2011-03-03 Andreas Schwab <schwab@redhat.com>
49789 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
49791 2011-03-03 Roland McGrath <roland@redhat.com>
49793 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
49795 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
49797 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
49798 __bzero_ultra1 instead of __memset_ultra1.
49800 2011-02-23 Andreas Schwab <schwab@redhat.com>
49801 Ulrich Drepper <drepper@gmail.com>
49804 * include/link.h (struct link_map): Add l_orig_initfini.
49805 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
49806 returning unsuccessfully.
49807 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
49808 close of a file loaded at startup, restore the original l_initfini
49810 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
49811 list, store the pointer.
49812 * elf/Makefile ($(objpfx)noload-mem): New rule.
49813 (noload-ENV): Define.
49814 (tests): Add $(objpfx)noload-mem.
49815 * elf/noload.c: Include <memcheck.h>.
49816 (main): Call mtrace. Close all opened handles.
49818 2011-02-17 Andreas Schwab <schwab@redhat.com>
49821 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
49822 dependencies are missing.
49824 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
49826 Fix __if_freereq crash: Unlike the generic version which uses free,
49828 * sysdeps/mach/hurd/ifreq.h: New file.
49830 2011-01-27 Petr Baudis <pasky@suse.cz>
49831 Ulrich Drepper <drepper@gmail.com>
49834 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
49835 to extend_alloca().
49836 * stdio-common/bug23.c: New file.
49837 * stdio-common/Makefile (tests): Add bug23.
49839 2010-09-28 Andreas Schwab <schwab@redhat.com>
49840 Ulrich Drepper <drepper@gmail.com>
49843 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
49844 before performing relro protection. At old place add assertion
49845 to make sure nothing changed.
49847 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
49848 Glauber de Oliveira Costa <glommer@gmail.com>
49850 * elf/elf.h: Add new ARM TLS relocs.
49852 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
49854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
49855 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
49857 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
49859 * sysdeps/wordsize-64/tst-writev.c: New file.
49861 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
49863 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
49864 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
49865 insns in _dl_start to prevent a TOC reference before relocs are
49868 2011-02-15 Ulrich Drepper <drepper@gmail.com>
49871 * Makeconfig: Remove RANLIB definition.
49872 * Makerules: Don't use RANLIB.
49873 * aclocal.m4: Remove ranlib test.
49874 * configure.in: No need to check for ranlib.
49875 * elf/rtld-Rules: Don't use RANLIB.
49877 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
49879 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
49881 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
49882 inclusion protection macro.
49884 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
49885 SIGRTMIN and SIGRTMAX and print information in that case only when
49886 SIGRTMIN is defined.
49888 2011-02-11 Jakub Jelinek <jakub@redhat.com>
49890 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
49891 arginfo fn returning -1.
49893 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
49894 and thousands string is zero terminated.
49896 2011-02-03 Andreas Schwab <schwab@redhat.com>
49898 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
49899 sysdeps/unix/sysv/linux/bits/socket.h.
49901 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
49903 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
49904 (__CPU_COUNT): Remove old macros.
49905 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
49906 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
49907 (__CPU_ALLOC, __CPU_FREE): Add macros.
49908 (__sched_cpualloc, __sched_cpufree): Add declarations.
49910 2011-02-05 Ulrich Drepper <drepper@gmail.com>
49912 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
49913 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
49914 * nscd/aicache.c (addhstaiX): Return timeout of added value.
49915 (readdhstai): Return value of addhstaiX call.
49916 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
49917 (addgrbyX): Return value returned by cache_addgr.
49918 (readdgrbyname): Return value returned by addgrbyX.
49919 (readdgrbygid): Likewise.
49920 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
49921 (addpwbyX): Return value returned by cache_addpw.
49922 (readdpwbyname): Return value returned by addhstbyX.
49923 (readdpwbyuid): Likewise.
49924 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
49925 (addservbyX): Return value returned by cache_addserv.
49926 (readdservbyname): Return value returned by addservbyX:
49927 (readdservbyport): Likewise.
49928 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
49929 (addhstbyX): Return value returned by cache_addhst.
49930 (readdhstbyname): Return value returned by addhstbyX.
49931 (readdhstbyaddr): Likewise.
49932 (readdhstbynamev6): Likewise.
49933 (readdhstbyaddrv6): Likewise.
49934 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
49935 (readdinitgroups): Return value returned by addinitgroupsX.
49936 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
49937 (prune_cache): Keep track of timeout value of re-added entries.
49938 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
49939 * nscd/nscd.h: Adjust prototypes of readd* functions.
49941 2011-02-04 Roland McGrath <roland@redhat.com>
49943 * nis/nis_server.c (nis_servstate): Use the right name for 0.
49944 (nis_stats): Likewise.
49945 * nis/nis_modify.c (nis_modify): Likewise.
49946 * nis/nis_remove.c (nis_remove): Likewise.
49947 * nis/nis_add.c (nis_add): Likewise.
49949 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
49951 * posix/fnmatch_loop.c: Add some consts.
49953 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
49955 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
49958 * config.make.in (config-cflags-novzeroupper): Define.
49959 * configure.in: Substitute libc_cv_cc_novzeroupper.
49960 * elf/Makefile (AVX-CFLAGS): Define.
49961 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
49962 (CFLAGS-tst-auditmod4a.c): Likewise.
49963 (CFLAGS-tst-auditmod4b.c): Likewise.
49964 (CFLAGS-tst-auditmod6b.c): Likewise.
49965 (CFLAGS-tst-auditmod6c.c): Likewise.
49966 (CFLAGS-tst-auditmod7b.c): Likewise.
49967 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
49969 2011-02-02 Ulrich Drepper <drepper@gmail.com>
49971 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
49972 function to the callback.
49973 Patch partly by Jiri Olsa <jolsa@redhat.com>.
49975 2011-02-02 Andreas Schwab <schwab@redhat.com>
49977 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
49980 2011-01-19 Ulrich Drepper <drepper@gmail.com>
49983 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
49985 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
49987 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
49990 * elf/Makefile: Add rules to build and run new test.
49991 * elf/tst-initorder.c: New file.
49992 * elf/tst-initorder.exp: New file.
49993 * elf/tst-initordera1.c: New file.
49994 * elf/tst-initordera2.c: New file.
49995 * elf/tst-initordera3.c: New file.
49996 * elf/tst-initordera4.c: New file.
49997 * elf/tst-initorderb1.c: New file.
49998 * elf/tst-initorderb2.c: New file.
49999 * elf/tst-order-a1.c: New file.
50000 * elf/tst-order-a2.c: New file.
50001 * elf/tst-order-a3.c: New file.
50002 * elf/tst-order-a4.c: New file.
50003 * elf/tst-order-b1.c: New file.
50004 * elf/tst-order-b2.c: New file.
50005 * elf/tst-order-main.c: New file.
50006 New test case by George Gensure <werkt0@gmail.com>.
50008 2010-10-01 Andreas Schwab <schwab@redhat.com>
50010 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50011 decoding ACE if AI_CANONIDN.
50013 2011-01-18 Ulrich Drepper <drepper@gmail.com>
50015 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
50017 2011-01-17 Ulrich Drepper <drepper@gmail.com>
50019 * version.h (RELEASE): Bump for 2.13 release.
50020 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
50022 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
50024 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
50026 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
50027 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50028 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50029 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50030 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50031 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50033 * posix/getconf.c: Update copyright year.
50034 * catgets/gencat.c: Likewise.
50035 * csu/version.c: Likewise.
50036 * debug/catchsegv.sh: Likewise.
50037 * debug/xtrace.sh: Likewise.
50038 * elf/ldconfig.c: Likewise.
50039 * elf/ldd.bash.in: Likewise.
50040 * elf/sprof.c (print_version): Likewise.
50041 * iconv/iconv_prog.c: Likewise.
50042 * iconv/iconvconfig.c: Likewise.
50043 * locale/programs/locale.c: Likewise.
50044 * locale/programs/localedef.c: Likewise.
50045 * malloc/memusage.sh: Likewise.
50046 * malloc/mtrace.pl: Likewise.
50047 * nscd/nscd.c (print_version): Likewise.
50048 * nss/getent.c: Likewise.
50050 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
50051 PF_CAIF, and PF_ALG.
50052 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50054 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
50056 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
50057 (modules-names): Use them.
50058 (ifunc-test-modules, ifunc-pie-tests): Define.
50059 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
50060 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
50061 (test-extras): Likewise.
50062 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
50063 $(compile-command.c).
50064 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
50065 (all-built-dso): Define.
50066 (check-textrel.out, check-execstack.out): Depend on it.
50068 * configure.in: Don't override --enable-multi-arch.
50070 2011-01-15 Ulrich Drepper <drepper@gmail.com>
50073 * nscd/hstcache.c (tryagain): Define.
50074 (cache_addhst): Return tryagain not notfound for temporary errors.
50075 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
50078 2011-01-14 Ulrich Drepper <drepper@gmail.com>
50081 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
50082 to make the syscall.
50083 * sysdeps/unix/sysv/linux/setgroups.c: New file.
50086 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
50087 and fall back to matching as normal character if the string ends before
50088 the matching ']' is found. This is what POSIX requires.
50089 * posix/testfnm.c: Adjust test result.
50090 * posix/globtest.sh: Adjust test result. Add new test.
50091 * posix/tst-fnmatch.input: Likewise.
50092 * posix/tst-fnmatch2.c: Add new test.
50094 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
50096 * elf/Makefile (check-execstack): Revert last change. Depend on
50098 (check-execstack.h): New target.
50099 (generated): Add check-execstack.h.
50100 * elf/check-execstack.c: Include "check-execstack.h".
50101 (main): Revert last change.
50102 (handle_file): Return zero if GNU_STACK is absent and
50103 DEFAULT_STACK_PERMS doesn't include PF_X.
50105 2011-01-13 Ulrich Drepper <drepper@gmail.com>
50107 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
50108 in child fails because the descriptor is already closed.
50109 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
50110 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
50111 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
50114 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
50118 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
50119 temporary buffer used to handle multi lookups locally.
50120 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
50122 2011-01-12 Ulrich Drepper <drepper@gmail.com>
50124 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
50127 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
50129 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
50130 alignment for SSE2.
50132 2011-01-12 Ulrich Drepper <drepper@gmail.com>
50135 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
50136 characters. When rounding increased number of integer digits recompute
50138 * stdio-common/tst-grouping.c: New file.
50139 * stdio-common/Makefile: Add rules to build and run tst-grouping.
50141 2011-01-09 Ulrich Drepper <drepper@gmail.com>
50143 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
50144 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
50146 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
50148 * bits/select.h: Likewise.
50150 2011-01-08 Ulrich Drepper <drepper@gmail.com>
50152 * po/ja.po: Update from translation team.
50154 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
50157 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
50158 implementation just like for lxstat, fxstatat, et al.
50160 2010-12-27 Jim Meyering <meyering@redhat.com>
50163 * posix/regexec.c (build_trtable): Return failure indication upon
50164 calloc failure. Otherwise, re_search_internal could infloop on OOM.
50166 2010-12-25 Ulrich Drepper <drepper@gmail.com>
50169 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
50170 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
50171 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
50172 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
50175 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
50178 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
50179 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
50181 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
50183 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
50184 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
50185 script has SORT_BY_INIT_PRIORITY.
50186 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
50187 NO_CTORS_DTORS_SECTIONS is defined.
50188 * elf/soinit.c: Likewise.
50189 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
50190 NO_CTORS_DTORS_SECTIONS is defined.
50191 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
50192 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
50193 * sysdeps/sh/init-first.c: Likewise.
50194 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
50196 2010-12-24 Ulrich Drepper <drepper@gmail.com>
50198 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
50199 always use the slow path.
50201 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
50203 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
50204 similar rule which adds the sysdep directories to the header search in
50205 order to pick up the correct platform stackinfo.h.
50206 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
50207 perform test if it is, otherwise return successfully without testing.
50208 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
50209 DEFAULT_STACK_PERMS define in stackinfo.h.
50210 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
50211 defined in stackinfo.h.
50212 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
50213 DEFAULT_STACK_PERMS defined in stackinfo.h.
50214 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
50215 * sysdeps/ia64/stackinfo.h: Likewise.
50216 * sysdeps/s390/stackinfo.h: Likewise.
50217 * sysdeps/sh/stackinfo.h: Likewise.
50218 * sysdeps/sparc/stackinfo.h: Likewise.
50219 * sysdeps/x86_64/stackinfo.h: Likewise.
50220 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
50221 PF_X for powerpc64. Retain PF_X for powerpc32.
50223 2010-12-19 Ulrich Drepper <drepper@gmail.com>
50225 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
50227 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
50228 GETDENTS_64BIT_ALIGNED.
50230 2010-12-14 Ulrich Drepper <dreper@gmail.com>
50232 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
50234 2010-12-10 Andreas Schwab <schwab@redhat.com>
50236 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
50239 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
50240 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
50242 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
50243 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
50245 2010-12-09 Ulrich Drepper <drepper@gmail.com>
50248 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
50251 2010-12-09 Jakub Jelinek <jakub@redhat.com>
50253 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
50255 2010-12-03 Ulrich Drepper <drepper@gmail.com>
50257 * po/it.po: Update from translation team.
50259 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
50261 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
50264 2010-11-30 Ulrich Drepper <drepper@gmail.com>
50266 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
50268 2010-11-24 Andreas Schwab <schwab@redhat.com>
50270 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
50272 (gaih_getanswer_slice): Likewise.
50274 2010-10-20 Jakub Jelinek <jakub@redhat.com>
50276 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
50278 2010-05-31 Petr Baudis <pasky@suse.cz>
50281 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
50282 silently even in the chroot mode.
50284 2010-11-22 Ulrich Drepper <drepper@gmail.com>
50286 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
50287 last patch a bit. Pretty printing
50289 2010-05-31 Petr Baudis <pasky@suse.cz>
50292 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
50293 initialization of skip_initgroups_dyn.
50295 2010-11-19 Ulrich Drepper <drepper@gmail.com>
50297 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
50298 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50300 2010-11-16 Ulrich Drepper <drepper@gmail.com>
50302 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
50304 2010-11-11 Andreas Schwab <schwab@redhat.com>
50306 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
50307 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
50308 (tst-fnmatch-ENV): Set MALLOC_TRACE.
50309 ($(objpfx)tst-fnmatch-mem): New rule.
50310 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
50311 * posix/tst-fnmatch.c (main): Call mtrace.
50313 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
50315 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50316 Support Intel processor model 6 and model 0x2c.
50318 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
50320 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
50323 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
50326 * string/test-strncasecmp.c (check_result): New function.
50327 (do_one_test): Use it.
50328 (check1): New function.
50329 (test_main): Use it.
50330 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
50331 Support strcasecmp and strncasecmp.
50333 2010-11-08 Ulrich Drepper <drepper@gmail.com>
50336 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
50337 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50339 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
50341 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
50343 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50345 * sysdeps/x86_64/multiarch/bzero.S: New file.
50346 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
50347 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
50348 * sysdeps/x86_64/multiarch/memset.S: New file.
50349 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
50350 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50351 Set bit_Prefer_SSE_for_memop for Intel processors.
50352 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
50354 (index_Prefer_SSE_for_memop): Define.
50355 (HAS_PREFER_SSE_FOR_MEMOP): Define.
50357 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
50359 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
50360 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
50362 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
50365 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50366 (__x86_64_raw_data_cache_size_half): Likewise.
50367 (__x86_64_raw_shared_cache_size): Likewise.
50368 (__x86_64_raw_shared_cache_size_half): Likewise.
50370 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50371 (__x86_64_raw_data_cache_size_half): Likewise.
50372 (__x86_64_raw_shared_cache_size): Likewise.
50373 (__x86_64_raw_shared_cache_size_half): Likewise.
50374 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
50375 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
50376 and __x86_64_raw_shared_cache_size_half. Round
50377 __x86_64_data_cache_size_half, __x86_64_data_cache_size
50378 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
50379 to multiple of 256 bytes.
50381 2010-11-03 Ulrich Drepper <drepper@gmail.com>
50384 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
50385 of inacessible symlinks. Verify result of symlink before returning it.
50386 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
50387 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
50389 2010-10-28 Erich Ritz <erichritz@gmail.com>
50391 * math/math.h (isinf): Fix typo in comment.
50393 2010-11-01 Ulrich Drepper <drepper@gmail.com>
50395 * po/da.po: Update from translation team.
50397 2010-10-26 Ulrich Drepper <drepper@gmail.com>
50399 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
50400 is added to the list.
50402 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50403 Ulrich Drepper <drepper@gmail.com>
50405 * elf/dl-object.c (_dl_new_object): Don't append the new object to
50406 the global list here. Move code to...
50407 (_dl_add_to_namespace_list): ...here. New function.
50408 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
50409 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
50410 * elf/dl-load.c (lose): Don't remove the element from the list.
50411 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
50412 (_dl_map_object): Likewise.
50414 2010-10-25 Ulrich Drepper <drepper@gmail.com>
50417 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
50418 into all bytes of SSE register.
50419 Patch by Richard Li <richardpku@gmail.com>.
50421 2010-10-24 Ulrich Drepper <drepper@gmail.com>
50424 * malloc/malloc.c (_int_free): Fill correct number of bytes when
50427 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
50429 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
50430 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
50431 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
50432 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
50435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
50437 2010-10-22 Andreas Schwab <schwab@redhat.com>
50439 * include/dlfcn.h (__RTLD_SECURE): Define.
50440 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
50441 mode & __RTLD_SECURE instead.
50442 (open_path): Rename preloaded parameter to secure.
50443 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
50444 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
50445 * elf/dl-deps.c (openaux): Likewise.
50446 * elf/rtld.c (struct map_args): Remove is_preloaded.
50447 (map_doit): Don't use it.
50448 (dl_main): Likewise.
50449 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
50450 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
50452 2010-09-09 Andreas Schwab <schwab@redhat.com>
50454 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
50455 (sysd-rules-targets): Remove duplicates.
50456 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
50457 rtld-%.$o dependency.
50459 2010-10-18 Andreas Schwab <schwab@redhat.com>
50461 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
50462 _dl_map_object do it.
50464 2010-10-19 Ulrich Drepper <drepper@gmail.com>
50466 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
50467 fast fma builtins, define the macros in the C99 standard.
50468 (FP_FAST_FMAF): Likewise.
50469 (FP_FAST_FMAL): Likewise.
50470 * sysdeps/x86_64/bits/mathdef.h: Likewise.
50472 * bits/mathdef.h: Update copyright year.
50473 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50475 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
50477 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
50478 builtins, define the macros in the C99 standard.
50479 (FP_FAST_FMAF): Likewise.
50480 (FP_FAST_FMAL): Likewise.
50481 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
50483 (FP_FAST_FMAF): Likewise.
50485 2010-10-15 Jakub Jelinek <jakub@redhat.com>
50488 * math/libm-test.inc (fma_test): Some new testcases.
50489 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
50490 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
50491 y and infinite z. Do multiplication by C already in long double.
50492 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
50493 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
50494 y and infinite z. Do bitwise or of inexact bit into u.d.
50495 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
50496 * sysdeps/i386/fpu/s_fmaf.S: Removed.
50497 * sysdeps/i386/fpu/s_fma.S: Removed.
50498 * sysdeps/i386/fpu/s_fmal.S: Removed.
50500 2010-10-16 Jakub Jelinek <jakub@redhat.com>
50503 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
50504 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
50505 computation is not scheduled after fetestexcept. Fix value
50506 of minimum denormal long double.
50508 2010-10-14 Jakub Jelinek <jakub@redhat.com>
50511 * math/libm-test.inc (fma_test): Add some more tests.
50512 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
50515 2010-10-15 Andreas Schwab <schwab@redhat.com>
50517 * scripts/data/localplt-s390-linux-gnu.data: New file.
50518 * scripts/data/localplt-s390x-linux-gnu.data: New file.
50520 2010-10-13 Jakub Jelinek <jakub@redhat.com>
50523 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
50524 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
50526 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
50528 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
50529 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
50530 if one of x and y is very large and the other is subnormal.
50531 * sysdeps/s390/fpu/s_fmaf.c: New file.
50532 * sysdeps/s390/fpu/s_fma.c: New file.
50533 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
50534 * sysdeps/powerpc/fpu/s_fma.S: New file.
50535 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
50536 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
50537 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
50539 2010-10-12 Jakub Jelinek <jakub@redhat.com>
50542 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
50544 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
50545 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
50546 * sysdeps/i386/i686/multiarch/s_fma.c: Include
50547 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
50548 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
50549 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
50550 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
50552 2010-10-12 Ulrich Drepper <drepper@redhat.com>
50555 * posix/regcomp.c (parse_branch): One more memory leak plugged.
50556 * posix/bug-regex31.input: Add test case.
50558 2010-10-11 Ulrich Drepper <drepper@gmail.com>
50560 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
50561 * posix/bug-regex31.input: New file.
50564 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
50565 (parse_sub_exp): Fix last change, use postorder.
50567 * posix/bug-regex31.c: New file.
50568 * posix/Makefile: Add rules to build and run bug-regex31.
50570 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
50573 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
50576 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
50577 to have entries in sys_siglist.
50580 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
50583 2010-10-07 Jakub Jelinek <jakub@redhat.com>
50586 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
50587 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
50588 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
50589 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
50590 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50591 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
50592 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
50593 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
50594 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
50595 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
50596 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
50597 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
50598 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
50599 * math/ftestexcept.c (fetestexcept): Likewise.
50600 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
50601 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
50602 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
50603 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
50604 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
50605 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
50606 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50608 2010-10-11 Ulrich Drepper <drepper@gmail.com>
50611 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
50614 2010-10-06 Ulrich Drepper <drepper@gmail.com>
50616 * string/bug-strstr1.c: New file.
50617 * string/Makefile: Add rules to build and run bug-strstr1.
50619 2010-10-05 Eric Blake <eblake@redhat.com>
50622 * string/str-two-way.h (two_way_long_needle): Always clear memory
50623 when skipping input due to the shift table.
50625 2010-10-03 Ulrich Drepper <drepper@gmail.com>
50628 * malloc/mcheck.c: Handle large requests.
50631 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
50632 for strncmp and strncasecmp.
50633 * string/stratcliff.c: Add tests for strcmp and strncmp.
50634 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
50636 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50638 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
50641 2010-09-30 Andreas Jaeger <aj@suse.de>
50643 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
50644 (CGROUP_SUPER_MAGIC): Define.
50645 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50646 Handle btrfs and cgroup file systems.
50647 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50650 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
50652 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
50653 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
50655 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50658 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
50659 trying to locate the ELF header.
50661 2010-09-27 Andreas Schwab <schwab@redhat.com>
50664 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
50665 Mask out sign-bit copies when constructing f_fsid.
50667 2010-09-24 Petr Baudis <pasky@suse.cz>
50669 * debug/stack_chk_fail_local.c: Add missing licence exception.
50670 * debug/warning-nop.c: Likewise.
50672 2010-09-15 Joseph Myers <joseph@codesourcery.com>
50674 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
50675 implementing getdents64 using getdents syscall, set d_type if
50676 __ASSUME_GETDENTS32_D_TYPE.
50678 2010-09-16 Andreas Schwab <schwab@redhat.com>
50680 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
50681 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
50683 2010-09-21 Ulrich Drepper <drepper@redhat.com>
50686 * posix/unistd.h: Undo change of feature selection for ftruncate from
50689 2010-09-20 Ulrich Drepper <drepper@redhat.com>
50691 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
50694 2010-09-20 Andreas Schwab <schwab@redhat.com>
50696 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
50698 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50700 2010-09-14 Andreas Schwab <schwab@redhat.com>
50702 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
50703 variables after CHECK_SP call.
50704 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
50706 2010-09-13 Andreas Schwab <schwab@redhat.com>
50707 Ulrich Drepper <drepper@redhat.com>
50709 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
50710 re-relocationg ld.so.
50711 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
50712 _dl_init_paths call.
50713 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
50716 2010-09-14 Ulrich Drepper <drepper@redhat.com>
50718 * resolv/res_init.c (__res_vinit): Count the default server we added.
50720 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
50721 Ulrich Drepper <drepper@redhat.com>
50724 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50725 (____longjmp_chk): Use %ebx for saving value across system call.
50728 2010-09-06 Andreas Schwab <schwab@redhat.com>
50730 * manual/Makefile: Don't mix pattern rules with normal rules.
50732 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
50734 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
50736 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
50737 * libio/iofopncook.c (_IO_cookie_init): Likewise.
50738 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
50739 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
50740 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50743 2010-09-04 Ulrich Drepper <drepper@redhat.com>
50746 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
50747 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
50749 2010-09-02 Ulrich Drepper <drepper@redhat.com>
50751 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
50752 * sysdeps/x86_64/addmul_1.S: Likewise.
50753 * sysdeps/x86_64/lshift.S: Likewise.
50754 * sysdeps/x86_64/mul_1.S: Likewise.
50755 * sysdeps/x86_64/rshift.S: Likewise.
50756 * sysdeps/x86_64/sub_n.S: Likewise.
50757 * sysdeps/x86_64/submul_1.S: Likewise.
50759 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
50761 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
50762 Define __sched_param instead of SCHED_* and sched_param when
50763 <bits/sched.h> is included with __need_schedparam defined.
50764 * bits/sched.h [__need_schedparam]
50765 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
50766 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
50767 (__defined_schedparam): Define to 1.
50768 (__sched_param): New structure, identical to sched_param.
50769 (__need_schedparam): Undefine.
50771 2010-08-31 Mike Frysinger <vapier@gentoo.org>
50773 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
50774 (epoll_create1): Declare.
50776 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
50778 2010-08-31 Andreas Schwab <schwab@redhat.com>
50781 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
50782 shifting retval into place.
50784 2010-09-01 Ulrich Drepper <drepper@redhat.com>
50786 * nis/rpcsvc/nis.h: Update copyright notice.
50787 * nis/rpcsvc/nis.x: Likewise.
50788 * nis/rpcsvc/nis_callback.h: Likewise.
50789 * nis/rpcsvc/nis_callback.x: Likewise.
50790 * nis/rpcsvc/nis_object.x: Likewise.
50791 * nis/rpcsvc/nis_tags.h: Likewise.
50792 * nis/rpcsvc/yp.h: Likewise.
50793 * nis/rpcsvc/yp.x: Likewise.
50794 * nis/rpcsvc/ypupd.h: Likewise.
50795 * nis/yp_xdr.c: Likewise.
50796 * nis/ypupdate_xdr.c: Likewise.
50798 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
50799 mainly the body of pmap_getport. Add parameters to specify timeouts.
50800 (pmap_getport): Use __libc_rpc_getport.
50801 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
50802 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
50803 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
50805 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
50807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
50810 2010-08-27 Roland McGrath <roland@redhat.com>
50812 * sysdeps/i386/i686/multiarch/Makefile
50813 (CFLAGS-varshift.c): New variable.
50815 2010-08-27 Ulrich Drepper <drepper@redhat.com>
50817 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
50818 * sysdeps/i386/i686/multiarch/varshift.c: New file.
50820 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
50822 * sysdeps/x86_64/strlen.S: Minimal code improvement.
50824 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
50826 * sysdeps/x86_64/strlen.S: Unroll the loop.
50827 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50828 strlen-sse2 strlen-sse2-bsf.
50829 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
50830 __strlen_no_bsf if bit_Slow_BSF is set.
50831 (__strlen_sse42): Removed.
50832 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
50833 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
50835 2010-08-25 Roland McGrath <roland@redhat.com>
50837 * sysdeps/x86_64/multiarch/varshift.S: File removed.
50838 * sysdeps/x86_64/multiarch/varshift.c: New file.
50839 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
50840 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
50841 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
50842 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
50844 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
50846 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50847 strlen-sse2 strlen-sse2-bsf.
50848 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
50849 __strlen_sse2_bsf if bit_Slow_BSF is unset.
50850 (__strlen_sse2): Removed.
50851 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
50852 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
50853 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
50854 bit_Slow_BSF for Atom.
50855 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
50856 (index_Slow_BSF): Define.
50857 (HAS_SLOW_BSF): Define.
50859 2010-08-25 Ulrich Drepper <drepper@redhat.com>
50862 * resolv/res_init.c (__res_vinit): When no server address at all
50863 is given default to loopback.
50865 2010-08-24 Roland McGrath <roland@redhat.com>
50867 * configure.in: Remove config-name.h generation.
50868 * configure: Regenerated.
50869 * config-name.in: File removed.
50870 * scripts/config-uname.sh: New file.
50871 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
50872 ($(objdir)config-name.h): New target.
50874 * sunrpc/rpc_parse.h: Avoid nested comment.
50876 2010-08-24 Richard Henderson <rth@redhat.com>
50877 Ulrich Drepper <drepper@redhat.com>
50878 H.J. Lu <hongjiu.lu@intel.com>
50880 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
50881 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
50882 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
50883 Replace _mm_srli_si128 with __m128i_shift_right. Replace
50884 _mm_alignr_epi8 with _mm_loadu_si128.
50885 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
50886 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
50887 (__m128i_shift_right): Removed.
50888 * sysdeps/i386/i686/multiarch/varshift.h: New file.
50889 * sysdeps/i386/i686/multiarch/varshift.S: New file.
50890 * sysdeps/x86_64/multiarch/varshift.h: New file.
50891 * sysdeps/x86_64/multiarch/varshift.S: New file.
50893 2010-08-21 Mike Frysinger <vapier@gentoo.org>
50895 * configure.in: Move assembler checks to before sysdep dir checking.
50897 2010-08-20 Petr Baudis <pasky@suse.cz>
50899 * LICENSES: Sync the sunrpc license.
50901 2010-08-19 Ulrich Drepper <drepper@redhat.com>
50903 * sunrpc/auth_des.c: Update copyright notice once again.
50904 * sunrpc/auth_none.c: Likewise.
50905 * sunrpc/auth_unix.c: Likewise.
50906 * sunrpc/authdes_prot.c: Likewise.
50907 * sunrpc/authuxprot.c: Likewise.
50908 * sunrpc/bindrsvprt.c: Likewise.
50909 * sunrpc/clnt_gen.c: Likewise.
50910 * sunrpc/clnt_perr.c: Likewise.
50911 * sunrpc/clnt_raw.c: Likewise.
50912 * sunrpc/clnt_simp.c: Likewise.
50913 * sunrpc/clnt_tcp.c: Likewise.
50914 * sunrpc/clnt_udp.c: Likewise.
50915 * sunrpc/clnt_unix.c: Likewise.
50916 * sunrpc/des_crypt.c: Likewise.
50917 * sunrpc/des_soft.c: Likewise.
50918 * sunrpc/get_myaddr.c: Likewise.
50919 * sunrpc/getrpcport.c: Likewise.
50920 * sunrpc/key_call.c: Likewise.
50921 * sunrpc/key_prot.c: Likewise.
50922 * sunrpc/openchild.c: Likewise.
50923 * sunrpc/pm_getmaps.c: Likewise.
50924 * sunrpc/pm_getport.c: Likewise.
50925 * sunrpc/pmap_clnt.c: Likewise.
50926 * sunrpc/pmap_prot.c: Likewise.
50927 * sunrpc/pmap_prot2.c: Likewise.
50928 * sunrpc/pmap_rmt.c: Likewise.
50929 * sunrpc/rpc/auth.h: Likewise.
50930 * sunrpc/rpc/auth_unix.h: Likewise.
50931 * sunrpc/rpc/clnt.h: Likewise.
50932 * sunrpc/rpc/des_crypt.h: Likewise.
50933 * sunrpc/rpc/key_prot.h: Likewise.
50934 * sunrpc/rpc/netdb.h: Likewise.
50935 * sunrpc/rpc/pmap_clnt.h: Likewise.
50936 * sunrpc/rpc/pmap_prot.h: Likewise.
50937 * sunrpc/rpc/pmap_rmt.h: Likewise.
50938 * sunrpc/rpc/rpc.h: Likewise.
50939 * sunrpc/rpc/rpc_des.h: Likewise.
50940 * sunrpc/rpc/rpc_msg.h: Likewise.
50941 * sunrpc/rpc/svc.h: Likewise.
50942 * sunrpc/rpc/svc_auth.h: Likewise.
50943 * sunrpc/rpc/types.h: Likewise.
50944 * sunrpc/rpc/xdr.h: Likewise.
50945 * sunrpc/rpc_clntout.c: Likewise.
50946 * sunrpc/rpc_cmsg.c: Likewise.
50947 * sunrpc/rpc_common.c: Likewise.
50948 * sunrpc/rpc_cout.c: Likewise.
50949 * sunrpc/rpc_dtable.c: Likewise.
50950 * sunrpc/rpc_hout.c: Likewise.
50951 * sunrpc/rpc_main.c: Likewise.
50952 * sunrpc/rpc_parse.c: Likewise.
50953 * sunrpc/rpc_parse.h: Likewise.
50954 * sunrpc/rpc_prot.c: Likewise.
50955 * sunrpc/rpc_sample.c: Likewise.
50956 * sunrpc/rpc_scan.c: Likewise.
50957 * sunrpc/rpc_scan.h: Likewise.
50958 * sunrpc/rpc_svcout.c: Likewise.
50959 * sunrpc/rpc_tblout.c: Likewise.
50960 * sunrpc/rpc_util.c: Likewise.
50961 * sunrpc/rpc_util.h: Likewise.
50962 * sunrpc/rpcinfo.c: Likewise.
50963 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
50964 * sunrpc/rpcsvc/key_prot.x: Likewise.
50965 * sunrpc/rpcsvc/klm_prot.x: Likewise.
50966 * sunrpc/rpcsvc/mount.x: Likewise.
50967 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
50968 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
50969 * sunrpc/rpcsvc/rex.x: Likewise.
50970 * sunrpc/rpcsvc/rstat.x: Likewise.
50971 * sunrpc/rpcsvc/rusers.x: Likewise.
50972 * sunrpc/rpcsvc/sm_inter.x: Likewise.
50973 * sunrpc/rpcsvc/spray.x: Likewise.
50974 * sunrpc/rpcsvc/yppasswd.x: Likewise.
50975 * sunrpc/rtime.c: Likewise.
50976 * sunrpc/svc.c: Likewise.
50977 * sunrpc/svc_auth.c: Likewise.
50978 * sunrpc/svc_authux.c: Likewise.
50979 * sunrpc/svc_raw.c: Likewise.
50980 * sunrpc/svc_run.c: Likewise.
50981 * sunrpc/svc_simple.c: Likewise.
50982 * sunrpc/svc_tcp.c: Likewise.
50983 * sunrpc/svc_udp.c: Likewise.
50984 * sunrpc/svc_unix.c: Likewise.
50985 * sunrpc/svcauth_des.c: Likewise.
50986 * sunrpc/xcrypt.c: Likewise.
50987 * sunrpc/xdr.c: Likewise.
50988 * sunrpc/xdr_array.c: Likewise.
50989 * sunrpc/xdr_float.c: Likewise.
50990 * sunrpc/xdr_mem.c: Likewise.
50991 * sunrpc/xdr_rec.c: Likewise.
50992 * sunrpc/xdr_ref.c: Likewise.
50993 * sunrpc/xdr_sizeof.c: Likewise.
50994 * sunrpc/xdr_stdio.c: Likewise.
50996 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
50999 2010-08-19 Andreas Schwab <schwab@redhat.com>
51001 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
51003 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
51005 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
51006 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
51007 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
51008 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
51009 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
51010 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
51011 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
51012 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
51013 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
51014 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
51015 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
51016 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
51017 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
51018 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
51020 2010-07-26 Anton Blanchard <anton@samba.org>
51022 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
51023 * malloc/arena.c (heap_trim): Likewise.
51025 2010-08-16 Ulrich Drepper <drepper@redhat.com>
51027 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
51029 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
51030 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51032 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
51034 * sysdeps/i386/elf/Makefile: New file.
51036 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51038 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
51039 from fanotify_init.
51040 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
51041 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51043 2010-08-15 Ulrich Drepper <drepper@redhat.com>
51045 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
51047 * sysdeps/multiarch/strcmp.S: Likewise.
51049 2010-08-14 Ulrich Drepper <drepper@redhat.com>
51051 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51052 strncase_l-nonascii.
51053 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51054 Add strncase_l-ssse3.
51055 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
51056 * sysdeps/x86_64/strcmp.S: Likewise.
51057 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
51058 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
51059 * sysdeps/x86_64/strncase.S: New file.
51060 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
51061 * sysdeps/x86_64/strncase_l.S: New file.
51062 * string/Makefile (strop-tests): Add strncasecmp.
51063 * string/test-strncasecmp.c: New file.
51065 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
51068 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
51069 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
51071 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51073 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
51075 2010-08-12 Ulrich Drepper <drepper@redhat.com>
51077 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
51078 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
51079 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
51081 2010-05-01 Alan Modra <amodra@gmail.com>
51083 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
51084 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
51085 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
51086 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
51087 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
51088 tidying. Don't tail-call __sigjmp_save for static lib.
51089 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
51091 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
51092 (CALL_MCOUNT): Add eh info, and nop after bl.
51093 (TAIL_CALL_SYSCALL_ERROR): New macro.
51094 (PSEUDO_RET): Use it.
51095 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51096 Correct save location of integer regs and cr.
51097 (_dl_profile_resolve): Correct cr save location. Delete nops
51098 after bl when SHARED. Reduce cfi size a little by better
51099 placement of cfi directives.
51100 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
51101 make a stack frame. Instead use parm save area as a temp.
51102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
51103 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
51104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51105 Don't make a stack frame for parent, use parm save area.
51106 Increase child stack frame to 112 bytes. Don't save unused reg,
51107 and adjust reg usage. Set up cfi on error recovery and
51108 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
51109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51110 (__makecontext): Add dummy nop after jump to exit.
51111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
51112 Use correct parm save area and cr save, reduce stack frame.
51113 Correct cfi for possible PSEUDO_RET frame setup.
51114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
51115 Branch to local label emitted by PSEUDO_RET rather than
51118 2010-08-12 Andreas Schwab <schwab@redhat.com>
51121 * locale/programs/locale.c (print_assignment): New function.
51122 (show_locale_vars): Use it.
51124 2010-08-11 Ulrich Drepper <drepper@redhat.com>
51126 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
51128 (struct statfs64): Likewise.
51129 (_STATFS_F_FLAGS): Define.
51130 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
51131 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51132 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
51133 (ST_VALID): Define locally.
51134 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
51135 __statvfs_getflags, use the provided value.
51136 * sysdeps/unix/sysv/linux/kernel-features.h: Define
51137 __ASSUME_STATFS_F_FLAGS.
51139 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
51141 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
51142 Add sys/fanotify.h.
51143 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
51144 fanotify_mask for GLIBC_2.13.
51145 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
51146 fanotify_init and fanotify_mark.
51147 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51148 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
51150 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
51152 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
51153 prlimit64 for GLIBC_2.13.
51154 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
51156 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
51158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
51159 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51160 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
51161 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
51162 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
51164 * sysdeps/unix/sysv/linux/prlimit.c: New file.
51167 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
51168 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
51170 * nss/Makefile: Add rules to build and run tst-nss-test1.
51171 * shlib-versions: Add entry for libnss_test1.
51172 * nss/nss_test1.c: New file.
51173 * nss/tst-nss-test1.c: New file.
51175 * nss/nsswitch.c (__nss_database_custom): Define new variable.
51176 (__nss_configure_lookup): Set appropriate entry in
51177 __nss_configure_lookup to true.
51178 * nss/nsswitch.h: Define enum with indeces of databases in
51179 databases and __nss_database_custom arrays. Declare
51180 __nss_database_custom.
51181 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
51182 to avoid using nscd when custom rules are installed.
51183 * nss/getXXbyYY_r.c: Likewise.
51184 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51186 * nss/nss_files/files-parse.c: Whitespace fixes.
51188 2010-08-09 Ulrich Drepper <drepper@redhat.com>
51191 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
51192 * posix/fnmatch_loop.c: Likewise.
51194 2010-07-17 Andi Kleen <ak@linux.intel.com>
51196 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
51197 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
51198 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
51199 * Versions.def [GLIBC_2.13]: Add.
51201 2010-08-06 Ulrich Drepper <drepper@redhat.com>
51203 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51204 Also fail if tpwd after pwuid call is NULL.
51206 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
51208 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
51209 when converting to ms.
51211 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51213 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
51214 EOPNOTSUPP errors with ENOTTY.
51215 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
51216 EOPNOTSUPP errors with ENOTTY.
51218 2010-07-31 Ulrich Drepper <drepper@redhat.com>
51220 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51221 Add strcasecmp_l-ssse3.
51222 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
51224 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
51225 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
51226 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
51228 2010-07-30 Ulrich Drepper <drepper@redhat.com>
51230 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
51232 * string/Makefile (strop-tests): Add strcasecmp.
51233 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51234 strcasecmp_l-nonascii.
51235 (gen-as-const-headers): Add locale-defines.sym.
51236 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
51237 * sysdeps/x86_64/strcasecmp.S: New file.
51238 * sysdeps/x86_64/strcasecmp_l.S: New file.
51239 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
51240 * sysdeps/x86_64/locale-defines.sym: New file.
51241 * string/test-strcasecmp.c: New file.
51243 * string/test-strcasestr.c: Test both ends of the range of characters.
51244 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
51246 2010-07-29 Roland McGrath <roland@redhat.com>
51249 * manual/locale.texi (Yes-or-No Questions): Fix example code.
51251 2010-07-27 Ulrich Drepper <drepper@redhat.com>
51253 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
51256 2010-07-27 Andreas Schwab <schwab@redhat.com>
51258 * manual/memory.texi (Malloc Tunable Parameters): Document
51261 2010-07-26 Roland McGrath <roland@redhat.com>
51264 * configure.in (-fgnu89-inline check): Set and substitute
51265 gnu89_inline, not libc_cv_gnu89_inline.
51266 * configure: Regenerated.
51267 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
51269 2010-07-26 Ulrich Drepper <drepper@redhat.com>
51271 * string/test-strnlen.c: New file.
51272 * string/Makefile (strop-tests): Add strnlen.
51273 * string/tester.c (test_strnlen): Add a few more test cases.
51274 * string/tst-strlen.c: Better error reporting.
51276 * sysdeps/x86_64/strnlen.S: New file.
51278 2010-07-24 Ulrich Drepper <drepper@redhat.com>
51280 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
51281 lower-latency instructions.
51283 2010-07-23 Ulrich Drepper <drepper@redhat.com>
51285 * string/test-strcasestr.c: New file.
51286 * string/test-strstr.c: New file.
51287 * string/Makefile (strop-tests): Add strstr and strcasestr.
51288 * string/str-two-way.h: Don't undefine MAX.
51289 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
51291 2010-07-21 Andreas Schwab <schwab@redhat.com>
51293 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51294 strcasestr-nonascii.
51295 (CFLAGS-strcasestr-nonascii.c): Define.
51296 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
51297 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
51298 Remove unused attribute.
51300 2010-07-20 Roland McGrath <roland@redhat.com>
51302 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
51303 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
51304 ld.so.cache was broken. With it, there is no way to disable dsocaps
51305 like LD_HWCAP_MASK can disable hwcaps.
51307 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51309 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
51311 2010-07-16 Ulrich Drepper <drepper@redhat.com>
51313 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
51314 call in strcasestr.
51315 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
51316 __strcasestr_sse42_nonascii.
51317 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
51318 strcasestr-nonascii.c.
51319 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
51321 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
51323 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
51324 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
51325 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
51326 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
51328 2010-07-09 Ulrich Drepper <drepper@redhat.com>
51330 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
51333 2010-07-06 Andreas Schwab <schwab@redhat.com>
51336 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
51339 2010-07-06 Ulrich Drepper <drepper@redhat.com>
51341 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
51342 _PC_PIPE_BUF using F_GETPIPE_SZ.
51344 2010-07-05 Roland McGrath <roland@redhat.com>
51346 * manual/arith.texi (Rounding Functions): Fix rint description
51347 implicit in round description.
51349 2010-07-02 Ulrich Drepper <drepper@redhat.com>
51351 * elf/Makefile: Fix linking for a few tests to make recent linker
51354 2010-06-30 Andreas Schwab <schwab@redhat.com>
51356 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51357 $(common-objpfx)libc_nonshared.a.
51359 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
51361 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
51362 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
51363 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51364 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51365 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
51366 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
51367 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51368 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
51370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
51371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
51372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
51374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
51376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
51377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
51378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
51379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
51381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
51383 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
51384 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
51385 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
51386 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
51387 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
51388 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
51389 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
51390 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
51391 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
51392 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
51393 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
51394 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
51395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
51396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
51397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
51398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
51399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
51400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
51401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
51402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
51403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
51404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
51405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
51406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
51407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
51408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
51410 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
51412 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
51413 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
51414 * string/memmove.c (memmove): Renamed to ...
51415 (MEMMOVE): ...this. Default to memmove.
51416 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
51417 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
51419 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51420 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
51421 mempcpy-ssse3-back memmove-ssse3-back.
51422 * sysdeps/x86_64/multiarch/bcopy.S: New file .
51423 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
51424 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
51425 * sysdeps/x86_64/multiarch/memcpy.S: New file.
51426 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
51427 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
51428 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
51429 * sysdeps/x86_64/multiarch/memmove.c: New file.
51430 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
51431 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
51432 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
51433 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
51434 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
51435 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
51437 (index_Fast_Copy_Backward): Define.
51438 (HAS_ARCH_FEATURE): Define.
51439 (HAS_FAST_REP_STRING): Define.
51440 (HAS_FAST_COPY_BACKWARD): Define.
51442 2010-06-21 Andreas Schwab <schwab@redhat.com>
51444 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51445 Restore proper fallback handling.
51447 2010-06-19 Ulrich Drepper <drepper@redhat.com>
51450 * posix/group_member.c (__group_member): Correct checking loop.
51452 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
51453 OOM in getpwuid_r correctly. Return error number when the caller
51454 should return, otherwise -1.
51455 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
51456 call returning > 0 value.
51457 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
51459 2010-06-07 Andreas Schwab <schwab@redhat.com>
51461 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
51462 libc_nonshared.a from targets in modules-names.
51464 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
51466 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
51469 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
51471 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
51472 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
51473 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
51474 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
51476 2010-06-02 Andreas Schwab <schwab@redhat.com>
51478 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
51480 2010-06-14 Ulrich Drepper <drepper@redhat.com>
51482 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
51484 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51485 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51486 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51487 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51488 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51489 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
51491 2010-06-14 Roland McGrath <roland@redhat.com>
51493 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
51495 2010-06-07 Jakub Jelinek <jakub@redhat.com>
51497 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
51498 __REDIRECT followed by __THROW.
51499 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
51500 * posix/getopt.h (getopt): Likewise.
51502 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51504 * hurd/lookup-at.c (__file_name_lookup_at): Accept
51505 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
51506 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
51508 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
51509 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
51511 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
51513 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
51515 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
51518 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51519 Properly check family and model.
51521 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
51523 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
51525 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
51527 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
51529 2010-05-21 Ulrich Drepper <drepper@redhat.com>
51531 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
51534 2010-05-19 Andreas Schwab <schwab@redhat.com>
51536 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
51539 2010-05-21 Andreas Schwab <schwab@redhat.com>
51541 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
51542 and internal_recvmmsg.
51543 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
51544 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
51545 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
51546 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
51548 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
51549 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51550 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51552 2010-05-20 Andreas Schwab <schwab@redhat.com>
51554 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
51556 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
51558 POWER7 optimizations.
51559 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
51560 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
51562 2010-05-19 Ulrich Drepper <drepper@redhat.com>
51564 * version.h: Update for 2.13 development version.
51566 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
51568 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
51569 exceptions. Return 0.
51571 2010-05-07 Roland McGrath <roland@redhat.com>
51573 * elf/ldconfig.c (main): Add a const.
51575 2010-05-06 Ulrich Drepper <drepper@redhat.com>
51577 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
51578 (args_options): Add no-idn option.
51579 (ahosts_keys_int): Add idn_flags to ai_flags.
51580 (parse_option): Handle 'i' option to clear idn_flags.
51582 * malloc/malloc.c (_int_free): Possible race in the most recently
51583 added check. Only act on the data if no current modification
51586 See ChangeLog.17 for earlier changes.